Miscellaneous · Q1: Angle between lines with direction ratios and
Find the angle between the lines whose direction ratios are and .
Here , , and
, , .
If is the angle between the lines, then
(the square roots are not zero, since neither set of direction ratios is ).
, that is, the lines are perpendicular.
Want the reason behind every step, the basics and the checks?
The angle between two lines depends only on their direction ratios, through . When this sum is 0, and the lines are at right angles. Here the sum is 0 for every choice of , , : the terms cancel in pairs.
- Given
- Two lines with direction ratios and . As direction ratios, are not all 0, and are not all 0 (so are not all equal).
- To find
- The angle between the lines.
- Plan
- (1) Name the two sets of direction ratios. (2) Work out . (3) Check that the square roots in the formula are not 0. (4) Find . (5) See why the sum is always 0.
Basics you need
For direction ratios and , the acute angle between the lines satisfies (Section 11.4)
The lines are perpendicular exactly when (Section 11.4, condition (i)). This sum is the dot product of the two direction vectors. Basics: the dot product
Direction ratios are a nonzero multiple of the direction cosines , and (Section 11.2). So is never a set of direction ratios. Basics: direction cosines and ratios
is perpendicular to both and (Section 10.6.3). Basics: the cross product
Solution
Name the two sets of direction ratios
The formula pairs the -ratios, the -ratios and the -ratios. In the second set the order matters: goes with , with , with , exactly as listed in the question.Direction ratios of a line (Section 11.2). Lesson: direction cosines and ratiosThe sum of the products is 0
Each product appears twice with opposite signs: and , and , and . Since and so on, every pair cancels. Nothing was assumed about , , , so the sum is 0 for all values: it is an identity.This sum is the dot product of with the second direction. Basics: a⃗ · b⃗ = a₁b₁ + a₂b₂ + a₃b₃The square roots are not zero
A sum of squares is 0 only when every term is 0. The first is not 0 because are not all 0. The second would be 0 only if , and , that is, ; then the second set would be , which is not a set of direction ratios, so the question rules this case out. So the formula never divides by 0.Direction ratios are never all zero (Section 11.2). Basics: direction ratiosFind the angle
so .
0 divided by a positive number is 0. The formula gives the acute (or right) angle, , and in that range only at . This is condition (i) of Section 11.4: the lines are perpendicular. We never needed the lengths, only the fact that they are not 0.Section 11.4, the angle formula and condition (i). Lesson: perpendicular linesWhy it always works
The second direction is a cross product:
The middle term is . So the second line points along , and a cross product is perpendicular to each of its two factors, in particular to the first line's direction. The question is built so that the answer is whatever , , are. It also shows when it fails: if , the two factors are parallel and the cross product is .The cross product is perpendicular to both factors (Section 10.6.3). Basics: a⃗ × b⃗ stands up from both
: the lines are perpendicular, for every , , (not all equal).
(Textbook answer: .)
, , : the second set is , and .
, , : the second set is , and .
, , : the second set is , and .
- Pairing the wrong ratios, for example . Keep the order: with , with , with .
- Sign slips while expanding: and .
- Reading as . ; means .
- Trying special numbers instead of a proof. One example such as does not show the answer for all ; the expansion in Step 2 does.
- If , the lines are perpendicular; the lengths are not needed (only that they are not 0).
- With letters, expand and collect: here the six terms cancel in pairs, for every .
- is the cross product of with , so it is always perpendicular to .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Direction ratios; they are never all 0 | Steps 1, 3 | Section 11.2 (Basics) |
| is the dot product of the two directions | Step 2 | Section 10.6.1 (Basics) |
| The angle between two lines from their direction ratios; perpendicular when | Steps 3, 4 | Section 11.4, equation (1) and condition (i) (Lesson) |
| The cross product as a determinant; it is perpendicular to both factors | Step 5 | Section 10.6.3 (Basics) |
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 →