Q.Find the position vector of a point A in space such that OA is inclined at 60∘ to OX and at 45∘ to OY and ∣OA∣=10 units.
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 direction cosines of OA are determined by the given angles with the axes.
Step 1: Let OA=10(cosαi^+cosβj^+cosγk^), where α,β,γ are the angles with OX,OY,OZ respectively.
Given α=60∘, β=45∘.
Step 2: Direction cosines satisfy cos2α+cos2β+cos2γ=1.
So (21)2+(21)2+cos2γ=1
⇒41+21+cos2γ=1
⇒cos2γ=41⇒cosγ=±21.
Step 3: Thus OA=10(21i^+21j^±21k^).
The position vector is 5i^+52j^±5k^.
The key idea is to use direction cosines to resolve the vector into components. The position vector is OA=5i^+52j^±5k^, with the z-component sign determined by the unspecified inclination to OZ.
Why Direction Cosines Work
When a vector makes known angles with the coordinate axes, its components are simply the product of its magnitude and the cosines of those angles. This is because the cosine of the angle between a vector and an axis gives the fraction of the vector's length that lies along that axis. For a vector r of length r making angles α,β,γ with the X,Y,Z axes respectively:
r=r(cosαi^+cosβj^+cosγk^)
The numbers cosα,cosβ,cosγ are called direction cosines, and they always satisfy cos2α+cos2β+cos2γ=1. This identity is our key constraint — it lets us find the missing angle.
Step-by-Step Solution
-
Identify what we know.
The vector OA has magnitude ∣OA∣=10. It makes 60∘ with OX and 45∘ with OY. The angle with OZ is not given — we must find it.
-
Write the direction cosines for the known angles.
cos60∘=21,cos45∘=21
- Use the fundamental identity to find the third direction cosine. Let γ be the angle with OZ. Then:
cos260∘+cos245∘+cos2γ=1
(21)2+(21)2+cos2γ=1
41+21+cos2γ=1
43+cos2γ=1
cos2γ=41
cosγ=±21
A common mistake is to take only the positive square root. The angle γ could be 60∘ or 120∘, since both give cosγ=±21. The problem does not specify the inclination to OZ, so both are valid.
- Assemble the components. Multiply each direction cosine by the magnitude 10:
OA=10(21i^+21j^±21k^)
OA=5i^+210j^±5k^
- Simplify the Y-component.
210=52
So the final expression is:
OA=5i^+52j^±5k^
You can verify the magnitude: 52+(52)2+52=25+50+25=100=10. The ± doesn't affect the length.
The position vector is OA=5i^+52j^±5k^, where the ± indicates the z-component may be along OZ or opposite to it.
Method: Recovering a vector from two axis angles and its length
Use this when a vector's angles with two axes and its magnitude are given, and you must reconstruct the vector.
Steps
Step 1: Write the known direction cosines.
l=cosα and m=cosβ for the two given axis angles.
Step 2: Find the missing direction cosine from the identity.
Direction cosines satisfy
l2+m2+n2=1,
so n2=1−l2−m2 and n=±1−l2−m2. Keep BOTH signs unless the problem fixes the third angle — they give two valid vectors.
Step 3: Scale by the magnitude.
The vector is
v=∣v∣(li^+mj^+nk^).
Simplify surds (e.g. 210=52) and confirm ∣v∣ by recomputing the magnitude of your components.
Common Mistakes
Mistake 1: Keeping only the positive root for the third direction cosine.
Why it's wrong: cos2γ=41 gives cosγ=±21, and since the inclination to OZ is unspecified, BOTH signs are valid. Correct approach: keep the ±, giving a z-component of ±5.
Mistake 2: Forgetting to multiply the direction cosines by the magnitude.
Why it's wrong: (l,m,n) is only a unit direction; the actual vector is 10(l,m,n). Correct approach: OA=10(21,21,±21).
Mistake 3: Leaving the y-component as 210.
Why it's wrong: it is not fully simplified. Correct approach: rationalise to 52, giving OA=5i^+52j^±5k^.
- 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.