Exercise 11.2 · Q12: Shortest distance between lines through and
Find the shortest distance between the lines
and
Comparing with and :
,
,
The shortest distance is
The shortest distance is units.
Want the reason behind every step, the basics and the checks?
The shortest segment between two skew lines is perpendicular to both lines, so it points along . Join a point of one line to a point of the other (we use and ); the length of the shadow of this joining vector on the direction is the shortest distance, whichever two points we chose.
- Given
- : ; : .
- To find
- The shortest distance between and .
- Plan
- (1) Read off . (2) Find . (3) Find . (4) Find its length. (5) Find the dot product. (6) Put everything into the formula. (7) Check by finding the closest points.
Basics you need
For and (Section 11.5.1):
is perpendicular to both and ; it is computed as a determinant with in the top row (Section 10.6.3). Basics: the cross product
The projection of on the direction of has length (Section 10.6.2). Basics: the shadow on the gap direction
Lines in space that are neither parallel nor intersecting (Section 11.5). Lesson: skew lines
Solution
Read off the points and directions
The vector multiplied by the parameter is the direction, the rest is a point. So passes through and through . The brackets around in the first equation only group the point; they change nothing.Vector equation of a line, Section 11.3.1. Basics: a⃗ + λb⃗The joining vector
This is , from the point of to the point of : terminal minus initial, component by component.Vector joining two points (Section 10.5.2). Basics: points in spaceThe cross product
Expand along the top row; the term carries a minus sign, and here its bracket is . The result is perpendicular to both directions: and . It is not the zero vector, so the lines are not parallel and the skew-lines formula applies.Determinant form of the cross product (Section 10.6.3). Basics: a⃗ × b⃗ stands up from bothIts length
and . Dividing by this length turns into the unit vector along the common perpendicular (equation (3) of Section 11.5.1).Length of a vector. Basics: Pythagoras in 3DThe dot product
Multiply matching components of and and add. The result is negative; that only means points against , and the modulus in the formula takes care of it.Put it into the formula
This is the length of the projection of on the unit vector along the common perpendicular, . Cancel 3, then multiply top and bottom by to rationalise. One misprint to watch: the final formula for on page 387 of the book (set in bold) prints where is meant; the derivation just before it uses the difference.Section 11.5.1, shortest distance between skew lines. Lesson: the shortest distanceCheck: find the closest points
Let on and on . Then
is shortest when it is perpendicular to both lines, and :
so and . Then , and
Oblique projection, not to scale (lengths and right angles are not shown true). passes through and through . The common perpendicular has length ; (dashed) is longer, . This works the problem from scratch, without the formula, and gets the same distance. Subtracting the first condition from the second gives . is a multiple of , as the formula assumes. Since the lines do not meet, and Step 3 showed they are not parallel, so they are skew.The line of shortest distance is perpendicular to both lines (Section 11.5). Lesson: skew lines
The shortest distance between the lines is units. The lines are skew.
(Textbook answer: .)
, so . The closest points are and ; the distance between them is again. For comparison, .
- The middle term of the determinant. It is ; a zero component is still a component, and it contributes to the dot product.
- Using , copying the misprint in the final formula for on page 387 (set in bold). The formula needs the difference .
- Leaving the answer as . A distance is never negative; the modulus removes the sign of .
- Dividing by instead of .
- Skew lines: .
- Check first; if it were the lines would be parallel and the distance would be (Example 10).
- The same steps in Example 9; rationalise the final surd.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Reading and from | Step 1 | Section 11.3.1 (Basics) |
| Vector joining two points | Step 2 | Section 10.5.2 |
| as a determinant; it is perpendicular to both vectors | Step 3 | Section 10.6.3 (Basics) |
| , | Steps 4, 6 | Section 11.5.1, equation (3) and Fig 11.6 (Basics) |
| ; the final formula for on p. 387 (set in bold) misprints as | Step 6 | Section 11.5.1 (Lesson) |
| Dot product in components | Steps 3, 5, 7 | Section 10.6.1 (Basics) |
| Shortest segment is perpendicular to both skew lines; skew lines | Step 7 | Section 11.5 (Lesson) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →