Exercise 11.2 · Q15: Shortest distance between two lines with parameters and
Find the shortest distance between the lines whose vector equations are
and
Separating the terms with the parameters:
Comparing with and :
,
,
The shortest distance is
The shortest distance is units.
Want the reason behind every step, the basics and the checks?
These equations are vector equations of lines written component by component. Collecting the terms without the parameter and the terms with it puts each line in the form : a point plus a multiple of a direction. Then the skew-lines formula applies as usual.
- Given
- : ; : .
- To find
- The shortest distance between and .
- Plan
- (1) Rewrite each line as point + parameter direction. (2) Find . (3) Find . (4) Its length. (5) The dot product. (6) The formula. (7) Check by finding the closest points.
Basics you need
: the vector multiplied by the parameter is the direction; the rest is a point (Section 11.3.1). The parameter may be called , , or . Basics: go to A, then walk λ copies of b
For and (Section 11.5.1):
is perpendicular to both and (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
Solution
Separate the point and the direction
So , , , .
Split each bracket into its constant part and its parameter part: gives and , so and . Watch the last term of the second line: , so the constant part is and the direction has . Putting and gives the points and .Vector equation of a line, Section 11.3.1. Basics: a⃗ + λb⃗The joining vector
This is . Its component is 0, which must be kept in mind for the dot product.Vector joining two points (Section 10.5.2). Basics: points in spaceThe cross product
Each bracket has two signed products, so go slowly: ; , with the middle minus sign giving ; . Check: and . 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
29 is prime, so does not simplify.Length of a vector. Basics: Pythagoras in 3DThe dot product
Multiply matching components of and and add; .Put it into the formula
This is the length of the projection of on the unit vector along the common perpendicular. Rationalised, it is ; the answer key keeps . 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 has length ; (dashed) is . Solving the two linear equations: and give (multiply the first by 9, the second by 5, and subtract). is a multiple of , as the formula assumes, and its length is the same . 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 units . The lines are skew.
(Textbook answer: .)
, so . The closest points are at , and at ; the distance between them is again. For comparison, .
- Mishandling : it is , so has and has . Taking or changes the answer.
- Reading as : the parameter terms are , and , so .
- Using from the misprinted final formula for on page 387 (set in bold) instead of .
- A vector equation written component by component can always be split into point + parameter direction.
- Then , whatever the parameters are called.
- Putting the parameter equal to 0 gives the point ; the coefficients of the parameter give .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Vector equation : point and direction | 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 →