← Class 12 Maths

Three-dimensional geometry

Direction ratios and cosines, vector and Cartesian line equations, angle, skew lines and shortest distance.

Chapter summary

Spatial lines are specified by a point and a nonzero direction vector. Unlike plane lines, nonparallel space lines can be skew rather than intersecting. Distances follow perpendicular projections and require separate treatment for parallel directions.

Summary, short notes & key relations →

First decide how two lines meet

Parallel direction vectors require a separate distance formula. For nonparallel lines a zero scalar triple product of their directions and their joining vector establishes coplanarity; otherwise they are skew. The shortest joining segment is perpendicular to both directions.

Chapter examples

Worked example

Lines pass through (0,0,0) along (1,0,0) and (0,1,2) along (0,1,0). Find their shortest separation.

Worked solution
  1. Method and reasoningLook for a connection perpendicular to both direction vectors and verify its endpoints lie on the lines.
  2. The common perpendicular is parallel to z.
  3. Points (0,0,0) and (0,0,2) lie on the two lines, so separation is 2.
  4. No smaller distance can cancel their fixed z offset.
Problem link

Independent practice

For lines with direction vectors (1,2,2) and (2,−1,2), find the acute angle between them.

Worked solution
  1. Method and reasoningUse cos⁡θ\cos \theta = |a·b|/(|a||b|) because the acute angle between unoriented lines is requested.
  2. The dot product is 4 and each length is 3.
  3. Thus cos⁡θ\cos \theta = 49\frac{4}{9} and θ = cos⁡−1\cos ^{-1}(49\frac{4}{9}).
Problem link