trigidentity.com

Sum and difference identities · trigonometric identity

tan A + tan B = sin(A + B) / (cos A cos B) — Tangent sum as a single fraction

tan A + tan B = sin(A + B) / (cos A cos B)

When to use it

When a sum of two tangents has to become one fraction — standard in verification exercises, because the right side collapses two terms into one.

Why it is true

Write both tangents over their own cosines, take the common denominator cos A cos B, and the numerator is exactly the sine sum formula.

The full line-by-line version is on the proof page for tangent sum as a single fraction; the “how would I find this myself” version is in the derivation.

Where it comes from

Ask what the numerator wants to be. If a verification problem hands you tan A + tan B and asks for a single sine over a product of cosines, the middle step is always the common denominator.

  1. Target numerator: sin(A + B)
    What the exercise asks for.
  2. Expand the target: sin A cos B + cos A sin B
    That is exactly what a common denominator produces. · Sine of a sum
  3. So the route is: quotient, then common denominator
    Conclusion.

Worked examples

Checked at these angles

Two sides of the identity evaluated with the same engine that runs the verifier. A single line disagreeing would break the build.

Both sides evaluated at the same angles — left side tan(A) + tan(B), right side sin(A + B) / (cos(A)cos(B)).
AngleLeft sideRight sideAgree
0°0.1583840.158384yes
7.5°0.3579290.357929yes
15°0.5641630.564163yes
18°0.6498390.649839yes
22.5°0.7831330.783133yes
30°1.0225791.022579yes
37°1.2741211.274121yes
45°1.6128011.612801yes
53°2.0403382.040338yes
60°2.5418352.541835yes
67.5°3.3386043.338604yes
75°4.7858314.785831yes
120°0.8730380.873038yes
135°3.16533.1653yes
150°8.9370148.937014yes
180°-6.313752-6.313752yes
210°-1.668687-1.668687yes
240°0.4971540.497154yes
300°-2.115915-2.115915yes
330°-0.682455-0.682455yes
360°0.1583840.158384yes

The mistake students make

Reversing it blindly: the identity needs both cosines non-zero, and it silently fails at A or B = 90°.

Try it

Category hub: Sum and difference identities · all identities: /identities

sampled at 800 random anglesSource: OpenStax Precalculus, Ch. 7.2–7.3 · Paul's Online Math Notes · revised 2026-09-26 ·how we check ·accuracy policy ·report an error