Relation Between the Direction Cosines of a Line (l² + m² + n² = 1)
On this page· 13 sections
Source & scope. Class 12 Mathematics (Part 2), Chapter 11 Three Dimensional Geometry, Section 11.2 Direction Cosines and Direction Ratios of a Line — the identity used while converting direction ratios into direction cosines. This edition's Chapter 11 covers only direction cosines/ratios, equations...
Source & scope. Class 12 Mathematics (Part 2), Chapter 11 Three Dimensional Geometry, Section 11.2 Direction Cosines and Direction Ratios of a Line — the identity used while converting direction ratios into direction cosines. This edition's Chapter 11 covers only direction cosines/ratios, equations of a line, the angle between two lines, and shortest distance between two lines; plane topics are not part of this edition's syllabus. Builds on: Direction Angles and Direction Cosines of a Line. Next: Direction Ratios of a Line.
If l, m, n are the direction cosines of any line in three-dimensional space, they always satisfy l² + m² + n² = 1. This single identity is the defining constraint that separates a valid set of direction cosines from an arbitrary triple of numbers, and it is used throughout the chapter to simplify formulas and check answers.
At a glance
- always holds for the direction cosines of any line.
- This follows because l, m, n are the components of a unit vector along the line's direction.
- Equivalently, it is the 3D identity for the direction angles α, β, γ.
- The identity is used to validate a claimed set of direction cosines, and to solve for an unknown direction cosine given the other two.
- It is the key step used while converting direction ratios into direction cosines (see the sibling article on that conversion).
Learning objectives
- State the identity l² + m² + n² = 1 and explain why it must hold for any line's direction cosines.
- Connect the identity to the unit-vector interpretation of direction cosines.
- Use the identity to check whether a given triple of numbers can be a valid set of direction cosines.
- Use the identity to solve for a missing direction cosine when the other two are known.
Prerequisite knowledge
The reader should already know the definition of direction cosines l = cos α, m = cos β, n = cos γ (covered in Direction Angles and Direction Cosines of a Line) and the basic idea that a unit vector has magnitude 1.
Core explanation
Why l² + m² + n² must equal 1
The direction cosines l, m, n of a line are precisely the x-, y-, z-components of a unit vector pointing along that line's direction. For any unit vector, the sum of the squares of its components equals the square of its magnitude, which is 1² = 1. Hence:
Equivalently, since l = cos α, m = cos β, n = cos γ, the identity is a three-dimensional generalisation of the familiar sin² + cos² = 1 relation, stated here as for the three direction angles a line makes with the coordinate axes. This is simply a geometric fact about how any direction in 3D space projects onto three mutually perpendicular axes — the squared projections must always add up to 1.
Where the identity comes from in NCERT's own derivation
NCERT uses this identity as an intermediate step while converting direction ratios into direction cosines (covered fully in the sibling article "Converting Direction Ratios to Direction Cosines"). If a, b, c are direction ratios of a line and l, m, n = ak, bk, ck for some constant k, substituting into l² + m² + n² = 1 gives k²(a² + b² + c²) = 1, which is then solved for k = ±1/√(a² + b² + c²). This shows the identity is not just a passive fact to memorise — it is the actual algebraic tool used to pin down the conversion formula.
Using the identity as a validity check
Because l² + m² + n² = 1 is a necessary condition, it gives a fast way to check whether a claimed triple of numbers could possibly be the direction cosines of some line: if the sum of their squares is not exactly 1, the triple is not a valid set of direction cosines (though the triple could still be a valid set of direction ratios, which have no such restriction — see the sibling article on direction ratios for that distinction).
Using the identity to find a missing direction cosine
If two of the three direction cosines of a line are known, the identity lets you solve for the third (up to a sign ambiguity, since direction cosines can be positive or negative depending on which way along the line is taken as positive).
Key terms
- — the identity satisfied by the direction cosines of any line.
- Unit vector — a vector of magnitude 1; direction cosines are the components of the unit vector along a line's direction.
- Validity check — using the identity to test whether a given triple can be a set of direction cosines.
- Sign ambiguity — when solving for an unknown direction cosine, the identity alone only fixes its square, leaving a ± choice.
Diagram / figure guidance
Draw a unit vector from the origin along a directed line L, with its tip on a sphere of radius 1 centred at O. Label the perpendicular projections of this unit vector onto the x-, y-, z-axes as l, m, n respectively, and annotate that the Pythagorean sum of these three projections must equal the square of the vector's own length, which is 1.
Worked example
If the direction cosines of a line are k, k, k for some real number k, find the possible values of k.
Step 1 — apply the identity. Since l = m = n = k, the identity l² + m² + n² = 1 becomes: k² + k² + k² = 1
Step 2 — simplify. 3k² = 1 k² = 1/3
Step 3 — solve, keeping both signs. k = ±1/√3
Conclusion. The direction cosines are k = \frac{1}{\sqrt}{3} or k = -\frac{1}{\sqrt}{3} (i.e., the line makes equal angles with all three axes, in one of its two possible directions).
Common misconceptions
- "Any three numbers can be called direction cosines of some line." Only triples satisfying l² + m² + n² = 1 can be direction cosines; an arbitrary triple like (1, 1, 1) fails this check (1+1+1 = 3 ≠ 1) and is therefore not valid as direction cosines (though it is perfectly valid as a set of direction ratios).
- "l² + m² + n² = 1 only applies to lines through the origin." It holds for the direction cosines of every line in space, since direction cosines depend only on the line's direction, not its position.
- "If two direction cosines are known, the third is uniquely determined with no ambiguity." The identity only fixes the square of the third direction cosine, so there are generally two possible signed values unless extra information (such as the line's actual direction) removes the ambiguity.
- "This identity is unrelated to the basic trig identity sin²θ + cos²θ = 1." It is the direct three-dimensional analogue — cos²α + cos²β + cos²γ = 1 — arising from the same unit-circle/unit-sphere idea extended to three mutually perpendicular axes.
Exam application (JEE)
This identity is one of the most exam-useful "shortcut" facts in the whole chapter. JEE questions use it to (a) quickly reject an answer choice whose squares don't sum to 1, (b) find a missing direction cosine given the other two, and (c) as the key algebraic step inside the direction-ratios-to-cosines conversion (covered in a sibling article). It is rarely tested as a bare "prove l² + m² + n² = 1" question, but is used silently inside almost every other 3D-geometry problem involving direction cosines.
Frequently asked questions
- What is the relation between the direction cosines of a line? For any line in space, its direction cosines l, m, n always satisfy l² + m² + n² = 1.
- Why is l² + m² + n² always equal to 1? Because l, m, n are the components of a unit vector along the line's direction, and the sum of the squares of a unit vector's components equals the square of its magnitude, which is 1.
- Can (1, 1, 1) be the direction cosines of a line? No — 1² + 1² + 1² = 3 ≠ 1, so (1, 1, 1) fails the validity check and cannot be a set of direction cosines, although it is a perfectly valid set of direction ratios.
- If two direction cosines of a line are known, can the third always be found uniquely? Only up to a sign: the identity determines the square of the third direction cosine, leaving two possible values unless the line's actual direction resolves the ambiguity.
Practice questions (original practice questions)
- Which of the following triples can be the direction cosines of a line?
- (a) (1, 2, 2)
- (b) (1/3, 2/3, 2/3)
- (c) (1, 1, 0)
- (d) (0.5, 0.5, 0.5)
- Answer: (b) — (1/3)² + (2/3)² + (2/3)² = 1/9 + 4/9 + 4/9 = 9/9 = 1.
- If the direction cosines of a line are 0, 3/5 and n, find n.
- (a) 4/5
- (b) 2/5
- (c) 1
- (d) 16/25
- Answer: (a) — 0² + (3/5)² + n² = 1 ⟹ n² = 1 − 9/25 = 16/25 ⟹ n = ±4/5, so 4/5 is a valid value.
- A line has direction cosines 1/√2, a, 1/2 where a > 0. Find a.
- (a) 1/4
- (b) 1/2
- (c) 1/√2
- (d) 3/4
- Answer: (b) — (1/√2)² + a² + (1/2)² = 1 ⟹ 1/2 + a² + 1/4 = 1 ⟹ a² = 1/4 ⟹ a = 1/2.
- Which statement about l² + m² + n² = 1 is correct?
- (a) It only holds for lines passing through the origin
- (b) It holds for the direction cosines of every line in space
- (c) It holds for direction ratios as well as direction cosines
- (d) It only holds when the line lies along a coordinate axis
- Answer: (b) — The identity is a general fact about direction cosines of any line, independent of position; direction ratios have no such constraint.
- For a line with direction cosines (l, m, n) = (a, a, a) with a < 0, which value is correct?
- (a) a = 1/√3
- (b) a = −1/√3
- (c) a = 1/3
- (d) a = −1/3
- Answer: (b) — 3a² = 1 ⟹ a² = 1/3 ⟹ a = ±1/√3; since a < 0, a = −1/√3.
Quick revision
- l² + m² + n² = 1 always holds for the direction cosines of any line.
- Equivalent to cos²α + cos²β + cos²γ = 1 for the direction angles.
- Follows because (l, m, n) are the components of a unit vector along the line.
- Used to check validity of a claimed direction-cosine triple, and to solve for a missing direction cosine (up to sign).
- Key algebraic step in converting direction ratios to direction cosines.
Related articles
- Builds on: Direction Angles and Direction Cosines of a Line
- Next: Direction Ratios of a Line
- See also: Converting Direction Ratios to Direction Cosines
- See also: Direction Cosines of the Coordinate Axes
- Related topics: Angle Between Two Lines in Three-Dimensional Geometry, Cartesian Equation of a Line Through a Point and Parallel to a Given Vector, Condition for Two Lines to Be Parallel, Condition for Two Lines to Be Perpendicular, Direction Cosines of a Line Joining Two Points, Direction Ratios of a Line Joining Two Points