Math Lab
Home/Class XII/Ch 11/Distance from a point to a plane; intersections

Distance from a point to a plane; intersections

The two remaining building blocks: distance from a point to a plane, and finding where two objects meet , line-plane intersection, two-plane intersection, etc.

Distance from a point to a plane

Vector form. Plane: rn=d\vec r\cdot\vec n = d. Point: p\vec p. The distance is D=pndn.D = \frac{|\vec p\cdot\vec n - d|}{|\vec n|}.

Cartesian form. Plane: Ax+By+Cz+D=0Ax + By + Cz + D = 0. Point: (x0,y0,z0)(x_0, y_0, z_0). Distance: D=Ax0+By0+Cz0+DA2+B2+C2.D = \frac{|Ax_0 + By_0 + Cz_0 + D|}{\sqrt{A^2 + B^2 + C^2}}.

Why? The foot of perpendicular from p\vec p to the plane is ppndn2n\vec p - \dfrac{\vec p\cdot\vec n - d}{|\vec n|^2}\vec n. The distance equals the magnitude of that projection.

Line meets plane

Line: r=a+td\vec r = \vec a + t\vec d. Plane: rn=e\vec r\cdot\vec n = e.

Substitute: (a+td)n=et=eandn(\vec a + t\vec d)\cdot\vec n = e \Rightarrow t = \dfrac{e - \vec a\cdot\vec n}{\vec d\cdot\vec n}.

If dn0\vec d\cdot\vec n \ne 0, this gives the unique tt at which the line meets the plane. Plug tt back into the line's equation to find the point.

If dn=0\vec d\cdot\vec n = 0, the line is parallel to the plane. Then:

  • an=e\vec a\cdot\vec n = e: line lies in the plane.
  • ane\vec a\cdot\vec n \ne e: line never meets the plane.

Two planes meet in a line

Planes rn1=e1\vec r\cdot\vec n_1 = e_1 and rn2=e2\vec r\cdot\vec n_2 = e_2 with n1∦n2\vec n_1 \not\parallel \vec n_2 meet in a line. The direction of the intersection line is n1×n2\vec n_1 \times \vec n_2 (perpendicular to both normals).

To find a point on the line, set one coordinate to a convenient value (say z=0z = 0) and solve the two-by-two linear system in xx and yy.

If n1n2\vec n_1 \parallel \vec n_2 (parallel planes) the two planes either coincide (e1/n1=e2/n2e_1/|\vec n_1| = e_2/|\vec n_2|) or never meet.

Three planes

Three planes can meet in a point (unique intersection , generic case), in a line (one redundant equation), or in no point (inconsistent). Solve the 3×33\times 3 linear system in (x,y,z)(x, y, z); the determinant of the coefficient matrix tells you:

  • Non-zero \Rightarrow unique point.
  • Zero \Rightarrow planes are either parallel or share a common line.

Distance between parallel planes

Ax+By+Cz=D1Ax + By + Cz = D_1 and Ax+By+Cz=D2Ax + By + Cz = D_2: D=D1D2A2+B2+C2.D = \frac{|D_1 - D_2|}{\sqrt{A^2 + B^2 + C^2}}.

Just take any point on one plane and compute its distance to the other.

Worked examples

Example 1. Distance from (1,1,1)(1, 1, 1) to 2x+yz=52x + y - z = 5.

D=2+1154+1+1=36D = \dfrac{|2 + 1 - 1 - 5|}{\sqrt{4 + 1 + 1}} = \dfrac{3}{\sqrt 6}.

Example 2. Where does the line r=(1,2,3)+t(2,1,1)\vec r = (1, 2, 3) + t(2, 1, -1) meet the plane x+y+z=9x + y + z = 9?

(1+2t)+(2+t)+(3t)=96+2t=9t=3/2(1 + 2t) + (2 + t) + (3 - t) = 9 \Rightarrow 6 + 2t = 9 \Rightarrow t = 3/2. Point: (1+3,2+3/2,33/2)=(4,7/2,3/2)(1 + 3, 2 + 3/2, 3 - 3/2) = (4, 7/2, 3/2).

Example 3. Find the line of intersection of x+y+z=6x + y + z = 6 and xy+z=2x - y + z = 2.

Normals: (1,1,1)(1, 1, 1) and (1,1,1)(1, -1, 1). Cross product: (2,0,2)(1,0,1)(2, 0, -2) \propto (1, 0, -1). Direction.

A point on the line: set y=0y = 0. Then x+z=6x + z = 6 and x+z=2x + z = 2 , inconsistent. So try z=0z = 0: x+y=6x + y = 6, xy=2x - y = 2 gives x=4,y=2x = 4, y = 2. Point (4,2,0)(4, 2, 0).

Line: r=(4,2,0)+t(1,0,1)\vec r = (4, 2, 0) + t(1, 0, -1).

Example 4. Find the distance between the parallel planes 2x2y+z=52x - 2y + z = 5 and 2x2y+z=112x - 2y + z = 11.

