Q.If a line makes angles 90∘, 135∘, 45∘ with the x,y and z-axes respectively, find its direction cosines.
Concept understanding — Direction Cosines Properties
Direction Cosines and Their Properties
To describe which way a line points in 3D — ignoring its length — we give the angles it makes with the three coordinate axes. Call them α,β,γ (with the x-, y-, z-axis). Their cosines
l=cosα,m=cosβ,n=cosγ
are the direction cosines of the line.
Direction cosines are the cosines of the angles, not the angles themselves — a common slip.
For a point P(x,y,z) on a line through the origin at distance r=x2+y2+z2, right-triangle trigonometry gives
l=rx,m=ry,n=rz.
Property 1 — the squares sum to 1
l2+m2+n2=r2x2+y2+z2=r2r2=1.
This is the signature of direction cosines: any triple with l2+m2+n2=1 is the set of direction cosines of some line.
It is not l+m+n=1. Only the sum of squares equals 1.
Property 2 — they are a unit vector
Dividing OP=(x,y,z) by its length gives the unit vector u^=(l,m,n). So direction cosines are literally the components of a unit vector along the line — which is exactly why their squares sum to 1.
Property 3 — fixed up to sign
Reversing the line flips all three signs: a line has two sets, (l,m,n) and (−l,−m,−n).
Direction ratios
Any numbers (a,b,c) proportional to (l,m,n) are direction ratios. They are easier to read off, and you recover the cosines by normalising:
l=a2+b2+c2a,m=a2+b2+c2b,n=a2+b2+c2c
Quick use. If a line makes 60∘ with the x-axis and 45∘ with the y-axis, then l=21, m=21, and l2+m2+n2=1 gives n2=41, so γ=60∘ or 120∘.
Direction cosines and the identity l² + m² + n² = 1 are introduced at the very start of the NCERT Class 12 Three Dimensional Geometry chapter and are almost certain to appear in CBSE boards and JEE Main. "Direction cosines and direction ratios class 12 formula" is one of the most searched topics in this chapter, since nearly every later 3D geometry question relies on this identity.
Concept: Direction Cosines — the cosines of the angles a line makes with the coordinate axes.
The direction cosines are given directly by cosθx, cosθy, and cosθz.
- With the x-axis: θx=90∘, so cos90∘=0.
- With the y-axis: θy=135∘, so cos135∘=−21.
- With the z-axis: θz=45∘, so cos45∘=21.
These three values satisfy the identity cos2θx+cos2θy+cos2θz=1, confirming they are valid direction cosines.
The direction cosines are 0,−21,21.
The direction cosines of a line are the cosines of the angles it makes with the coordinate axes. Given angles 90∘, 135∘, and 45∘ with the x, y, and z-axes, the direction cosines are cos90∘=0, cos135∘=−21, and cos45∘=21. The final answer is (0,−21,21).
Why Direction Cosines?
Direction cosines are the simplest way to describe a line’s orientation in 3D space. If a line makes an angle α with the x-axis, β with the y-axis, and γ with the z-axis, then the numbers cosα, cosβ, cosγ are called its direction cosines. They are often denoted by l, m, n.
The key property: for any line, l2+m2+n2=1. This is because the direction cosines are the components of a unit vector along the line.
Here, the angles are given directly — so we just need to compute the cosines. No extra work is needed.
Step-by-step
-
Identify the angles.
The line makes:
- α=90∘ with the x-axis,
- β=135∘ with the y-axis,
- γ=45∘ with the z-axis.
-
Compute each direction cosine.
- l=cos90∘=0
- m=cos135∘=cos(180∘−45∘)=−cos45∘=−21
- n=cos45∘=21
-
Verify the fundamental relation.
Check: l2+m2+n2=02+(−21)2+(21)2=0+21+21=1.
This confirms the numbers are valid direction cosines.
A common mistake is to forget the sign of cos135∘. Since 135∘ lies in the second quadrant, cosine is negative. Writing +21 would be incorrect.
If you ever forget the value of cos135∘, recall that cos(180∘−θ)=−cosθ. So cos135∘=−cos45∘=−21.
The direction cosines are (0,−21,21).
Method: Direction cosines straight from the axis angles
Use this when a line's angles with the three coordinate axes are given and you need its direction cosines.
Steps
Step 1: Recall the definition.
If a line makes angles α,β,γ with the x,y,z axes, its direction cosines are
l=cosα,m=cosβ,n=cosγ.
The answer is the COSINES of the angles, never the angles themselves.
Step 2: Evaluate each cosine, watching the quadrant sign.
An angle above 90∘ gives a negative cosine (e.g. cos135∘=−cos45∘=−21). Use cos(180∘−θ)=−cosθ if unsure.
Step 3: Verify with the identity.
Check that l2+m2+n2=1. If it fails, a cosine value or a sign is wrong.
Common Mistakes
Mistake 1: Making cos135∘ positive.
Why it's wrong: 135∘ lies in the second quadrant where cosine is negative, so cos135∘=−21, not +21. Correct approach: use cos(180∘−θ)=−cosθ.
Mistake 2: Reporting the angles themselves as the direction cosines.
Why it's wrong: direction cosines are the COSINES of the angles, so the answer is 0,−21,21, not 90∘,135∘,45∘. Correct approach: take the cosine of each angle and confirm l2+m2+n2=1.
Showing the 12 most recent of 84 on this concept.
- CBSE 2026Set 65/2/11 markMCQQ.Direction cosines of the line given by equations 42x−1=31−y=6−z are (A) 2,−3,−6 (B) 72,7−3,7−6 (C) 72,7−3,76 (D) 614,61−3,61−6
›Reveal solutionSolution
To find direction cosines, first convert the line's equation to the standard symmetric form ax−x1=by−y1=cz−z1. The denominators (a,b,c) are the direction ratios. Normalize these ratios by dividing by their magnitude a2+b2+c2 to get the direction cosines. The direction cosines are 72,7−3,7−6.
Concept and Intuition
A line in 3D space has a specific orientation, which can be described by its direction. This direction is represented by a vector parallel to the line.
Direction Ratios: If a vector d=ai^+bj^+ck^ is parallel to a line, then the numbers (a,b,c) are called the direction ratios of the line. There are infinitely many sets of direction ratios for a given line (e.g., (2a,2b,2c) would also be direction ratios).
Direction Cosines: These are a unique set of direction ratios that are normalized. If (a,b,c) are direction ratios, then the direction cosines (l,m,n) are given by:
l=a2+b2+c2a
m=a2+b2+c2b
n=a2+b2+c2c
The direction cosines are essentially the components of a unit vector parallel to the line. They are the cosines of the angles the line makes with the positive x,y,z axes, respectively. An important property is that l2+m2+n2=1.
The standard symmetric form of the equation of a line passing through a point (x1,y1,z1) and having direction ratios (a,b,c) is:
ax−x1=by−y1=cz−z1
The key insight here is that for the denominators to represent the direction ratios, the numerators must be in the form (x−x1), (y−y1), and (z−z1). If they are not, we must algebraically manipulate the equation to achieve this form first.
Step-by-Step Solution
-
Convert the given equation to standard symmetric form.
The given equation is 42x−1=31−y=6−z.
We need to transform each part so that the numerators are of the form (x−x1), (y−y1), and (z−z1).
-
For the first part, 42x−1:
Factor out 2 from the numerator: 42(x−1/2).
Simplify: 2x−1/2.
-
For the second part, 31−y:
Factor out -1 from the numerator: 3−(y−1).
Move the negative sign to the denominator: −3y−1.
-
For the third part, 6−z:
Factor out -1 from the numerator: 6−(z−0).
Move the negative sign to the denominator: −6z−0.
Now, the equation in standard symmetric form is:
-
2x−1/2=−3y−1=−6z−0
> [!WARNING] > A common mistake is to directly take $(4, 3, 6)$ or $(4, -3, -6)$ as direction ratios. This is incorrect because the numerators were not in the standard $(x-x_1)$, $(y-y_1)$, $(z-z_1)$ form. Always ensure the coefficient of $x, y, z$ in the numerator is $+1$.2. Identify the direction ratios.
From the standard form 2x−1/2=−3y−1=−6z−0, the direction ratios (a,b,c) are the denominators.
So, a=2, b=−3, c=−6.
-
Calculate the magnitude of the direction vector.
The magnitude is a2+b2+c2.
Magnitude =(2)2+(−3)2+(−6)2
Magnitude =4+9+36
Magnitude =49
Magnitude =7.
-
Calculate the direction cosines.
The direction cosines (l,m,n) are obtained by dividing each direction ratio by the magnitude.
l=Magnitudea=72
m=Magnitudeb=7−3
n=Magnitudec=7−6
So, the direction cosines are (72,7−3,7−6).
Comparing this with the given options, option (B) matches our result.
✓Final answerThe direction cosines of the given line are 72,7−3,7−6.
-
- CBSE 2026Set 65/2/11 markMCQQ.Assertion (A): A line can have direction cosines <1,1,1>. Reason (R): cosθ=1 is possible for θ=0. (A) Both Assertion (A) and Reason (R) are true and the Reason (R) is the correct explanation of the Assertion (A). (B) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of the Assertion (A). (C) Assertion (A) is true, but Reason (R) is false. (D) Assertion (A) is false, but Reason (R) is true.
›Reveal solutionSolution
A line’s direction cosines must satisfy l2+m2+n2=1. Since 12+12+12=3=1, the triple <1,1,1> cannot be direction cosines. So Assertion (A) is false. Reason (R) is true because cos0=1, but it does not explain (A). The correct option is (D).
The core idea here is the definition of direction cosines. Direction cosines of a line are the cosines of the angles the line makes with the coordinate axes. If a line makes angles α,β,γ with the x,y,z axes respectively, then its direction cosines are l=cosα, m=cosβ, n=cosγ.
A fundamental property — and the one that decides this question — is that these three numbers always satisfy l2+m2+n2=1. Why? Because the direction vector of the line has components proportional to l,m,n, and its magnitude squared equals l2+m2+n2 times some scale factor; but since l,m,n are themselves the cosines, the vector (cosα,cosβ,cosγ) is a unit vector. So the sum of squares must be exactly 1.
Now let’s examine the Assertion and Reason separately.
-
Check Assertion (A): Can <1,1,1> be direction cosines?
Compute 12+12+12=3. This is not equal to 1. Therefore <1,1,1> violates the necessary condition. So the Assertion is false.
-
Check Reason (R): Is cosθ=1 possible?
Yes, cos0=1. So the statement “cosθ=1 is possible for θ=0” is true.
-
Does Reason (R) explain Assertion (A)?
The Reason talks about a single cosine being 1, but the Assertion claims a triple of three 1’s can be direction cosines. Even if cosθ=1 is possible, that doesn’t make <1,1,1> valid — because the sum-of-squares condition fails. So (R) is not the correct explanation of (A).
Watch outA common mistake is to think that because each individual number 1 is a possible cosine (for angle 0∘), the triple must be valid. But direction cosines are not independent — they must satisfy l2+m2+n2=1. Three 1’s break that rule.
Thus, Assertion (A) is false, Reason (R) is true, and (R) does not explain (A). That matches option (D).
✓Final answerThe correct option is (D).
-
- CBSE 2026Set CX1 markQ.If a line makes 90∘, 60∘ and 30∘ with x, y and z-axes in the positive direction respectively, then find direction cosines.
›Reveal solutionSolution
The direction cosines are just the cosines of the given angles: (0,21,23).
Concept: If a line makes angles α,β,γ with the x,y,z-axes, its direction cosines are l=cosα, m=cosβ, n=cosγ.
l=cos90∘=0,m=cos60∘=21,n=cos30∘=23.
Check: l2+m2+n2=0+41+43=1 ✓ (as required for direction cosines).
✓Final answerDirection cosines =(0, 21, 23).
- CBSE 2026Set A1 markMCQQ.The direction ratios of a straight line are 2,6,−3. Then its direction cosines are(a) 71,72,73(b) 72,7−6,73(c) 72,76,7−3(d) none of these
›Reveal solutionSolution
Direction cosines = direction ratios divided by their magnitude.
Direction ratios are 2,6,−3. Their magnitude is
22+62+(−3)2=4+36+9=49=7.
So the direction cosines are 72,76,7−3.
✓Final answer(c) 72,76,7−3.
- CBSE 2026Set A1 markMCQQ.If a line makes angles α, β and γ with the positive directions of x, y and z axes respectively, then(a) cos2α+cos2β+cos2γ=1(b) sin2α+sin2β+sin2γ=4(c) cos2α+cos2β+cos2γ=2(d) sin2α+sin2β+sin2γ=1
›Reveal solutionSolution
For direction cosines, cos2α+cos2β+cos2γ=1.
If a line makes angles α,β,γ with the axes, then l=cosα, m=cosβ, n=cosγ are its direction cosines and satisfy l2+m2+n2=1, i.e.
cos2α+cos2β+cos2γ=1.
(Equivalently sin2α+sin2β+sin2γ=2, not 1, so option (d) is wrong.)
✓Final answer(a) cos2α+cos2β+cos2γ=1.
- CBSE 2026Set ANNUAL1 markMCQQ.If a line makes angles of 30∘ and 45∘ with X-axis and Y-axis respectively, then what is the angle made by it with Z-axis?(a) 45∘(b) 60∘(c) 120∘(d) Cannot be determined
›Reveal solutionSolution
Applying the direction-cosine identity to the given angles gives a negative value for cos2γ, which is impossible — so the required angle cannot exist / be determined from the given data.
For a line making angles α,β,γ with the X-, Y-, Z-axes respectively, the direction cosines l=cosα, m=cosβ, n=cosγ must satisfy
l2+m2+n2=1
Given α=30∘, β=45∘:
cos230∘=(23)2=43,cos245∘=(21)2=21
So
n2=cos2γ=1−43−21=1−45=−41
This is negative, which is impossible for any real cos2γ≥0. Hence no real angle γ satisfies the given combination of 30∘ and 45∘ with the other two axes — such a line does not exist, so the angle with the Z-axis cannot be determined.
✓Final answerThe correct option is (d) Cannot be determined (the given pair of angles is inconsistent with l2+m2+n2=1).
- CBSE 2026Set ANNUAL1 markQ.Find the direction cosines of the line passing through the two points (−2,4,−5) and (1,2,3).
›Reveal solutionSolution
Find direction ratios from the two points, then divide by their magnitude to get direction cosines.
Direction ratios: (1−(−2),2−4,3−(−5))=(3,−2,8).
Magnitude =32+(−2)2+82=9+4+64=77.
Direction cosines =(773,77−2,778).
✓Final answerDirection cosines =(773,77−2,778).
- CBSE 2026Set ANNUAL1 markMCQQ.If a line makes angles α,β,γ with coordinate axes then sin2α+sin2β+sin2γ=(a) 2(b) 1(c) -2(d) 0
›Reveal solutionSolution
The direction cosines of a line satisfy cos2α+cos2β+cos2γ=1; convert to sines using sin2θ=1−cos2θ.
Since α,β,γ are the angles a line makes with the coordinate axes, its direction cosines satisfy:
cos2α+cos2β+cos2γ=1
So sin2α+sin2β+sin2γ=(1−cos2α)+(1−cos2β)+(1−cos2γ)=3−1=2.
✓Final answer(a) 2.
- CBSE 2026Set ANNUAL1 markQ.Direction cosines of y-axis is ...........
›Reveal solutionSolution
The y-axis makes angles 90°,0°,90° with the x, y, z axes respectively.
The direction cosines of a line are (cosα,cosβ,cosγ), the cosines of the angles it makes with the positive x, y, z axes.
The y-axis makes α=90° with the x-axis, β=0° with itself, and γ=90° with the z-axis.
So the direction cosines are (cos90°,cos0°,cos90°)=(0,1,0).
✓Final answer(0,1,0)
- CBSE 2026Set ANNUAL1 markMCQQ.Assertion (A): If a vector makes equal angle with co-ordinate axis then the direction cosines of the vector are ±(31,31,31). Reason (R): A vector makes α, β, γ angle with positive direction on x, y and z axis respectively, then their direction cosines are cosα,cosβ,cosγ.(a) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).(b) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).(c) Assertion (A) is true, but Reason (R) is false.(d) Assertion (A) is false, but Reason (R) is true.
›Reveal solutionSolution
Equal angles with the axes plus the identity cos2α+cos2β+cos2γ=1 together give the direction cosines in Assertion, using the definition in Reason.
Reason (R): If a vector makes angles α,β,γ with the positive x, y, z axes, its direction cosines are cosα,cosβ,cosγ — this is the standard definition, so R is true.
Assertion (A): If the vector makes equal angles with all three axes, α=β=γ, so its direction cosines are l=m=n=cosα. Using the identity l2+m2+n2=1: 3cos2α=1⇒cosα=±31. So the direction cosines are ±(31,31,31) — A is true.
R (the definition of direction cosines) is exactly what is used to derive A, so R correctly explains A.
✓Final answerOption (a): both true, R is the correct explanation of A.
- CBSE 2026Set ANNUAL1 markMCQQ.Direction cosines of x-axis are(a) <0, 0, 0>(b) <1, 1, 1>(c) <0, 0, 1>(d) <1, 0, 0>
›Reveal solutionSolution
The x-axis makes a 0° angle with itself and 90° with both the y- and z-axes.
Direction cosines are (cosα,cosβ,cosγ) where α,β,γ are the angles the line makes with the x-, y-, z-axes respectively.
For the x-axis itself: α=0°, β=90°, γ=90°, so
(cos0°,cos90°,cos90°)=(1,0,0).
(Check: 12+02+02=1, satisfying l2+m2+n2=1 as required for direction cosines.)
✓Final answer⟨1,0,0⟩. (Option d)
- CBSE 2026Set ANNUAL1 markMCQQ.Assertion (A): If a line has direction ratios −18, 12, −4 then its direction cosines are −9/11, 6/11, −2/11. Reason (R): If a line has direction ratios a, b, c then its direction cosines are a/√(a²+b²+c²), b/√(a²+b²+c²), c/√(a²+b²+c²).(a) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).(b) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).(c) Assertion (A) is true but Reason (R) is false.(d) Both Assertion (A) and Reason (R) are false.
›Reveal solutionSolution
Dividing the given direction ratios by their magnitude reproduces exactly the direction cosines stated in the Assertion, confirming both statements and the explanation link.
Reason (R) states the standard formula: if direction ratios are a,b,c, the direction cosines are a2+b2+c2a,a2+b2+c2b,a2+b2+c2c — this is the correct general formula, so R is true.
Checking Assertion (A): ratios are a=−18, b=12, c=−4.
a2+b2+c2=324+144+16=484=22.
Direction cosines =(22−18,2212,22−4)=(−119,116,−112).
This exactly matches what A claims, so A is true, and it was verified by directly applying the formula in R — so R is the correct explanation of A.
✓Final answerBoth Assertion (A) and Reason (R) are true, and R is the correct explanation of A. (Option a)
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.