Euler Hall — free maths guides

The distance from a point to a plane

Apply the point-to-plane distance formula. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus III guides.

A projection onto the unit normal

The distance from the point(x0,y0,z0)(x_0,y_0,z_0) to the planeAx+By+Cz=DAx+By+Cz = D is

d=∣Ax0+By0+Cz0−D∣A2+B2+C2.d = \frac{|Ax_0+By_0+Cz_0-D|}{\sqrt{A^2+B^2+C^2}}.

Three things are happening, and each matters:

1. The numerator is how far the point is off the plane in the plane's own units. Substituting the point into the left side gives a number that is00 on the plane. 2. The denominator converts those units into real distance, because moving one unit along the normal changes the left side by exactlyA2+B2+C2\sqrt{A^2+B^2+C^2}. 3. The absolute value makes it a distance, which is never negative.

For(1,2,3)(1,2,3) andx+2y+2z=6x+2y+2z=6:∣1+4+6−6∣1+4+4=53\frac{|1+4+6-6|}{\sqrt{1+4+4}} = \frac{5}{3}.

Why dividing by the normal's length is the right correction

Pick a pointP0P_0 on the plane and form the offset vectorv\mathbf{v} fromP0P_0 to the given point. The shortest path from the point to the plane goes straight along the normal, so the distance is the length ofv\mathbf{v}'s projection onto the unit normal:

d=∣v⋅n^∣=∣v⋅n∣∥n∥.d = |\mathbf{v}\cdot \hat{\mathbf{n}}| = \frac{|\mathbf{v}\cdot\mathbf{n}|}{\|\mathbf{n}\|}.

Nowv⋅n=A(x0−x1)+B(y0−y1)+C(z0−z1)\mathbf{v}\cdot\mathbf{n} = A(x_0-x_1)+B(y_0-y_1)+C(z_0-z_1), and becauseP1P_1 is on the plane the terms inP1P_1 collapse toDD. That leaves exactlyAx0+By0+Cz0−DAx_0+By_0+Cz_0-D over∥n∥\|\mathbf{n}\|.

Work the formula

Question, in the shape the practice takes. Find the distance from(1,1,1)(1,1,1) to2x−y+2z=42x - y + 2z = 4.

Work it through. Numerator:∣2(1)−1+2(1)−4∣=∣2−1+2−4∣=1|2(1) - 1 + 2(1) - 4| = |2-1+2-4| = 1. Denominator:4+1+4=3\sqrt{4+1+4} = 3. Sod=1/3d = 1/3.

Check the sign. The point gives left side33, the plane has44, so the point is slightly on the "low" side — but distance does not care which side, which is what the absolute value is for.

By the end you can
  • Apply the point-to-plane distance formula
  • Explain why the formula divides by the normal's length
  • Find the distance from the origin as a special case
Check yourself

How far is(0,0,0)(0,0,0) fromx+y+z=3x + y + z = 3?

Answers

∣0−3∣3=33=3\frac{|0-3|}{\sqrt{3}} = \frac{3}{\sqrt{3}} = \sqrt{3}.

Work out where to start — free, no accountAnswer six real questions — free, no account