trigidentity.com

Sum and difference identities · trigonometric identity

sin(A − B) = sin A cos B − cos A sin B — Sine of a difference

sin(A − B) = sin A cos B − cos A sin B

When to use it

Same family with a minus. It is the sum formula with B replaced by −B, so the second term changes sign — handy for exact values like sin 15° = sin(45° − 30°).

Why it is true

Put −B in place of B in the sum formula and use that sine is odd while cosine is even: the first term keeps its sign, the second flips.

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

Where it comes from

Remember one formula, derive the other. There is no need to memorise the sum and difference versions separately — the sign of the middle term follows from the sign inside the angle.

  1. Sum version has '+' on both sides
    sin(A + B) = … + …
  2. Difference version flips the second term
    Replace B by −B.
  3. Mnemonic: sine keeps the sign
    sin(A ± B) = … ± … mirrors the sign inside.

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 sin(A - B), right side sin(A)cos(B) - cos(A)sin(B).
AngleLeft sideRight sideAgree
0°-0.156434-0.156434yes
7.5°-0.091502-0.091502yes
15°-0.026177-0.026177yes
18°00yes
22.5°0.039260.03926yes
30°0.1045280.104528yes
37°0.1650480.165048yes
45°0.2334450.233445yes
53°0.3007060.300706yes
60°0.3583680.358368yes
67.5°0.418660.41866yes
75°0.4771590.477159yes
90°0.5877850.587785yes
120°0.7771460.777146yes
135°0.852640.85264yes
150°0.9135450.913545yes
180°0.9876880.987688yes
210°0.9945220.994522yes
240°0.933580.93358yes
270°0.8090170.809017yes
300°0.629320.62932yes
330°0.4067370.406737yes
360°0.1564340.156434yes

The mistake students make

Flipping the wrong term. Only the second product changes sign; sin A cos B stays positive.

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