Trigonometry
Advanced

Sum to Product: cos A − cos B

Sum-to-product identity.

Formula

cos⁡A−cos⁡B=−2sin⁡A+B2sin⁡A−B2\cos A - \cos B = -2\sin\tfrac{A+B}{2}\sin\tfrac{A-B}{2}

Variables

A,BAngles

How it works

This identity rewrites a difference of two cosines as a product of two sines, which is often easier to simplify or factor. It comes from applying the cosine angle-sum and angle-difference formulas to A = ((A+B)/2)+((A-B)/2) and B = ((A+B)/2)-((A-B)/2), then subtracting the results so the cosine terms cancel and the sine terms combine. The minus sign and the two sine factors reflect that the size of the difference depends on both the average angle and the separation between the angles.

When to use it

Use this when you need to factor expressions like cos A − cos B, especially in trigonometric proofs, equation solving, or simplifying oscillation/wave expressions. It is also useful when A and B are close together, because the formula makes the small-angle behavior of the difference more transparent.

Worked example, step by step

Evaluate cos 110° − cos 50° using the sum-to-product identity. Let A = 110° and B = 50°. cos 110° − cos 50° = -2 sin((110° + 50°)/2) sin((110° - 50°)/2) = -2 sin(160°/2) sin(60°/2) = -2 sin 80° sin 30° = -2 (sin 80°)(1/2) = -sin 80° So, cos 110° − cos 50° = -sin 80° ≈ -0.9848.

Common mistakes to avoid

  • Forgetting the negative sign in front of the 2
  • Mixing up the average angle (A+B)/2 with the half-difference (A−B)/2
  • Using cosine instead of sine in the product after rewriting

Did You Know?

Subtracting two cosines produces a product that engineers exploit in signal demodulation.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026