By the end of this chapter you'll be able to…

  • 1Define direction cosines (l, m, n) and direction ratios (a, b, c) of a line and state l² + m² + n² = 1
  • 2Write the equation of a line in both Cartesian and vector forms (two-point form and point-direction form)
  • 3Find the angle between two lines and check for perpendicularity/parallelism using direction ratios
  • 4Write the equation of a plane in vector and Cartesian forms; find distance from a point to a plane
  • 5Find the angle between two planes and between a line and a plane; apply the condition for perpendicularity
💡
Why this chapter matters
Three-Dimensional Geometry is the second half of the vector-geometry unit and tests both analytical and vector methods for lines and planes. The angle between a line and a plane, distance of a point from a plane, and shortest distance between skew lines are reliable high-mark questions. Students confuse direction cosines with direction ratios — a distinction that affects all subsequent calculations.

Before you start — revise these

A 5-minute refresher here will save you 30 minutes of confusion below.

Three-Dimensional Geometry

"A line in 3D is defined by a point and a direction. A plane is defined by a point and a normal vector."

1. Chapter Overview

This chapter takes geometry into 3D SPACE using VECTOR methods. It covers: direction cosines and direction ratios of a line, equations of a line in 3D (vector and Cartesian forms), equations of a PLANE (normal form, intercept form, plane passing through 3 points), angle between lines, planes, and a line & plane, and shortest distance between skew lines.


2. Direction Cosines and Direction Ratios

  • Direction Cosines (l, m, n): cosines of the angles a line makes with the x, y, z axes. l² + m² + n² = 1.
  • Direction Ratios (a, b, c): numbers PROPORTIONAL to direction cosines. l = a/√(a²+b²+c²), etc.

3. Equation of a Line in 3D

Vector Form

  • r⃗ = a⃗ + λb⃗. Where a⃗ = point on the line. b⃗ = direction vector. λ = parameter.

Cartesian Form

  • (x — x₁)/a = (y — y₁)/b = (z — z₁)/c. Where (x₁,y₁,z₁) = point. (a,b,c) = direction ratios.

4. Equation of a Plane

FormEquation
Normal form (vector)(r⃗ — a⃗) · n⃗ = 0. OR r⃗ · n⃗ = d. Where n⃗ = normal to the plane.
Cartesianax + by + cz + d = 0. Where (a,b,c) = direction ratios of the NORMAL.
Intercept formx/a + y/b + z/c = 1. Where a,b,c = intercepts on axes.
Through 3 pointsr⃗ · [(b⃗ — a⃗) × (c⃗ — a⃗)] = 0 (cross product of two vectors in the plane = normal)

5. Angles and Distances

  • Angle between two lines: cos θ = |b₁·b₂|/(|b₁||b₂|)
  • Angle between two planes: cos θ = |n₁·n₂|/(|n₁||n₂|) (normals)
  • Angle between line and plane: sin φ = |b⃗·n⃗|/(|b⃗||n⃗|)
  • Distance of a point from a plane: |ax₁ + by₁ + cz₁ + d|/√(a² + b² + c²)
  • Shortest distance between two SKEW LINES (non-parallel, non-intersecting): |(b₁ × b₂)·(a₂ — a₁)| / |b₁ × b₂|

6. Exam Focus

  1. Direction cosines. l² + m² + n² = 1.
  2. Equation of line — vector and Cartesian. Equation of plane — normal, intercept, through 3 points.
  3. Angle between line/plane. Distance of point from plane.
  4. Shortest distance between skew lines.

7. Conclusion

3D geometry is VECTOR GEOMETRY:

  • LINES: Point + direction. EXACTLY like vector form of a line in 2D — extended to three dimensions.
  • PLANES: Point + normal. 'The normal vector DEFINES the plane.'
  • DISTANCES and ANGLES: All computed using dot and cross products. 'The heavy lifting is done by the vector algebra from the previous chapter.'

'A plane is a flat, infinite sheet. Its equation is simple — ax + by + cz + d = 0. Mastering 3D geometry is mastering the relationship between lines, planes, and points in space.'

Key formulas & results

Everything you need to memorise, in one card. Screenshot this for revision.

