Q.Find the angle between the lines whose direction ratios are and .
Concept understanding — Angle Between Two Lines
Angle Between Two Lines – From Intuition to Precision
When you think of two lines crossing each other, the first thing you notice is how "wide" or "narrow" the opening between them is. That opening is the angle between the lines. If you hold two pens and let them cross, the smaller turn you make to bring one pen onto the other is the angle between them.
But here's the key: two intersecting lines actually make four angles — two acute (sharp) and two obtuse (wide), or all four right angles if they are perpendicular. By convention, when we say "the angle between two lines," we always mean the smaller (acute) angle, which lies between and . If the lines are parallel, the angle is ; if they are perpendicular, it is .
The Geometry of Slopes
Every non-vertical line in the coordinate plane has a slope , which tells you how steep it is. The slope is the tangent of the angle the line makes with the positive -axis. So if a line makes an angle with the -axis, then .
Now imagine two lines with slopes and . They make angles and with the -axis. The angle between the lines themselves is simply the difference between these two angles: .
Here is the acute angle between the two lines. The absolute value ensures we get the smaller angle. The denominator comes from the tangent subtraction formula: .
Why the Formula Works
Suppose line has slope and line has slope . The angle between them is . Using the tangent subtraction identity:
The absolute value guarantees we take the acute angle. If , the denominator is zero, meaning is undefined — that happens when , i.e., the lines are perpendicular.
If , do not use the formula directly. The lines are perpendicular, so . The formula simply tells you the angle is by giving an undefined tangent.
Special Cases
- Parallel lines: . Then numerator is zero, so , giving .
- Perpendicular lines: . Then denominator is zero, so .
- One vertical line: A vertical line has no defined slope (infinite). If one line is vertical, the angle between it and a line of slope is (or its complement). The formula above does not apply directly; you handle this case separately.
A Quick Example
Find the acute angle between the lines and .
Here , .
So , which means .
Always check if the denominator is zero first. If it is, the answer is and you're done. If not, plug into the formula.
The Big Picture
The angle between two lines is a measure of their relative orientation. The formula is your tool for finding it when you have slopes. It comes directly from the geometry of angles and the tangent subtraction identity — nothing more than that.
The acute angle between two lines with slopes and is given by , with when .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.