D=5114+4+1=63=2D = \dfrac{|5 - 11|}{\sqrt{4 + 4 + 1}} = \dfrac{6}{3} = 2.

Example 5. Foot of perpendicular from (1,0,0)(1, 0, 0) on the plane x+y+z=1x + y + z = 1.

Parametrise along normal: (1+t,t,t)(1 + t, t, t). On plane: 1+3t=11 + 3t = 1, so t=0t = 0. Foot: (1,0,0)(1, 0, 0) , the point is on the plane.

Use (0,0,0)(0, 0, 0) instead: (t,t,t)(t, t, t), 3t=13t = 1, t=1/3t = 1/3. Foot: (1/3,1/3,1/3)(1/3, 1/3, 1/3).

Example 6. Determine whether the planes x+y+z=1x + y + z = 1, xy+z=3x - y + z = 3, 2x+z=42x + z = 4 meet in a single point, in a line, or are inconsistent.

Coefficient matrix: (111111201)\begin{pmatrix} 1 & 1 & 1 \\ 1 & -1 & 1 \\ 2 & 0 & 1 \end{pmatrix}. Determinant: 1(10)1(12)+1(0+2)=1+1+2=201(-1 - 0) - 1(1 - 2) + 1(0 + 2) = -1 + 1 + 2 = 2 \ne 0. Unique solution.

Solve: from first two, subtract: 2y=2y=12y = -2 \Rightarrow y = -1. From third: 2x+z=42x + z = 4. Substitute into first: x+z=2x + z = 2. From these two: x=2x = 2, z=0z = 0. So intersection: (2,1,0)(2, -1, 0).

Try it yourself

  1. Distance from (0,0,0)(0, 0, 0) to x+2y+2z=9x + 2y + 2z = 9.
  2. Distance from (1,2,3)(1, 2, 3) to x2y2z=1x - 2y - 2z = 1.
  3. Find where the line r=(2,1,0)+t(1,1,1)\vec r = (2, 1, 0) + t(1, -1, 1) meets the plane x+y+z=5x + y + z = 5.
  4. Line of intersection of 2x+3yz=52x + 3y - z = 5 and xy+2z=7x - y + 2z = 7.
  5. Distance between parallel planes x+2y+3z=14x + 2y + 3z = 14 and x+2y+3z=21x + 2y + 3z = 21.
  6. Foot of perpendicular from (3,1,4)(3, -1, 4) to 2x3y+z=72x - 3y + z = 7.
  7. Find λ\lambda if the distance from (2,1,5)(2, 1, 5) to 2x+2yz=λ2x + 2y - z = \lambda is 33.
  8. Show that the planes x+y+z=1x + y + z = 1, 2x+2y+2z=32x + 2y + 2z = 3, x+y+z=5x + y + z = 5 have no common point.
  9. Three planes: x+y=2x + y = 2, y+z=4y + z = 4, x+z=6x + z = 6. Find their common point.
  10. Find the line of intersection of the xyxy-plane and the plane x+y+z=6x + y + z = 6.
  11. Find the plane through the line of intersection of x+2yz=1x + 2y - z = 1 and 2xy+z=32x - y + z = 3, and through the point (1,1,1)(1, 1, 1).
  12. Distance from (1,1,1)(1, 1, 1) to the line r=(0,0,0)+t(1,1,0)\vec r = (0, 0, 0) + t(1, 1, 0).
  13. Show that lines r=(1,1,0)+t(1,0,1)\vec r = (1, 1, 0) + t(1, 0, 1) and r=(0,1,1)+s(1,1,0)\vec r = (0, 1, 1) + s(1, 1, 0) lie in a common plane and find that plane.
  14. Find a point equidistant from the planes 2x+yz=52x + y - z = 5, xy+z=3x - y + z = 3, and x2y+z=1x - 2y + z = 1.

Pitfalls and tricks

  • The formula Ax0+By0+Cz0+D/|Ax_0 + By_0 + Cz_0 + D|/\sqrt{\cdots} is the workhorse for point-to-plane distance.
  • Line and plane: solve the parametric equation in the plane equation. Set dn=0\vec d\cdot\vec n = 0 as a special-case check first.
  • Two planes meet in a line whose direction is n1×n2\vec n_1\times\vec n_2. Find a point by setting one coordinate.
  • For three planes, use determinants. Non-zero \Rightarrow unique point; zero \Rightarrow check consistency separately.
  • Always sketch the configuration , even rough , to verify your algebraic answer.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Distance and intersections
6 questions · pick the best answer
Q1

Distance from (x0,y0,z0)(x_0, y_0, z_0) to Ax+By+Cz+D=0Ax + By + Cz + D = 0 is

Q2

Distance between parallel planes Ax+By+Cz=D1Ax+By+Cz = D_1 and Ax+By+Cz=D2Ax+By+Cz = D_2

Q3

Two planes meet in a line iff they are

Q4

Direction of line of intersection of two planes is

Q5

Three planes meet in a unique point iff

Q6

Distance from (0,0,0)(0,0,0) to x+2y+2z=9x + 2y + 2z = 9 is