Academy
Formulas/maths/3d Geometry/Foot of Perpendicular from a Point to a Plane

Foot of Perpendicular from a Point to a Plane

The foot of the perpendicular from P(x₁,y₁,z₁) to plane ax+by+cz+d=0. The perpendicular from P has direction (a,b,c) (the normal); substitute the parametric point into the plane equation to find the parameter.
Derivation

Let P(x1,y1,z1)P(x_1,y_1,z_1) and plane ax+by+cz+d=0ax+by+cz+d=0.

The perpendicular from PP to the plane has direction (a,b,c)(a,b,c) — the normal direction. Parametric form:

(x,y,z)=(x1+at,  y1+bt,  z1+ct)(x, y, z) = (x_1+at,\; y_1+bt,\; z_1+ct)

From the distance derivation: t=ax1+by1+cz1+da2+b2+c2t = -\dfrac{ax_1+by_1+cz_1+d}{a^2+b^2+c^2}.

The foot F(xF,yF,zF)F(x_F, y_F, z_F):

xFx1a=yFy1b=zFz1c=ax1+by1+cz1+da2+b2+c2\frac{x_F-x_1}{a} = \frac{y_F-y_1}{b} = \frac{z_F-z_1}{c} = -\frac{ax_1+by_1+cz_1+d}{a^2+b^2+c^2}

Let k=ax1+by1+cz1+da2+b2+c2k = -\dfrac{ax_1+by_1+cz_1+d}{a^2+b^2+c^2}. Then:

xF=x1+ak,yF=y1+bk,zF=z1+ckx_F = x_1+ak, \quad y_F = y_1+bk, \quad z_F = z_1+ck

Verification: FF must satisfy the plane equation — substitute (xF,yF,zF)(x_F,y_F,z_F) and confirm it equals zero.