Distance from a Point to a Plane in R3
Distance From a Point to a Plane in R3
If Ax+By+Cz+D=0 is a plane in R3, then the shortest distance between a point P(x1, y1, z1) and this plane is d=A2+B2+C2∣Ax1+By1+Cz1+D∣

Example
Find the distance between the point (1, −3,0) and the plane2x−y+z−3=0
A=2, B=−1, C=1, D=−3
Use the distance formula:
d=A2+B2+C2∣Ax1+By1+Cz1+D∣
d=22+(−1)2+12∣2(1)−1(−3)+1(0)−3∣=62

Example: Distance b/t 2 Parallel Planes
a) Find the distance between the two planes Π1: x−y+2z−4=0 and Π2: x−y+2z+4=0.
b) Find the equation of the plane that is equidistance between Π1 and Π2.
a) The planes are parallel and distinct. So the distance from any point in plane 1 to plane 2 is the same throughout plane 1.
Find a point on plane 1:
Let x=y=0, then 2z−4=0 → z=2
So, the point (0, 0, 2) is on plane 1.
Let's find the distance between (0,0,2) and plane 2:
d=12+(−1)2+22∣0−0+2(2)+4∣
d=68
d=68×66
d=686
d=346
b)
We know that the point (0,0,2) is on plane 1, in fact, it is the z-intercept of plane 1.
We do the same to find the z-intercept of plane 2:
Let x=y=0, then 2z+4=0 → z=−2
So, the point (0, 0, −2) is on plane 2 and is the z-intercept
The plane that is equidistance between plane 1 and plane 2 will contain the midpoint between (0, 0, 2) and (0, 0, −2): (0, 0, 0)
This desired plane is also parallel to planes 1 and 2, so it must have normal vector [1, −1, 2].
Therefore, the equation of the plane is x−y+2z−[0,0,0]⋅[1,−1,2]=0 → x−y+2z=0

Example: Distance b/t 2 Skewed Lines
Find the distance between the lines r1=[3,1,1]+t[2,−2,6] and r2=[0,1,−5]+s[1,−2,3].
In a previous example, we showed taht these lines are skewed.
To find the distance between them, we construct 2 planes:
- Plane 1: contains r1 and is parallel to [1, −2, 3]
- Plane 2: contains r2 and is parallel to [2, −2, 6]
These planes are parallel since they are both parallel to the vectors [2, −2, 6] and [1, −2, 3].
Normal vector of both planes
n=[2, −2, 6]×[1, −2, 3]
n=[6, 0, −2]
Plane 1
6x−2z−[3,1,1]⋅[6,0,−2]=0
Π1: 6x−2z−16=0
Plane 2
6x−2x−[0,1,−5]⋅[6,0,−2]=0
Π2: 6x−2z−10=0
Now we just have to find the distance between these two planes:
Since point (3,1,1) is on plane 1, we can use the formula d=A2+B2+C2∣Ax0+By0+Cz0+D∣ to find the distance between the two planes.
d=62+02+(−2)2∣6(3)+0(1)−2(1)−10∣
d=406
d=2106
d=103
Therefore, the distance between the two skewed lines is 103.