28.8 KB · commit e092022
← Previous: T-01.02 Coordinate Transformations | 🏠 Index | Next: T-01.04 Cube Space Diagonals →
Section: A | Priority: 🔴 MUST / CRITICAL | Exam Frequency: 7/7 Years (100% Exam Frequency: 2017, 2018, 2019, 2020, 2022, 2023, 2024)
Sources: Mominul Islam (MI Sir) Coordinate Geometry Notes (Pages 3–8, 10–11, 23–24), Fahad Class Notes Section 1 (Pages 3–6)
Direction cosines appear in every single semester final examination without exception. Out of 7 analyzed geometry papers, all 7 feature this module. It typically opens Question 1(a) or 1(b) and carries 3 to 6 marks. Moreover, direction cosines are the building blocks for lines, planes, shortest distance, and cube diagonals. If you master this file, you secure guaranteed marks in the opening minutes of your exam.
Direction Angles and Direction Cosines:
"If a directed straight line makes angles α,β,γ with the positive directions of the coordinate axes OX,OY,OZ respectively, then α,β,γ are called the direction angles of the line. The cosines of these angles, denoted by l,m,n, are called the direction cosines (d.c.'s): l=cosα,m=cosβ,n=cosγ."
Source: Mominul Islam (MI Sir), Coordinate Geometry Notes, p. 3
💡 In Plain Words: Direction cosines are the shadows or projections of a 1-meter stick pointing along the line onto the three coordinate axes. They tell you exactly how much the line leans toward x, y, and z.
Direction Ratios:
"Any three numbers a,b,c that are proportional to the direction cosines l,m,n of a given line are called the direction ratios (d.r.'s) of the line: al=bm=cn."
Source: Mominul Islam (MI Sir), Coordinate Geometry Notes, p. 3
💡 In Plain Words: Direction ratios are any three numbers pointing in the exact same direction as the line, but with any convenient stick length. Divide them by their total length to get direction cosines.
Imagine holding a straight stick of length 1 meter in the corner of a room, starting at the origin.
Now shine three distant lights parallel to the axes. The stick casts three orthogonal shadows onto the coordinate axes:
Because the stick has length 1 meter, the 3D Pythagorean theorem guarantees that the sum of the squared shadows equals the square of the stick:
l2+m2+n2=12=1Direction ratios (a,b,c) represent a stick of arbitrary length pointing in the same direction. Dividing by the total length shrinks or stretches the stick to exactly 1 meter.
flowchart TD
Line["Directed Line in Space"]
DR["Direction Ratios (a, b, c)<br/>Any convenient vector length<br/>e.g., (2, -3, 6)"]
Norm["Divide by Length:<br/>√(a² + b² + c²)"]
DC["Direction Cosines (l, m, n)<br/>Unit stick projections<br/>Must satisfy: l² + m² + n² = 1"]
Line --> DR
DR --> Norm
Norm --> DC
Think of direction cosines as the components of a unit vector pointing along the line.
Figure 3.1: Right-angled coordinate projection showing x=rcosα.
If a line makes angles α,β,γ with the positive x,y,z axes:
l=cosα,m=cosβ,n=cosγDirection ratios a,b,c give the exact same orientation without needing unit normalization:
al=bm=cn
Figure 3.2: Directed line segment PQ with endpoints defining direction ratios.
For a line segment joining P(x1,y1,z1) and Q(x2,y2,z2), the direction ratios are simply the coordinate differences:
a=x2−x1,b=y2−y1,c=z2−z1Why do we normalize? Direction ratios a,b,c can have any length. Dividing by their magnitude shrinks or stretches the vector into a unit vector of length 1.
Let al=bm=cn=k. Then l=ka, m=kb, and n=kc.
Since l2+m2+n2=1:
(ka)2+(kb)2+(kc)2=1⟹k2(a2+b2+c2)=1 k=±a2+b2+c21Therefore, the normalized direction cosines are:
l=±a2+b2+c2a,m=±a2+b2+c2b,n=±a2+b2+c2cWhy the ± sign? A straight line extends indefinitely in two opposite senses. Choosing all positive signs or all negative signs represents traveling forward or backward along that same line.
This derivation has appeared repeatedly in 2018, 2020, and 2024.
Figure 3.3: Coordinate projection of point P(x,y,z) onto the x-axis establishing x=rl and l2+m2+n2=1.
Proof:
Let a straight line pass through the origin O(0,0,0) with direction cosines l,m,n.
Let P(x,y,z) be any point on this line at a distance r=OP from O.
By the distance formula from the origin:
r=x2+y2+z2⟹r2=x2+y2+z2(1)Let the line make angles α,β,γ with the positive x,y,z axes.
Drop a perpendicular from P onto the x-axis, meeting it at N. Why drop perpendiculars? Each perpendicular creates a right-angled triangle where cos(angle)=adjacent/hypotenuse=coordinate/r.
In the right-angled triangle △ONP:
cosα=OPON=rx⟹x=rcosα=lr(2)Similarly, dropping perpendiculars onto the y-axis and z-axis gives:
cosβ=ry⟹y=rcosβ=mr(3) cosγ=rz⟹z=rcosγ=nr(4)Now, square and add equations (2), (3), and (4):
x2+y2+z2=(lr)2+(mr)2+(nr)2=r2(l2+m2+n2)(5)Substitute equation (1) into the left-hand side of equation (5):
r2=r2(l2+m2+n2)Since r=0, divide both sides by r2:
l2+m2+n2=1The factor r2 cancels out completely. This proves that the sum of squared direction cosines is always 1, regardless of how far point P is from the origin.
Proved.
Substitute cos2θ=1−sin2θ into the fundamental identity:
(1−sin2α)+(1−sin2β)+(1−sin2γ)=1 3−(sin2α+sin2β+sin2γ)=1 sin2α+sin2β+sin2γ=2Let two directed straight lines have direction cosines (l1,m1,n1) and (l2,m2,n2). Let θ be the angle between them.
Figure 3.4: Triangle OAB spanned by directed rays from the origin.
Derivation:
Through the origin O(0,0,0), draw two rays OA and OB parallel to the given lines. Why draw parallel rays through the origin? The angle between two lines depends only on their orientations, not their positions in space.
Choose lengths OA=r1 and OB=r2. The coordinates of A and B are:
A(l1r1,m1r1,n1r1)=A(x1,y1,z1) B(l2r2,m2r2,n2r2)=B(x2,y2,z2)In △OAB, by the Law of Cosines:
AB2=OA2+OB2−2(OA)(OB)cosθ=r12+r22−2r1r2cosθ(6)Using the distance formula for AB2:
AB2=(x2−x1)2+(y2−y1)2+(z2−z1)2 AB2=(l2r2−l1r1)2+(m2r2−m1r1)2+(n2r2−n1r1)2Expand each squared binomial:
AB2=r22(l22+m22+n22)+r12(l12+m12+n12)−2r1r2(l1l2+m1m2+n1n2)Since l12+m12+n12=1 and l22+m22+n22=1:
AB2=r22(1)+r12(1)−2r1r2(l1l2+m1m2+n1n2) AB2=r12+r22−2r1r2(l1l2+m1m2+n1n2)(7)Notice the neat cancellation. The pure squared terms r12+r22 match on both sides and cancel completely. Equating expressions (6) and (7):
r12+r22−2r1r2cosθ=r12+r22−2r1r2(l1l2+m1m2+n1n2) −2r1r2cosθ=−2r1r2(l1l2+m1m2+n1n2) cosθ=l1l2+m1m2+n1n2In terms of direction ratios (a1,b1,c1) and (a2,b2,c2):
cosθ=a12+b12+c12a22+b22+c22a1a2+b1b2+c1c2By Lagrange's algebraic identity:
sin2θ=(l1m2−l2m1)2+(m1n2−m2n1)2+(n1l2−n2l1)2 sinθ=(l1m2−l2m1)2+(m1n2−m2n1)2+(n1l2−n2l1)2Condition of Perpendicularity (θ=90∘):
When the lines are perpendicular, cos90∘=0, so their scalar product vanishes:
Condition of Parallelism (θ=0∘ or 180∘):
When the lines are parallel, sinθ=0. Each squared term in the sine formula must vanish individually:
When a directed line rotates slightly from (l,m,n) to (l+δl,m+δm,n+δn), what is the small angle δθ between them?
Both positions are valid lines in space. Their direction cosines must lie on the unit sphere, so both satisfy the fundamental sum of squares identity:
l2+m2+n2=1(8) (l+δl)2+(m+δm)2+(n+δn)2=1(9)Expand equation (9):
(l2+m2+n2)+2(lδl+mδm+nδn)+[(δl)2+(δm)2+(δn)2]=1Substitute equation (8):
1+2(lδl+mδm+nδn)+[(δl)2+(δm)2+(δn)2]=1 2(lδl+mδm+nδn)=−[(δl)2+(δm)2+(δn)2](10)This connects the cross term directly to the sum of squared variations.
Now compute cos(δθ) using the angle formula:
cos(δθ)=l(l+δl)+m(m+δm)+n(n+δn) cos(δθ)=(l2+m2+n2)+(lδl+mδm+nδn)=1+(lδl+mδm+nδn)(11)Substitute equation (10) into (11):
cos(δθ)=1−21[(δl)2+(δm)2+(δn)2](12)Recall the small-angle Taylor expansion: cos(δθ)≈1−2(δθ)2.
Equating this with equation (12):
Let a line pass through B(x1,y1,z1) with direction cosines l,m,n. We want the perpendicular distance from an external point A(x2,y2,z2) to this line.
Figure 3.5: Right-angled triangle ABD for distance from point to line.
Let D be the foot of the perpendicular from A to the line. In right-angled triangle △ABD, the hypotenuse AB is the straight distance between the points:
Question:
Define direction cosine and direction ratio of a line. If l,m,n be the direction cosines of any line, prove that the sum of the squares of these direction cosines is one:
[3 to 4 Marks]
Solution:
💡 Strategy & Mental Roadmap:
If a directed straight line makes angles α,β,γ with the positive directions of the coordinate axes OX,OY,OZ respectively, then α,β,γ are called the direction angles.
The cosines of these angles are called the direction cosines of the line:
Teacher Tip: Write the definitions verbatim. Examiners award 1 to 2 easy marks for clear statements of l=cosα and l/a=m/b=n/c.
Any three numbers a,b,c that are proportional to the direction cosines l,m,n are called the direction ratios of the line:
al=bm=cnLet OP be a directed line passing through the origin O(0,0,0) with direction cosines l,m,n.
Let P(x,y,z) be any point on the line at distance r from O, so that:
Let OP make angles α,β,γ with the coordinate axes.
Drop perpendiculars from P onto the x,y,z axes. In each resulting right-angled triangle:
Squaring and adding equations (2), (3), and (4):
x2+y2+z2=(lr)2+(mr)2+(nr)2 x2+y2+z2=r2(l2+m2+n2)(5)Substitute x2+y2+z2=r2 from equation (1) into equation (5):
r2=r2(l2+m2+n2)Teacher Tip: State clearly that r=0 before dividing both sides by r2. Rigorous mathematics earns full credit.
Since r=0, dividing both sides by r2 yields:
l2+m2+n2=1Proved.
| Exam Paper | Question Tag | Topic / Problem Type | Key Data or Output | Marks |
|---|---|---|---|---|
| 2017 Math 1117 | Q3(a) | Angle between two lines & conditions | Derive cosθ=∑l1l2; derive ⊥ and ∥ | 6 marks |
| 2018 Math 1117 | Q3(a) | Definitions & Fundamental Identity | Prove l2+m2+n2=1 via coordinate projections | 4 marks |
| 2019 Math 1117 | Q3(a) | Small Angular Displacement | Derive (δθ)2=(δl)2+(δm)2+(δn)2 | 6 marks |
| 2019 Math 1117 | Q4(a) | Perpendicular Distance to Line | Distance from A(−1,2,5) to line through B(3,4,5), DRs 2,−3,6 | 6 marks |
| 2020 Math 1117 | Q7(a) | Definitions & Fundamental Identity | Prove l2+m2+n2=1 | 4 marks |
| 2020 Math 1117 | Q7(c) | Line Equally Inclined to Axes | Solve l=m=n⟹±(31,31,31) | 3 marks |
| 2022 Math 2217 | Q1(a) | Angle Between Two Lines | Derive cosθ=l1l2+m1m2+n1n2 | 3 marks (CLO1) |
| 2022 Math 2217 | Q3(b) | Sum of Squared Sines Identity | Prove sin2α+sin2β+sin2γ=2 | 3 marks (CLO1) |
| 2024 Math 2217 | Q1(a) | Definitions & Fundamental Identity | Prove l2+m2+n2=1 | 3 marks (CO1) |
| 2024 Math 2217 | Q1(b)(2) | Orthogonal Vectors | Given P(2,3,4) and Q(1,−2,1), prove OP⊥OQ | 3 marks (CO1) |
Appeared: 2017 Math 1117 · Q3(a) [6 Marks], 2022 Math 2217 · Q1(a) [3 Marks]
Question:
Find the angle between two lines whose direction cosines are l1,m1,n1 and l2,m2,n2. Also find the condition of perpendicularity and parallelism of the straight lines.
Full Answer:
Let two directed straight lines have direction cosines (l1,m1,n1) and (l2,m2,n2).
Through the origin O(0,0,0), construct lines OA and OB parallel to the given lines, with lengths OA=r1 and OB=r2.
The coordinates of A and B are:
A(l1r1,m1r1,n1r1)=A(x1,y1,z1) B(l2r2,m2r2,n2r2)=B(x2,y2,z2)Let θ be the angle between the two lines (and therefore the angle ∠AOB).
In triangle △OAB, the Law of Cosines states:
By the distance formula:
AB2=(x2−x1)2+(y2−y1)2+(z2−z1)2 AB2=(l2r2−l1r1)2+(m2r2−m1r1)2+(n2r2−n1r1)2 AB2=r22(l22+m22+n22)+r12(l12+m12+n12)−2r1r2(l1l2+m1m2+n1n2)Since l12+m12+n12=1 and l22+m22+n22=1:
AB2=r12+r22−2r1r2(l1l2+m1m2+n1n2)(2)Equating expressions (1) and (2):
r12+r22−2r1r2cosθ=r12+r22−2r1r2(l1l2+m1m2+n1n2) cosθ=l1l2+m1m2+n1n2If the lines have direction ratios (a1,b1,c1) and (a2,b2,c2), normalize them to direction cosines:
cosθ=a12+b12+c12a22+b22+c22a1a2+b1b2+c1c2The lines are perpendicular when θ=90∘. Since cos90∘=0:
l1l2+m1m2+n1n2=0⟺a1a2+b1b2+c1c2=0The lines are parallel when θ=0∘ or 180∘, so sinθ=0.
Using Lagrange's identity:
Since each term is a squared real quantity, all three must equal zero:
l1m2=l2m1,m1n2=m2n1,n1l2=n2l1 l2l1=m2m1=n2n1⟺a2a1=b2b1=c2c1Appeared: 2022 Math 2217 · Q3(b) (3 marks, CLO1)
Question:
Define direction cosine and direction ratio. Let α,β,γ be the angles that a line makes with the coordinate axes. Prove that
Full Answer:
By the fundamental theorem of direction cosines:
l2+m2+n2=1 cos2α+cos2β+cos2γ=1Using the trigonometric identity cos2θ=1−sin2θ:
(1−sin2α)+(1−sin2β)+(1−sin2γ)=1 3−(sin2α+sin2β+sin2γ)=1 sin2α+sin2β+sin2γ=3−1 sin2α+sin2β+sin2γ=2Proved.
Appeared: 2020 Math 1117 · Q7(c) (3 marks)
Question:
Find the direction-cosines of the line which is equally inclined to the axes.
Full Answer:
Let the straight line make angles α,β,γ with the coordinate axes OX,OY,OZ.
Since the line is equally inclined to all three axes:
Taking the cosine of these equal angles:
cosα=cosβ=cosγ⟹l=m=nSubstitute this into the fundamental identity l2+m2+n2=1:
l2+l2+l2=1 3l2=1⟹l2=31⟹l=±31Since l=m=n, the direction cosines are:
(±31,±31,±31)Appeared: 2024 Math 2217 · Q1(b) (Part 2) (3 marks, CO1)
Question:
If P and Q are (2,3,4) and (1,−2,1) respectively, then prove OP and OQ are perpendicular to each other, where O is the origin.
Full Answer:
The origin is O(0,0,0). The given points are P(2,3,4) and Q(1,−2,1).
The direction ratios of the line OP joining O(0,0,0) to P(2,3,4) are:
a1=2−0=2,b1=3−0=3,c1=4−0=4The direction ratios of the line OQ joining O(0,0,0) to Q(1,−2,1) are:
a2=1−0=1,b2=−2−0=−2,c2=1−0=1Two straight lines are perpendicular if and only if:
a1a2+b1b2+c1c2=0Calculate the scalar sum of products:
a1a2+b1b2+c1c2=(2)(1)+(3)(−2)+(4)(1) a1a2+b1b2+c1c2=2−6+4=0Since a1a2+b1b2+c1c2=0, the condition of perpendicularity is identically satisfied.
a1a2+b1b2+c1c2=0⟹OP⊥OQProved.
Appeared: 2019 Math 1117 · Q3(a) (6 marks)
Question:
What is direction cosine and direction ratio? The direction cosines of a moving line in two adjacent positions are (l,m,n) and (l+δl,m+δm,n+δn). Show that the small angle δθ between the positions is given by
Full Answer:
The line in its two positions has direction cosines (l,m,n) and (l+δl,m+δm,n+δn).
Both sets of direction cosines must satisfy the fundamental sum of squares identity:
Expand equation (2):
(l2+m2+n2)+2(lδl+mδm+nδn)+[(δl)2+(δm)2+(δn)2]=1Substitute equation (1):
1+2(lδl+mδm+nδn)+[(δl)2+(δm)2+(δn)2]=1 2(lδl+mδm+nδn)=−[(δl)2+(δm)2+(δn)2](3)Let δθ be the small angle between the two positions. By the angle formula:
cos(δθ)=l(l+δl)+m(m+δm)+n(n+δn) cos(δθ)=(l2+m2+n2)+(lδl+mδm+nδn) cos(δθ)=1+(lδl+mδm+nδn)(4)Substitute equation (3) into equation (4):
cos(δθ)=1−21[(δl)2+(δm)2+(δn)2](5)For a small angle δθ, we use the half-angle expansion:
cos(δθ)=1−2sin2(2δθ)≈1−2(2δθ)2=1−2(δθ)2(6)Comparing equations (5) and (6):
1−2(δθ)2=1−21[(δl)2+(δm)2+(δn)2] −2(δθ)2=−21[(δl)2+(δm)2+(δn)2] (δθ)2=(δl)2+(δm)2+(δn)2Proved.
Appeared: MI Sir Notes (Page 11, Q.4) & 2019 Math 1117 · Q4(a) (6 marks)
Question:
Find the distance of the point A(−1,2,5) from the line passing through B(3,4,5) whose direction cosines are proportional to 2,−3,6.
Full Answer:
The direction ratios are a=2,b=−3,c=6.
The normalization factor is:
The direction cosines of the line are:
l=72,m=−73,n=76The points are A(−1,2,5) and B(3,4,5):
AB2=[3−(−1)]2+(4−2)2+(5−5)2=42+22+02=16+4=20 AB=20=25Let D be the foot of the perpendicular from A to the line.
The projection of segment BA onto the line is:
In the right-angled triangle △ABD:
AD=AB2−BD2=20−(−72)2=20−494 AD=4920×49−4=49980−4=49976=716×61=7461 AD=7461❌ Common Trap: Plugging direction ratios (a,b,c) directly into cosθ=a1a2+b1b2+c1c2 without normalizing.
✔️ Correct Fix: The formula cosθ=l1l2+m1m2+n1n2 works ONLY for normalized direction cosines. For direction ratios, divide by ∑a12∑a22.
💡 Why It Costs Marks: Forgetting the square root denominators gives a cosine greater than 1, which is mathematically impossible.
❌ Common Trap: Mixing signs when converting direction ratios to direction cosines.
✔️ Correct Fix: Divide all three ratios by the exact same root. The signs of l,m,n must match the signs of a,b,c.
💡 Why It Costs Marks: Flipping a single sign points the line in the wrong direction, ruining subsequent angle or distance calculations.
❌ Common Trap: Missing the ± signs for a line equally inclined to the axes.
✔️ Correct Fix: While l=m=n gives ±(1/3,1/3,1/3), write the ± explicitly to represent both senses of traversal.
💡 Why It Costs Marks: Leaving out the ± sign ignores the opposite traversal direction of the line.
← Previous: T-01.02 Coordinate Transformations | 🏠 Index | Next: T-01.04 Cube Space Diagonals →