Academy
Formulas/maths/3d Geometry/Plane Through Three Points

Plane Through Three Points

Equation of the plane passing through three non-collinear points P₁(x₁,y₁,z₁), P₂, P₃. The determinant expresses the coplanarity of (x,y,z) with the three given points.
Derivation

Let three non-collinear points be P1(x1,y1,z1)P_1(x_1,y_1,z_1), P2(x2,y2,z2)P_2(x_2,y_2,z_2), P3(x3,y3,z3)P_3(x_3,y_3,z_3).

Two vectors in the plane: v1=P1P2=(x2x1,y2y1,z2z1)\mathbf{v_1} = \overrightarrow{P_1P_2} = (x_2-x_1, y_2-y_1, z_2-z_1) and v2=P1P3\mathbf{v_2} = \overrightarrow{P_1P_3}.

Normal to the plane: n=v1×v2\mathbf{n} = \mathbf{v_1}\times\mathbf{v_2}.

Plane through P1P_1 with normal n\mathbf{n}:

(rP1)(v1×v2)=0(\mathbf{r}-\mathbf{P_1})\cdot(\mathbf{v_1}\times\mathbf{v_2}) = 0

Writing this as a scalar triple product:

(rP1)v1v2=0(\mathbf{r}-\mathbf{P_1})\cdot\mathbf{v_1}\cdot\mathbf{v_2} = 0

In determinant form (the scalar triple product of three vectors is the 3×33\times3 determinant with those vectors as rows):

xx1yy1zz1x2x1y2y1z2z1x3x1y3y1z3z1=0\begin{vmatrix} x-x_1 & y-y_1 & z-z_1 \\ x_2-x_1 & y_2-y_1 & z_2-z_1 \\ x_3-x_1 & y_3-y_1 & z_3-z_1 \end{vmatrix} = 0

When the three points are collinear: The determinant is always zero — no unique plane exists. Any plane through the line works.