trigidentity.com

Sum and difference identities · trigonometric identity

cos(A + B) = cos A cos B − sin A sin B — Cosine of a sum

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

When to use it

Expanding a cosine of a sum — and the reason cos 2A and the power-reducing formulas look the way they do. The sign here is minus, which surprises most students the first time.

Why it is true

Same rotation as the sine version, but read the horizontal coordinate: x cos B − y sin B with (x, y) = (cos A, sin A).

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

Where it comes from

Derive the double-angle formula from it. Setting B = A is the standard route to cos 2A, and from there to the three cosine double-angle forms.

  1. cos(A + B) = cos A cos B − sin A sin B
    Start. · Cosine of a sum
  2. B = A
    Specialise.
  3. cos 2A = cos²A − sin²A
    Multiply matching functions. · Double-angle identity for cosine (form 1)

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 cos(A + B), right side cos(A)cos(B) - sin(A)sin(B).
AngleLeft sideRight sideAgree
0°0.9876880.987688yes
7.5°0.9381910.938191yes
15°0.852640.85264yes
18°0.8090170.809017yes
22.5°0.7343230.734323yes
30°0.5877850.587785yes
37°0.4305110.430511yes
45°0.2334450.233445yes
53°0.0261770.026177yes
60°-0.156434-0.156434yes
67.5°-0.346117-0.346117yes
75°-0.522499-0.522499yes
90°-0.809017-0.809017yes
120°-0.987688-0.987688yes
135°-0.85264-0.85264yes
150°-0.587785-0.587785yes
180°0.1564340.156434yes
210°0.8090170.809017yes
240°0.9876880.987688yes
270°0.5877850.587785yes
300°-0.156434-0.156434yes
330°-0.809017-0.809017yes
360°-0.987688-0.987688yes

The mistake students make

Keeping the plus sign. cos(A + B) has a minus in the middle, while sin(A + B) has a plus. Sine 'copies' the sign; cosine 'opposes' it.

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