Q.If a line has the direction ratios −18,12,−4, then what are its direction cosines ?
🔒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: …
The key idea is that direction cosines are the direction ratios normalized by the length of the vector.
Step 1: The direction ratios are a=−18, b=12, c=−4.
Step 2: Compute the magnitude:
(−18)2+122+(−4)2=324+144+16=484=22.
Step 3: Divide each ratio by 22: …
Direction cosines are the cosines of the angles a line makes with the axes, found by dividing each direction ratio by the magnitude of the direction vector. For ratios −18,12,−4, the direction cosines are (−119,116,−112).
Why Direction Ratios and Cosines?
A line in space can be described by a vector parallel to it. The components of that vector — say (a,b,c) — are called direction ratios. They tell you the relative "step" the line takes along each axis, but they are not unique: scaling (a,b,c) by any non-zero constant gives the same line.
Direction cosines are the unique, normalized version. They are the cosines of the angles α,β,γ that the line makes with the x, y, and z axes respectively. If a direction vector is v=ai^+bj^+ck^, then:
cosα=a2+b2+c2a,cosβ=a2+b2+c2b,cosγ=a2+b2+c2c
The key property: cos2α+cos2β+cos2γ=1.
So the task is simple: take the given ratios, compute the magnitude, and divide each ratio by it.
Step-by-step
1. Identify the direction ratios.
We are given a=−18, b=12, c=−4.
2. Compute the magnitude (the divisor).
The magnitude of the direction vector is:
a2+b2+c2=(−18)2+122+(−4)2
=324+144+16=484=22
484=4×121=222, so the square root is exact. Always check if the sum of squares is a perfect square — it often simplifies nicely in exam problems.
3. Divide each ratio by the magnitude. …
Method: Normalise direction ratios to get direction cosines
Direction ratios (a,b,c) fix only the direction of a line; direction cosines are the unique unit-length version. Converting one to the other is always the same single operation — divide by the magnitude.
Steps
Step 1: Read off the direction ratios. Any numbers proportional to the line's direction serve as (a,b,c).
Step 2: Compute the magnitude.
r=a2+b2+c2.
Step 3: Divide each ratio by r.
l=ra,m=rb,n=rc.
Keep every sign — a negative ratio gives a negative cosine; dropping it points the line the wrong way. …
Common Mistakes
Mistake 1: Dropping the negative signs of the ratios.
Why it's wrong: direction cosines keep the signs of the direction ratios — a negative ratio means the line runs the negative way along that axis. Correct approach: 22−18=−119 stays negative; report (−119,116,−112).
Mistake 2: Forgetting to divide by the magnitude (quoting the ratios themselves as cosines). …
Showing the 12 most recent of 34 on this concept.
- 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. …
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.If a vector 3iˉ−6jˉ+2kˉ makes angles α,β,γ with the positive X, Y, Z-axes respectively, then cosα+cos2β+7cos3γ= (A) 1 (B) 4965 (C) 2 (D) 49−7
›Reveal solutionSolution
This is a direct application of direction cosines: cosα,cosβ,cosγ are the components of the unit vector along the given vector. The answer is (B).
Concept and Intuition
For any vector aiˉ+bjˉ+ckˉ, the direction cosines with the coordinate axes are simply its components divided by its magnitude: cosα=∣v∣a, cosβ=∣v∣b, cosγ=∣v∣c. Once these are known, the requested expression is pure arithmetic.
Step-by-Step Solution
- Magnitude: ∣v∣=32+(−6)2+22=9+36+4=49=7.
- Direction cosines: cosα=73, cosβ=7−6, cosγ=72.
- cos2β=4936.
- cos3γ=3438, so 7cos3γ=3437×8=34356=498 (since 343=73).
- cosα+cos2β+7cos3γ=73+4936+498.
- Convert 73 to forty-ninths: 73=4921.
- Sum: 4921+36+8=4965.
Common Mistakes …
- 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 2026Set eng-2026-05-15-FN1 markMCQQ.If l,m,n are the direction cosines of a normal drawn to the plane 2x−3y+6z−7=0 and d is the length of the perpendicular drawn from origin to this plane then 7d∣l+m+n∣= (A) 3 (B) 2 (C) 5 (D) 4
›Reveal solutionSolution
This tests converting a plane's equation to normal (direction-cosine) form to read off l,m,n and d; the answer is 5.
Concept and Intuition
For a plane Ax+By+Cz=D, dividing through by A2+B2+C2 turns the coefficients of x,y,z into the direction cosines of the normal, and the resulting constant on the right is exactly the perpendicular distance from the origin to the plane (once the sign is arranged so this constant is non-negative).
Step-by-Step Solution
- Plane: 2x−3y+6z=7. Direction ratios of normal: (2,−3,6).
- Magnitude =22+(−3)2+62=4+9+36=49=7.
- Direction cosines: l=72, m=−73, n=76. …
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.If the angles between the sides of the triangle ABC formed by A(2,3,5), B(−1,3,2) and C(3,5,−2) are α, β and γ, then sin2α+sin2β+sin2γ= (A) 1 (B) 2 (C) 23 (D) 21
›Reveal solutionSolution
The triangle turns out to be right-angled (at B), which makes sin2α+sin2β+sin2γ=2 instantly via the Pythagorean identity.
Concept and Intuition
Rather than compute each angle separately via the dot-product/cosine formula, it pays to first check the side lengths for a Pythagorean relation — a right triangle immediately gives one sin2=1 term, and the other two angles are automatically complementary, so their sine-squares also sum to 1 by sin2θ+cos2θ=1.
Step-by-Step Solution
- A(2,3,5), B(−1,3,2), C(3,5,−2).
- AB=(−3,0,−3)⇒AB2=9+0+9=18.
- BC=(4,2,−4)⇒BC2=16+4+16=36.
- CA=(−1,−2,7)⇒CA2=1+4+49=54.
- Check Pythagoras: AB2+BC2=18+36=54=CA2. Since CA is the side opposite vertex B, this means ∠B=90∘, i.e. β=π/2, so sin2β=1.
- In any triangle α+β+γ=180∘; with β=90∘, α+γ=90∘⇒γ=90∘−α.
- sinγ=sin(90∘−α)=cosα⇒sin2α+sin2γ=sin2α+cos2α=1. …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.If the direction cosines of two lines satisfy the equations l−2m+n=0, lm+10mn−2nl=0 and θ is the angle between the lines, then cosθ= (A) 6π (B) 708 (C) 3π (D) 37020
›Reveal solutionSolution
Two families of lines are cut from a linear + a homogeneous quadratic relation in
direction cosines; eliminate one variable to get a quadratic ratio equation, find
both direction ratios, then apply the standard angle-between-lines formula.
Concept and Intuition
When direction cosines (l,m,n) of a family of lines satisfy one linear and one
homogeneous-quadratic relation, eliminating a variable between them gives a
quadratic in the ratio of the remaining two — its two roots are exactly the two
lines of the family. Once we have both direction ratios (not necessarily
normalized), the angle between them is found from the dot-product formula
cosθ=∣d1∣∣d2∣d1⋅d2, which works with any
scalar multiple of the direction cosines, not just the normalized ones.
Step-by-Step Solution
- From l−2m+n=0, write l=2m−n.
- Substitute into lm+10mn−2nl=0: (2m−n)m+10mn−2n(2m−n)=2m2−mn+10mn−4mn+2n2=2m2+5mn+2n2=0.
- Divide by n2 and set t=m/n: 2t2+5t+2=0⇒t=4−5±3=−21,−2.
- Case t=−21: take n=2, m=−1⇒l=2(−1)−2=−4. Direction (−4,−1,2).
- Case t=−2: take n=1, m=−2⇒l=2(−2)−1=−5. Direction (−5,−2,1). …
- 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 2024Set eng-2024-05-18-FN1 markMCQQ.If (α,β,γ) are the Direction cosines of an angular bisector of two lines whose Direction ratios are (2,2,1) and (2,−1,−2), then (α+β+γ)2= (A) 3 (B) 2 (C) 4 (D) 5
›Reveal solutionSolution
The direction cosines of an angle bisector between two lines are proportional to the sum (or difference) of their unit direction vectors. Using the difference here (since both direction ratios have equal magnitude 3) gives (α+β+γ)2=2.
Concept and Intuition
Given two lines with direction vectors of equal magnitude, the two angle bisectors between them are along the sum and the difference of the corresponding unit vectors — one bisects the angle containing the two rays, the other the supplementary angle.
Step-by-Step Solution
- Magnitude of (2,2,1): 4+4+1=3; unit vector (32,32,31).
- Magnitude of (2,−1,−2): 4+1+4=3; unit vector (32,−31,−32).
- Since the magnitudes are equal, an angular bisector direction is along the difference of these unit vectors: (32−32, 32+31, 31+32)=(0,1,1). …
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.The direction cosines of two lines are connected by the relations l+m−n=0 and lm−2mn+nl=0. If θ is the acute angle between those lines then cosθ= (A) 6π (B) 71 (C) 65 (D) 3π
›Reveal solutionSolution
Eliminate n using the linear relation, reduce the quadratic relation to a simple ratio between l and m, extract the two lines' direction ratios, and compute the angle between them.
Concept and Intuition
When two lines' direction cosines both satisfy a linear relation and a quadratic (pair-of-planes-like) relation, substituting the linear relation into the quadratic one typically collapses it into a simple relation between two of the three direction ratios, identifying the two specific lines.
Step-by-Step Solution
- From l+m−n=0: n=l+m.
- Substitute into lm−2mn+nl=0: lm−2m(l+m)+(l+m)l=lm−2lm−2m2+l2+lm=l2−2m2+(1−2+1)lm=l2−2m2 (the lm terms cancel exactly).
- So l2=2m2⇒l=±2m.
- Taking m=1: line 1 has (l,m,n)=(2,1,2+1); line 2 has (l,m,n)=(−2,1,1−2).
- Dot product: 2(−2)+1(1)+(2+1)(1−2)=−2+1+(−1)=−2.
- ∣v1∣2=2+1+(2+1)2=3+3+22=6+22; ∣v2∣2=2+1+(1−2)2=3+3−22=6−22. …
- AP EAPCET 2024Set eng-2024-05-21-FN1 markMCQQ.If P(2,β,α) lies on the plane x+2y−z−2=0 and Q(α,−1,β) lies on the plane 2x−y+3z+6=0 then the direction cosines of the line PQ are (A) (−174,0,171) (B) (+174,0,171) (C) (171,0,174) (D) (−171,0,174)
›Reveal solutionSolution
Use the two plane conditions to pin down α,β, locate P and Q, then the direction cosines are the components of PQ divided by ∣PQ∣.
Concept and Intuition
A point lies on a plane ax+by+cz+d=0 exactly when its coordinates satisfy the plane equation. Once the two unknowns α,β are pinned down by the two plane conditions, the line PQ is completely determined, and its direction cosines are just the direction ratios of PQ scaled to unit length.
Step-by-Step Solution
- P(2,β,α) lies on x+2y−z−2=0:
2+2β−α−2=0⇒2β=α⇒α=2β.
- Q(α,−1,β) lies on 2x−y+3z+6=0:
2α−(−1)+3β+6=0⇒2α+3β+7=0.
- Substitute α=2β into step 2:
2(2β)+3β+7=0⇒7β=−7⇒β=−1.
Then α=2β=−2.
4. So P=(2,−1,−2) and Q=(−2,−1,−1).
5. Direction ratios of PQ: PQ=Q−P=(−2−2,−1−(−1),−1−(−2))=(−4,0,1).
6. Magnitude: ∣PQ∣=(−4)2+02+12=17. …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.If (l1,m1,n1), (l2,m2,n2) are the direction cosines of two lines, then (l1m2−l2m1)2+(m1n2−m2n1)2+(n1l2−n2l1)2+(l1l2+m1m2+n1n2)2= (A) 0 (B) 1 (C) 2 (D) 4
›Reveal solutionSolution
The expression is ∣a×b∣2+(a⋅b)2 for unit vectors, which always equals 1.
Concept and Intuition
Direction cosines (l,m,n) define a unit vector. For two unit vectors a=(l1,m1,n1), b=(l2,m2,n2), the identity ∣a×b∣2+(a⋅b)2=∣a∣2∣b∣2=1 always holds (this is just sin2θ+cos2θ=1 in vector form).
Step-by-Step Solution
- (l1m2−l2m1)2+(m1n2−m2n1)2+(n1l2−n2l1)2=∣a×b∣2.
- (l1l2+m1m2+n1n2)2=(a⋅b)2. …
- AP EAPCET 2023Set eng-2023-05-16-FN1 markMCQQ.Let A(1,−1,2), B(6,11,2), C(1,2,6) be three points. If l1,m1,n1 are the direction cosines of AB and l2,m2,n2 are the direction cosines of AC, then ∣l1l2+m1m2+n1n2∣= (A) 63/65 (B) 36/65 (C) 16/65 (D) 13/64
›Reveal solutionSolution
Direction cosines of AB and AC are found from their displacement vectors divided by their magnitudes; their dot product is 36/65, which is cos(∠BAC).
Concept and Intuition
The direction cosines of a segment PQ are the components of the unit vector along PQ. The sum l1l2+m1m2+n1n2 is just the dot product of the two unit vectors, i.e. cos of the angle between AB and AC.
Step-by-Step Solution
- AB=B−A=(6−1,11−(−1),2−2)=(5,12,0), ∣AB∣=25+144=13. So (l1,m1,n1)=(5/13,12/13,0).
- AC=C−A=(1−1,2−(−1),6−2)=(0,3,4), ∣AC∣=0+9+16=5. So (l2,m2,n2)=(0,3/5,4/5).
- l1l2+m1m2+n1n2=135⋅0+1312⋅53+0⋅54=6536. …
🎓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.