Skip to main content
Examonaut

Topic 6 · Lesson 3 of 4

Intersections and shortest distances

Where a line meets a plane

Substitute the line's general point into the plane's equation and solve for the parameter. For the line r=(1−12)+t(121)\mathbf{r} = \begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix} + t\begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix} and the plane 2x+y−z=52x + y - z = 5:

2(1+t)+(−1+2t)−(2+t)=5  ⟹  3t−1=5  ⟹  t=22(1 + t) + (-1 + 2t) - (2 + t) = 5 \implies 3t - 1 = 5 \implies t = 2

so they meet at (3,3,4)(3, 3, 4). The angle between them: b⋅n=2+2−1=3\mathbf{b} \cdot \mathbf{n} = 2 + 2 - 1 = 3 and ∣b∣=∣n∣=6|\mathbf{b}| = |\mathbf{n}| = \sqrt{6}, so sin⁡θ=36\sin\theta = \frac{3}{6} and θ=30°\theta = 30°.

If the equation reduces to something like 0=40 = 4, the line is parallel to the plane and never meets it (b⋅n=0\mathbf{b} \cdot \mathbf{n} = 0); if it reduces to 0=00 = 0, the line lies in the plane.

Distance from a point to a plane

The shortest distance from the point (α,β,γ)(\alpha, \beta, \gamma) to the plane n1x+n2y+n3z+d=0n_1x + n_2y + n_3z + d = 0 is along the normal, and is

∣n1α+n2β+n3γ+d∣n12+n22+n32\frac{|n_1\alpha + n_2\beta + n_3\gamma + d|}{\sqrt{n_1^2 + n_2^2 + n_3^2}}

(in the formula booklet). Note the plane must be written with everything on one side, "=0= 0". For the point (5,2,−1)(5, 2, -1) and the plane 2x+y−z−5=02x + y - z - 5 = 0: ∣10+2+1−5∣6=86=463\frac{|10 + 2 + 1 - 5|}{\sqrt{6}} = \frac{8}{\sqrt{6}} = \frac{4\sqrt{6}}{3}.

You can also find it, and the foot of the perpendicular, from first principles: the line through the point with direction n\mathbf{n} meets the plane at the foot, and the distance is from the point to the foot. This is also how you reflect a point in a plane: go from the point to the foot, then the same distance again.

Distance from a point to a line

Take a general point PP on the line, form CP→\overrightarrow{CP} from the given point CC, and make it perpendicular to the line's direction: CP→⋅b=0\overrightarrow{CP} \cdot \mathbf{b} = 0. Solve for the parameter, and ∣CP→∣|\overrightarrow{CP}| is the distance.

For C(3,1,2)C(3, 1, 2) and the line r=(1−12)+t(121)\mathbf{r} = \begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix} + t\begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}: CP→=(t−22t−2t)\overrightarrow{CP} = \begin{pmatrix} t - 2 \\ 2t - 2 \\ t \end{pmatrix}, and CP→⋅b=6t−6=0\overrightarrow{CP} \cdot \mathbf{b} = 6t - 6 = 0 gives t=1t = 1. So P=(2,1,3)P = (2, 1, 3), CP→=(−101)\overrightarrow{CP} = \begin{pmatrix} -1 \\ 0 \\ 1 \end{pmatrix} and the distance is 2\sqrt{2}.

Distance between two lines

For parallel lines, pick any point on one line and find its distance to the other line, as above.

For skew lines, the shortest distance is along the common perpendicular. Take general points PP on l1l_1 and QQ on l2l_2, and make PQ→\overrightarrow{PQ} perpendicular to both directions. That gives two equations for the two parameters.

Worked example

Skew lines

l1l_1: r=(102)+λ(11−1)\mathbf{r} = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} + \lambda\begin{pmatrix} 1 \\ 1 \\ -1 \end{pmatrix} and l2l_2: r=(230)+μ(011)\mathbf{r} = \begin{pmatrix} 2 \\ 3 \\ 0 \end{pmatrix} + \mu\begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}. Show that the lines are skew and find the shortest distance between them.

Show solution
  1. The directions are not multiples, so the lines are not parallel. Equating: xx gives 1+λ=21 + \lambda = 2, so λ=1\lambda = 1; yy gives 1=3+μ1 = 3 + \mu, so μ=−2\mu = -2; then zz: 2−1=12 - 1 = 1 but 0+(−2)=−20 + (-2) = -2. Contradiction, so the lines do not meet: they are skew.
  2. PQ→=(23+μμ)−(1+λλ2−λ)=(1−λ3+μ−λμ−2+λ)\overrightarrow{PQ} = \begin{pmatrix} 2 \\ 3 + \mu \\ \mu \end{pmatrix} - \begin{pmatrix} 1 + \lambda \\ \lambda \\ 2 - \lambda \end{pmatrix} = \begin{pmatrix} 1 - \lambda \\ 3 + \mu - \lambda \\ \mu - 2 + \lambda \end{pmatrix}.
  3. Perpendicular to l1l_1: (1−λ)+(3+μ−λ)−(μ−2+λ)=6−3λ=0(1 - \lambda) + (3 + \mu - \lambda) - (\mu - 2 + \lambda) = 6 - 3\lambda = 0, so λ=2\lambda = 2.
  4. Perpendicular to l2l_2: (3+μ−λ)+(μ−2+λ)=1+2μ=0(3 + \mu - \lambda) + (\mu - 2 + \lambda) = 1 + 2\mu = 0, so μ=−12\mu = -\frac{1}{2}.
  5. PQ→=(−112−12)\overrightarrow{PQ} = \begin{pmatrix} -1 \\ \frac{1}{2} \\ -\frac{1}{2} \end{pmatrix}, so the shortest distance is 1+14+14=62≈1.22\sqrt{1 + \frac{1}{4} + \frac{1}{4}} = \frac{\sqrt{6}}{2} \approx 1.22.

Practise this topic

Both are part of Premium.