Q.If a line makes angle 90∘, 60∘ and 30∘ with the positive direction of x, y and z-axis 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.
The key idea is that direction cosines are the cosines of the angles a line makes with the positive coordinate axes.
Let the angles be α=90∘, β=60∘, and γ=30∘. The direction cosines are l=cosα, m=cosβ, and n=cosγ.
Compute each:
- l=cos90∘=0
- m=cos60∘=21
- n=cos30∘=23
These satisfy the property l2+m2+n2=1 (since 0+41+43=1), confirming they are valid.
The direction cosines are 0,21,23.
The direction cosines of a line are the cosines of the angles it makes with the positive coordinate axes. For angles 90∘, 60∘, and 30∘, the direction cosines are (0,21,23).
The Core Idea: What Direction Cosines Really Mean
Direction cosines are not just a formula — they are the coordinates of a unit vector pointing along the line. If a line makes angles α, β, γ with the positive x, y, z axes, then its direction cosines are:
l=cosα,m=cosβ,n=cosγ
The key property that makes this concept powerful is that these three numbers always satisfy:
l2+m2+n2=1
Why? Because the direction cosines are the components of a unit vector. This is your built-in sanity check — if the squares don't sum to 1, something is wrong.
Step-by-Step Solution
1. Identify the given angles
The line makes:
- α=90∘ with the x-axis
- β=60∘ with the y-axis
- γ=30∘ with the z-axis
2. Compute each direction cosine directly
l=cos90∘=0
m=cos60∘=21
n=cos30∘=23
A common mistake is to confuse the angle with its complement. For example, if a line makes 60∘ with the y-axis, the direction cosine is cos60∘, not cos30∘. Always take the cosine of the given angle.
3. Verify the fundamental property
Check that l2+m2+n2=1:
02+(21)2+(23)2=0+41+43=1
This confirms our answer is consistent. If the sum had been anything other than 1, we would know an error crept in.
The verification step is not just a formality — it's a powerful error-detection tool. In exam problems where angles are given indirectly, this property often helps you find a missing direction cosine when only two are known.
4. Write the direction cosines as an ordered triple
The direction cosines are (l,m,n)=(0,21,23).
Direction cosines are always written in the order (l,m,n) corresponding to the x, y, z axes respectively. Never rearrange them.
The direction cosines are (0,21,23).
Method: Direction Cosines from the Angles a Line Makes with the Axes
Use this when a line's angles α,β,γ with the positive x, y, z axes are given (directly or indirectly) and you need its direction cosines.
Steps
Step 1: Take the cosine of each given angle.
l=cosα,m=cosβ,n=cosγ
The direction cosines are the cosines themselves — not the angles, and always of the angle actually given (do not swap in a complement).
Step 2: Verify with the fundamental identity.
l2+m2+n2=1
If the squares do not add to 1, an angle was misread or a cosine mis-evaluated. This same identity also lets you recover a third direction cosine when only two angles are supplied.
Step 3: Write them in order (l,m,n).
Keep the x,y,z order; the triple is only meaningful with each cosine attached to its own axis. Reversing the line's sense flips all three signs, giving the equally valid set (−l,−m,−n).
Common Mistakes
Mistake 1: Using the complement of the given angle.
Why it's wrong: the direction cosine is the cosine of the angle the line actually makes with that axis — for 60∘ with the y-axis it is cos60∘=21, not cos30∘. Correct approach: take the cosine of each given angle directly.
Mistake 2: Reporting the angles themselves instead of their cosines.
Why it's wrong: direction cosines are numbers like 0,21,23, not 90∘,60∘,30∘. Correct approach: convert every angle to its cosine, then optionally verify l2+m2+n2=1.
Showing the 12 most recent of 84 on this concept.
- CBSE 2024Set 65/1/11 markMCQQ.If the direction cosines of a line are 3k,3k,3k, then the value of k is : (A) ±1 (B) ±3 (C) ±3 (D) ±31
›Reveal solutionSolution
Direction cosines must satisfy l2+m2+n2=1. Substituting l=m=n=3k gives 3(3k)2=1⇒9k2=1⇒k=±31. So the correct option is (D).
The key idea here is that direction cosines are not just any numbers — they are the cosines of the angles a line makes with the coordinate axes. Because of that, they have a fixed property: the sum of their squares is always exactly 1. This is a non-negotiable condition, and it’s the only tool you need to solve this problem.
Many students get tempted to treat 3k as a single number and forget to square it properly, or they mistakenly think the sum of the cosines themselves equals 1. That’s a common trap — so let’s be precise.
- Recall the fundamental property of direction cosines. If a line has direction cosines l,m,n (with respect to the x, y, and z axes respectively), then:
l2+m2+n2=1
This is because the direction cosines are the components of a unit vector along the line.
- Substitute the given values. Here, l=3k, m=3k, n=3k. So:
(3k)2+(3k)2+(3k)2=1
- Simplify the squares. (3k)2=3k2. So the equation becomes:
3k2+3k2+3k2=1
9k2=1
- Solve for k.
k2=91
k=±31
Watch outA common mistake is to write (3k)2=3k2 or to forget that squaring removes the sign. Always square the entire term, including the coefficient.
TipNotice that all three direction cosines are equal here. That means the line makes equal angles with all three axes — it’s symmetrically inclined. In such a case, each direction cosine is ±31. Here, 3k=±31 gives k=±31 directly — a quick mental check.
✓Final answerThe value of k is ±31, which corresponds to option (D).
- CBSE 20201 markMCQQ.If the direction cosines of a line are a, a, a, then (A) a > 0 (B) a = 1 or a = –1 (C) 0 < a < 1 (D) a = 3 1 or a = – 3
›Reveal solutionSolution
The direction cosines of a line must satisfy l2+m2+n2=1. Given all three are equal to a, we get 3a2=1, so a=±31. The correct option is (D).
Direction cosines are the cosines of the angles a line makes with the coordinate axes. A fundamental property — and the key to this problem — is that the sum of their squares is always exactly 1. This isn't arbitrary; it follows from the fact that a unit vector along the line has components equal to the direction cosines, and its magnitude must be 1.
Here, all three direction cosines are given as the same number a. That immediately tells us the line makes equal angles with all three axes — it's symmetrically oriented, like the body diagonal of a cube. But the value of a isn't free; it's forced by the square-sum rule.
Let's work it out.
- Write the condition. If l,m,n are direction cosines, then
l2+m2+n2=1.
This is non-negotiable — it's the defining constraint.
- Substitute the given values. Here l=m=n=a. So
a2+a2+a2=1⇒3a2=1.
- Solve for a.
a2=31⇒a=±31.
- Check the options.
- (A) a>0 — false, because a can be negative.
- (B) a=1 or a=−1 — false; those would give 1+1+1=3=1.
- (C) 0<a<1 — false, since a can be negative.
- (D) a=31 or a=−31 — correct.
Watch outA common mistake is to forget that direction cosines can be negative. A line can make an obtuse angle with an axis, giving a negative cosine. So a is not necessarily positive.
TipIf you ever see "direction cosines are equal", immediately think of the cube's diagonal. The cosines are ±31, and the sign depends on which octant the line points into.
✓Final answerThe correct option is (D): a=31 or a=−31.
- CBSE 20231 markMCQQ.Direction cosines of the line 2x−1=31−y=122z−1 are : (A) 72,73,76 (B) 1572,157−3,15712 (C) 72,7−3,7−6 (D) 72,73,7−6
›Reveal solutionSolution
The line has direction ratios (2,−3,6), giving direction cosines (72,−73,76). This exact set is not among the printed options — see the note below.
Direction cosines are the direction ratios scaled so their squares sum to 1. First put the line in standard form ax−x1=by−y1=cz−z1.
Rewrite the y-term: 31−y=3−(y−1)=−3y−1, so b=−3.
Rewrite the z-term: 122z−1=122(z−21)=6z−21, so c=6.
Standard form:
2x−1=−3y−1=6z−21.
Direction ratios: (2,−3,6).
Magnitude: 22+(−3)2+62=4+9+36=49=7.
Direction cosines:
(72, −73, 76),(72)2+(−73)2+(76)2=494+9+36=1.
A parametrisation confirms the sign of the z-component: with common value t, z=21+6t, so the z-direction component is +6.
NoteThe only two valid direction-cosine sets for this line are (72,−73,76) and its negative (−72,73,−76). None of the four printed options states either set exactly: option (C), (72,−73,−76), matches on x and y but has the wrong sign on the z-cosine. The printed options contain a sign error.
✓Final answerThe direction cosines of the line are (72, −73, 76). As printed, no option is exactly correct — the nearest, option (C), has an incorrect sign on the z-component.
- CBSE 20191 markQ.Find the direction cosines of a line which makes equal angles with the coordinate axes.(OR)Find the cartesian equation of the line which passes through the point with position vector 2i^−j^+4k^ and is in the direction of the vector i^+j^−2k^. Find the direction cosines of a line which makes equal angles with the coordinate axes.(OR)A line passes through the point with position vector 2i^−j^+4k^ and is in the direction of the vector i^+j^−2k^. Find the equation of the line in cartesian form.
›Reveal solutionSolution
Part (a): equal angles give direction cosines (±31,±31,±31). Parts (b) & (c): the line through (2,−1,4) along (1,1,−2) has cartesian form 1x−2=1y+1=−2z−4.
Part (a)
Direction cosines l,m,n are the cosines of the angles the line makes with the x,y,z axes and always satisfy l2+m2+n2=1.
- Equal angles. Equal angles with all three axes means l=m=n=k.
- Apply the identity. k2+k2+k2=1⇒3k2=1⇒k2=31.
- Solve. k=±31.
The signs must all be + or all − (choosing a direction along the line).
Watch outThe direction cosines are not (1,1,1); each equal angle is cos−131≈54.7∘, not 45∘.
✓Final answerDirection cosines: (31,31,31) or (−31,−31,−31).
Part (b)
This part asks for the cartesian equation of the line through the point with position vector 2i^−j^+4k^ in the direction i^+j^−2k^ (and restates the equal-angle question of Part (a)).
- Read off the data. Point (x1,y1,z1)=(2,−1,4); direction ratios (a,b,c)=(1,1,−2).
- Cartesian form. ax−x1=by−y1=cz−z1, so
1x−2=1y+1=−2z−4.
For the restated equal-angle sub-part, the direction cosines are ±31 each (see Part (a)).
✓Final answer1x−2=1y+1=−2z−4
Part (c)
Same data: point (2,−1,4) and direction ratios (1,1,−2).
- Substitute into the symmetric form.
1x−2=1y−(−1)=−2z−4=1x−2=1y+1=−2z−4.
TipThe equivalent vector form is r=(2i^−j^+4k^)+λ(i^+j^−2k^).
✓Final answer1x−2=1y+1=−2z−4
- 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.
🎓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.