MCQIndia.comCBSE
CBSE
Class 12 · Mathematics · Part 2

Chapter 11: Three Dimensional Geometry

Revision notes, worked problems, a question bank, assertion and reason questions and answers to the NCERT exercises. Tap a group to open it; opening one closes the others.

11.1 – 11.2Direction cosines and direction ratiosHow a line points in space

Direction cosines

If a directed line through the origin makes angles α, β, γ (the direction angles) with the positive x, y and z axes, then l = cos α, m = cos β, n = cos γ are its direction cosines.

  • Reversing the direction replaces the angles by their supplements, so all three cosines change sign.
  • A line not through the origin has the same direction cosines as the parallel line through the origin.
  • The axes have direction cosines x: 1, 0, 0; y: 0, 1, 0; z: 0, 0, 1.
l² + m² + n² = 1
xyzOPβγαα, β, γ: direction anglesl = cos α, m = cos β, n = cos γl² + m² + n² = 1Ratios a, b, c ∝ l, m, nl = a/√(a² + b² + c²), ...
The direction cosines are the cosines of the angles the line makes with the three axes.

Direction ratios

Any three numbers a, b, c proportional to l, m, n are direction ratios: a = λl, b = λm, c = λn for some nonzero λ.

l = a/√(a² + b² + c²), m = b/√(a² + b² + c²), n = c/√(a² + b² + c²)
  • A line has infinitely many sets of direction ratios but only two sets of direction cosines.
  • Example: ratios 2, −1, −2 give the cosines 2/3, −1/3, −2/3 (or all negated).

Line through two points

For P(x₁, y₁, z₁) and Q(x₂, y₂, z₂) the direction ratios are x₂ − x₁, y₂ − y₁, z₂ − z₁ and the direction cosines are these divided by PQ = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²).

  • Example: (−2, 4, −5) and (1, 2, 3) give ratios 3, −2, 8 and PQ = √77, so the cosines are 3/√77, −2/√77, 8/√77.
  • Three points are collinear when the ratios of AB and BC are proportional.
11.3Equation of a line in spaceVector, parametric and Cartesian forms

Through a point, parallel to a vector

The line through the point with position vector a and parallel to b has

r = a + λb
OAParλbAP = λbr − a = λbr = a + λbb ∥ line, b = ai + bj + ck(x − x₁)/a = (y − y₁)/b = (z − z₁)/c
Every point of the line is the fixed point A plus a multiple of the direction vector b.
  • For b = ai + bj + ck, the numbers a, b, c are direction ratios.
  • With a = x₁î + y₁ĵ + z₁k̂ and r = xî + yĵ + zk̂: x = x₁ + λa, y = y₁ + λb, z = z₁ + λc (parametric form).
  • Eliminating λ gives the Cartesian form (x − x₁)/a = (y − y₁)/b = (z − z₁)/c.
  • If l, m, n are direction cosines, use l, m, n in place of a, b, c.

Through two points

The line through A(a) and B(b) has direction b − a:

r = a + λ(b − a)(x − x₁)/(x₂ − x₁) = (y − y₁)/(y₂ − y₁) = (z − z₁)/(z₂ − z₁)

Example

Through (5, 2, −4), parallel to 3î + 2ĵ − 8k̂:

  • Vector form: r = 5î + 2ĵ − 4k̂ + λ(3î + 2ĵ − 8k̂).
  • Cartesian form: (x − 5)/3 = (y − 2)/2 = (z + 4)/(−8).

A zero direction ratio is allowed. For example the x-axis is x/1 = y/0 = z/0, which means y = 0 and z = 0.

11.4Angle between two linescos θ from direction ratios

The formula

If two lines have direction ratios a₁, b₁, c₁ and a₂, b₂, c₂, the (acute) angle θ between them satisfies

cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) √(a₂² + b₂² + c₂²))
  • With direction cosines the denominator is 1: cos θ = |l₁l₂ + m₁m₂ + n₁n₂|.
  • In vector form r = a₁ + λb₁ and r = a₂ + μb₂: cos θ = |b₁ · b₂|/(|b₁||b₂|).
  • Lines not through the origin: the angle is that between the parallels through the origin.
