Pv1 - Scalar product and angles between vectors
Turn two vectors into one number that reveals the angle between them. You will calculate scalar products in components, use their geometric form to find angles, and recognise perpendicular directions without drawing a three-dimensional picture.
A product that measures agreement
Two cables leave the same point in the directions and . How can you find their angle without measuring a drawing?
The second cable travels units along the first cable's direction and units across it. The scalar product keeps the along-direction information: . By the end of the lesson, this number will give the angle exactly enough for any required accuracy.
You already know
For , its magnitude is . A vector describes a displacement; its components can be positive, negative or zero.
Here is the picture behind the calculation. The dashed perpendicular separates movement along the blue vector from movement across it.
[DIAGRAM: asset_name: Scalar product and projection; asset_slug: scalar_product_projection; caption: Only the component along the first vector contributes to the scalar product; description: On equal Cartesian axes, blue vector a goes from the origin to (4,0), clay vector b goes to (2,3), and a dashed perpendicular reaches (2,0). A sage segment from the origin to (2,0) is labelled projection length 2. The angle theta is marked at the origin.]

Scalar product
The scalar product of two vectors is the sum of the products of corresponding components. Its answer is a scalar, not a vector. For example, , whereas the component-by-component list is not a scalar product.
The same rule works with two or three components. A missing third component in a two-dimensional vector is simply zero.
Scalar product in components
For and ,
Not in the formula booklet: learn it.
Pair corresponding components before adding. This avoids accidentally combining the first component of one vector with the second component of the other.
Worked example 1: a three-dimensional product
Question. Find , where and .
Plan. Multiply corresponding components, keeping negative entries in brackets, then add.
Why this step? Brackets make the signs part of the components, so the last product is negative.
Answer. .
Check. Reversing the order gives too.
Change just the sign of the final component of . Writing the vectors with , and changes their appearance, but not the calculation.
Worked example 2: the effect of one sign
Question. Find .
Plan. Read the three coefficients as components and use the same product rule.
Why this step? The coefficient of in the first vector is , even though no numeral is printed beside it.
Answer. The scalar product is .
Check. The last contribution has changed from to , so the total increases by , from to .
A useful surprise is . In the first example this is . A scalar product with itself cannot be negative, although a product of different vectors can be.
Watch out
Wrong: . Right: add those three products to obtain . A dot product produces one number.
Now apply the same sign discipline to a fresh pair.
Finding the angle between vectors
The geometric form of the scalar product connects the components to an angle, so a numerical product becomes a geometrical tool.
If is the angle from one non-zero vector to the other, taken between and , the component of along is . Multiplying it by gives the scalar product. In the cable picture, that component is , so the product is .
Scalar product and angle
For non-zero vectors and ,
Here . The angle involving the zero vector is undefined.
Not in the formula booklet: learn it.
Keep the exact dot product and magnitudes until the final inverse cosine. A positive product gives an angle smaller than a right angle, including zero for the same direction. A negative product gives an angle greater than a right angle, including a straight angle for opposite directions.
Worked example 3: an acute angle
Question. Find the angle between and , in degrees to one decimal place.
Plan. Calculate the scalar product and both magnitudes, then use inverse cosine.
Why this step? Dividing by both lengths removes their scale, leaving only the angle.
Answer. .
Check. The product is positive, so an acute answer is sensible.
Now reverse only the second vector. Its length stays the same, but the angle between the arrows must change.
Worked example 4: reversing one vector
Question. Find the angle between and , to one decimal place.
Plan. Retain the signs in the scalar product and calculate the full angle between the vectors.
Why this step? Taking an absolute value would erase the reversal and give the wrong angle between these directed vectors.
Answer. .
Check. , as reversing one arrow requires.
The distinction between an arrow and an undirected line becomes useful when you meet angles between lines later.
Watch out
Wrong: a negative scalar product means there is no angle. Right: it means , so the angle is greater than : obtuse for non-parallel vectors, or for opposite directions. Do not discard the sign.
The next vectors have a particularly tidy angle, although their components look unrelated.
Testing perpendicularity
A right angle makes the cosine zero, so perpendicularity is the simplest scalar-product test of all.
Perpendicular vectors
For two non-zero vectors,
The zero vector has scalar product zero with every vector, but has no direction and defines no angle.
Not in the formula booklet: learn it.
This turns a spatial condition into an equation. You can find an unknown component without attempting a three-dimensional sketch.
Worked example 5: finding an unknown component
Question. The non-zero vectors and are perpendicular. Determine .
Plan. Set their scalar product equal to zero and solve the resulting linear equation.
Why this step? Perpendicularity fixes the scalar product, rather than fixing any individual component.
Answer. .
Check. , and neither vector is zero.
Now let the unknown occur in both vectors. The condition is unchanged, but the equation can have more than one answer.
Worked example 6: two perpendicular cases
Question. Determine the values of for which and are perpendicular.
Plan. Form the scalar product and solve the quadratic equation it produces.
Why this step? The first components multiply to , not , so two values are possible.
Answer. .
Check. Both substitutions give . Both vectors remain non-zero.
Return to the cables: their scalar product is , their lengths are and , so to one decimal place. Their directions are neither parallel nor perpendicular.
Watch out
Wrong: perpendicular vectors have corresponding components whose products are all zero. Right: only their sum must be zero. Positive and negative contributions can cancel.
Keep the unknown in both first components in this final matched question.
Quick Recap
- Multiply corresponding components and add to calculate a scalar product.
- For non-zero vectors, divide the product by both magnitudes to find .
- Keep the sign: vector angles can be obtuse.
- Non-zero vectors are perpendicular exactly when their scalar product is zero.
The two cable directions make an angle of , found from their components rather than from a measured drawing.