STEMviz
Mathematics · Geometry, Vectors and Statistics

Angles Between Lines and Planes, and Distances

This chapter is where every tool built across this block — the dot product, the cross product, and the equations of lines and planes — gets put to work answering the two families of question an exam actually asks: "what angle?" and "how far?" Three angle relationships and three distance relationships cover every case the syllabus requires.

To follow the chapter you need the dot product's angle formula, the cross product, and both the vector and Cartesian equations of lines and planes from earlier in this block. Keep the perpendicularity and parallelism tests for both lines and planes close at hand, since every formula here is built directly on top of them.

Six formulas, one underlying idea. Every angle or distance in this chapter is found by comparing direction vectors, normal vectors, or a specific displacement vector — there is no new geometric idea beyond what the dot and cross products already provide, only new combinations of them.

1. Angle Between Two Lines

Already covered in the dot product chapter: for direction vectors d⃗1,d⃗2\vec d_1,\vec d_2,

cos⁡θ=∣d⃗1⋅d⃗2∣∣d⃗1∣∣d⃗2∣\cos\theta = \frac{|\vec d_1\cdot\vec d_2|}{|\vec d_1||\vec d_2|}

Note the modulus around the dot product here — by convention, the angle between two lines is always taken as the acute angle (0°≤θ≤90°0°\le\theta\le90°), unlike the angle between two vectors (which could be obtuse). The modulus guarantees a non-negative result regardless of how the direction vectors happen to be oriented.

Keep reading: Angles Between Lines and Planes, and Distances

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.