Skip to content

Three-Dimensional (3D) Geometry

Spatial Coordinate System

Points in $\mathbb{R}^3$ 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 $l^2 + m^2 + n^2 = 1$.


1. Straight Line in 3D Space

  • 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