Core ConceptRead this first — the foundation of the topic
CORE CONCEPT 3D Geometry deals with points, lines, and planes in three-dimensional space. Instead of two coordinates (x, y), every point in 3D space has three coordinates: (x, y, z). Think of a room — length is x, width is y, and height is z. The point where all three axes meet is called the Origin (0, 0, 0).
Key RulesCore rules you must know cold
Distance Formula
Distance between two points A(x1, y1, z1) and B(x2, y2, z2) is:
AB = sqrt[(x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2]
2. Section Formula (Internal Division): Point dividing AB in ratio m:n internally:
P = [(mx2 + nx1)/(m+n), (my2 + ny1)/(m+n), (mz2 + nz1)/(m+n)]
3
Midpoint Formula
Midpoint of AB = [(x1+x2)/2, (y1+y2)/2, (z1+z2)/2]
4
Direction Cosines
If a line makes angles alpha, beta, gamma with x, y, z axes respectively, then:
cos(alpha) = l, cos(beta) = m, cos(gamma) = n
Key Identity: l^2 + m^2 + n^2 = 1
5
Direction Ratios
Any multiples of direction cosines. If direction ratios are a, b, c then:
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)
6. Equation of a Line through point (x1, y1, z1) with direction ratios a, b, c:
(x - x1)/a = (y - y1)/b = (z - z1)/c
7. Angle between two lines with direction cosines (l1,m1,n1) and (l2,m2,n2):
cos(theta) = |l1*l2 + m1*m2 + n1*n2|
8.
Distance from Origin to point (x, y, z):
r = sqrt(x^2 + y^2 + z^2)
Formula BlockMemorise — at least one formula appears in every paper
l^2 + m^2 + n^2 = 1 (Always true for direction cosines)
- If lines are perpendicular: l1*l2 + m1*m2 + n1*n2 = 0
- If lines are parallel: l1/l2 = m1/m2 = n1/n2
Exam PatternsWhat examiners ask — read before attempting PYQs
NDA regularly asks: (1) Finding distance between two 3D points, (2) Direction cosines of a line, (3) Verifying if two lines are perpendicular or parallel, (4) Finding coordinates of a dividing point. Most questions are direct formula-based. If you know the formula, you can solve in under 60 seconds.
ShortcutsUse these to save 30–60 seconds per question
Trick 1 — Direction Cosine Check
If you get direction cosines from a problem, always verify l^2 + m^2 + n^2 = 1. If it does not equal 1, your answer is wrong. Use this as instant self-check
Trick 2 — Perpendicular Lines Shortcut
For lines with direction ratios (a1, b1, c1) and (a2, b2, c2), perpendicularity check is just: a1*a2 + b1*b2 + c1*c2 = 0. No need to find actual direction cosines.
Worked ExampleSolve this step-by-step before moving on
1
Step 1
Write the distance formula:
AB = sqrt[(4-1)^2 + (6-2)^2 + (3-3)^2]