Example 7: Angle between lines along and
Find the angle between the pair of lines given by
and
Here and .
The angle between the lines is given by
.
Want the reason behind every step, the basics and the checks?
The angle between two lines is the angle between their directions. The points the lines pass through do not matter. So read off the direction vectors and and use the dot product: , where the modulus makes the acute angle.
- Given
- Two lines and with and .
- To find
- The angle between the lines.
- Plan
- (1) Read off , . (2) Write the formula for . (3) Compute the dot product. (4) Compute the two lengths. (5) Divide and name . (6) Check with .
Basics you need
In , the vector multiplied by the parameter is the direction ; the other one, , is a point of the line (Section 11.3.1). Basics: go to A, then walk λ copies of b
(Section 10.6.1). Basics: the dot product
If is the acute angle between and , then (Section 11.4). Lesson: the angle between two lines
Solution
Read off the directions
Comparing with and :
The vectors multiplied by and are the directions. The other parts, and , only say where each line is; moving a line parallel to itself does not change its angle with another line (the Note in Section 11.4: we may use parallel lines through the origin instead).The formula
Oblique projection, not to scale, so the angle drawn is not the true size. Unit arrows from along and : the angle between the lines is the angle between these directions. The dot product gives of the angle between the two vectors. Two lines make two angles, and ; the modulus picks the acute one, which is the angle between the lines as the book defines it.The dot product
Multiply matching components and add, because and the dot product of two different unit vectors among is 0.The two lengths
Square each component, add, take the square root. Both sums are perfect squares here, which is why the answer comes out as a simple fraction.Length of a vector in space. Basics: Pythagoras twiceDivide and name the angle
, so is a genuine angle between and : the acute angle we want. It is not a standard angle, so it is left in the form , as in the book.Check with
Then .
The cross product gives , so it measures the same angle a second way; this is the vector form of equation (2) of Section 11.4. The components are , and . The two results fit together exactly.(Section 10.6.3). Basics: the cross product
The angle between the lines is .
(Textbook answer: .)
, so , an acute angle. Also , and the squares and add up to 1.
- Using the position vectors. and are points, not directions; they play no part in the angle.
- Forgetting a square root. , not 9.
- Dropping the modulus. Without it, a negative dot product would give the obtuse angle, which is not the angle between the lines.
- Angle between lines = angle between their direction vectors; ignore the points.
- gives the acute angle.
- is a good check.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| In , is the direction | Step 1 | Section 11.3.1 (Basics) |
| Lines not through the origin may be replaced by parallel lines through it | Step 1 | Note in Section 11.4 |
| , acute | Steps 2, 5 | Section 11.4 and Fig 11.4; the text there calls the figure Fig 11.6, a slip for Fig 11.4 (Lesson) |
| Step 3 | Section 10.6.1 (Basics) | |
| ; determinant form of | Step 6 | 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 →