Skip to content
Topos Uranos

Summary

This lesson brings together the tools of the three preceding ones, the dot product, the cross product and the scalar triple product, with the equations of lines and planes, in order to measure in space. It defines the distance from a point to a set and proves, by projecting onto the normal, the formula for the distance from a point to a plane, and, with the cross product, the formula for the distance from a point to a line, both with the foot of the perpendicular as the only closest point. From them it deduces the distances between parallel planes and between parallel lines, and it proves that two skew lines have a unique common perpendicular, which is found by solving a system of two equations and whose length is a scalar triple product divided by a norm. It defines and computes the angles between two lines, between a line and a plane and between two planes, and proves that they coincide with the angles of elementary geometry; it constructs the perpendicular bisector plane of a line segment and the reflections of a point in a plane and in a line; it proves that the area of the projection of a plane polygon is its area multiplied by the cosine of the dihedral angle, and it studies the sphere, its equation, its intersection with a plane and its tangent plane. The applications are the planes of a crystal with their Miller indices and satellite positioning; the problems deal with the regular tetrahedron, the points equidistant from three points, the shadow of a solar panel, the tangent planes to a sphere that contain a line and two aircraft whose routes are skew.

Learning objectives

  1. Compute the distance from a point to a plane and to a line, between parallel planes, between parallel lines and between skew lines, proving each formula and finding the points at which it is attained.
  2. Find the common perpendicular to two skew lines and prove that it is unique.
  3. Compute angles between lines, between a line and a plane and between two planes, and prove that they coincide with the geometric angles they define.
  4. Construct the perpendicular bisector plane of a line segment and the reflections of a point in a plane and in a line.
  5. Compute areas and volumes with the cross and scalar triple products, and prove and apply the relation between the area of a plane polygon and that of its projection.
  6. Obtain the center and the radius of a sphere from its equation, decide its position relative to a plane, find the circle of intersection and the tangent plane, and model with these tools problems in crystallography, solar energy, air navigation and satellite positioning.

The distance from a point to a plane and to a line

The lesson on vectors in the plane obtained the distance from a point to a line in the plane by projecting onto the normal vector. In space, the lesson on lines and planes in space wrote the plane through P0P_0 with a nonzero normal vector n⃗=(a,b,c)\vec{n} = \left( a, b, c \right) as the set of the points XX with n⃗⋅P0X⃗=0\vec{n} \cdot \vec{P_0 X} = 0, that is, with an equation ax+by+cz=dax + by + cz = d, and the line through AA with direction vector u⃗\vec{u} as the set of the points A+tu⃗A + t \vec{u}, with tt real. If this is so, the idea from the plane carries over unchanged to planes in space; for lines, however, the normal is no longer a single direction, and the cross product from the lesson on the cross product and the scalar triple product takes its place. The facts of Euclidean solid geometry that are used are those admitted in the lesson on vectors in space and the dot product.

Let FF be a nonempty set of points in space and PP a point. If among the distances from PP to the points of FF there is one that is less than or equal to all the others, that number is the distance from PP to FF, and it is written d⁡(P,F)\operatorname{d}(P, F). Likewise, if among the distances from the points of a set FF to those of another set GG there is one less than or equal to all of them, that number is the distance between FF and GG, d⁡(F,G)\operatorname{d}(F, G).

The definition does not guarantee that the distance exists: among infinitely many distances there may be no smallest one. That is why the theorems that follow do not merely give a formula; they prove that there is a closest point, and that it is unique.

TheoremDistance from a point to a plane

Let π\pi be the plane ax+by+cz=dax + by + cz = d, with n⃗=(a,b,c)\vec{n} = \left( a, b, c \right) nonzero, and let P=(x0,y0,z0)P = (x_0, y_0, z_0). The point H=P−λn⃗H = P - \lambda \vec{n}, with λ=ax0+by0+cz0−d∥n⃗∥2\lambda = \frac{a x_0 + b y_0 + c z_0 - d}{{\norma{\vec{n}}}^2}, lies in π\pi, HP⃗\vec{HP} is normal to π\pi, and HH is the only point of π\pi closest to PP. Consequently:

d⁡(P,π)=∣ax0+by0+cz0−d∣a2+b2+c2\operatorname{d}(P, \pi) = \frac{\abs{a x_0 + b y_0 + c z_0 - d}}{\sqrt{a^2 + b^2 + c^2}}

The vector from an arbitrary point of the plane to PP is projected onto the normal, as in the plane; minimality is the Pythagorean theorem. The figure uses the plane 2x+y+2z=42x + y + 2z = 4 and the point P=(2,3,3)P = (2, 3, 3).

