2027 Rapid Revision — Formulae, Results and Methods
Section 11 of 15 40 min read
Three Dimensional Geometry: Lines, Angles and Distances
How Three Dimensional Geometry Is Asked
This chapter carries 6 printed marks, in three questions:
Q
Marks
What the board asks
Q13
1
Direction cosines of an axis, the equation of an axis, sin2α+sin2β+sin2γ, or converting a line to vector form
Q28
2
The angle between two lines (four of the five exams), or k for perpendicular lines
Q37
3
The shortest distance between skew lines, the distance between parallel lines, or the derivation of r=a+λb
The chapter is small and formula-based. Learn the four formulas below and the derivation, and all 6 marks are within reach.
Direction Cosines and Direction Ratios
If a line makes angles α, β, γ with the x, y and z axes, its direction cosines are l=cosα, m=cosβ, n=cosγ, and
l2+m2+n2=1⇒sin2α+sin2β+sin2γ=2
Direction ratios a, b, c are any numbers proportional to l, m, n. To get direction cosines from direction ratios, divide by a2+b2+c2 (with a ± sign for the two directions of the line).
The direction ratios of the line through (x1,y1,z1) and (x2,y2,z2) are x2−x1, y2−y1, z2−z1.
The axes:
Axis
Direction cosines
Equations
x-axis
1, 0, 0
y = 0, z = 0
y-axis
0, 1, 0
x = 0, z = 0
z-axis
0, 0, 1
x = 0, y = 0
The negative z-axis has direction cosines 0, 0, −1. Direction ratios of the x-axis are k, 0, 0 for any k=0.
Equations of a Line
Through a point a (or (x1,y1,z1)), parallel to b=ai^+bj^+ck^:
r=a+λb,ax−x1=by−y1=cz−z1
Through two points a and b:r=a+λ(b−a).
Converting. From the Cartesian form, the point is read from the numerators with the signs changed, and the direction from the denominators. For 3x−5=7y+4=2z−6, the point is (5, −4, 6) and the direction is (3, 7, 2):
r=(5i^−4j^+6k^)+λ(3i^+7j^+2k^)
Before reading direction ratios, make sure each numerator is written as x−x1 with coefficient 1. If the line is 31−x, rewrite it as −3x−1.
Derivation of r=a+λb (Q37 in 2025 Exam-1 and 2026 Exam-1). Let the line pass through A with position vector a and be parallel to b. Let P with position vector r be any point on the line. Then AP is parallel to b, so AP=λb for some scalar λ. But AP=r−a. Therefore r−a=λb, that is r=a+λb. [Draw O, A and P with a, r and the line through A along b; the figure is a mark.]
Angles and Distances
Angle between two lines with direction b1 and b2 (or direction ratios a1,b1,c1 and a2,b2,c2):
Shortest distance between skew linesr=a1+λb1 and r=a2+μb2:
d=∣b1×b2∣(b1×b2)⋅(a2−a1)
If d = 0, the lines intersect.
Distance between parallel linesr=a1+λb and r=a2+μb:
d=∣b∣∣b×(a2−a1)∣
Before using either formula, check whether the direction vectors are multiples of each other. If they are, the lines are parallel and you need the second formula.
Solved Examples
Question 1 (1 mark): If a line makes angles α, β, γ with the axes, find sin2α+sin2β+sin2γ.
Question 2 (2 marks, 2026 Exam-1 Q28): Find the angle between the lines 4x−5=1y−2=8z−3 and 2x=2y=1z.
Answer. Direction ratios 4, 1, 8 and 2, 2, 1.
cosθ=8198+2+8=2718=32,θ=cos−132
Question 3 (2 marks, 2026 Exam-2 Q28): Find the angle between r=3i^+2j^−4k^+λ(i^+2j^+2k^) and r=5i^−2j^+μ(3i^+2j^+6k^).
Answer.b1=i^+2j^+2k^, b2=3i^+2j^+6k^.
cosθ=3×73+4+12=2119,θ=cos−12119
Question 4 (2 marks, 2025 Exam-1 Q28): Find k if the lines −3x−1=2ky−2=2z−3 and 3kx−1=1y−1=−5z−6 are perpendicular.
Answer.(−3)(3k)+(2k)(1)+(2)(−5)=0, so −9k+2k−10=0 and k=−710.
Question 5 (3 marks, 2025 Exam-2 and 2025 Exam-3 Q37): Find the shortest distance between r=(i^+2j^+k^)+λ(i^−j^+k^) and r=(2i^−j^−k^)+μ(2i^+j^+2k^).