The distance between a specific point and a plane is important to a number of different activities.

For instance, a bungee jumping tower would not be very safe if the distance to the ground were not measured at the point directly under the tower, since any angle away from straight down would make the distance measure further and lead to a cord too long!

A computer game programmer needs to know how to calculate the distance between the location of a character on the screen and the walls around it to tell the game how to identify when a projectile hits a target, or when the character hits a wall.

### Distance Between a Point and a Plane

#### Identifying the Point Closest to the Origin

No matter what the orientation of a plane, there will always be one point located closer to the origin than any other point on the plane. This means that the position vector for this point is shorter than any other point in the plane. The diagram below shows a two-dimensional projection of a plane, in grey, near a point not on the plane, in black. The position vectors to a variety of points are shown in the diagram. The position vector marked in blue is shorter than the position vectors for the other points. This shortest vector is perpendicular to the plane. You can also see that the blue line is the vector projection of any orange vector onto the perpendicular direction.

This **orthogonality** (i.e. being perpendicular) is useful for us because it means that the position vector for this special point is parallel to the normal vector. Therefore, if we know the equation for a normal vector and the position vector for any point on the plane, we can determine the location of the point on the plane closest to the origin by finding the projection of the given point’s position vector onto the normal direction.

#### The Dihedral Angle

The angle between two planes is called the *dihedral angle*. The angle between two planes is the same as the angle between their normal vectors. If we want to determine the dihedral angle between two planes, we identify normal vectors to the two planes, then we can use the dot-product of the two normal vectors to determine the angle between the two normals which is also the two planes. Recall .

### Examples

#### Example 1

The three points P = (3, 7, 2), Q = (1, 4, 3), and R = (2, 3, 4) define a plane. Determine the point on the plane which is closest to the origin.

First find the vectors between two pairs of the points.

The cross product of these two vectors is normal to the plane.

The point on the plane which is nearest to the origin can be found by determining the projection of the position vector of either of these three points onto the normal vector. Remember that the vector projection of one vector onto the direction of another, is given by the dot-product of the first vector onto the unit vector defining the direction of the second vector: .

Since we know three points on the plane, we can use one of them to solve the problem. Let’s start with point P. The vector projection of onto is given by , so first we need to determine the unit vector which is given by

Therefore, the point on the plane closest to the origin is (-1.3088, 2.0041, 3.3129).

#### Example 2

The three points P = (3, 7, 2), Q = (1, 4, 3), and R = (2, 3, 4) define a plane. Determine the dihedral angle between this plane and the x-y plane.

As we saw in the example above, these three points define a plane which has a normal vector

The normal to the x-y plane is the unit vector . To find the angle between these two vectors we use the fact that and that

First find a numerical value for the dot product:

Then find the cosine version of the dot product:

Now equate the two and solve for the angle, *θ*

#### Example 3

Determine the dihedral angle between the two planes 12*x* + 23*y* + 14*z* - 5 = 0 and 7*x* + 3*y* + *z* + 12 = 0.

The dihedral angle is defined as the angle between two planes. This angle is also equal to the angle between the normals to the two planes. In two of the previous problems we determined the unit vectors which are perpendicular to these two planes and . We can then use the dot-product of these two normal vectors to determine the angle between the two. The dot-product is defined as and as . First, we need to find the component version of the dot product and the magnitudes of the two normal vectors.

Since these two vectors are unit-vectors, their magnitudes are both equal to 1.

#### Example 4

Determine the angle between the plane 2*x* - 5*y* + 8 - 10 = 0 and the *y*-*z* plane.

The dihedral angle is defined as the angle between the two planes and is also equal to the angle between the two normal unit vectors. In this case, we already know the normal unit vector for the y-z plane, . We still need to determine, however, the unit vector for the plane 2*x* - 5*y* + 8*z* - 10 = 0.

Comparing this equation to , we can see that .

Now we can use the definition of the unit vector

The angle between the two planes is equal to the angle between the two normal vectors.

We can then use the dot-product of these two normal vectors to determine the angle between the two. The dot-product is defined as and as . First, we need to find the component version of the dot product and the magnitudes of the two normal vectors.

Since these two vectors are unit-vectors, their magnitudes are both equal to 1.

#### Example 5

The three points and identify a plane. Determine the point on the plane which is closest to the origin.

The point on the plane nearest to the origin can be found by determining the projection of the position vector of one of these three points onto the normal vector. Remember that the vector projection of one vector onto the direction of another is given by the dot-product of the first vector onto the unit vector defining the direction of the second vector: .

We can use the position vectors for the three points to determine two vectors within the plane. Once we have those two vectors, their cross-product will define the direction normal to the plane. First find the two equations in the plane:

Now determine the cross product of the two vectors

Now we need to determine the unit vector associated with this normal vector

Now we determine the vector progression of one of the three initial position vectors onto the direction of this normal unit-vector: . Remember that the dot product is given by .

#### Example 6

Determine the point on the plane 7*x* + 3*y* + *z* + 12 = 0 which is closest to the origin.

The point on the plane nearest to the origin can be found by determining the projection of the position vector of any point on the plane onto the normal vector. The vector projection of one vector onto the direction of another is given by the dot-product of the first vector onto the unit vector defining the direction of the second vector: .

In this case, we can determine a normal vector using the equation of the plane. Comparing 7*x* + 3*y* + *z* + 12 = 0 to the generic equation , we can see that and

We also need to know the location of a point on the plane. If we write the equation of the plane in intercept form, we can determine the position vector for the x-, y-, and z-intercepts of the plane.

The equation must be true for all points on a plane. Therefore, we should first rearrange 7*x* +3*y* + *z* + 12 = 0 into the form .

7*x* + 3*y* + *z* = -12 becomes

Therefore, , and and the position vectors of the three intercepts are , and .

To complete the problem, compute the dot product.

### Review

The three points define a plane. Determine the point on the plane which is closest to the origin.

- and
- and
- and
- and
- and

Determine the dihedral angle between each of the planes in questions 1-5 and the x-y plane. Use the you calculated for each plane and recall that the normal to the x-y plane is the unit vector .

- and
- and
- and
- and
- and

Determine the dihedral angle between the two planes.

- and
- and
- and
- and
- and
- and

### Review (Answers)

To see the Review answers, open this PDF file and look for section 5.8.