Q.Find the direction cosines of the sides of the triangle whose vertices are (3,5,−4), (−1,1,2) and (−5,−5,−2).
🔒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 direction cosines of a side are the components of its unit vector: form each side vector, then divide by its length.
With A(3,5,−4), B(−1,1,2), C(−5,−5,−2):
AB=(−4,−4,6), ∣AB∣=16+16+36=68=217
⇒(−172,−172,173)
BC=(−4,−6,−4), ∣BC∣=16+36+16=68=217
⇒(−172,−173,−172)
CA=(8,10,−2), ∣CA∣=64+100+4=168=242 …
Form each side vector and divide by its length: AB gives (−172,−172,173), BC gives (−172,−173,−172), and CA gives (424,425,−421).
What direction cosines are
A directed segment in space makes angles α,β,γ with the x-, y-, z-axes. Its direction cosines l=cosα, m=cosβ, n=cosγ are exactly the components of the corresponding unit vector. So for a side vector (a,b,c) of length r,
l=ra,m=rb,n=rc.
A good sanity check: l2+m2+n2=1 every time. If your three numbers don't square-sum to 1, you have slipped.
Side AB
AB=B−A=(−1−3,1−5,2−(−4))=(−4,−4,6).
∣AB∣=(−4)2+(−4)2+62=68=217.
Dividing each component by 217:
(−172,−172,173).
Check: 174+4+9=1 ✓
Side BC
BC=C−B=(−5−(−1),−5−1,−2−2)=(−4,−6,−4).
∣BC∣=16+36+16=68=217.
(−172,−173,−172).
Check: 174+9+4=1 ✓
Side CA
CA=A−C=(3−(−5),5−(−5),−4−(−2))=(8,10,−2). …
Method: Direction cosines of a segment — vector, then normalise
The direction cosines of a side (a directed segment between two vertices) are just the direction cosines of the vector along it. So the task splits into: build the segment vector, then normalise — repeated once per side.
Steps
Step 1: Form each side vector as the difference of its endpoints. For a triangle A,B,C:
AB=B−A,BC=C−B,CA=A−C.
Never use a vertex's coordinates themselves as direction cosines — positions are not directions.
Step 2: Find each length. ∣AB∣=a2+b2+c2, and likewise for the others. …
Common Mistakes
Mistake 1: Using the vertex coordinates as direction cosines.
Why it's wrong: coordinates are positions; a side's direction is the difference of its endpoints. Correct approach: form AB=B−A first, then normalise.
Mistake 2: Dividing every side by the same length.
Why it's wrong: each side has its own magnitude — ∣AB∣=∣BC∣=217 here, but ∣CA∣=242. Correct approach: use each side's own length as its divisor. …
- KCET 2025Set A-11 markMCQQ.If a line makes angles 90∘, 60∘ and θ with x, y and z axes respectively, where θ is acute, then the value of θ is (A) 6π (B) 4π (C) 3π (D) 2π
›Reveal solutionSolution
Use the fundamental relation between direction cosines, l2+m2+n2=1, to solve for the third angle.
Step 1 — The governing identity
If a line makes angles α,β,γ with the x-, y- and z-axes, its direction cosines are l=cosα, m=cosβ, n=cosγ, and they always satisfy
l2+m2+n2=1i.e.cos2α+cos2β+cos2γ=1
(This is just the statement that the unit vector along the line has magnitude 1.)
Step 2 — Substitute the given angles
α=90∘⇒cosα=0
β=60∘⇒cosβ=21
γ=θ⇒cosγ=cosθ
02+(21)2+cos2θ=1
Step 3 — Solve for θ
cos2θ=1−41=43⟹cosθ=±23 …
- COMEDK 2025Set 2025-A1 markMCQQ.Position vector of P and Q are ^+3^−7k^ and 5^−2^+4k^ respectively. Then the cosine of the angle between PQ and y -axis is (A) 1624 (B) 1625 (C) −1625 (D) −1624
›Reveal solutionSolution
The cosine of the angle between vector PQ and the y‑axis is the dot product of the unit vector along PQ with ^. After computing PQ=4^−5^+11k^, its magnitude is 162, so the cosine is −1625, which corresponds to option (C).
The key idea: The cosine of the angle between any two vectors is given by their dot product divided by the product of their magnitudes. Here, one vector is PQ and the other is the direction of the y‑axis, which is simply the unit vector ^. So we just need the y‑component of the unit vector along PQ.
-
Find PQ
PQ=position of Q−position of P
=(5^−2^+4k^)−(^+3^−7k^)
=(5−1)^+(−2−3)^+(4+7)k^
=4^−5^+11k^.
-
Magnitude of PQ
∣PQ∣=42+(−5)2+112=16+25+121=162.
-
Cosine of the angle with the y‑axis
The y‑axis direction vector is ^. The cosine formula:
cosθ=∣PQ∣⋅∣^∣PQ⋅^.
Since ∣^∣=1 and PQ⋅^=−5, we get
cosθ=162−5.
-
Interpretation …
-
- COMEDK 2025Set 2025-E1 markMCQQ.The equation of a line passing through origin with direction angles 32π,4π,3π is (A) x=2y=z (B) −1x=−2y=z (C) x=−2y=z (D) x=−2y=−z
›Reveal solutionSolution
The direction cosines from the given angles give the line’s direction ratios; after simplifying, the symmetric equation matches option (D).
We are told the line passes through the origin and has direction angles 32π,4π,3π.
The direction cosines are the cosines of these angles, and they tell us the components of a unit vector along the line.
The symmetric form of a line through the origin is ax=by=cz, where (a,b,c) are any direction ratios proportional to the direction cosines.
- Compute the direction cosines
cos32π=−21,cos4π=22,cos3π=21.
So the direction cosines are (−21, 22, 21).
- Convert to direction ratios We can multiply by 2 to clear denominators:
(−1, 2, 1).
Any scalar multiple works; this set is simplest.
- Write the symmetric equation Through the origin:
−1x=2y=1z.
Equivalently,
−x=2y=z.
But the options are given in the form x=somethingy=±z.
Multiply the first equality by −1:
x=−2y=−z.
That matches option (D) at first glance — but check carefully:
From −1x=2y, cross-multiplying gives x=−2y, i.e. x=−2y.
From −1x=z, we get x=−z.
So the full set is x=−2y=−z. That is exactly option (D).
- Verify the other options …
- COMEDK 2024Set 2024-A1 markMCQQ.A line makes the same angle θ with each of the x and z-axes. If the angle β, which it makes with the y-axis is such that sin2β=3sin2θ, then cos2θ equals (A) 52 (B) 51 (C) 53 (D) 32
›Reveal solutionSolution
Using cos2α+cos2β+cos2γ=1 with the two equal angles θ, the condition sin2β=3sin2θ gives cos2θ=53 — option (C).
Direction-cosine identity
The line makes angle θ with both the x- and z-axes and angle β with the y-axis, so its direction cosines satisfy
cos2θ+cos2β+cos2θ=1 ⇒ 2cos2θ+cos2β=1.
Therefore
sin2β=1−cos2β=1−(1−2cos2θ)=2cos2θ.
Apply the given condition …
- COMEDK 2024Set 2024-M1 markMCQQ.The vector (r) whose magnitude is 32 units which makes an angle of 4π and 2π with y and z- axis respectively is (A) ^±3^ (B) ^±^ (C) −^±^ (D) ±3^+3^
›Reveal solutionSolution
The key idea is to use direction cosines to find the components of a vector given its magnitude and the angles it makes with the coordinate axes. The vector is ±3^+3^, so the correct option is (D).
We are told the vector r has magnitude ∣r∣=32 and makes an angle of 4π with the y-axis and 2π with the z-axis. The angle with the x-axis is not directly given, but we can find it using the fundamental relation between direction cosines.
Concept & Intuition
For any vector in 3D, the cosines of the angles it makes with the x, y, and z axes are called direction cosines, often denoted cosα, cosβ, cosγ. These satisfy the identity:
cos2α+cos2β+cos2γ=1
This is because the components are ∣r∣cosα, ∣r∣cosβ, ∣r∣cosγ, and the sum of their squares equals ∣r∣2. Once we know two angles, we can solve for the third — but note the sign ambiguity: the cosine could be positive or negative, giving two possible directions.
-
Write down what we know
Angle with y-axis: β=4π, so cosβ=cos4π=21.
Angle with z-axis: γ=2π, so cosγ=cos2π=0.
-
Use the direction cosine identity
cos2α+cos2β+cos2γ=1
Substitute the known values:
cos2α+(21)2+02=1
cos2α+21=1
cos2α=21
Hence cosα=±21.
- Find the components The vector components are:
rx=∣r∣cosα=32⋅(±21)=±3
ry=∣r∣cosβ=32⋅21=3
-
- COMEDK 2023Set 2023-E1 markMCQQ.The coordinates of the vertices of the triangle are A(−2,3,6),B(−4,4,9) and C(0,5,8). The direction cosines of the median BE are (A) ⟨43,0,−42⟩ (B) ⟨−133,0,−132⟩ (C) ⟨1,0,−32⟩ (D) ⟨133,0,−132⟩
›Reveal solutionSolution
The median BE joins B to the midpoint E of AC; BE=(3,0,−2), ∣BE∣=13, giving direction cosines ⟨133,0,−132⟩.
E is the midpoint of AC with A(−2,3,6),C(0,5,8):
E=(2−2+0,23+5,26+8)=(−1,4,7).
Then with B(−4,4,9),
BE=E−B=(−1+4,4−4,7−9)=(3,0,−2),∣BE∣=9+0+4=13. …
🎓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.