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=∣(a⃗2−a⃗1)⋅(b⃗1×b⃗2)∣∣b⃗1×b⃗2∣d = \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(x−x1)+B(y−y1)+C(z−z1)=0  ⟺  r⃗⋅n⃗=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,  cos⁡2α+cos⁡2β+cos⁡2γ=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⃗=b⃗1×b⃗2\vec{n} = \vec{b}_1 \times \vec{b}_2.

  • Vector Equation: r→=a→+λb→
  • Cartesian (Symmetric) Equation: x−x1a=y−y1b=z−z1c

Shortest Distance Between Two Skew Lines ​

Given L1:r→=a→1+λb→1 and L2:r→=a→2+μb→2:

d=|(a→2−a→1)⋅(b→1×b→2)||b→1×b→2|
  • Condition for Coplanarity / Intersection:(a→2−a→1)⋅(b→1×b→2)=0⟺|x2−x1y2−y1z2−z1a1b1c1a2b2c2|=0

2. Equation of a Plane in 3D Space ​

  • Vector Equation: r→⋅n→=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(x−x1)+B(y−y1)+C(z−z1)=0
  • Plane Passing Through 3 Non-Collinear Points:|x−x1y−y1z−z1x2−x1y2−y1z2−z1x3−x1y3−y1z3−z1|=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 x−x1a=y−y1b=z−z1c 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