Why this topic matters · 9 min read
Three-Dimensional Geometry appears consistently in NDA Mathematics Paper with 4-6 questions per exam. Questions focus on direction cosines, direction ratios, equation of a line in 3D, angle between lines and planes, distance of a point from a plane, and coplanarity of lines. This topic connects directly with vectors, so strong grasp here gives double benefit. Expect at least one question on the angle between a line and a plane or shortest distance between skew lines.
Coordinates and Distance in 3D
Every point in 3D space is written as (x, y, z). The three axes are mutually perpendicular. The distance formula and section formula extend naturally from 2D by just adding the z-component. The midpoint and section formulas work the same way as Class 11 coordinate geometry, just with three components instead of two.
- Distance between P(x1,y1,z1) and Q(x2,y2,z2): sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2)
- Midpoint of PQ: ((x1+x2)/2, (y1+y2)/2, (z1+z2)/2)
- Section formula (internal division m:n): ((mx2+nx1)/(m+n), (my2+ny1)/(m+n), (mz2+nz1)/(m+n))
- Origin is (0,0,0); distance from origin to (x,y,z) = sqrt(x^2+y^2+z^2)
Key formulas
Distance Formula 3D
PQ = sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2)
When: Finding distance between any two points in space
Section Formula Internal
P = ((mx2+nx1)/(m+n), (my2+ny1)/(m+n), (mz2+nz1)/(m+n))
When: Point dividing a segment internally in ratio m:n
Worked example
Find distance between A(1,2,3) and B(4,6,3): sqrt((4-1)^2+(6-2)^2+(3-3)^2) = sqrt(9+16+0) = sqrt(25) = 5
Direction Cosines and Direction Ratios
Direction cosines (l, m, n) of a line are the cosines of the angles (alpha, beta, gamma) that the line makes with the positive x, y, z axes respectively. The key identity is l^2 + m^2 + n^2 = 1, always. Direction ratios (a, b, c) are any set of numbers proportional to direction cosines. To convert direction ratios to direction cosines, divide each by sqrt(a^2+b^2+c^2).
- l = cos(alpha), m = cos(beta), n = cos(gamma)
- l^2 + m^2 + n^2 = 1 always (golden identity)
- Direction ratios are proportional to direction cosines, not equal
- DC of x-axis: (1,0,0); y-axis: (0,1,0); z-axis: (0,0,1)
- If line passes through (x1,y1,z1) and (x2,y2,z2), DR = (x2-x1, y2-y1, z2-z1)
Key formulas
DC from DR
l = a/sqrt(a^2+b^2+c^2), m = b/sqrt(a^2+b^2+c^2), n = c/sqrt(a^2+b^2+c^2)
When: Converting direction ratios to direction cosines
Sum of squares of DC
l^2 + m^2 + n^2 = 1
When: Verifying direction cosines or solving unknowns
Worked example
DR of a line are (2, 3, 6). Find DC: magnitude = sqrt(4+9+36) = sqrt(49) = 7. DC = (2/7, 3/7, 6/7)
Equation of a Line in 3D
A line in 3D is written in two forms: Cartesian and Vector. The standard Cartesian form is the symmetric form, where you equate (x-x1)/a = (y-y1)/b = (z-z1)/c = lambda. Here (x1,y1,z1) is a point on the line and (a,b,c) are direction ratios. Any point on the line can be written as (x1+a*lambda, y1+b*lambda, z1+c*lambda). Vector form is r = a_vec + lambda*b_vec.
- Symmetric (Cartesian) form: (x-x1)/a = (y-y1)/b = (z-z1)/c
- Vector form: r = (x1 i + y1 j + z1 k) + lambda(a i + b j + c k)
- Two-point form: (x-x1)/(x2-x1) = (y-y1)/(y2-y1) = (z-z1)/(z2-z1)
- Angle between two lines: cos(theta) = |l1*l2 + m1*m2 + n1*n2|
- Lines are perpendicular if a1*a2 + b1*b2 + c1*c2 = 0; parallel if a1/a2 = b1/b2 = c1/c2
Key formulas
Angle Between Two Lines
cos(theta) = |a1*a2 + b1*b2 + c1*c2| / (sqrt(a1^2+b1^2+c1^2) * sqrt(a2^2+b2^2+c2^2))
When: Finding angle between two lines given their DR
Perpendicularity Condition
a1*a2 + b1*b2 + c1*c2 = 0
When: Checking if two lines are perpendicular
Worked example
Are lines with DR (1,2,3) and (2,-1,0) perpendicular? Dot product = 1*2 + 2*(-1) + 3*0 = 2-2+0 = 0. Yes, they are perpendicular.
Equation of a Plane
A plane in 3D is defined by a point and a normal vector. The general equation is ax + by + cz + d = 0, where (a, b, c) is the normal to the plane. Intercept form: x/p + y/q + z/r = 1, where p, q, r are intercepts on x, y, z axes. The plane through three points requires solving a determinant equation. Distance from a point to a plane is one of the most tested formulas.
- General form: ax + by + cz + d = 0; normal vector is (a, b, c)
- Intercept form: x/p + y/q + z/r = 1
- Angle between two planes = angle between their normals
- Planes are parallel if normals are parallel; perpendicular if normals are perpendicular
- Line is parallel to plane if normal of plane is perpendicular to direction of line
Key formulas
Distance Point to Plane
d = |ax1 + by1 + cz1 + d| / sqrt(a^2+b^2+c^2)
When: Finding perpendicular distance from point (x1,y1,z1) to plane ax+by+cz+d=0
Angle Between Two Planes
cos(theta) = |a1*a2 + b1*b2 + c1*c2| / (sqrt(a1^2+b1^2+c1^2)*sqrt(a2^2+b2^2+c2^2))
When: Finding dihedral angle between two planes
Angle Between Line and Plane
sin(theta) = |a*l + b*m + c*n| / (sqrt(a^2+b^2+c^2)*sqrt(l^2+m^2+n^2))
When: Angle between line with DR (l,m,n) and plane ax+by+cz+d=0
Worked example
Distance from point (1,2,3) to plane 2x+3y+6z+1=0: |2(1)+3(2)+6(3)+1|/sqrt(4+9+36) = |2+6+18+1|/7 = 27/7
Skew Lines and Shortest Distance
Skew lines are lines in 3D that are neither parallel nor intersecting. They exist in different planes. The shortest distance between two skew lines is always along the common perpendicular. For coplanar lines, the shortest distance is zero (they meet or are parallel). NDA sometimes asks you to determine if lines are coplanar by checking the condition using a determinant.
- Skew lines: not parallel and not intersecting; exist in 3D only
- Shortest distance between skew lines formula uses cross product of direction vectors
- If SD = 0, lines are coplanar (either intersecting or parallel)
- Coplanarity condition involves a 3x3 determinant being zero
- For parallel lines, SD = |(point difference) cross (direction)| / |direction|
Key formulas
Shortest Distance Skew Lines
SD = |(a2-a1) . (b1 x b2)| / |b1 x b2|
When: Finding shortest distance between lines r=a1+lambda*b1 and r=a2+mu*b2
Coplanarity Condition
|(x2-x1, y2-y1, z2-z1), (a1,b1,c1), (a2,b2,c2)| = 0 (determinant)
When: Checking if two lines are coplanar
Worked example
If two lines pass through same point, determinant = 0, so they are coplanar and intersecting, SD = 0.
⚠ Common mistakes to avoid
- Confusing direction cosines with direction ratios — DC must satisfy l^2+m^2+n^2=1; DR are just proportional numbers. Never use raw DR in the angle formula without normalizing.
- Using cos(theta) instead of sin(theta) for angle between a LINE and a PLANE. Remember: line-plane uses sine; line-line or plane-plane uses cosine.
- Forgetting the absolute value in distance from point to plane formula — distance is always positive.
- In the shortest distance formula, mixing up which vector goes in the numerator dot product vs denominator cross product.
- Assuming two lines in 3D that look like they should meet actually do — always verify coplanarity with the determinant condition before concluding lines intersect.
🧠 Memory aids
- DC identity: Like a unit vector, DC squares sum to 1. Think of DC as a unit vector dressed in cosine clothes.
- LINE-PLANE angle uses SINE, PLANE-PLANE uses COSINE. Trick: Line is 1D (one letter), Sine also starts differently. Or just remember LP = Sin, PP = Cos.
- For perpendicularity: dot product = 0. For parallelism: ratios equal. DOT for perp, RATIO for parallel.
- Skew lines mnemonic: SKIP — Skew lines are lines that Kross (cross) each other without touching, In 3D, Parallel or intersecting they are Not.
🎯 NDA exam tips
- NDA typically asks 1-2 questions on direction cosines/ratios, 1 on plane equation or distance from point to plane, and 1 on angle between lines or planes. Focus heavily on these.
- Distance of point from plane is a direct plug-and-chug formula — if you know it cold, it is guaranteed marks in under 30 seconds. Memorize it.
- Questions on whether lines are parallel, perpendicular, or skew are common in MCQ format — quickly check dot product and ratio of DRs first.
- Vector form and Cartesian form questions are interchangeable in NDA — practice converting between them so you can pick whichever is faster for the given question.
- Coplanarity and shortest distance between skew lines are slightly harder and appear less frequently — attempt these only after securing easier questions in the section.
Q1 · medium · AI-verified
What is the distance between the points A(1, 2, 3) and B(4, 6, 3)?
- 5
- √50
- √41
- 7
Q2 · medium · AI-verified
What is the distance between the parallel planes 2x − y + 2z + 3 = 0 and 4x − 2y + 4z + 5 = 0?
- 7/6
- 1/2
- 1/6
- 1/3
Q3 · medium · AI-verified
The equation of the XY-plane is:
- x = 0
- z = 0
- x + y = 0
- y = 0
Q4 · medium · AI-verified
Two lines are perpendicular if their direction ratios (a₁, b₁, c₁) and (a₂, b₂, c₂) satisfy:
- a₁a₂ + b₁b₂ + c₁c₂ = 1
- (a₁+a₂)² + (b₁+b₂)² + (c₁+c₂)² = 0
- a₁/a₂ = b₁/b₂ = c₁/c₂
- a₁a₂ + b₁b₂ + c₁c₂ = 0
Q5 · medium · AI-verified
The section formula: a point P divides the line joining A(x₁,y₁,z₁) and B(x₂,y₂,z₂) internally in the ratio m:n. What is the z-coordinate of P?
- (mz₁ + nz₂)/(m + n)
- (z₁ + z₂)/2
- (mz₂ − nz₁)/(m − n)
- (mz₂ + nz₁)/(m + n)