Three-Dimensional Geometry
JEE Main three-dimensional geometry: the key points tested in JEE Main maths, explained step by step. Three-dimensional geometry extends coordinate geometry to points and lines in space. JEE Main questions use the distance and section formulae, direction cosines and direction ratios, the angle between lines, the vector and Cartesian equations of a line, and the shortest distance between skew lines.
What you need to be able to do G
What you need to be able to do for JEE Main, in our own words, based on the NTA syllabus for JEE Main Paper 1 and the NCERT maths books.
- Use the distance and section formulae in space, including division by the coordinate planes.
- Find direction cosines from direction ratios, use l² + m² + n² = 1, and find the angle between two lines.
- Write the equation of a line in vector and Cartesian form through a point with a given direction or through two points.
- Decide whether two lines are parallel, intersecting or skew, and find the shortest distance between them and the distance of a point from a line.
Coordinates, direction cosines and direction ratios
For A(x₁, y₁, z₁) and B(x₂, y₂, z₂) the distance and the point dividing AB internally in the ratio m : n are
AB = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²), P = ((mx₂ + nx₁)/(m + n), (my₂ + ny₁)/(m + n), (mz₂ + nz₁)/(m + n))
To find where a coordinate plane cuts AB, take the ratio k : 1 and set the relevant coordinate to zero (x = 0 for the yz-plane). A negative k means external division.
If a line makes angles α, β, γ with the positive x, y and z axes, its direction cosines are l = cos α, m = cos β, n = cos γ, and
l² + m² + n² = 1, so sin²α + sin²β + sin²γ = 2
Any three numbers a, b, c proportional to l, m, n are direction ratios. From direction ratios, divide by √(a² + b² + c²) to get the direction cosines. The direction ratios of the line through A and B are (x₂ − x₁, y₂ − y₁, z₂ − z₁).
cos θ = |a₁a₂ + b₁b₂ + c₁c₂| / (√(a₁² + b₁² + c₁²) √(a₂² + b₂² + c₂²))
| Lines with direction ratios (a₁, b₁, c₁) and (a₂, b₂, c₂) | Condition |
|---|---|
| Perpendicular | a₁a₂ + b₁b₂ + c₁c₂ = 0 |
| Parallel | a₁/a₂ = b₁/b₂ = c₁/c₂ |
Solved example. The line joining (1, 2, 3) and (3, 4, 4) has direction ratios (2, 2, 1). Since √(4 + 4 + 1) = 3, its direction cosines are (2/3, 2/3, 1/3). The angle it makes with a line of direction ratios (1, −1, 0) has cos θ = |2 − 2 + 0|/(3√2) = 0, so the lines are perpendicular.
Equations of a line and shortest distance
A line through the point with position vector a, parallel to b = (p, q, r), and the line through two points, are
r = a + λb, (x − x₁)/p = (y − y₁)/q = (z − z₁)/r
(x − x₁)/(x₂ − x₁) = (y − y₁)/(y₂ − y₁) = (z − z₁)/(z₂ − z₁)
Setting each Cartesian ratio equal to λ gives the general point (x₁ + pλ, y₁ + qλ, z₁ + rλ), the key tool for intersections and feet of perpendiculars.
Two lines in space are parallel, intersecting, or skew (neither parallel nor meeting, so not in one plane). For r = a₁ + λb₁ and r = a₂ + μb₂:
shortest distance d = |(a₂ − a₁) · (b₁ × b₂)| / |b₁ × b₂|
The lines intersect (are coplanar) exactly when (a₂ − a₁) · (b₁ × b₂) = 0, that is, when the 3 × 3 determinant formed by a₂ − a₁, b₁ and b₂ vanishes. For parallel lines (b₁ = b₂ = b) use d = |(a₂ − a₁) × b| / |b|. The distance of a point P from a line through A with direction b is |AP × b| / |b|; alternatively take the general point F and impose PF · b = 0.
Solved example. L₁: r = (i + j) + λ(2i + j − 2k) and L₂: r = (2i + 3j + 2k) + μ(2i − 2j + k). Here b₁ × b₂ = (1·1 − (−2)(−2), (−2)(2) − 2·1, 2(−2) − 1·2) = (−3, −6, −6), with modulus 9. a₂ − a₁ = (1, 2, 2), and its dot product with b₁ × b₂ is −3 − 12 − 12 = −27. So d = 27/9 = 3, and since d ≠ 0 the lines are skew.
Write each line as point + λ(direction) before you start: the numbers below x − x₁ etc. are the direction ratios, and the point is read with the opposite sign. Computing b₁ × b₂ once gives you the perpendicular direction, the shortest distance and the test for intersection.
Common mistakes in JEE Main three-dimensional geometry
- Reading the point of (x + 1)/2 = (y − 3)/1 = z/4 as (1, −3, 0) instead of (−1, 3, 0).
- Using direction ratios as direction cosines without dividing by √(a² + b² + c²).
- Using the skew-line formula for parallel lines, where b₁ × b₂ = 0 and the formula breaks down.
- Concluding that two lines intersect just because they are not parallel; in space they may be skew.
- l² + m² + n² = 1; direction cosines = direction ratios divided by √(a² + b² + c²).
- Line: r = a + λb or (x − x₁)/p = (y − y₁)/q = (z − z₁)/r; angle from cos θ = |b₁ · b₂|/(|b₁||b₂|).
- Shortest distance between skew lines = |(a₂ − a₁) · (b₁ × b₂)|/|b₁ × b₂|; it is zero exactly when the lines intersect.
Ready to practise?
A quick test and 2 question sets on JEE Main three-dimensional geometry in the style of JEE Main questions: 13 parts, 13 marks, with worked solutions.
More topics · JEE Main Maths
- Sets, Relations and Functions
- Complex Numbers and Quadratic Equations
- Matrices and Determinants
- Permutations and Combinations
- Binomial Theorem
- Sequences and Series
- Limits, Continuity and Differentiability
- Integral Calculus
- Differential Equations
- Coordinate Geometry: Straight Lines and Circles
- Coordinate Geometry: Conic Sections
- Vector Algebra
- Statistics and Probability
- Trigonometry
- Mock test · JEE Main Maths