Q.Find the direction cosines of x, y and z-axis.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →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: …
Concept: Direction Cosines Properties — The direction cosines of a line are the cosines of the angles it makes with the positive x, y, and z-axes. For a coordinate axis, the line lies along that axis itself.
Step 1: For the x-axis, the angles it makes with the axes are 0∘ with x, 90∘ with y, and 90∘ with z.
Step 2: Taking cosines: cos0∘=1, cos90∘=0, cos90∘=0. So direction cosines are (1,0,0). …
The direction cosines of a line are the cosines of the angles it makes with the positive coordinate axes. For the x-axis, these angles are 0∘, 90∘, 90∘; for the y-axis, 90∘, 0∘, 90∘; for the z-axis, 90∘, 90∘, 0∘. Thus the direction cosines are (1,0,0), (0,1,0), and (0,0,1) respectively.
Why Direction Cosines? The Core Idea
Direction cosines are a way to describe the orientation of a line in 3D space. Instead of giving a vector, we give three numbers: the cosines of the angles the line makes with the positive x, y, and z axes. These angles are usually denoted α, β, and γ.
The key property is that for any line, the sum of the squares of its direction cosines is always 1:
l2+m2+n2=1
where l=cosα, m=cosβ, n=cosγ.
Now, what about the coordinate axes themselves? Each axis is just a special line. For the x-axis, it lies exactly along the x direction. So the angle it makes with itself is 0∘, and with the other two axes it's 90∘. That's the entire geometric insight — the rest is just taking cosines.
Step-by-Step Solution
1. Direction cosines of the x-axis
The x-axis is the line through the origin pointing along the positive x direction.
- Angle with x-axis: α=0∘⟹cos0∘=1
- Angle with y-axis: β=90∘⟹cos90∘=0
- Angle with z-axis: γ=90∘⟹cos90∘=0
So the direction cosines are (1,0,0).
Notice that (1,0,0) satisfies 12+02+02=1, confirming the property.
2. Direction cosines of the y-axis
The y-axis points along the positive y direction.
- Angle with x-axis: α=90∘⟹cos90∘=0
- Angle with y-axis: β=0∘⟹cos0∘=1
- Angle with z-axis: γ=90∘⟹cos90∘=0
So the direction cosines are (0,1,0).
3. Direction cosines of the z-axis
The z-axis points along the positive z direction.
- Angle with x-axis: α=90∘⟹cos90∘=0
- Angle with y-axis: β=90∘⟹cos90∘=0 …
Method: Direction Cosines of a Coordinate Axis
Use this whenever you need the direction cosines of one of the coordinate axes — or, more generally, of any line whose orientation relative to the axes you can read off directly.
Steps
Step 1: State the angles the axis makes with all three axes.
A coordinate axis makes 0∘ with itself and 90∘ with each of the other two axes. So the x-axis has angles (0∘,90∘,90∘), and similarly for the others.
Step 2: Take cosines.
l=cosα,m=cosβ,n=cosγ,cos0∘=1, cos90∘=0 …
Common Mistakes
Mistake 1: Writing the x-axis direction cosines as (1,1,1).
Why it's wrong: an axis makes a 90∘ angle with each of the other two axes, and cos90∘=0; only the cosine with itself is 1. Correct approach: the x-axis gives (1,0,0), the y-axis (0,1,0), the z-axis (0,0,1).
Mistake 2: Confusing which slot holds the 1. …
Showing the 12 most recent of 34 on this concept.
- AP EAPCET 2021Set eng-2021-08-19-FN1 markMCQQ.The direction cosines of a line which makes equal angles with the co-ordinate axes are ____ (A) ⟨31,31,31⟩ (B) ⟨3−1,3−1,3−1⟩ (C) ⟨3±1,3±1,3±1⟩ (D) ⟨1312,135,0⟩
›Reveal solutionSolution
Equal angles with all three axes force l=m=n; combined with l2+m2+n2=1 this gives l=m=n=±31.
Concept and Intuition
Direction cosines are just the cosines of the angles a line makes with the positive x, y, z axes. "Equal angles with the axes" literally means these three cosines are equal to each other, l=m=n. Since a line (as opposed to a directed ray) can be traversed in either of two opposite senses, both the all-positive and all-negative solutions represent the same line.
Step-by-Step Solution
- Equal angles ⇒l=m=n.
- Direction cosine identity: l2+m2+n2=1⇒3l2=1⇒l=±31.
- So l=m=n=31 or l=m=n=−31 — the two possible (opposite) orientations of the same line.
Common Mistakes …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.If a line makes angles 90∘, 135∘ and 45∘ with the positive x, y and z axes respectively, then its direction cosines are ______ (A) ⟨0,21,21⟩ (B) ⟨0,2−1,21⟩ (C) ⟨1,21,21⟩ (D) ⟨1,2−1,21⟩
›Reveal solutionSolution
Direction cosines are simply the cosines of the angles made with each axis; here that's ⟨0,−1/2,1/2⟩.
Concept and Intuition
If a line makes angles α,β,γ with the positive x, y, z axes, its direction cosines are (l,m,n)=(cosα,cosβ,cosγ), and they always satisfy l2+m2+n2=1.
Step-by-Step Solution
- α=90∘⇒l=cos90∘=0.
- β=135∘⇒m=cos135∘=−21.
- γ=45∘⇒n=cos45∘=21.
- Direction cosines: ⟨0,−21,21⟩. …
- AP EAPCET 2025Set eng-2025-05-26-FN1 markMCQQ.The direction cosines of the line making angles 4π, 3π and θ(0<θ<2π) respectively with X, Y and Z axes are (A) 21,21,21 (B) 21,21,23 (C) 21,21,21 (D) 21,23,21
›Reveal solutionSolution
Direction cosines of any line always satisfy l2+m2+n2=1; use the two given angles to fix l,m and solve for n=cosθ.
Concept and Intuition
If a line makes angles α,β,γ with the X,Y,Z axes respectively, its direction cosines are l=cosα, m=cosβ, n=cosγ, and these three numbers must always satisfy the fundamental identity l2+m2+n2=1. This lets us solve for the third angle once two are known.
Step-by-Step Solution
- l=cos4π=21, so l2=21.
- m=cos3π=21, so m2=41.
- Using l2+m2+n2=1: n2=1−21−41=41.
- n=±21; since 0<θ<π/2 means cosθ>0, take n=21. …
- AP EAPCET 2021Set eng-2021-08-20-AN1 markMCQQ.The direction cosines of the line joining the points (−2,4,−5) and (1,2,3) are ______ (A) ⟨773,77−2,778⟩ (B) ⟨773,772,778⟩ (C) ⟨1,0,0⟩ (D) ⟨77−3,77−2,778⟩
›Reveal solutionSolution
Direction cosines are the direction ratios divided by their magnitude; here that gives (773,77−2,778).
Concept and Intuition
For a line joining two points, the direction ratios are simply the differences of corresponding coordinates. Dividing each ratio by the length of the direction vector (its magnitude) gives the direction cosines, which satisfy l2+m2+n2=1.
Step-by-Step Solution
- Direction ratios from (−2,4,−5) to (1,2,3): (1−(−2), 2−4, 3−(−5))=(3,−2,8).
- Magnitude: 32+(−2)2+82=9+4+64=77.
- Direction cosines: (773,77−2,778).
Common Mistakes …
- AP EAPCET 2021Set eng-2021-08-24-AN1 markMCQQ.If the direction cosines of a straight line are (c1,c1,c1), then c=________ (A) ±2 (B) ±3 (C) ±2 (D) ±3
›Reveal solutionSolution
Direction cosines of any line always satisfy l2+m2+n2=1; applying this to the given equal direction cosines gives c.
Concept and Intuition
If (l,m,n) are the direction cosines of a line in 3D, they must satisfy the fundamental identity l2+m2+n2=1.
Step-by-Step Solution
- Given direction cosines: l=m=n=c1.
- Apply the identity: (c1)2+(c1)2+(c1)2=1⇒c23=1.
- c2=3⇒c=±3. …
- AP EAPCET 2022Set eng-2022-07-05-AN1 markMCQQ.If −2,34,5−4 are the intercepts made by a plane on X, Y, Z - axes respectively then the direction cosines of a normal to this plane are (A) (3−1,32,3−2) (B) (352,35−4,355) (C) (57−4,574,57−5) (D) (382,38−3,385)
›Reveal solutionSolution
Convert the given intercepts into the plane's Cartesian equation, read off the normal's direction ratios as the coefficients of x,y,z, then normalize by dividing by the magnitude.
Concept and Intuition
A plane with x,y,z-intercepts a,b,c (i.e. it meets the axes at (a,0,0),(0,b,0),(0,0,c)) has the intercept-form equation
ax+by+cz=1.
If this is rewritten as lx+my+nz=p, then (l,m,n) are direction ratios of the plane's normal (this falls straight out of comparing with the general plane equation lx+my+nz=p, whose normal is (l,m,n)). Direction cosines are just this direction-ratio vector scaled to unit length; note direction cosines are only defined up to an overall sign (the normal can point either way).
Step-by-Step Solution
- Given intercepts: a=−2, b=34, c=−54.
- Intercept form: −2x+4/3y+−4/5z=1, i.e. −2x+43y−45z=1.
- Multiply through by 4: −2x+3y−5z=4.
- Direction ratios of the normal: (−2,3,−5). Magnitude =(−2)2+32+(−5)2=4+9+25=38. …
- AP EAPCET 2021Set eng-2021-10-05-FN1 markMCQQ.Given points A(1,2,2), B(2,3,6) and C(3,4,12), find the direction cosines of a line which is equally inclined with OA, OB and OC, where O is the origin. (A) ⟨21,2−1,0⟩ (B) ⟨21,21,0⟩ (C) ⟨31,3−1,31⟩ (D) ⟨31,3−1,3−1⟩
›Reveal solutionSolution
A line equally inclined to three given lines makes the same cosine of angle (dot product with unit vectors) with all three — check each option's dot products with the unit vectors along OA,OB,OC. The answer is (D).
Concept and Intuition
"Equally inclined" to three directions means the direction cosines (l,m,n) of the desired line give the same value of cos(angle) when dotted with the unit vector along each of OA,OB,OC.
Step-by-Step Solution
- ∣OA∣=12+22+22=3, unit vector u^A=(31,32,32).
- ∣OB∣=22+32+62=49=7, unit vector u^B=(72,73,76).
- ∣OC∣=32+42+122=169=13, unit vector u^C=(133,134,1312).
- Test (l,m,n)=(31,3−1,3−1):
- ⋅u^A=31(31−32−32)=31(−33)=−31
- ⋅u^B=31(72−73−76)=31(−77)=−31 …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.Which of the following vector is equally inclined with the coordinate axes? (A) i^+2j^+3k^ (B) 2i^−2j^+k^ (C) 3i^+3j^−3k^ (D) 4i^+4j^+4k^
›Reveal solutionSolution
Equal inclination to all three axes needs identical direction cosines, which only happens when all three components are equal in both size and sign — true only for 4i^+4j^+4k^.
Concept and Intuition
The angle a vector makes with an axis depends on its direction cosine for that axis, cosθ=∣v∣component. For the angles to all be equal, the components themselves (not just their magnitudes) must be equal, since a negative component gives an obtuse angle, different from a positive component's acute angle even with the same magnitude.
Step-by-Step Solution
- (A) i^+2j^+3k^: components 1,2,3 — unequal, rejected.
- (B) 2i^−2j^+k^: components 2,−2,1 — unequal magnitudes, rejected. …
- AP EAPCET 2021Set eng-2021-08-19-FN1 markMCQQ.Angle made by the position vector of the point (5,−4,−3) with the positive direction of X-axis is ________ (A) 2π (B) 6π (C) 4π (D) 3π
›Reveal solutionSolution
The angle a position vector makes with the X-axis is cos−1(x/∣r∣); for (5,−4,−3) this works out to π/4.
Concept and Intuition
The direction cosine along an axis is the cosine of the angle the vector makes with that axis, computed as the corresponding coordinate divided by the vector's magnitude. This follows directly from projecting the vector onto the axis.
Step-by-Step Solution
- Magnitude: ∣r∣=52+(−4)2+(−3)2=25+16+9=50=52.
- Direction cosine along X: l=cosθ=525=21. …
- AP EAPCET 2026Set eng-2026-05-13-AN1 markMCQQ.If the direction cosines of a line L are (ab,b,b) and the angle between L and X-axis is 6π, then a possible value of (a,b) is (A) (6,83) (B) (83,81) (C) (6,81) (D) (81,6)
›Reveal solutionSolution
Solving the normalization condition together with the angle condition pins (a,b)=(6,1/8).
Concept and Intuition
Direction cosines (l,m,n) of any line must obey l2+m2+n2=1. Also, if α is the angle the line makes with the X-axis, then l=cosα. Combining these two facts with the given form of the direction cosines determines a and b.
Step-by-Step Solution
- Normalization: (ab)2+b2+b2=1⇒a2b2+2b2=1.
- Angle with X-axis is π/6, and the X-direction cosine is the first component: ab=cos6π=23.
- Substitute a2b2=(23)2=43 into the normalization equation: 43+2b2=1⇒2b2=41⇒b2=81⇒b=81. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.A(−1,2,−3), B(5,0,−6), C(0,4,−1) are the vertices of a triangle ABC. The direction cosines of internal bisector of ∠BAC are ______. (A) 71425,7148,714−5 (B) 71425,7148,7145 (C) 745,746,748 (D) 74−5,746,74−8
›Reveal solutionSolution
The internal angle bisector direction at a vertex is the sum of unit vectors along the two adjacent sides. Answer: (25,8,5)/714.
Concept and Intuition
For a triangle vertex A with adjacent sides toward B and C, the internal bisector of ∠BAC points along u^=∣AB∣AB+∣AC∣AC, because this vector lies exactly midway (in direction) between the two unit vectors, and being a sum of unit vectors it always points into the angle (internal, not external).
Step-by-Step Solution
- A=(−1,2,−3), B=(5,0,−6), C=(0,4,−1).
- AB=B−A=(6,−2,−3), ∣AB∣=36+4+9=49=7.
- AC=C−A=(1,2,2), ∣AC∣=1+4+4=9=3.
- Unit vectors: AB^=(76,−72,−73), AC^=(31,32,32).
- Sum (common denominator 21): (2118+7,21−6+14,21−9+14)=(2125,218,215), i.e. direction ratios (25,8,5). …
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.Let α,β,γ be the angles made by a vector rˉ with the positive directions of X,Y,Z-axes respectively. If α=tan−1(23) and β=tan−1(34), then cosγ= (A) 32 (B) 43 (C) 51363 (D) 51336
›Reveal solutionSolution
Use the direction-cosine identity cos2α+cos2β+cos2γ=1 after converting each given tangent to a cosine via a right triangle. Answer: 51363.
Concept and Intuition
Any vector's angles with the three coordinate axes satisfy cos2α+cos2β+cos2γ=1 — this is just the statement that the direction cosines are the components of a unit vector along rˉ. So once two of the angles are pinned by their tangents, the third's cosine follows directly.
Step-by-Step Solution
- tanα=23 means a right triangle with opposite 3, adjacent 2, hypotenuse 13, so cosα=132, and cos2α=134.
- tanβ=34 means opposite 4, adjacent 3, hypotenuse 5, so cosβ=53, and cos2β=259.
- Identity: cos2γ=1−cos2α−cos2β=1−134−259.
- Common denominator 325: 134=325100, 259=325117, so cos2γ=1−325217=325108. …
🎓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.