Scalar (dot) product and angle between vectors
The scalar (dot) product turns two vectors into a number that measures how much they "point in the same direction". With it you calculate the angle between two vectors, check whether they are perpendicular, and find the angle between two lines. It appears in Paper 1 with simple vectors and in Paper 2 within geometry and motion problems.
Two ways to calculate it
Given two vectors and with the same origin, let be the angle between them, with . For to be well defined, the two vectors are drawn starting from the same point.
Why the two formulas give the same result
The vectors , and form a triangle whose sides measure , and , and the angle between the first two is . The cosine rule states:
On the other hand, in components, . Expanding and simplifying the squares and , we get
The cosine form is useful when you know magnitudes and the angle; the component form is useful when you know the coordinates. They are almost always used together: one is equated with the other to find the angle or a parameter.
Properties
The penultimate property comes from the formula with : a vector makes an angle of with itself, and . The others can be checked in a moment with components. What there is not is a "division" or an associative property: is meaningless, because is already a number.
The sign of the result tells you the type of angle, because the only thing in that can change sign is the cosine (the magnitudes are positive if the vectors are not zero):
| Angle | ||
|---|---|---|
| (acute) | positive | |
| (right) | zero | |
| (obtuse) | negative |
Angle between two vectors
Solving for in the geometric formula and substituting the component form:
As the cosine is one-to-one between and , there is no ambiguous case here: the angle is unique, and its sign tells you whether it is acute or obtuse. If the angle the problem asks for is that of a triangle at the vertex , use the vectors and , both starting from .
Perpendicular vectors
If then , and conversely. For non-zero vectors:
A useful consequence: in the plane, the vector is perpendicular to , because . Simply swap the components and change the sign of one of them. If you need a vector with a perpendicularity condition that depends on a parameter, set up and solve it.
Scalar projection
Look at the figure again. If you drop a perpendicular from the end of onto the line of , the segment it leaves on that line has length : it is the "shadow" of on the direction of .
This quantity is the signed distance that advances in the direction of . The distance from a point to a line is based on the same idea.
Angle between two lines
Two lines that intersect form four angles, equal in pairs: an acute angle (or a right angle) and its supplement . By convention, the angle between two lines is the acute one (or ). It is calculated with their direction vectors and , which may form an acute angle or its obtuse supplement depending on the sense in which you wrote them. To avoid depending on that sense, the absolute value is taken:
If a line is given in Cartesian form , a direction vector is . In Paper 2, the angle between two lines with gradients and can also be obtained with the GDC, but the vector method is the one you are asked to justify.
Worked examples
Scalar product using magnitudes and using components
a) The vectors and satisfy , and form an angle of . Calculate .
b) Calculate if and , and state whether the angle between them is acute, right or obtuse.
c) Find so that and are perpendicular.
Solution
a) With the geometric form: .
b) In components: . It is negative, so the angle is obtuse.
c) Perpendicular is equivalent to a zero scalar product: , that is, , so .
Angles and projection in a triangle
A triangle has vertices , and .
a) Calculate .
b) Find the angle of the triangle at (in radians, exact).
c) Calculate .
d) Calculate the scalar projection of onto .
Solution
First the vectors, subtracting end minus start:
a) .
b) The magnitudes are and . Then
and the angle is (that is, ).
c) At we use vectors that start from : and . Their product is : the angle at is right.
d) . It coincides with , as expected: since the angle at is right, the foot of the perpendicular from to the line is exactly .
A parameter and the angle between two paths
a) The vectors and form an angle of . Find all the possible values of .
b) Two straight paths in a park have direction vectors and . Find the angle between the vectors and (in radians, exact).
c) Find the acute angle between the two paths (in radians, exact).
Solution
a) Equate with the angle formula. As , and :
To remove the root, square both sides (you must check the result afterwards, because the sign is lost):
Check: the original cosine is positive, so is needed. It holds for () and for (): both values are valid.
b) , and :
c) The result of b) is an obtuse angle (), but the angle between lines is the acute one, that is, the supplement: . It also comes out using the absolute value: , so ().
In the exam: when you square, check the sign of the scalar product to avoid false solutions. And when talking about lines, always write the acute angle, even if the scalar product of your vectors comes out negative.
Common mistakes
Summary
- Scalar product: . It is a number, not a vector. The two forms agree by the cosine rule.
- Properties: commutative, distributive, , . Positive if the angle is acute, negative if it is obtuse.
- Angle between vectors: , with both vectors starting from the same point.
- Perpendicular: . The vector is perpendicular to .
- Scalar projection of onto : .
- Angle between lines (acute): with their direction vectors.
Want to work on it together?
Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.
Message us on WhatsApp