Q.If a unit vector a makes angles 3π with i^, 4π with j^ and an acute angle θ with k^, then find θ and hence, the components of a.
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 Vectors — the cosines of the angles a unit vector makes with the coordinate axes are its components, and their squares sum to 1.
Let a=a1i^+a2j^+a3k^. Since a is a unit vector, a12+a22+a32=1.
The angle with i^ is 3π, so a1=cos3π=21.
The angle with j^ is 4π, so a2=cos4π=21.
Substitute into the unit vector condition:
(21)2+(21)2+a32=1⟹41+21+a32=1⟹a32=41
Since θ is acute, a3=cosθ>0, so a3=21. Hence θ=cos−1(21)=3π.
The angle is θ=3π and the components are (21, 21, 21).
Using direction cosines, the sum of squares of cosines of the angles a unit vector makes with the coordinate axes equals 1. This gives cos2θ=41, and since θ is acute, θ=3π. The components of a are (21,21,21).
The key idea here is direction cosines. For any unit vector in 3D space, the cosines of the angles it makes with the x, y, and z axes are exactly its components. That is, if a unit vector a makes angles α,β,γ with i^,j^,k^ respectively, then:
a=(cosα)i^+(cosβ)j^+(cosγ)k^
And because it's a unit vector, the sum of squares of these cosines must equal 1:
cos2α+cos2β+cos2γ=1
This is the fundamental relation we'll use.
-
Write what's given.
α=3π, so cosα=cos3π=21.
β=4π, so cosβ=cos4π=21.
γ=θ, which is acute (so cosθ>0).
-
Apply the direction cosine relation.
(21)2+(21)2+cos2θ=1
41+21+cos2θ=1
- Solve for cos2θ.
43+cos2θ=1⇒cos2θ=41
- Determine θ. Since θ is acute, cosθ>0, so cosθ=21. Therefore θ=3π.
A common mistake is to forget that θ is acute and take cosθ=−21, giving θ=32π. Always check the given condition on the angle.
- Write the components of a. The components are just the direction cosines:
a=21i^+21j^+21k^
Notice that θ turned out to be the same as α — both are π/3. This is a coincidence from the numbers given, not a general rule.
The acute angle θ=3π, and the components of a are (21,21,21).
Method: The Direction-Cosine Identity l2+m2+n2=1
Use this whenever a unit vector's angles with the coordinate axes are (partly) known.
Steps
Step 1: Write each component as the cosine of its axis angle.
For a unit vector, the components ARE the direction cosines: a1=cosα, a2=cosβ, a3=cosγ.
Step 2: Apply the identity.
cos2α+cos2β+cos2γ=1
Substitute the known cosines and solve for the unknown cos2 term.
Step 3: Choose the sign from the stated angle condition.
The square root gives two signs; use the problem's condition (e.g. 'acute angle' ⇒ positive cosine) to pick the correct one, then read off the components.
Common Mistakes
Mistake 1: Using the angles themselves instead of their cosines.
Why it's wrong: the identity is cos2α+cos2β+cos2γ=1, not a sum of the angles. Correct approach: convert each angle to its cosine first.
Mistake 2: Taking the negative cosine despite an acute angle.
Why it's wrong: cos2θ=41 gives cosθ=±21, but 'acute' forces the positive root, so θ=3π, not 32π. Correct approach: use the stated acute condition to pick +21.
Mistake 3: Writing l+m+n=1.
Why it's wrong: only the sum of squares equals 1. Correct approach: apply l2+m2+n2=1.
- 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
Step 4 — Apply the acuteness condition
θ is given to be acute, so cosθ>0:
cosθ=23⟹θ=30∘=6π
(The rejected root cosθ=−23 would give the obtuse θ=150∘, which the question excludes.)
✓Final answerThe correct option is (A) — 6π.
ANSWER: A
- 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
The negative sign means the angle is obtuse — PQ points generally downward along the y‑direction relative to the positive y‑axis.
Watch outA common mistake is to forget the negative sign in the y‑component of PQ. Always subtract coordinates carefully: Qy−Py=−2−3=−5, not +5.
TipThe cosine of the angle with a coordinate axis is just that component of the unit vector. Here, the unit vector along PQ is 1624^−1625^+16211k^, so the y‑component directly gives the answer.
✓Final answerThe correct option is (C).
ANSWER: C
-
- 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
- (A) x=2y=z would mean direction ratios (1,2,1), which gives cosines (21,22,21) — the first cosine is positive, but we need −21.
- (B) −1x=−2y=z gives ratios (−1,−2,1) — the second cosine would be negative, but we need positive 22.
- (C) x=−2y=z gives ratios (1,−2,1) — the second cosine negative again. Only (D) matches all three signs.
Watch outA common mistake is to forget that direction cosines can be positive or negative; the sign of each cosine is fixed by the given angle. Here 32π is in the second quadrant, so its cosine is negative.
TipYou can also check by plugging a point: if x=−1, then from (D) we get y=2 and z=1, and the direction vector (−1,2,1) indeed has the given direction cosines.
✓Final answerThe correct option is (D).
ANSWER: D
- 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
With sin2β=3sin2θ=3(1−cos2θ):
2cos2θ=3(1−cos2θ) ⇒ 2cos2θ=3−3cos2θ ⇒ 5cos2θ=3.
cos2θ=53.
✓Final answercos2θ=53. Correct option: (C).
ANSWER: C
- 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
rz=∣r∣cosγ=32⋅0=0
- Write the vector So r=±3^+3^+0k^, which simplifies to ±3^+3^.
TipA common mistake is to forget the ± sign on the x-component. The direction cosine identity gives only the square, so both signs are possible unless additional information (like the quadrant) is given.
Watch outOption (A) is ^±3^ — tempting because it has a ±, but the magnitudes don't match: ∣^±3^∣=1+9=10, not 32. Always check the magnitude against the given value.
- Match with the options The vector ±3^+3^ appears exactly as option (D).
✓Final answerThe correct option is (D).
ANSWER: D
-
- 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.
Direction cosines:
⟨133, 0, −132⟩.
✓Final answerThe correct option is (D) — ⟨133, 0, −132⟩
🎓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.