Academy
Formulas/maths/3d Geometry/Cartesian Equation of a Line

Cartesian Equation of a Line

Line through (x₁, y₁, z₁) with direction ratios (a, b, c). Each ratio equals the parameter λ. If any direction ratio is zero (say a = 0), the corresponding equation is x = x₁.
Derivation

The line through (x1,y1,z1)(x_1, y_1, z_1) with DRs (a,b,c)(a, b, c) has parametric equations:

x=x1+λa,y=y1+λb,z=z1+λcx = x_1+\lambda a, \quad y = y_1+\lambda b, \quad z = z_1+\lambda c

Solving each for λ\lambda:

λ=xx1a=yy1b=zz1c\lambda = \frac{x-x_1}{a} = \frac{y-y_1}{b} = \frac{z-z_1}{c}

This is the symmetric (Cartesian) form. Each ratio equals λ\lambda — the common parameter.

When a direction ratio is zero: If a=0a = 0, the line is perpendicular to the x-axis, so x=x1x = x_1 throughout. Write: x=x1x = x_1, (yy1)/b=(zz1)/c(y-y_1)/b = (z-z_1)/c.

Reading DRs from the equation: Given (x2)/3=(y+1)/(4)=z/5(x-2)/3 = (y+1)/(-4) = z/5, the point is (2,1,0)(2,-1,0) and DRs are (3,4,5)(3,-4,5).

Converting between forms:

  • Vector → Cartesian: read a\mathbf{a} as the point and b\mathbf{b} as the DRs
  • Cartesian → Vector: r=(x1i^+y1j^+z1k^)+λ(ai^+bj^+ck^)\mathbf{r} = (x_1\hat{i}+y_1\hat{j}+z_1\hat{k}) + \lambda(a\hat{i}+b\hat{j}+c\hat{k})