Distance of a point from a plane and the line of… | StemPy Lab
Course 15.3·Lesson 3 of 3
Distance of a point from a plane and the line of intersection of two planes
The distance of the point (x1,y1,z1)
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
find the distance of a point from a plane, the foot of the perpendicular, and the distance between parallel planes;
find the line in which two planes meet, in vector and Cartesian form.
How high is the drone above the roof?
A drone hovers above a sloping roof. The shortest distance to the roof is along the line at right angles to it, which is the direction of the normal. We find it by projecting a vector from the roof onto the normal.
A three-dimensional picture of a horizontal orange plane and a point P above it. A red segment drops from P straight to the plane and meets it at the point F at a right angle, marked with a small square. A dashed grey segment from P to another point Q of the plane is longer. The length of PF is labelled d.
The distance formula
Let the plane be r⋅n=k and let P have position vector p. The vector p has component ∣n∣p⋅n along the unit normal. A point of the plane has component ∣n∣k. The difference is the signed distance:
d=∣n∣∣p⋅n−k∣=A2+B2+C2∣Ax1+By1+Cz1+D∣.
The distance of the origin from the plane is A2+B2+C2∣D∣. Two points are on the same side of the plane when the values Ax+By+Cz+D at them have the same sign.
The foot and the parallel planes. The foot of the perpendicular from P is F=p−∣n∣2p⋅n−kn. For parallel planes Ax+By+Cz+D1=0 and Ax+By+Cz+D2=0, with the same coefficients, the distance is A2+B2+C2∣D1−D2∣. Divide through first if the coefficients differ.
The line where two planes meet
Two planes that are not parallel meet in a line. A point on both planes satisfies both equations. A direction along the line is perpendicular to both normals, so it is n1×n2. To find a point, give one coordinate a convenient value, such as z=0, and solve for the other two.
A worked example
Distance and foot. Find the distance of P(3,−1,2) from 2x+3y+6z=1.
The value at P.6−3+12=15, and 15−1=14.
The length of the normal.4+9+36=7.
The distance.714=2 units.
The foot.F=P−4914(2,3,6)=(717,−713,72). Check: 734−39+12=1.
The line of two planes. Find the line in which x+y+z=6 and 2x−y+z=3 meet.
The direction.(1,1,1)×(2,−1,1)=(2,1,−3).
A point. Put z=0. Then x+y=6 and 2x−y=3 give x=3 and y=3.
The line.2x−3=1y−3=−3z.
A check. At λ=1 the point is (5,4,−3). Then 5+4−3=6 and 10−4−3=3. Both planes are satisfied.
Practise with new numbers
Try it in Python
The program finds the distance and the foot for the worked example. It then finds the line in which two planes meet.
Common mistakes
Forgetting the modulus. A distance is never negative. The sign only says which side of the plane the point is on.
Not dividing by the length of the normal. The value of Ax+By+Cz+D at a point is a number, not a distance.
Comparing planes with different coefficients. Make the coefficients the same before using ∣D1−D2∣.
Setting a coordinate to 0 when the line cannot pass through it. If the equations for the other two give no solution, set another coordinate to 0.
Remember these
d=A2+B2+C2∣Ax1+By1+Cz1+D∣.
Parallel planes with equal coefficients: d=A2+B2+C2∣D1−D2∣.
The foot of the perpendicular is P minus the signed distance times the unit normal.
Two planes meet in a line with direction n1×n2.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the distance of (1,2,3) from the plane x+2y+2z=3.
Find the distance of the origin from the plane 2x−3y+6z=21.
Find the distance between the planes x+2y−2z=3 and x+2y−2z=12.
Find the direction of the line in which the planes x+y=2 and y+z=3 meet.
The points (1,1,1) and (3,3,3) are tried against the plane x+y+z=6. Are they on the same side?
References
OpenStax, Calculus Volume 3, Chapter 2, section on equations of lines and planes in space (distance from a point to a plane).
NCERT, Mathematics Part II for Class XII, Chapter 11, section on the distance of a point from a plane.
Enroll free in Planes in Space
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.