Skip to content

Three-Dimensional (3D) Geometry

Spatial Coordinate System

Points in R3 are defined by triples (x,y,z). Direction cosines (l,m,n) are the cosines of angles made with the positive x,y,z axes, satisfying l2+m2+n2=1.


1. Straight Line in 3D Space

📊Visual Mathematical Intuition
3D Spatial Geometry: Skew Lines Shortest Distance & Normal Plane
a⃗_1 L_1: r⃗ = a⃗_1 + λb⃗_1 a⃗_2 L_2: r⃗ = a⃗_2 + μb⃗_2 Shortest Distance d (⟂ both L_1 & L_2) n⃗ = b⃗_1 × b⃗_2 Common Normal Vector Shortest Distance = Scalar Projection of (a⃗_2 - a⃗_1) onto the Normal Vector (b⃗_1 × b⃗_2)
Skew Lines Distance:d=(a2a1)(b1×b2)b1×b2d = \frac{|(\vec{a}_2 - \vec{a}_1) \cdot (\vec{b}_1 \times \vec{b}_2)|}{|\vec{b}_1 \times \vec{b}_2|}
Plane Equation:A(xx1)+B(yy1)+C(zz1)=0    rn=dA(x - x_1) + B(y - y_1) + C(z - z_1) = 0 \iff \vec{r} \cdot \vec{n} = d
Direction Cosines:l2+m2+n2=1,  cos2α+cos2β+cos2γ=1l^2 + m^2 + n^2 = 1, \; \cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1

3D skew lines L1,L2L_1, L_2 separated by their unique common perpendicular shortest distance segment dd, projected along the common normal vector n=b1×b2\vec{n} = \vec{b}_1 \times \vec{b}_2.

  • Vector Equation: r=a+λb
  • Cartesian (Symmetric) Equation: xx1a=yy1b=zz1c

Shortest Distance Between Two Skew Lines

Given L1:r=a1+λb1 and L2:r=a2+μb2:

d=|(a2a1)(b1×b2)||b1×b2|
  • Condition for Coplanarity / Intersection:(a2a1)(b1×b2)=0|x2x1y2y1z2z1a1b1c1a2b2c2|=0

2. Equation of a Plane in 3D Space

  • Vector Equation: rn=d
  • Cartesian Form: Ax+By+Cz+D=0 (Normal vector n=Ai^+Bj^+Ck^)
  • Plane Passing Through (x1,y1,z1) with Normal (A,B,C):A(xx1)+B(yy1)+C(zz1)=0
  • Plane Passing Through 3 Non-Collinear Points:|xx1yy1zz1x2x1y2y1z2z1x3x1y3y1z3z1|=0

Perpendicular Distance from (x1,y1,z1) to Plane Ax+By+Cz+D=0

p=|Ax1+By1+Cz1+D|A2+B2+C2

3. Intersection of Line and Plane

For line xx1a=yy1b=zz1c and plane Ax+By+Cz+D=0:

  • Line is parallel to plane Aa+Bb+Cc=0.
  • Line lies entirely in plane Aa+Bb+Cc=0 AND Ax1+By1+Cz1+D=0.
  • Angle θ between line and plane:sinθ=|Aa+Bb+Cc|a2+b2+c2A2+B2+C2