Direction Cosines and Direction Ratios
DIRECTION COSINES: l = cos α, m = cos β, n = cos γ where α, β, γ are angles the line makes with x, y, z axes. KEY IDENTITY: l² + m² + n² = 1 (always). DIRECTION RATIOS (a, b, c): any multiples of direction cosines — i.e., (a, b, c) ∝ (l, m, n). CONVERSION: l = a/√(a²+b²+c²), m = b/√(a²+b²+c²), n = c/√(a²+b²+c²). BETWEEN TWO POINTS: DRs of line joining (x₁,y₁,z₁) and (x₂,y₂,z₂) are (x₂−x₁, y₂−y₁, z₂−z₁). DC of x-axis: (1,0,0). DC of y-axis: (0,1,0). DC of z-axis: (0,0,1).
Direction cosines satisfy l²+m²+n²=1 exactly. Direction ratios do NOT (they're un-normalised). For any line, DCs are UNIQUE (up to sign); DRs are not unique (any scalar multiple works). The 'direction vector' of a line in vector form is the DR vector b⃗. To find angle between lines: use DRs or DCs — either works, but DRs are simpler for CBSE calculations.
Equations of a Line
VECTOR FORM: r⃗ = a⃗ + λb⃗ where a⃗ is position vector of a point on the line and b⃗ is the direction vector. λ ∈ ℝ is the parameter. CARTESIAN FORM — Point-direction: (x−x₁)/a = (y−y₁)/b = (z−z₁)/c where (x₁,y₁,z₁) is a point and (a,b,c) are DRs. TWO-POINT FORM: (x−x₁)/(x₂−x₁) = (y−y₁)/(y₂−y₁) = (z−z₁)/(z₂−z₁). ANGLE BETWEEN TWO LINES with DRs (a₁,b₁,c₁) and (a₂,b₂,c₂): cos θ = |a₁a₂+b₁b₂+c₁c₂| / [√(a₁²+b₁²+c₁²) · √(a₂²+b₂²+c₂²)]. PERPENDICULAR: a₁a₂+b₁b₂+c₁c₂ = 0. PARALLEL: a₁/a₂ = b₁/b₂ = c₁/c₂.
The angle formula uses |dot product| of direction vectors — take absolute value to ensure θ ∈ [0°, 90°] (acute angle between lines). Lines are SKEW if they are neither parallel nor intersecting (no common point and not parallel). Shortest distance between skew lines is non-zero.
Equations of a Plane
VECTOR FORM: r⃗·n̂ = d where n̂ is unit normal to plane, d is distance from origin. General: r⃗·n⃗ = D. CARTESIAN: ax + by + cz = d where (a,b,c) is the normal direction. INTERCEPT FORM: x/a + y/b + z/c = 1. THREE-POINT FORM: use determinant. NORMAL FORM: lx + my + nz = p where (l,m,n) are DCs and p ≥ 0 is perpendicular distance from origin. DISTANCE from point (x₁,y₁,z₁) to plane ax+by+cz+d=0: Distance = |ax₁+by₁+cz₁+d| / √(a²+b²+c²). ANGLE between planes ax+by+cz=d₁ and a'x+b'y+c'z=d₂: cos θ = |aa'+bb'+cc'| / [√(a²+b²+c²)·√(a'²+b'²+c'²)].
Normal vector of plane ax+by+cz=d is n⃗ = aî+bĵ+ck̂. Two planes are PARALLEL if their normals are parallel (ratios a/a' = b/b' = c/c'). PERPENDICULAR if normals are perpendicular (dot product = 0). The distance formula |ax₁+by₁+cz₁+d| / √(a²+b²+c²) requires the equation in the form ax+by+cz+d=0 (all terms on one side).
Angle Between Line and Plane; Shortest Distance
ANGLE between line with direction (a,b,c) and plane with normal (l,m,n): sin φ = |al+bm+cn| / [√(a²+b²+c²)·√(l²+m²+n²)]. (Note: uses sin, not cos — because angle between line and plane is complement of angle between line and normal.) SHORTEST DISTANCE between SKEW LINES r⃗ = a₁⃗ + λb₁⃗ and r⃗ = a₂⃗ + μb₂⃗: d = |(a₂⃗ − a₁⃗)·(b₁⃗ × b₂⃗)| / |b₁⃗ × b₂⃗|. DISTANCE BETWEEN PARALLEL PLANES ax+by+cz=d₁ and ax+by+cz=d₂: |d₁−d₂| / √(a²+b²+c²).
KEY DISTINCTION: Angle between TWO LINES → use cos. Angle between LINE AND PLANE → use sin. This is because the angle between a line and plane is measured from the plane (the complement of the angle from the normal). For angle between a line and the y-axis: direction of y-axis is (0,1,0).
⚠️

Common mistakes & fixes

These are the exact errors that cost students marks in board exams. Read them once, save yourself the trouble.

WATCH OUT
Using cos instead of sin for the angle between a line and a plane
ANGLE BETWEEN TWO LINES: use cos θ = |b₁⃗·b₂⃗| / (|b₁⃗||b₂⃗|). ANGLE BETWEEN LINE AND PLANE: use sin φ = |b⃗·n⃗| / (|b⃗||n⃗|) where n⃗ is the plane's normal. The reason: the angle between a line and a plane is the complement of the angle between the line and the normal to the plane. If the line is in the plane, angle = 0°; if perpendicular to plane, angle = 90°.
WATCH OUT
Confusing the direction vector of the line with the normal of the plane in distance formulas
The DISTANCE from a point to a PLANE ax+by+cz+d=0 uses (a,b,c) = normal to the plane (not direction of any line). The formula is |ax₁+by₁+cz₁+d|/√(a²+b²+c²). Write the equation in the form with d on the left side: ax+by+cz+d=0 (note the sign of d) before substituting.
WATCH OUT
Forgetting to take the absolute value in the angle between planes formula
cos θ = |aa'+bb'+cc'| / [√(a²+b²+c²)·√(a'²+b'²+c'²)]. The absolute value ensures the angle θ ∈ [0°, 90°] (we report the acute angle between the planes). Without |·|, you might get cos θ < 0, which gives an obtuse angle — but the angle between two planes is always stated as acute.

Practice problems

Try each one yourself before tapping "Show solution". Active recall > rereading.

Q1EASY· line-equation
Find the vector and Cartesian equations of the line through (1, 2, −4) with direction ratios (2, −1, 3).
Show solution
VECTOR FORM: r⃗ = a⃗ + λb⃗ where a⃗ = î + 2ĵ − 4k̂ and b⃗ = 2î − ĵ + 3k̂. r⃗ = (î + 2ĵ − 4k̂) + λ(2î − ĵ + 3k̂). CARTESIAN FORM: (x−1)/2 = (y−2)/(−1) = (z+4)/3. (Using point (1,2,−4) and DRs (2,−1,3).)
Q2MEDIUM· plane-distance
Find the distance of the point (2, 3, −5) from the plane x + 2y − 2z = 9.
Show solution
Plane equation: x + 2y − 2z − 9 = 0. Here a=1, b=2, c=−2, d=−9. Point: (x₁, y₁, z₁) = (2, 3, −5). DISTANCE = |ax₁ + by₁ + cz₁ + d| / √(a²+b²+c²) = |1·2 + 2·3 + (−2)·(−5) + (−9)| / √(1+4+4) = |2 + 6 + 10 − 9| / √9 = |9| / 3 = 9/3 = 3 units.
Q3HARD· skew-lines-distance
Find the shortest distance between the lines r⃗ = (î + 2ĵ + k̂) + λ(î − ĵ + k̂) and r⃗ = (2î − ĵ − k̂) + μ(2î + ĵ + 2k̂).
Show solution
Here a₁⃗ = î+2ĵ+k̂, b₁⃗ = î−ĵ+k̂, a₂⃗ = 2î−ĵ−k̂, b₂⃗ = 2î+ĵ+2k̂. a₂⃗ − a₁⃗ = (2−1)î + (−1−2)ĵ + (−1−1)k̂ = î − 3ĵ − 2k̂. b₁⃗ × b₂⃗ = |î ĵ k̂; 1 −1 1; 2 1 2| = î(−2−1) − ĵ(2−2) + k̂(1+2) = −3î − 0ĵ + 3k̂ = −3î + 3k̂. |b₁⃗ × b₂⃗| = √(9+0+9) = √18 = 3√2. (a₂⃗−a₁⃗)·(b₁⃗×b₂⃗) = (1)(−3) + (−3)(0) + (−2)(3) = −3 + 0 − 6 = −9. SHORTEST DISTANCE = |−9| / 3√2 = 9/(3√2) = 3/√2 = 3√2/2 units.

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • DCs: l²+m²+n²=1. DRs: (a,b,c) any proportional set. Convert: l = a/√(a²+b²+c²).
  • Line vector form: r⃗ = a⃗ + λb⃗. Cartesian: (x−x₁)/a = (y−y₁)/b = (z−z₁)/c.
  • Angle between lines: cos θ = |a₁a₂+b₁b₂+c₁c₂|/(magnitude product). Perp: dot = 0.
  • Plane: ax+by+cz+d=0. Normal = (a,b,c). Distance = |ax₁+by₁+cz₁+d|/√(a²+b²+c²).
  • Angle between planes: cos θ = |n₁⃗·n₂⃗|/(|n₁⃗||n₂⃗|). [Uses cos, not sin.]
  • Angle between LINE and PLANE: sin φ = |b⃗·n⃗|/(|b⃗||n⃗|). [Uses sin, not cos.]
  • Skew line SD = |(a₂⃗−a₁⃗)·(b₁⃗×b₂⃗)| / |b₁⃗×b₂⃗|.
  • Parallel planes ax+by+cz=d₁ and ax+by+cz=d₂: distance = |d₁−d₂|/√(a²+b²+c²).

CBSE marks blueprint

Where the marks come from in this chapter — so you can plan your prep.

Typical chapter weightage: 6-8 marks

Question typeMarks eachTypical countWhat it tests
Short — Line or Plane Equation2-31Write equation of line/plane; find angle between two lines or two planes; perpendicularity condition
Long — Distance or Skew Lines5-61Distance from point to plane; angle between line and plane; shortest distance between skew lines
Prep strategy
  • Memorise the four formulas by their inputs: Lines angle → DRs → cos. Line-plane angle → line DR and plane normal → sin. Point-plane distance → point coords and plane coefficients → |ax₁+by₁+cz₁+d|/√(a²+b²+c²). Skew lines → cross product of directions, then triple product formula.
  • For all angle problems: write the relevant direction vectors/normals explicitly, compute the dot product, compute both magnitudes, then divide. Do not try to shortcut — arithmetic errors in 3D geometry cascade.
  • For shortest distance between skew lines: always compute b₁⃗ × b₂⃗ first (this is the hardest step), then dot with (a₂⃗−a₁⃗), then divide by |b₁⃗ × b₂⃗|. Show all three steps with workings.

Where this shows up in the real world

This chapter isn't just an exam topic — it lives in the world around you.

Computer Vision and Robotics Path Planning

Every camera in a computer vision system needs to determine: 'At what angle does this light ray intersect the surface of the object I'm imaging?' This is a line-plane intersection problem in 3D geometry. Medical CT scanners compute intersections of X-ray beams (lines) with body tissue planes at thousands of angles. Robot arms use 3D line and plane equations to determine collision avoidance paths — ensuring the robot's arm (a line segment in 3D) doesn't intersect any surface (a plane) of the surrounding environment.

Exam strategy

Battle-tested tips from teachers and toppers for this chapter.

  1. For angle between line and plane: write out b⃗ (line direction) and n⃗ (plane normal) explicitly before computing. State 'sin φ = |b⃗·n⃗|/(|b⃗||n⃗|)' — using sin, not cos — then compute numerator and denominator separately.
  2. For distance from point to plane: ensure the plane equation is in the form ax+by+cz+d=0 (all terms on one side, zero on right). Write d = −(constant term), not the constant on the right side. For x+2y−2z=9: rewrite as x+2y−2z−9=0, so a=1, b=2, c=−2, d=−9 — substitute these directly into the distance formula.

Going beyond the textbook

For olympiad aspirants and curious learners — topics that build on this chapter.

  • Study the DUAL SPACE of 3D geometry: a point can be represented as a plane (via the equation ax+by+cz=1 passing through it), and a plane can be represented as a point. This POINT-PLANE DUALITY reverses incidence relations and is the foundation of projective geometry and computer graphics perspective transforms
  • Explore the DISTANCE GEOMETRY PROBLEM: given pairwise distances between n points in 3D, can you reconstruct their coordinates? This is solved using Cayley-Menger determinants — the direct extension of the 3D distance formula to arbitrary configurations. It's used in GPS (given distances to satellites, find your position) and protein structure determination in biochemistry

Where else this chapter is tested

CBSE board isn't the only one — other exams test this chapter too.

CBSE Class 12 Board (Mathematics)High
JEE Main (3D Geometry)High
CUET (Mathematics)Medium

Questions students ask

The real ones — pulled from the Q&A community and tutor sessions.

DIRECTION COSINES (l, m, n): the cosines of the angles that the line makes with the x, y, and z axes. They are normalised: l²+m²+n²=1. Unique for a given direction (up to overall sign flip). DIRECTION RATIOS (a, b, c): any set of numbers proportional to the direction cosines. NOT normalised — a²+b²+c² ≠ 1 in general. Not unique (any scalar multiple works). Conversion: divide each by √(a²+b²+c²) to get direction cosines. In angle formulas: both work in the numerator (dot product), but you must use the magnitude in the denominator to normalise — so whether you use DCs or DRs, the formula gives the same angle.
Verified by the tuition.in editorial team
Last reviewed on 27 May 2026. Written and reviewed by subject-matter experts — read about our process.
Editorial process →
Header Logo