The third member of the family
You have formulas for sin(a ± b) and cos(a ± b). Since tan θ = sin θ / cos θ, the tangent formula is only a division away:
- tan(a + b) = sin(a + b) / cos(a + b) = (sin a cos b + cos a sin b) / (cos a cos b − sin a sin b)
Now divide every term, top and bottom, by cos a cos b. Each sin/cos pair becomes a tangent:
- top: sin a cos b/(cos a cos b) + cos a sin b/(cos a cos b) = tan a + tan b
- bottom: cos a cos b/(cos a cos b) − sin a sin b/(cos a cos b) = 1 − tan a tan b
So tan(a + b) = (tan a + tan b) / (1 − tan a tan b). Replacing b by −b (tangent is odd) gives tan(a − b) = (tan a − tan b) / (1 + tan a tan b).
Restrictions: tan a and tan b must be defined (a, b ≠ π/2 + kπ), and the denominator cannot be 0. When tan a tan b = 1, the angle a + b is an odd multiple of π/2, where tan(a + b) itself is undefined.
Hands-on activityMeasure the angle between two lines
You need: graph paper (or a sheet you grid with a ruler), a ruler, a protractor, a sharp pencil and a calculator.
- Draw axes. Draw the line y = 3x through (0, 0) and (2, 6), and the line y = x/2 through (0, 0) and (8, 4).
- Measure the angle between them with the protractor. Convert to radians (× π/180).
- Compare with the formula result from Example 5: π/4 ≈ 0.785 rad (45°).
- Now choose your own slopes m₁ and m₂ (both positive, with m₁ > m₂). Predict the angle with tan θ = (m₁ − m₂)/(1 + m₁m₂) and θ = tan⁻¹(...), then draw and measure.
What to look for: your measurement should be within about 2° of 45° for the first pair. For your own pair, measurement and prediction should agree within a couple of degrees. For example, slopes 2 and 1 give tan θ = 1/3, θ ≈ 0.322 rad (about 18.4°).