Worked examples · Sheet 2
Angles between vectors with the dot product
Theory used: Angle between two vectorsDot productDot product in componentsComputing the angle
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Compute the angle between the vectors and .
The dot product in components is the sum of the products of the corresponding components and equals . The negative sign already indicates that the angle is obtuse. Dividing by the product of the magnitudes gives . Since the angle between two vectors belongs to the interval , where cosine is invertible, the only angle with this cosine is .
Exercise 2
Compute the angles of the triangle with vertices , , .
The angle at a vertex is the angle between the two vectors leaving that vertex. For the vertex one uses and , and obtains . For the vertex the outgoing vectors are and ; using instead of would change the sign of the dot product and would give the supplementary angle. With the correct vectors one gets , therefore . The third angle follows from the fact that the sum of the angles of a triangle is , therefore ; the triangle is isosceles, in agreement with .
Exercise 3
Find the values of for which the angle between and is .
The condition on the angle translates into the equation , with the cosine expressed through the dot product and the magnitudes. The equation contains a square root, whose value is nonnegative; therefore squaring is allowed only together with the condition , and the two conditions must be imposed as a system. The squared equation gives , that is, , and the condition excludes . Indeed, for one would have , that is, the angle . The required value is therefore unique, .