θL₁L₂Oratios a₁, b₁, c₁a₂, b₂, c₂cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) · √(a₂² + b₂² + c₂²))Perpendicular: a₁a₂ + b₁b₂ + c₁c₂ = 0Parallel: a₁/a₂ = b₁/b₂ = c₁/c₂Lines not through O: use parallels through O
Only the directions matter for the angle, so move both lines to the origin.

Perpendicular and parallel

  • Perpendicular: a₁a₂ + b₁b₂ + c₁c₂ = 0.
  • Parallel: a₁/a₂ = b₁/b₂ = c₁/c₂.
  • Two perpendicular lines in space need not meet (they can be skew).

Example

Lines with ratios (1, 2, 2) and (3, 2, 6): dot product = 3 + 4 + 12 = 19, lengths 3 and 7, so cos θ = 19/21.

11.5Shortest distance between two linesSkew lines and parallel lines

Kinds of pairs

  • Intersecting lines: shortest distance 0.
  • Parallel lines: the perpendicular distance between them.
  • Skew lines: neither parallel nor intersecting, so not coplanar. The shortest distance is along the common perpendicular.
l₁l₂PQdSkew lines: not parallel, never meetPQ ⟂ l₁ and PQ ⟂ l₂d = |(b₁ × b₂) · (a₂ − a₁)| / |b₁ × b₂|Parallel lines: d = |b × (a₂ − a₁)| / |b|
The shortest distance between skew lines is the length of the segment perpendicular to both.

Skew lines

For r = a₁ + λb₁ and r = a₂ + μb₂:

d = |(b₁ × b₂) · (a₂ − a₁)| / |b₁ × b₂|
  • The unit vector along the common perpendicular is n̂ = (b₁ × b₂)/|b₁ × b₂|.
  • d is the projection of a₂ − a₁ on n̂.
  • If (b₁ × b₂) · (a₂ − a₁) = 0 (and b₁ × b₂ ≠ 0) the lines intersect.
  • Cartesian: d = |determinant of rows (x₂ − x₁, y₂ − y₁, z₂ − z₁), (a₁, b₁, c₁), (a₂, b₂, c₂)| divided by √((b₁c₂ − b₂c₁)² + (c₁a₂ − c₂a₁)² + (a₁b₂ − a₂b₁)²).

Parallel lines

For r = a₁ + λb and r = a₂ + μb:

d = |b × (a₂ − a₁)| / |b|
STPl₁l₂dθParallel lines: same direction bb × ST = |b||ST| sin θ n̂ = |b| d n̂d = |b × (a₂ − a₁)| / |b|
The distance between parallel lines is the length of the perpendicular from a point of one to the other.

Example

  • Lines r = î + ĵ + λ(2î − ĵ + k̂) and r = 2î + ĵ − k̂ + μ(3î − 5ĵ + 2k̂): b₁ × b₂ = 3î − ĵ − 7k̂, |b₁ × b₂| = √59, (b₁ × b₂) · (a₂ − a₁) = 10, so d = 10/√59.
RefQuick reference and common slipsCheck before you answer

Quick reference

WantUse
Direction cosines from ratios a, b, ca, b, c divided by √(a² + b² + c²)
Ratios from two pointsSubtract the coordinates
Line through point and parallel to br = a + λb
Perpendicular linesa₁a₂ + b₁b₂ + c₁c₂ = 0
Parallel linesproportional ratios
Skew distance|(b₁ × b₂) · (a₂ − a₁)|/|b₁ × b₂|
Parallel distance|b × (a₂ − a₁)|/|b|

Common slips

  • Using the direction ratios as direction cosines without dividing by the length.
  • Forgetting that the signs of x₁, y₁, z₁ flip in the Cartesian form: (x + 3) means x₁ = −3.
  • Not rewriting equations like (1 − x)/3 or (7y − 14)/(2p) so that x, y, z have coefficient 1 before reading ratios.
  • Dropping the modulus in cos θ (the angle between lines is taken acute) or the modulus in the distance formula.
  • Forgetting to divide by |b| in the distance between parallel lines.
  • Assuming perpendicular lines meet.