Sum-to-product: Cosine Explained with Worked Examples

A sum of cosines is a product: .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Sum-to-product: cosine means

Set and in .

It is used to factorise equations such as , giving .

The matching difference formula is . The sine version is sum-to-product: sine, the opposite direction is trig products and sums, and the source is compound angle: cosine.

This page is part of Further calculus in Calculus. Topics that work alongside it: Sum-to-product: sine, Trig products and sums, Compound angle: cosine, Powers of cos and sin in multiple angles, Limits: L’Hôpital’s rule and Reduction formula for ∫ sinⁿx on [0, π/2].

What is it used for?

The sum-to-product identities for cosine turn sums such as cos A + cos B into products: 2 cos((A + B)/2) cos((A − B)/2).

How to use sum-to-product: cosine

  1. Identify and .
  2. Find and .
  3. Write the product.
  4. Solve each factor.

Graph

cos x + cos 3x and 2 cos 2x cos x0123456-2-1.5-1-0.500.511.52cos x + cos 3x and 2 cos 2x cos xxycos x + cos 3x2 cos 2x cos xGraph with x from 0 to 6.3 and y from -2.2 to 2.2. Shows the curve cos x + cos 3x; the curve 2 cos 2x cos x.

The sum of two cosine waves equals the product on the right.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: verify the formula

Check that numerically.

Worked example
Answer
cos⁡P+cos⁡Q=2cos⁡P+Q2cos⁡P−Q2\cos P+\cos Q=2\cos\tfrac{P+Q}{2}\cos\tfrac{P-Q}{2}
  1. Start from the product-to-sum formula
  2. Substitute A = (P+Q)/2, B = (P−Q)/2

Example 2: two angles

Show that .

Worked example
Answer
cos⁡20∘\cos 20^{\circ}
  1. Use the sum-to-product formula
  2. cos 60° = ½

Example 3: solving an equation

Solve for .

Worked example
Answer
x=π4, π2, 3π4x = \tfrac{\pi}{4},\ \tfrac{\pi}{2},\ \tfrac{3\pi}{4}
  1. Sum to product
  2. Solve each factor
  3. The other factor

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

cos π/2 + cos π/6

2 cos(π/3) cos(π/6)

0.8660.

cos 75° + cos 15°

2 cos 45° cos 30°

1.2247.

cos π/6 − cos π/2

−2 sin(π/3) sin(−π/6)

0.8660.

Direct

cos 75° + cos 15°

1.2247.

Word problems

cos P + cos Q = 2 cos((P + Q)/2) cos((P − Q)/2) and cos P − cos Q = −2 sin((P + Q)/2) sin((P − Q)/2).

Sum

cos(π/2) + cos(π/6) = 2 cos(π/3) cos(π/6).

  1. 2 × 0.5 × 0.866
  2. Check: ✓0.866

75° and 15°

2 cos 45° cos 30°.

  1. 2 × 0.7071 × 0.866
  2. Check: ✓1.2247

Difference Higher

cos(π/6) − cos(π/2) = −2 sin(π/3) sin(−π/6).

  1. −2 × 0.866 × (−0.5)
  2. Check: ✓0.866

Direct check Higher

cos 75° + cos 15°.

  1. 0.2588 + 0.9659
  2. Check: ✓1.2247

Common mistakes

Minus sign missing in the difference

2 sin sin ✗

−2 sin sin ✓

Sign.

Sine and cosine mixed up

sin·cos ✗

cos·cos for a sum ✓

Match.

Full angles

P + Q ✗

(P + Q)/2 ✓

Halve.

Missing 2

cos·cos ✗

2 cos cos ✓

Factor.

Exam tips

  1. cosP + cosQ = 2cos½(P+Q)cos½(P−Q).
  2. cosP − cosQ = −2sin½(P+Q)sin½(P−Q).
  3. Half-sum and half-difference.
  4. Check numerically.
  5. Used to solve cos equations.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. cos(π/3) + cos(π/3) Foundation

1

2. cos 0 + cos(π/2) Foundation

1

3. cos(π/2) − cos(π/6) to 4 d.p. Foundation

-0.866

4. cos(5π/6) + cos(π/6) Higher

0

5. cos 60° + cos 20° to 4 d.p. Higher

1.4397

6. cos(π/4) + cos(π/4) to 4 d.p. Higher

1.4142

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Sum-to-product
Sums become products.
Half-sum
(P + Q)/2.
Half-difference
(P − Q)/2.
Factor formula
Another name.
Exact value
Special angle.
Product-to-sum
Reverse.

Frequently asked questions

What is cos P + cos Q?

2 cos((P + Q)/2) cos((P − Q)/2).

What is cos P − cos Q?

−2 sin((P + Q)/2) sin((P − Q)/2).

Why use it?

To factorise and solve equations.

How do I check?

Evaluate both sides.

Which page covers the sine version?

sum to product (sine).

Which page covers powers of cos and sin?

powers of cos and sin.

More in Calculus and the formula sheets.