trigidentity.com

Sum and difference identities · trigonometric identity

tan(A + B) = (tan A + tan B) / (1 − tan A tan B) — Tangent of a sum

tan(A + B) = (tan A + tan B) / (1 − tan A tan B)

When to use it

When the problem is written in tangents — slopes of two lines, angles between lines, or exact values like tan 75°. Divide the sine sum by the cosine sum and this is what falls out.

Why it is true

tan = sin/cos. Expand sin(A + B) and cos(A + B), then divide numerator and denominator by cos A cos B; every term becomes a tangent.

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

Where it comes from

Force tangents to appear. The trick is the division by cos A cos B — it is what turns mixed sine/cosine products into tangents.

  1. Every term should become tan
    Goal.
  2. tan = sin/cos needs a cos in the denominator
    So divide by the product cos A cos B.
  3. (sin A cos B)/(cos A cos B) = tan A
    Cancellation, term by term.

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 + B), right side (tan(A) + tan(B)) / (1 - tan(A)tan(B)).
AngleLeft sideRight sideAgree
0°0.1583840.158384yes
7.5°0.3689190.368919yes
15°0.6128010.612801yes
18°0.7265430.726543yes
22.5°0.924390.92439yes
30°1.3763821.376382yes
37°2.0965442.096544yes
45°4.16534.1653yes
53°38.18845938.188459yes
60°-6.313752-6.313752yes
67.5°-2.710619-2.710619yes
75°-1.631852-1.631852yes
120°0.1583840.158384yes
135°0.6128010.612801yes
150°1.3763821.376382yes
180°-6.313752-6.313752yes
210°-0.726543-0.726543yes
240°0.1583840.158384yes
300°-6.313752-6.313752yes
330°-0.726543-0.726543yes
360°0.1583840.158384yes

The mistake students make

Forgetting the denominator. tan(A + B) is not tan A + tan B. Also: the formula is undefined when A + B = 90°, or when the denominator 1 − tan A tan B is zero — same event, described twice.

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