What is the proof for the distance formula from a point to a plane?

  • Context: Graduate 
  • Thread starter Thread starter Reshma
  • Start date Start date
  • Tags Tags
    Formula Proof
Click For Summary
SUMMARY

The distance 'D' from a point (x0, y0, z0) to a plane defined by the equation ax + by + cz + d = 0 is calculated using the formula D = |(ax0 + by0 + cz0 + d) / (a² + b² + c²)|. The derivation of this formula can be approached geometrically by recognizing that the shortest distance is along the line perpendicular to the plane, represented by the normal vector (a, b, c). Two methods for proving this distance are discussed: using Lagrange multipliers to minimize the distance squared, or finding the intersection of the line defined by the normal vector with the plane.

PREREQUISITES
  • Understanding of vector notation and operations
  • Familiarity with the equation of a plane in 3D space
  • Knowledge of Lagrange multipliers for optimization
  • Basic concepts of geometry, particularly related to distances and projections
NEXT STEPS
  • Study the derivation of the distance formula from a point to a plane using Lagrange multipliers
  • Explore geometric interpretations of distances in three-dimensional space
  • Learn about vector projections and their applications in geometry
  • Investigate the properties of normal vectors in relation to planes
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who require a solid understanding of spatial relationships and distance calculations in three-dimensional geometry.

Reshma
Messages
749
Reaction score
6
The distance 'D' of a point (x0,y0,z0) from a plane ax + by +cz + d = 0 is given by the formula:

D = \left|\frac{ax_0 + by_0 + cz_0 + d}{a^2 + b^2 + c^2}\right|

Could someone give me some explanation\links on the proof\derivation of this formula? Thanks in advance.
 
Last edited:
Physics news on Phys.org
First, do NOT use "d" in two distinct meanings!

I'll call the distance D hereafter.

Now, what should we mean by D?

Please answer the following question:
What is a meaningful definition of the distance from a plane to a point?
 
Arildno, as often as I have complained about people using capital letters ("D") and small letters ("d") to mean the same thing, I have no problem with using "D" and "d" to mean different things!

Reshma, there are two ways to do that:

1. For any point (x,y,z) in the plane, the square of the distance from that point to (x0, y0, z0) is
(x- x0)2+ (y- y0)2+ (z- z0)2). You can minimize that subject to the condition that ax+ by+ cz+ d= 0 by using Lagrange multipliers or by replacing z in the distance formula by z= (-ax-by-d)/c and then setting partial derivatives to 0.

2. (Simpler) Argue that, geometrically, the line from (x0,y0,z0) to the nearest point on the plane is perpendicular to the plane (any other line would be the hypotenuse of a right triangle and so longer than a leg). Find the equation of the line through (x0, y0, z0) in the direction of a normal vector to the plane (which is ai+ bj+ ck). Determine where that intersects the plane.
 
If you look at Reshma's edit, that was made while I wrote my post!
I agree, Reshma did correct his usage of small "d" to mean two different things (for distance AND for the constant term).
 
Thanks HallsofIvy and arildno. I will follow the technique that you have suggested and post my proof soon.

arildno said:
If you look at Reshma's edit, that was made while I wrote my post!
I agree, Reshma did correct his usage of small "d" to mean two different things (for distance AND for the constant term).
It is "her". :cry: Never mind, not your fault. :-p
 
The vector normal to the plane ax + by + cz + d = 0 is:
\vec n = a\hat i + b\hat j + c\hat k
The line from any point (x, y, z) on the plane to a point P(x0,y0,z0) lying outside the plane is:
\vec m = (x - x_0)\hat i + (y - y_0)\hat j + (z - z_0)\hat k

So distance 'D' of P(x0,y0,z0) from the plane is equal to the projection of \vec m on \vec n.

D = \frac{\left |\vec m \cdot \vec n\right|}{|\vec n|}
D = \frac{a(x - x_0) + b(y - y_0) + c(z - z_0)}{\sqrt{a^2 + b^2 + c^2}}

D = \left|\frac{ax_0 + by_0 + cz_0 + d}{\sqrt{a^2 + b^2 + c^2}\right|}

considering the absolute values...
 
Last edited:

Similar threads

Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
5K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K