Find the angle between two lines
For lines with slopes m₁ and m₂, the acute angle θ between them satisfies tan θ = |(m₁ − m₂) / (1 + m₁m₂)|.
This is original written practice with invented slopes. Each angle is checked with direction vectors (1, m₁) and (1, m₂), using cos θ = |u·v| / (|u||v|).
Find tan θ, then check with the dot product
- Work out tan θ = |(m₁ − m₂) / (1 + m₁m₂)|.
- Find θ with the inverse tangent.
- Check: cos θ from the direction vectors must give the same angle.
m₁ = 2, m₂ = 3
tan θ = |(2 − 3) / (1 + 6)| = 1/7, so θ = 8.13°.
Check: Vectors (1, 2) and (1, 3): dot = 7, magnitudes √5 and √10, cos θ = 7 / √50 = 0.990, so θ = 8.13°.
m₁ = 1/2, m₂ = 3
tan θ = |(0.5 − 3) / (1 + 1.5)| = 1, so θ = 45°.
Check: Vectors (2, 1) and (1, 3): dot = 5, cos θ = 5 / (√5 × √10) = 0.7071, so θ = 45°.
m₁ = 1, m₂ = 1/3
tan θ = |(2/3) / (4/3)| = 0.5, so θ = 26.57°.
Check: Vectors (1, 1) and (3, 1): dot = 4, cos θ = 4 / (√2 × √10) = 0.894, so θ = 26.57°.
Counterexample: dropping the absolute value
A student works out the first angle as tan θ = (2 − 3) / 7 = −1/7 and gives θ = −8.13°.
The check fails. The dot-product route gives a positive 8.13°. The formula uses the absolute value for the acute angle.
Try one yourself
Find the acute angle between lines of slope 1 and 3, and check.
Show the worked self-check
tan θ = |(1 − 3) / (1 + 3)| = 0.5, so θ = 26.57°. Check: vectors (1, 1) and (1, 3), dot = 4, cos θ = 4 / (√2 × √10) = 0.894, so θ = 26.57°.
Scope and limits
- The page covers the acute angle between two non-vertical lines with the slopes given.
- It does not cover vertical lines, the line equations or the obtuse angle.
- The slopes are invented, and the questions are practice, not an exam key.
- Every angle is checked with direction vectors.
Common questions
What if the product of the two slopes is −1?
Then the lines are perpendicular, and the formula has a zero denominator.
What if the two slopes are equal?
The lines are parallel and the angle is 0.
How do I get the obtuse angle between two lines?
Subtract the acute angle from 180 degrees.
Why use (1, m) as a direction vector?
A line of slope m rises m for each 1 along x.
Sources and scope
Sources checked . They support the tan θ formula and the dot product check. The numbers, worked examples and self-check above are original EZT practice.
- NCERT Class 11 Mathematics: Straight Lines, for the angle between two lines.
- Wikipedia: Dot product, for cos θ from direction vectors.
Read the Class 11 straight lines chapterBrowse tuition and practice pages