Exercises — Relation between direction cosines - l² + m² + n² = 1
Before we begin, one tiny reminder of the words we use, so no symbol is unearned:

Level 1 — Recognition
Exercise 1.1
Which of these triples can be the direction cosines of a line? (a) (b) (c)
Recall Solution
What we test: does ?
- (a) ✓ — valid.
- (b) ✗ — invalid.
- (c) ✓ — valid.
Answer: (a) and (c) only.
Exercise 1.2
A line's direction cosines are with . Find .
Recall Solution
Use the identity to solve for the missing cosine: So . Since we're told , .
Level 2 — Application
Exercise 2.1
Find the direction cosines of the line through and .
Recall Solution
Step 1 — direction ratios = (the arrow from to ): Step 2 — magnitude: Step 3 — divide to normalise: Check: ✓
Exercise 2.2
A line makes with the -axis and with the -axis. Find the angle it makes with the -axis.
Recall Solution
, . So or (both directions of the line are allowed).
Exercise 2.3
The direction ratios of a line are . A parallel line passes through the origin; where does it meet the sphere of radius ? Actually simpler: find its direction cosines.
Recall Solution
Magnitude . Check: ✓ (Sign of is kept — normalising never changes signs.)
Level 3 — Analysis
Exercise 3.1
A line makes equal angles with all three axes. Find those direction cosines and the common angle.
Recall Solution
Equal angles . Substitute into the identity: The common angle satisfies , so . The gives the two opposite orientations (one at , the mirror at ).
Exercise 3.2
Show that no line can make angles with the three axes.
Recall Solution
Test the identity numerically: This is , so the triple fails the constraint — no such line exists. The relation is a filter on possible angle-triples.
Exercise 3.3
For direction angles , prove .
Recall Solution
Start from the identity . Replace each cosine-squared using :
Level 4 — Synthesis
Exercise 4.1
Two lines have direction cosines and . Find the angle between them, and state whether they are perpendicular.
Recall Solution
The angle between two lines uses the dot product of the two unit direction vectors: So . Since , they are not perpendicular.
Exercise 4.2
A line lies in the -plane (so ) and makes an angle of with the -axis. Find all its direction cosines.
Recall Solution
In the -plane the line is perpendicular to the -axis, so . . Answer: or — the two lines symmetric about the -axis.

Exercise 4.3
Find direction cosines of a line perpendicular to both lines with direction ratios and .
Recall Solution
A line perpendicular to both the -axis and the -axis must point along the -axis. Formally, its ratios are the cross-product . Magnitude , so direction cosines are . Check: ✓
Level 5 — Mastery
Exercise 5.1
A line makes angle with the -axis and equal angles with both the - and -axes. If , find .
Recall Solution
, and . Substitute: So or . The line lies in the -plane, bisecting the - and -axes.
Exercise 5.2
A vector has magnitude and makes angles and with the - and -axes. Find completely (both possibilities), given it points into positive .
Recall Solution
Direction cosines: , . Positive ⟹ . Then because a vector = (its length) × (its unit direction): Check length: ✓
Exercise 5.3
Prove that if are direction cosines and are also all equal in magnitude, then each of is either or , and there are exactly such lines' orientations — but only lines.
Recall Solution
Equal magnitudes , so . The identity gives , hence and (or its supplement when the cosine is negative). Each of independently takes sign or : that's sign patterns (orientations). But a line and its reverse (all signs flipped) are the same line. Pairing each pattern with its negation halves the count: distinct lines — the four body-diagonals of a cube.

Recall
Recall One-line summaries of each level
- L1: valid ⟺ ; missing cosine from .
- L2: ratios → cosines by dividing by magnitude; signs preserved.
- L3: equal-angle line has (); .
- L4: angle between lines ; keep .
- L5: vector length unit direction; a line two opposite orientations.
Connections
- Relation between direction cosines - l² + m² + n² = 1 — the parent identity every problem here uses.
- Direction Ratios — the unnormalised inputs of L2.
- Unit Vectors — why the sum is exactly .
- Dot Product — the engine of the angle formula in L4.
- Distance Formula in 3D — the magnitude step.
- Angle Between Two Lines — L4's formula in full.
- Equation of a Line in 3D — where these directions live.