Perpendicular feet, distances and angles

Derive perpendicular feet and distances, then choose the correct line or plane angle.

More
Reading settingsKeep track of this lesson

Read offline with Premium

Save lessons and their figures on this device to read without an internet connection. Offline saving is included with Premium.

Connect at least once every 30 days to confirm Premium. Topic checks, coaching and sync need a connection.

Find this activity in your course
On this page

Reading settings

Colour theme, text size, line spacing and reading width for your lessons.

Colour theme
Text size
Line spacing
Reading width
Revision Mode

Keep just the revision notes by hiding embedded questions and activities, including worked examples. Your choice follows your account across both subjects and devices. Turn off to show the full lesson again.

Checking Premium access…

Explore Premium

Live preview

Take a moment to read at your own pace. Choose the text size and spacing that feel comfortable for you.

Pause after each idea, then explain it in your own words before moving on.

Narrower lines take effect when the screen has room.

Enlarged diagram

A nearest point must satisfy two conditions

A perpendicular foot is a point on the target line or plane. Its displacement from the original point must also be perpendicular to that target. A point satisfying only one condition is not enough: many points lie on a line, and many perpendicular displacements start from points elsewhere.

Use an orthonormal Cartesian frame throughout. Recall that a zero dot product tests perpendicularity, and that a nonzero normal to a plane is perpendicular to every direction within it.

Find a point-to-line foot before its distance

For an infinite line r = a + td with d ≠ 0, the foot H from P must have position h = a + td. The perpendicular condition is

(p-a-td) · d = 0.

Expanding the dot product and solving gives

t = ((p-a) · d)/(d · d).

The denominator is the squared magnitude of d. Dividing only by |d| would calculate a signed scalar component, not the parameter multiplying the original direction vector.

Take P = (0,2,3) and the line r = (1,0,0) + t(1,1,0). Here p-a = (-1,2,3), so the numerator is -1 + 2 + 0 = 1 and the denominator is 2. Thus t = 1/2 and

H = (3/2,1/2,0).

The difference from H to P is (-3/2,3/2,3). Its dot product with (1,1,0) is zero. The foot is on the line because the same parameter 1/2 gives all three coordinates. Now take the length:

PH = square root of (9/4 + 9/4 + 9) = (3 square root of 6)/2.

The answer t = 1/2 locates the foot but is not the distance. Likewise, 27/2 is the squared distance, not the distance.

Why does the perpendicular point give a minimum? Every other line point has form q = h + sd. Since p-h is perpendicular to d,

|p-q|² = |p-h|² + s²|d|².

The extra term is nonnegative and vanishes only at s = 0. This proves the foot is the unique nearest point on the infinite line.

An alternative uses the area of the parallelogram with sides p-a and d. Its area is base times perpendicular height, giving distance

(|(p-a) × d|)/|d|.

Here the vector product is (-3,3,-3), so the distance is 3 square root of 3/square root of 2 = 3 square root of 6/2 again. This method gives the distance directly; it does not give the foot’s coordinates.

Check your understanding 1 The target has endpoints

A segment consists of points r = t(1,0,0) with 0 ≤ t ≤ 1. Find its nearest point to P = (3,2,0) and the distance. Explain why using the perpendicular foot on the corresponding infinite line would not answer this question.

Show answer

The infinite-line foot is (3,0,0) at t = 3, outside the segment. On the segment, the squared distance is (3-t)² + 4. For 0 ≤ t ≤ 1, the positive quantity 3-t is smallest at t = 1. The nearest point is therefore (1,0,0), with distance square root of (2² + 2²) = 2 square root of 2.

The perpendicular-foot formula solved the infinite-line problem correctly. The additional parameter restriction changes the allowed target points, so the endpoint must be considered.

A point-to-plane foot moves along the normal

Let the plane be n · r = c, with n ≠ 0. The line from P perpendicular to the plane follows n, so write

h = p-λn.

Requiring H to lie in the plane gives n · p-λ|n|² = c. Therefore

λ = (n · p-c)/(|n|²).

The numerator is the plane equation’s residual at P. Its sign tells you which way to move along the chosen normal; it is not yet a distance. The perpendicular distance is |λ||n|, or

(|n · p-c|)/|n|.

For the plane x + 2y + 2z = 9 and P at the origin, n = (1,2,2) has magnitude 3. The residual is -9, so λ = -1 and h = 0-(-1)n = (1,2,2). The distance is 9/3 = 3.

Check the two conditions separately: H gives 1 + 4 + 4 = 9 in the plane equation, and p-h = (-1,-2,-2) is parallel to the normal. The length from P to H is 3.

If P already lies in the plane, the residual and distance are zero and H is P itself. A zero distance is valid; a zero normal would not define a plane. Scaling the whole equation by a nonzero constant changes neither the foot nor the distance: the residual and normal scale together, with the absolute value preserving a nonnegative length.

Check your understanding 2 Locate a point on the other side

