Miscellaneous · Q4: Shortest distance between lines through and
Find the shortest distance between lines and .
Comparing with and :
,
,
The shortest distance is
The shortest distance is 9 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 . The shortest distance is the length of the shadow of any joining vector, here , on that direction.
- Given
- : ; : .
- To find
- The shortest distance between and .
- Plan
- (1) Read off . (2) Find . (3) Find . (4) Its length. (5) The dot product. (6) 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. has no term, so its -component is 0. So passes through and through .Vector equation of a line, Section 11.3.1. Basics: a⃗ + λb⃗The joining vector
This is , from on to on : terminal minus initial. Writing the missing -component of as 0 avoids a slip.Vector joining two points (Section 10.5.2). Basics: points in spaceThe cross product
The term is : the minus sign of the middle term and the negative bracket cancel. Check: and , so it is perpendicular to both lines; it is not , so the lines are not parallel.Determinant form of the cross product (Section 10.6.3). Basics: a⃗ × b⃗ stands up from bothIts length
144 is a perfect square, , so the length is a whole number.Length of a vector. Basics: Pythagoras in 3DThe dot product
Multiply matching components and add. The result is negative only because happens to point against ; the modulus in the formula removes the sign.Put it into the formula
This is the length of the projection of on the unit vector along the common perpendicular. A distance is never negative, so we take the modulus. 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
and give
so and . Then , and
Oblique projection, not to scale (lengths and right angles are not shown true). passes through and through . The common perpendicular joins and and has length 9; (dashed) is . The first condition gives ; putting it into the second gives , so , and . Then and . lies along the common perpendicular, and its length 9 agrees with the formula. Since and the lines are not parallel, 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 9 units. The lines are skew.
(Textbook answer: 9.)
, longer than , as it must be. The ratio is the cosine of the angle between and the common perpendicular, about .
- Misreading as , or dropping its 0 -component: has -component .
- The sign of the term: .
- Using , copying the misprint in the final formula for on page 387 (set in bold), instead of .
- Leaving the answer as . The modulus makes the distance positive.
- Skew lines: .
- Write every missing component as 0 before subtracting or multiplying.
- Check by dotting it with and : both must give 0.
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) |
| ; the final formula for on p. 387 (set in bold) misprints as | Steps 4 to 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 | 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 →