Three Dimensional Geometry
How to describe a line’s direction with cosines and ratios, the equation of a line in space in vector and cartesian forms, the angle between two lines, and the shortest distance between skew and parallel lines.
Direction and Equations of Lines
2 topics to learn here
Direction cosines and direction ratios
l = cos α, m = cos β, n = cos γ; l² + m² + n² = 1; direction ratios a, b, c ∝ l, m, n; for PQ: (x₂ − x₁, y₂ − y₁, z₂ − z₁).
- 1
If a directed line makes angles α, β, γ with the positive x-, y-, z-axes, l = cos α, m = cos β, n = cos γ are its direction cosines. Reversing the line changes their signs.
- 2
Always l² + m² + n² = 1.
- 3
Numbers a, b, c proportional to l, m, n are direction ratios; then l = ±a/√(a² + b² + c²), and similarly for m, n.
- 4
For the line through P(x₁, y₁, z₁) and Q(x₂, y₂, z₂), direction ratios are x₂ − x₁, y₂ − y₁, z₂ − z₁ and direction cosines are these divided by PQ.
- 5
Three points are collinear if the direction ratios of PQ and QR are proportional.
Direction cosines of a line with angles 90°, 135°, 45° with the axes.
- cos 90° = 0, cos 135° = −1/√2, cos 45° = 1/√2
Answer: 0, −1/√2, 1/√2.
Direction cosines of a line equally inclined to the axes?
✅ ±1/√3, ±1/√3, ±1/√3.
Equation of a line in space
r = a + λb; (x − x₁)/a = (y − y₁)/b = (z − z₁)/c; through two points r = a + λ(b − a).
- 1
Through a point with position vector a and parallel to b: r = a + λb (λ a real parameter).
- 2
Cartesian form: (x − x₁)/a = (y − y₁)/b = (z − z₁)/c, with direction ratios a, b, c; with direction cosines, (x − x₁)/l = (y − y₁)/m = (z − z₁)/n.
- 3
Through two points: r = a + λ(b − a), or (x − x₁)/(x₂ − x₁) = (y − y₁)/(y₂ − y₁) = (z − z₁)/(z₂ − z₁).
- 4
To change cartesian to vector form, read off the point (x₁, y₁, z₁) and direction (a, b, c). Careful: write each numerator as (x − x₁), e.g. (x − 5)/3 = (y + 4)/7 = (z − 6)/2 passes through (5, −4, 6).
Vector equation of the line through (1, 2, 3) parallel to 3î + 2ĵ − 2k̂.
- a = î + 2ĵ + 3k̂, b = 3î + 2ĵ − 2k̂
Answer: r = (î + 2ĵ + 3k̂) + λ(3î + 2ĵ − 2k̂).
Vector form of (x − 5)/3 = (y + 4)/7 = (z − 6)/2?
✅ r = (5î − 4ĵ + 6k̂) + λ(3î + 7ĵ + 2k̂).
Angle and Distance
2 topics to learn here
Angle between two lines
cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) √(a₂² + b₂² + c₂²)); ⟂ if sum = 0; ∥ if ratios proportional.
- 1
For lines with direction ratios a₁, b₁, c₁ and a₂, b₂, c₂: cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) √(a₂² + b₂² + c₂²)).
- 2
With direction cosines: cos θ = |l₁l₂ + m₁m₂ + n₁n₂|.
- 3
In vector form, for r = a₁ + λb₁ and r = a₂ + μb₂: cos θ = |b₁·b₂|/(|b₁||b₂|).
- 4
Lines are perpendicular if a₁a₂ + b₁b₂ + c₁c₂ = 0 and parallel if a₁/a₂ = b₁/b₂ = c₁/c₂.
Angle between lines with direction vectors î + 2ĵ + 2k̂ and 3î + 2ĵ + 6k̂.
- b₁·b₂ = 3 + 4 + 12 = 19; |b₁| = 3, |b₂| = 7
Answer: θ = cos⁻¹(19/21).
Show the line through (1, −1, 2), (3, 4, −2) is perpendicular to that through (0, 3, 2), (3, 5, 6).
✅ Direction ratios 2, 5, −4 and 3, 2, 4: 6 + 10 − 16 = 0.
Shortest distance between two lines
Skew lines: d = |(b₁ × b₂)·(a₂ − a₁)|/|b₁ × b₂|; parallel lines: d = |b × (a₂ − a₁)|/|b|.
- 1
In space, two lines may intersect, be parallel, or be skew (neither intersecting nor parallel; non-coplanar).
- 2
The shortest distance is the length of the segment perpendicular to both lines.
- 3
For r = a₁ + λb₁ and r = a₂ + μb₂: d = |(b₁ × b₂)·(a₂ − a₁)| / |b₁ × b₂|. In cartesian form it is the 3 × 3 determinant of (x₂ − x₁, y₂ − y₁, z₂ − z₁), (a₁, b₁, c₁), (a₂, b₂, c₂) divided by √[(b₁c₂ − b₂c₁)² + …].
- 4
If d = 0, the lines intersect.
- 5
For parallel lines r = a₁ + λb and r = a₂ + μb: d = |b × (a₂ − a₁)| / |b|.
SD between r = (î + 2ĵ + k̂) + λ(î − ĵ + k̂) and r = (2î − ĵ − k̂) + μ(2î + ĵ + 2k̂).
- a₂ − a₁ = î − 3ĵ − 2k̂; b₁ × b₂ = −3î + 3k̂, |b₁ × b₂| = 3√2
- (b₁ × b₂)·(a₂ − a₁) = −3 − 6 = −9
Answer: d = 9/(3√2) = 3√2/2.
What does a shortest distance of zero mean?
✅ The lines intersect.
🔤 Key words
Each science word with its meaning and its Hindi name. Cover the meaning and try to say it first.
- Direction cosinesदिक्-कोसाइन
cos α, cos β, cos γ of the angles with the axes.
- Direction ratiosदिक्-अनुपात
a, b, c proportional to l, m, n.
- Vector equationसदिश समीकरण
r = a + λb.
- Cartesian equationकार्तीय समीकरण
(x − x₁)/a = (y − y₁)/b = (z − z₁)/c.
- Parallel linesसमांतर रेखाएँ
Direction ratios proportional.
- Perpendicular linesलंबवत रेखाएँ
a₁a₂ + b₁b₂ + c₁c₂ = 0.
- Skew linesविषमतलीय रेखाएँ
Neither parallel nor intersecting.
- Shortest distanceन्यूनतम दूरी
Length of the common perpendicular.
- Coplanar linesसमतलीय रेखाएँ
Lines lying in one plane.
- Angle between linesरेखाओं के बीच कोण
cos θ = |b₁·b₂|/(|b₁||b₂|).
🛂 One-look revision
One stamp per part. Read the key fact, then try to recall the whole topic.
- Direction cosinesl² + m² + n² = 1cos of angles
- Direction ratios∝ l, m, nTwo points: differences
- Vector liner = a + λbPoint + direction
- Cartesian line(x − x₁)/a = …Read signs carefully
- Anglecos θ = |b₁·b₂|/(|b₁||b₂|)Use direction ratios
- Perpendiculara₁a₂ + b₁b₂ + c₁c₂ = 0
- ParallelRatios proportional
- Skew lines SD|(b₁ × b₂)·(a₂ − a₁)|/|b₁ × b₂|0 ⇒ intersect
- Parallel lines SD|b × (a₂ − a₁)|/|b|
❔ Questions and answers
Tap a question to see the answer. Try answering in your head first.