Worked example 1
Calculate a dot product
a = (3, −2), b = (4, 5). Find a · b.
- Multiply matching components.
- Add the products.
Answer: a · b = 3×4 + (-2)×5 = 2.
Higher Mathematics
Use the scalar product to find angles and test perpendicular vectors.
The scalar product, or dot product, combines two vectors to give a number. It helps find angles between vectors and test for perpendicular vectors.
If a · b = 0 and neither vector is zero, the vectors are perpendicular.
Worked example 1
a = (3, −2), b = (4, 5). Find a · b.
Answer: a · b = 3×4 + (-2)×5 = 2.
Worked example 2
For a = (1, 0), b = (1, 1), find the angle between them.
So: cos θ = 1/√2, so θ = 45°
Exam reminder
State whether the angle is exact or rounded. If using a calculator, give the degree of accuracy requested.