O is the origin and H = (1,2,2) is its perpendicular foot on x + 2y + 2z = 9. A point R lies on the line OH, on the opposite side of the plane from O, with RH = OH. Find R and verify the equal distances and the perpendicular direction.

Show answer

H must be the midpoint of OR, so r = 2h-0 = (2,4,4). Both vector OH and vector HR equal (1,2,2) and have length 3. They are parallel to the plane normal, and H lies in the plane. The plane residuals at O and R are -9 and 9, confirming opposite sides at equal perpendicular distances.

Choose the geometrical objects before the inverse function

An angle between two vectors lies between 0° and 180°. Keep the sign in cos θ = (u · v)/(|u||v|).

A line can be represented by either orientation of its direction vector. For the smaller angle between lines, remove that arbitrary orientation:

cos θ = (|d₁ · d₂|)/(|d₁||d₂|).

This gives 0° ≤ θ ≤ 90°: parallel lines give zero and perpendicular directions give ninety degrees. The rule also gives the angle between skew lines by comparing their directions; it does not calculate a shortest distance between them.

For example, (1,0,0) and (-1,1,0) have vector angle 135°, but the smaller angle between lines in those directions is 45°. Reversing one direction changes the vector angle, while the lines themselves stay unchanged.

For the smaller angle between planes, use the same cosine formula with their nonzero normals. Parallel normals give parallel plane orientations and angle zero, even when the planes have different offsets. If a question identifies a particular obtuse region, use that region and its supplementary angle rather than automatically reporting the smaller angle.

Check your understanding 3 Separate orientation from offset

Find the smaller angle between the planes x = 2 and x + y = 5. Would replacing the second plane by x + y = 50 change the angle? Justify your answer using directions.

Show answer

Normals are (1,0,0) and (1,1,0), with dot product 1 and magnitudes 1 and square root of 2. Thus cos θ = 1/square root of 2, so the smaller plane angle is 45°. Changing the constant from 5 to 50 translates the second plane without changing its normal or the angle. Position affects the intersection’s location, not this angle.

A line-to-plane angle is complementary to a normal angle

Let d be the line direction and n a normal to the plane. The dot product first compares d with n. The smaller angle φ to the normal line and the inclination θ to the plane satisfy θ + φ = 90°. Hence

sin θ = (|d · n|)/(|d||n|).

Use inverse sine for the inclination, or find the smaller normal angle by inverse cosine and subtract its unrounded value from ninety degrees. Round once at the end, in the requested unit.

normallineprojectionθφθ + φ = 90°

The solid rising line and its dashed projection enclose θ. Together with φ to the normal, it fills the right angle. The schematic shows the relationship, not values to measure from the drawing.

The limiting cases help select the formula. If d · n = 0, the line direction is parallel to the plane and θ = 0°, whether the line lies in the plane or is disjoint from it. If d is parallel to n, the line is perpendicular to the plane and θ = 90°. A zero direction or zero normal cannot define either angle.

Check your understanding 4 Line-to-plane is not line-to-normal

A line has direction (square root of 3,0,1) and a plane has normal (0,0,1). Find their acute angle.

Show answer

The direction has magnitude 2, so sin θ = 1/2 and the line-to-plane angle is 30°. The smaller angle to the normal is 60°, its complement. Using inverse cosine directly for the requested plane angle would report the wrong region.

Try it yourself 1

Position a support rod

Minimal support

Problem

A panel lies in the plane 2x-y + 2z = 6. A straight support rod follows the line r = (3,0,0) + t(2,1,-2). Find the smaller angle between the rod and the panel, in degrees to three significant figures. Would rewriting the panel as -4x + 2y-4z = -12 change your answer? Explain.

Write your answer, then compare it with the solution

Hints

Hint 1

Identify what the plane coefficients describe

Decide whether the coefficients give a direction within the panel or a normal to it.

Show full solution
  1. Identify the directions being compared

    Method

    Use the rod direction d = (2,1,-2) and a panel normal n = (2,-1,2).

    Reason

    The coefficients of the plane equation give its normal, rather than a direction within the panel.

    Working

    Answer

    Both magnitudes are 3, and d · n = 4-1-4 = -1.
  2. Calculate the inclination to the panel

    Method

    Find the angle to the plane, independent of the chosen normal orientation.

    Reason

    The magnitude of the dot product supplies the sine of the smaller line-to-plane angle.

    Working

    Answer

    sin θ = 1/9, so θ = arcsin(1/9) ≈ 6.38° to three significant figures.

Before using a remembered formula, identify whether you need a point, a length or an angle. For a foot, check membership and perpendicularity. For an angle, identify the line directions or plane normals and the intended region. Point-to-line and point-to-plane distances do not provide a shortest-distance method between skew lines.

Keep track of this lesson

Mark the lesson done when you have worked through it.

Lesson progress is optional and kept on this device.

Your lesson mark records your own study. Checks are kept separately in My Learning.