Example 8: Angle between two lines in Cartesian form, direction ratios and
Find the angle between the pair of lines
and
The direction ratios of the first line are and of the second line . If is the angle between them, then
The required angle is .
Want the reason behind every step, the basics and the checks?
In the Cartesian form , the denominators are the direction ratios. The angle between two lines depends only on their directions, so the Cartesian angle formula uses the two sets of denominators and nothing else.
- Given
- Two lines in Cartesian form, with denominators and .
- To find
- The angle between them.
- Plan
- (1) Read off the direction ratios. (2) Write the formula for . (3) Compute the top. (4) Compute the bottom. (5) Simplify and name . (6) Check with .
Basics you need
The line passes through and has direction ratios (Section 11.3.1). A numerator means . Basics: a line is a point plus a direction
For lines with direction ratios and , the acute angle between them has
(Section 11.4). Lesson: the angle between two lines
The top is the dot product of and ; the bottom is the product of their lengths. Basics: the dot product
and ; to rationalise, multiply top and bottom by .
Solution
Read off the direction ratios
First line: . Second line: .
Each line is already in the form , with coefficient 1 in front of , and in every numerator, so the denominators can be read off directly. The numerators only give the points and on the lines, which do not affect the angle.Cartesian equation (3) of Section 11.3.1. Basics: point plus directionThe formula
Oblique projection, not to scale, so the angle drawn is not the true size. Unit arrows from along the direction ratios and ; the angle between the lines is the angle between these directions. This is the dot product formula written with components, for and . The modulus gives the acute angle.Section 11.4, Cartesian form of the angle between two lines. Lesson: compare the directionsThe top
Multiply matching direction ratios and add. The book writes this as , where the dot means "times".The bottom
These are the lengths of the two direction vectors. simplifies because and ; does not simplify.Length of a vector. Basics: Pythagoras in 3DSimplify and name the angle
So .
, so the bottom is . Cancelling 2 gives , and multiplying top and bottom by gives . This number is positive and less than 1 (since ), so is a genuine acute angle.Principal value of ; positive argument, acute angle. Lesson: Examples 7–8Check with
By equation (2) of Section 11.4, with , and :
Then .
The three brackets are the components of the cross product of the direction vectors, so this measures the same angle with instead of . , and . The two answers agree.
The angle between the lines is .
(Textbook answer: .)
and , so , and too. So .
. The squares are and , which add up to 1.
- Using the numerators. and are coordinates of points on the lines, not directions.
- Simplifying wrongly. It is , not .
- Stopping at . It is correct but unsimplified; the expected form is .
- In Cartesian form, the denominators are the direction ratios; the numerators give a point.
- Top: multiply matching direction ratios and add, then take the modulus. Bottom: the product of the two lengths .
- Simplify the surds and rationalise the denominator in the final answer.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| The denominators of the Cartesian form are direction ratios | Step 1 | Section 11.3.1, equation (3) (Basics) |
| Angle between lines from their direction ratios, acute | Steps 2 to 5 | Section 11.4, equation (1) and its Cartesian form (Lesson) |
| by equation (2) | Step 6 | Section 11.4, equation (2) (Basics) |
| Dot product in components | Step 3 | Section 10.6.1 (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 →