Scalar products and angles
The scalar product relates coordinates to lengths and angles.
Try a fresh questionRead the worked method
For real vectors a and b, a·b is the sum of the products of corresponding components. It also equals |a||b|cos θ for the angle between nonzero vectors. If either vector is zero, the angle is undefined.
A zero scalar product establishes perpendicular nonzero vectors. For a line-to-plane angle, a plane normal is often useful, but its angle to the line is complementary to the line-to-plane angle. Make clear which angle the question asks for.
Worked example
Find the angle between (1,0) and (1,1).
- The scalar product is 1.
- The lengths are 1 and √2.
- cos θ = 1/√2.
Answer: θ = π/4, or 45°
Perpendicularity identifies the closest point
A line r = a + td has a closest point to P when the displacement a + td − P is perpendicular to d. Set their scalar product to zero. This gives one linear equation for t when d is nonzero.
To intersect a line with a plane n·r = c, substitute the line equation. If n·d is nonzero there is one intersection. If it is zero, the line is parallel to the plane: check n·a to distinguish a line in the plane from one with no intersection.
The closest point to the origin on r = (1, 2, 0) + t(1, 1, 0)
- Perpendicularity gives (1 + t) + (2 + t) = 0, hence t = −3/2.
- The closest point is (−1/2, 1/2, 0).
- Its squared distance is 1/4 + 1/4 = 1/2. The distance is √2/2.
- The displacement has zero scalar product with (1, 1, 0), confirming perpendicularity.
Can you divide by n·d when it is zero?
No. Check the constant terms to decide whether there are no intersections or infinitely many.
Take the idea further
Translate the target point and repeat the projection. The direction stays the same, but the displacement must be measured from the new target.
Parallel is a case to resolve
Substitute r = a + td into n·r = c. The resulting equation is (n·d)t = c − n·a. Division is valid only when n·d ≠ 0.
Take r = (1, 0, 2) + t(1, 1, −1) and the plane x + z = 5. The coefficient of t is 1 − 1 = 0, while the constant left side is 3. Hence the line is parallel to the plane and never meets it. Replacing 5 by 3 puts the entire line in the plane.
For a closest-point problem, use the displacement from the target point. With target P = (2, 0, 0) and line r = (1, 2, 0) + t(1, 1, 0), perpendicularity gives (t − 1) + (t + 2) = 0, so t = −1/2 and the closest point is (1/2, 3/2, 0).
Check the condition
n·d = 0 always means the line has no intersection with the plane.
A different problem
Derive the general projection parameter t = d·(P − a)/(d·d). Explain why d must be nonzero.
Try with support · Try a demanding form
Choose a method in an exam-style question. The course filter checks whether it fits your route; extension tasks are labelled.
After feedback, try a fresh question without help. Your revision queue uses delayed retrieval once you choose a course.
Practise scalar products and angles
Course mapping
These specification references show where the topic occurs. The questions cover only some parts of each topic.
- 9FM0 · core · 6 Further vectors: Scalar products and vector geometry
- 7367 · core · F Further vectors: Scalar products and vector geometry
- H245 · core · 8 Vectors: Scalar products and vector geometry
- H645 · core · Vectors: Scalar products and vector geometry
- 9FM0 · core · 6 Further vectors: Vector scalar product
- 7367 · core · F Further vectors: Vector scalar product
- H245 · core · 8 Vectors: Vector scalar product
- H645 · core · Vectors: Vector scalar product
- 9FM0 · core · 6 Further vectors: Intersecting a line and a plane
- 7367 · core · F Further vectors: Intersecting a line and a plane
- H245 · core · 8 Vectors: Intersecting a line and a plane
- H645 · core · Vectors: Intersecting a line and a plane
- 9FM0 · core · 6 Further vectors: The closest point on a line
- 7367 · core · F Further vectors: The closest point on a line
- H245 · core · 8 Vectors: The closest point on a line
- H645 · core · Vectors: The closest point on a line
- 9FM0 · core · 6 Further vectors: Resolve every line-plane intersection case
- 7367 · core · F Further vectors: Resolve every line-plane intersection case
- H245 · core · 8 Vectors: Resolve every line-plane intersection case
- H645 · core · Vectors: Resolve every line-plane intersection case
Next practice: Straight lines and gradients.