For each of the following pairs of vectors x and y, calculate x y and the angle between the vectors. a. x = (2, 5), y = (5, 2) b. x = (2, 1), y = (1, 1) c. x = (1, 8), y = (7,4) d. x = (1, 4,3), y = (5, 1, 3) e. x = (1,1, 6), y = (5, 3, 2) f. x = (3,4, 5), y = (1, 0, 1) g. x = (1, 1, 1, 1), y = (1,3,1, 5)
Read more
Table of Contents
Textbook Solutions for Linear Algebra: A Geometric Approach
Question
For each of the following pairs of vectors x and y, calculate \(\mathbf{x} \cdot \mathbf{y}\) and the angle \(\theta\) between the vectors.
a. \(\mathbf{x}=(2,5), \mathbf{y}=(-5,2)\)
b. \(\mathbf{x}=(2,1), \mathbf{y}=(-1,1)\)
c. \(\mathbf{x}=(1,8), \mathbf{y}=(7,-4)\)
d. \(\mathbf{x}=(1,4,-3), \mathbf{y}=(5,1,3)\)
e. \(\mathbf{x}=(1,-1,6), \mathbf{y}=(5,3,2)\)
f. \(\mathbf{x}=(3,-4,5), \mathbf{y}=(-1,0,1)\)
g. \(\mathbf{x}=(1,1,1,1), \mathbf{y}=(1,-3,-1,5)\)
Solution
Step 1 of 8
If \(x = \left( {{x_1},{x_2}} \right)\) and \(y = \left( {{y_1},{y_2}} \right)\), then \(x \cdot y\) is given as:
\(x \cdot y = {x_1}{y_1} + {x_2}{y_2}\) …… (1)
The angle between the vectors is given as,
\(\theta = {\mathop{\rm Arccos}\nolimits} \left( {\frac{{{x_1}{y_1} + {x_2}{y_2}}}{{\sqrt {x_1^2 + x_2^2} \sqrt {y_1^2 + y_2^2} }}} \right)\) …… (2)
If \(x = \left( {{x_1},{x_2},{x_3}} \right)\) and \(y = \left( {{y_1},{y_2},{y_3}} \right)\), then \(x \cdot y\) is given as:
\(x \cdot y = {x_1}{y_1} + {x_2}{y_2} + {x_3}{y_3}\) …… (3)
The angle between the vectors is given as,
\(\theta = {\mathop{\rm Arccos}\nolimits} \left( {\frac{{{x_1}{y_1} + {x_2}{y_2} + {x_3}{y_3}}}{{\sqrt {x_1^2 + x_2^2 + x_3^2} \sqrt {y_1^2 + y_2^2 + y_3^2} }}} \right)\) …… (4)
If \(x = \left( {{x_1},{x_2},{x_3},{x_4}} \right)\) and \(y = \left( {{y_1},{y_2},{y_3},{y_4}} \right)\), then \(x \cdot y\) is given as:
\(x \cdot y = {x_1}{y_1} + {x_2}{y_2} + {x_3}{y_3} + {x_4}{y_4}\) …… (5)
The angle between the vectors is given as,
\(\theta = {\mathop{\rm Arccos}\nolimits} \left( {\frac{{{x_1}{y_1} + {x_2}{y_2} + {x_3}{y_3} + {x_4}{y_4}}}{{\sqrt {x_1^2 + x_2^2 + x_3^2 + x_4^2} \sqrt {y_1^2 + y_2^2 + y_3^2 + y_4^2} }}} \right)\) …… (6)
full solution