Question
Two lines have slopes and . Find the acute angle between them.
Solution — Step by Step
The angle between two lines with slopes and is given by:
The absolute value ensures we always get the acute angle (the smaller of the two angles formed).
Plug in and :
Work the numerator and denominator separately — this is where most mistakes happen.
Numerator:
Denominator:
The acute angle between the two lines is 45°.
Why This Works
When two lines meet, they form two pairs of vertically opposite angles. One pair is acute (or right), the other is obtuse — they add up to 180°. We always want the acute angle, which is why the formula uses the absolute value.
The formula itself comes from the tangent subtraction identity: . Since slope = of inclination angle, the difference of inclination angles gives us the angle between the lines.
Notice what happens when : the denominator blows up, meaning , so . That’s why the perpendicularity condition is .
Alternative Method
We can verify using direction vectors. Line 1 with slope 2 has direction vector . Line 2 with slope has direction vector .
This gives — same answer. This dot product method is useful when lines are given in vector form, which appears in 3D geometry (a Class 12 extension of this same idea).
Common Mistake
Students often forget the absolute value and compute as a negative number, then get confused when comes out negative or obtuse. The formula gives the tangent of the acute angle — always take the absolute value of the entire expression before finding the inverse tan. If after applying the formula (without mod), it means the angle you computed is obtuse; the acute angle is its supplement.
In JEE Main 2023, this formula appeared in a coordinate geometry question where the angle was given and you had to find an unknown slope — essentially working the formula backwards. Set up and solve the resulting equation in . You’ll get a quadratic, giving two possible slopes (two lines at the same angle to the given line).