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 0∘ and 90∘. If the lines are parallel, the angle is 0∘; if they are perpendicular, it is 90∘.
The Geometry of Slopes
Every non-vertical line in the coordinate plane has a slopem, which tells you how steep it is. The slope is the tangent of the angle the line makes with the positive x-axis. So if a line makes an angle θ with the x-axis, then m=tanθ.
Now imagine two lines with slopes m1 and m2. They make angles θ1 and θ2 with the x-axis. The angle between the lines themselves is simply the difference between these two angles: ∣θ1−θ2∣.
tanϕ=1+m1m2m1−m2
Here ϕ is the acute angle between the two lines. The absolute value ensures we get the smaller angle. The denominator 1+m1m2 comes from the tangent subtraction formula: tan(θ1−θ2)=1+tanθ1tanθ2tanθ1−tanθ2.
Why the Formula Works
Suppose line L1 has slope m1=tanθ1 and line L2 has slope m2=tanθ2. The angle between them is ϕ=∣θ1−θ2∣. Using the tangent subtraction identity:
The absolute value guarantees we take the acute angle. If 1+m1m2=0, the denominator is zero, meaning tanϕ is undefined — that happens when ϕ=90∘, i.e., the lines are perpendicular.
Watch out
If 1+m1m2=0, do not use the formula directly. The lines are perpendicular, so ϕ=90∘. The formula simply tells you the angle is 90∘ by giving an undefined tangent.
Special Cases
Parallel lines: m1=m2. Then numerator is zero, so tanϕ=0, giving ϕ=0∘.
Perpendicular lines: m1m2=−1. Then denominator is zero, so ϕ=90∘. …
Concept: Two lines equally inclined to a third line make equal angles with it, so the tangent of the angle between each pair has the same absolute value.
The angle between two lines with slopes m1 and m2 is given by tanθ=1+m1m2m1−m2.
For the first line y=3x+1, slope m1=3. For the second line 2y=x+3, rewrite as y=2x+23, so slope m2=21.
Since both lines are equally inclined to y=mx+4:
1+3m3−m=1+2m21−m
Simplify the right side: 22+m21−2m=2+m1−2m.
Equating the tangents of the angles each line makes with y=mx+4 gives 7m2−2m−7=0, so m=71±52.
Concept: "equally inclined"
Two lines are equally inclined to a third line when they make equal-magnitude angles with it. The angle θ between lines of slopes m1 and m2 satisfies
tanθ=1+m1m2m1−m2.
So the angle between y=mx+4 and the first line equals the angle between y=mx+4 and the second line.
Step-by-step solution
Slopes.y=3x+1 has slope 3; 2y=x+3⇒y=21x+23 has slope 21; y=mx+4 has slope m.