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

  • Thread starter Thread starter Reshma
  • Start date Start date
  • Tags Tags
    Formula Proof
AI Thread Summary
The distance 'D' from a point (x0, y0, z0) to the plane defined by ax + by + cz + d = 0 is calculated using the formula D = |(ax0 + by0 + cz0 + d) / (a^2 + b^2 + c^2)|. The discussion explores two methods for deriving this formula: one involves minimizing the distance using Lagrange multipliers, while the other employs geometric reasoning about the perpendicular line from the point to the plane. The normal vector to the plane is identified as n = ai + bj + ck, and the distance is expressed as the projection of the vector from the point to the plane along this normal vector. The conversation emphasizes the importance of consistent notation, particularly distinguishing between 'D' for distance and 'd' for the constant term in the plane equation. Overall, the participants are focused on clarifying the proof and derivation of the distance formula.
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:
Mathematics 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:
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top