Proof

  1. p⃗=QP⃗⋅n⃗∥n⃗∥2n⃗\vec{p} = \dato{p}{\frac{\vec{QP} \cdot \vec{n}}{{\norma{\vec{n}}}^2} \vec{n}}

    We choose a point Q=(q1,q2,q3)Q = (q_1, q_2, q_3) of π\pi and project QP⃗\vec{QP} onto n⃗\vec{n} with the orthogonal projection theorem from the lesson on vectors in space. In the figure, Q=(2,0,0)Q = (2, 0, 0).

  2. QP⃗⋅n⃗=ax0+by0+cz0−(aq1+bq2+cq3)=ax0+by0+cz0−d\vec{QP} \cdot \vec{n} = a x_0 + b y_0 + c z_0 \resaltar{- \left( a q_1 + b q_2 + c q_3 \right)} = \dato{e}{a x_0 + b y_0 + c z_0 - \resaltar{d}}

    Since QQ lies in π\pi, aq1+bq2+cq3=da q_1 + b q_2 + c q_3 = d, and the dot product in the numerator is the left-hand side of the equation evaluated at PP, minus dd.

  3. QH⃗=QP⃗−λn⃗,n⃗⋅QH⃗=0→H∈π\vec{QH} = \vec{QP} - \resaltar{\lambda \vec{n}}, \qquad \vec{n} \cdot \vec{QH} = 0 \rightarrow \dato{h}{H \in \pi}

    Therefore, p⃗=λn⃗\vec{p} = \lambda \vec{n} and H=P−p⃗H = P - \vec{p}. The vector QH⃗=QP⃗−p⃗\vec{QH} = \vec{QP} - \vec{p} is the orthogonal component of the projection, perpendicular to n⃗\vec{n}; by the point-normal equation of the plane, HH lies in π\pi.

  4. ∥PX⃗∥2=∥PH⃗∥2+∥HX⃗∥2≥∥PH⃗∥2{\norma{\vec{PX}}}^2 = {\norma{\vec{PH}}}^2 + \resaltar{{\norma{\vec{HX}}}^2} \ge {\norma{\vec{PH}}}^2

    Let XX be any point of π\pi. By the Chasles relation, PX⃗=PH⃗+HX⃗\vec{PX} = \vec{PH} + \vec{HX}; the first summand is a multiple of n⃗\vec{n} and the second joins two points of π\pi, so they are orthogonal, and the Pythagorean equality holds.

  5. d⁡(P,π)=∥p⃗∥=∣QP⃗⋅n⃗∣∥n⃗∥=∣ax0+by0+cz0−d∣a2+b2+c2\operatorname{d}(P, \pi) = \norma{\vec{p}} = \frac{\resaltar{\abs{\vec{QP} \cdot \vec{n}}}}{\norma{\vec{n}}} = \frac{\abs{a x_0 + b y_0 + c z_0 - d}}{\sqrt{a^2 + b^2 + c^2}}

    Equality holds only if HX⃗=0⃗\vec{HX} = \vec{0}, that is, if X=HX = H: the foot of the perpendicular is the only closest point, and the distance is the norm of the projection.

  6. d⁡(P,π)=∣2⋅2+3+2⋅3−4∣4+1+4=93=3\operatorname{d}(P, \pi) = \frac{\abs{2 \cdot 2 + 3 + 2 \cdot 3 - 4}}{\sqrt{4 + 1 + 4}} = \frac{\resaltar{9}}{\resaltar{3}} = 3

    In the figure, QP⃗=(0,3,3)\vec{QP} = \left( 0, 3, 3 \right), QP⃗⋅n⃗=9\vec{QP} \cdot \vec{n} = 9 and ∥n⃗∥=3\norma{\vec{n}} = 3, so that λ=1\lambda = 1, the foot is H=(0,2,1)H = (0, 2, 1) and the distance is 33.

The sign of the number ax0+by0+cz0−da x_0 + b y_0 + c z_0 - d, which the formula hides with the absolute value, also has a meaning. Since P=H+λn⃗P = H + \lambda \vec{n}, it is positive when PP is reached from the plane by moving in the direction of n⃗\vec{n}, and negative when it is reached in the opposite direction. The points with ax+by+cz>dax + by + cz > d form one of the two half-spaces that the plane determines, and the points with ax+by+cz<dax + by + cz < d form the other; two points are on the same side of the plane if and only if the expression has the same sign at both. Thus, the origin and the point (2,3,3)(2, 3, 3) lie on opposite sides of the plane 2x+y+2z=42x + y + 2z = 4, because 0−4<0<90 - 4 < 0 < 9.

TheoremDistance from a point to a line

Let rr be the line A+tu⃗A + t \vec{u}, with u⃗\vec{u} nonzero, and let PP be a point. The point H=A+t0u⃗H = A + t_0 \vec{u}, with t0=AP⃗⋅u⃗∥u⃗∥2t_0 = \frac{\vec{AP} \cdot \vec{u}}{{\norma{\vec{u}}}^2}, is the only point of rr closest to PP, HP⃗\vec{HP} is perpendicular to u⃗\vec{u}, and:

