# Difference Formula for Cosine

Difference Formula for Cosine

The difference formula for cosine states that .

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

All triangle hypotenuses in the above figures are of unit length, so that the sines and cosines are simply the adjacent or opposite sides of their triangles relative to the angles , , or . The gray areas on the left and right equal the left and right sides of the formula. The angle at the black dot on the left is equal to , so the dashed line (and thus the gray area) is the sine of this angle, which is equal to by one of the cofunction identities.

A

B

A+B

π/2-(A-B)

cos(A-B)

When , setting , the formula reduces to , which is essentially Pythagoras' theorem.

A=B

x=2A

1=(x)+(x)

2

cos

2

sin

When , the formula reduces to the double-angle formula for cosine, .

B=-A

cos(2A)=(A)-(A)

2

cos

2

sin