d⁡(P,r)=∥AP⃗×u⃗∥∥u⃗∥\operatorname{d}(P, r) = \frac{\norma{\vec{AP} \times \vec{u}}}{\norma{\vec{u}}}

One decomposes AP⃗\vec{AP} into its projection onto u⃗\vec{u} and its orthogonal component; the norm of the latter is expressed with Lagrange’s identity. The figure uses the line through A=(0,0,1)A = (0, 0, 1) with direction vector u⃗=(1,2,2)\vec{u} = \left( 1, 2, 2 \right) and the point P=(3,3,1)P = (3, 3, 1).

Proof

  1. AP⃗=t0u⃗+w⃗,w⃗⋅u⃗=0\vec{AP} = t_0 \vec{u} + \dato{w}{\vec{w}}, \qquad \vec{w} \cdot \vec{u} = 0

    By the orthogonal projection theorem, AP⃗\vec{AP} is the sum of its projection t0u⃗t_0 \vec{u} onto u⃗\vec{u} and of a vector w⃗\vec{w} orthogonal to u⃗\vec{u}. The point H=A+t0u⃗H = A + t_0 \vec{u} lies on rr and HP⃗=w⃗\vec{HP} = \vec{w}.

  2. XP⃗=w⃗+(t0−t)u⃗,∥XP⃗∥2=∥w⃗∥2+(t0−t)2∥u⃗∥2≥∥w⃗∥2\vec{XP} = \vec{w} + \resaltar{\left( t_0 - t \right) \vec{u}}, \qquad {\norma{\vec{XP}}}^2 = {\norma{\vec{w}}}^2 + \resaltar{\left( t_0 - t \right)^2 {\norma{\vec{u}}}^2} \ge {\norma{\vec{w}}}^2

    For an arbitrary point X=A+tu⃗X = A + t \vec{u} of rr, the vector XP⃗\vec{XP} is w⃗\vec{w} plus a multiple of u⃗\vec{u}; the two summands are orthogonal and the Pythagorean equality holds.

  3. d⁡(P,r)2=∥w⃗∥2=∥AP⃗∥2−(AP⃗⋅u⃗)2∥u⃗∥2=∥AP⃗∥2∥u⃗∥2−(AP⃗⋅u⃗)2∥u⃗∥2{\operatorname{d}(P, r)}^2 = {\norma{\vec{w}}}^2 = {\norma{\vec{AP}}}^2 - \resaltar{\frac{\left( \vec{AP} \cdot \vec{u} \right)^2}{{\norma{\vec{u}}}^2}} = \dato{q}{\frac{{\norma{\vec{AP}}}^2 {\norma{\vec{u}}}^2 - \left( \vec{AP} \cdot \vec{u} \right)^2}{{\norma{\vec{u}}}^2}}

    Equality holds only if t=t0t = t_0: HH is the only closest point and the distance is the norm of w⃗\vec{w}, whose square is given by the Pythagorean equality of the projection.

  4. d⁡(P,r)2=∥AP⃗×u⃗∥2∥u⃗∥2→d⁡(P,r)=∥AP⃗×u⃗∥∥u⃗∥{\operatorname{d}(P, r)}^2 = \frac{\resaltar{{\norma{\vec{AP} \times \vec{u}}}^2}}{{\norma{\vec{u}}}^2} \rightarrow \operatorname{d}(P, r) = \frac{\norma{\vec{AP} \times \vec{u}}}{\norma{\vec{u}}}

    By Lagrange’s identity from the lesson on the cross product, the numerator is the square of the norm of AP⃗×u⃗\vec{AP} \times \vec{u}; we take the square root.

  5. AP⃗×u⃗=(6,−6,3),d⁡(P,r)=93=3\vec{AP} \times \vec{u} = \left( 6, -6, 3 \right), \qquad \operatorname{d}(P, r) = \frac{\resaltar{9}}{\resaltar{3}} = 3

    In the figure, AP⃗=(3,3,0)\vec{AP} = \left( 3, 3, 0 \right) and AP⃗⋅u⃗=9\vec{AP} \cdot \vec{u} = 9, so that t0=1t_0 = 1, H=(1,2,3)H = (1, 2, 3) and w⃗=(2,1,−2)\vec{w} = \left( 2, 1, -2 \right), of norm 33. The cross product gives the same.

The formula has a direct geometric reading: ∥AP⃗×u⃗∥\norma{\vec{AP} \times \vec{u}} is the area of the parallelogram with sides AP⃗\vec{AP} and u⃗\vec{u}, and ∥u⃗∥\norma{\vec{u}} is the length of its base on the line; the quotient is the height, which is the required distance. When only the distance matters, the cross product avoids computing the foot of the perpendicular.