Lesson 5 of 8 · 24 min

Sum, difference and product identities

Prove and use the identities for sin⁡(A±B)\sin(A \pm B) and cos⁡(A±B)\cos(A \pm B), find exact values such as sin⁡(75∘)\sin(75^\circ), and turn products of sines and cosines into sums.

What you will be able to do

  • Prove cos⁡(A−B)=cos⁡(A)cos⁡(B)+sin⁡(A)sin⁡(B)\cos(A - B) = \cos(A)\cos(B) + \sin(A)\sin(B) and derive the other three sum and difference identities from it.
  • Find exact values at angles such as π12\frac{\pi}{12} and 7π12\frac{7\pi}{12}.
  • Find sin⁡(A±B)\sin(A \pm B) and cos⁡(A±B)\cos(A \pm B) from ratios of AA and BB and their quadrants.
  • Prove and apply the identities that write products of sines and cosines as sums and differences.

Is sin⁡(x+b)\sin(x + b) the same as sin⁡(x)+sin⁡(b)\sin(x) + \sin(b)? It is tempting: brackets usually "multiply out". Try it with the sliders. The red curve is the tempting guess; the green curve is the real identity.

Interactive

Does sine distribute?

For every bb, the green curve lies exactly on y=sin⁡(x+b)y = \sin(x + b). The red one only matches when b=0b = 0.

Key idea

The sum and difference identities

sin⁡(A+B)=sin⁡(A)cos⁡(B)+cos⁡(A)sin⁡(B)sin⁡(A−B)=sin⁡(A)cos⁡(B)−cos⁡(A)sin⁡(B)cos⁡(A+B)=cos⁡(A)cos⁡(B)−sin⁡(A)sin⁡(B)cos⁡(A−B)=cos⁡(A)cos⁡(B)+sin⁡(A)sin⁡(B)\begin{aligned} \sin(A + B) &= \sin(A)\cos(B) + \cos(A)\sin(B) \\ \sin(A - B) &= \sin(A)\cos(B) - \cos(A)\sin(B) \\ \cos(A + B) &= \cos(A)\cos(B) - \sin(A)\sin(B) \\ \cos(A - B) &= \cos(A)\cos(B) + \sin(A)\sin(B) \end{aligned}

Sine keeps the sign and mixes the functions; cosine pairs like with like and flips the sign.

The chord PQPQ worked out two ways gives cos⁡(A−B)\cos(A - B).

Proof of cos(A − B), and the other three from it

Distance formula. With P(cos⁡(A),sin⁡(A))P(\cos(A), \sin(A)) and Q(cos⁡(B),sin⁡(B))Q(\cos(B), \sin(B)),

PQ2=(cos⁡(A)−cos⁡(B))2+(sin⁡(A)−sin⁡(B))2=cos⁡2(A)+sin⁡2(A)+cos⁡2(B)+sin⁡2(B)−2cos⁡(A)cos⁡(B)−2sin⁡(A)sin⁡(B)=2−2(cos⁡(A)cos⁡(B)+sin⁡(A)sin⁡(B))\begin{aligned} PQ^2 &= (\cos(A) - \cos(B))^2 + (\sin(A) - \sin(B))^2 \\ &= \cos^2(A) + \sin^2(A) + \cos^2(B) + \sin^2(B) - 2\cos(A)\cos(B) - 2\sin(A)\sin(B) \\ &= 2 - 2\left(\cos(A)\cos(B) + \sin(A)\sin(B)\right) \end{aligned}

Cosine rule. In triangle OPQOPQ, OP=OQ=1OP = OQ = 1 and the angle at OO is A−BA - B (or 2π−(A−B)2\pi - (A - B), which has the same cosine), so

PQ2=12+12−2(1)(1)cos⁡(A−B)=2−2cos⁡(A−B)PQ^2 = 1^2 + 1^2 - 2(1)(1)\cos(A - B) = 2 - 2\cos(A - B)

Equating the two gives cos⁡(A−B)=cos⁡(A)cos⁡(B)+sin⁡(A)sin⁡(B)\cos(A - B) = \cos(A)\cos(B) + \sin(A)\sin(B).

The rest. Replace BB by −B-B, using cos⁡(−B)=cos⁡(B)\cos(-B) = \cos(B) and sin⁡(−B)=−sin⁡(B)\sin(-B) = -\sin(B):

cos⁡(A+B)=cos⁡(A)cos⁡(B)−sin⁡(A)sin⁡(B)\cos(A + B) = \cos(A)\cos(B) - \sin(A)\sin(B)

Use sin⁡(θ)=cos⁡(π2−θ)\sin(\theta) = \cos\left(\frac{\pi}{2} - \theta\right):

sin⁡(A+B)=cos⁡((π2−A)−B)=cos⁡(π2−A)cos⁡(B)+sin⁡(π2−A)sin⁡(B)=sin⁡(A)cos⁡(B)+cos⁡(A)sin⁡(B)\sin(A + B) = \cos\left(\left(\tfrac{\pi}{2} - A\right) - B\right) = \cos\left(\tfrac{\pi}{2} - A\right)\cos(B) + \sin\left(\tfrac{\pi}{2} - A\right)\sin(B) = \sin(A)\cos(B) + \cos(A)\sin(B)

and replacing BB by −B-B once more gives sin⁡(A−B)=sin⁡(A)cos⁡(B)−cos⁡(A)sin⁡(B)\sin(A - B) = \sin(A)\cos(B) - \cos(A)\sin(B). ■\blacksquare

New exact values. Any angle you can build from π6\frac{\pi}{6}, π4\frac{\pi}{4} and π3\frac{\pi}{3} by adding or subtracting now has an exact value. For example π12=π3−π4\frac{\pi}{12} = \frac{\pi}{3} - \frac{\pi}{4} (that is, 15∘=60∘−45∘15^\circ = 60^\circ - 45^\circ) and 7π12=π3+π4\frac{7\pi}{12} = \frac{\pi}{3} + \frac{\pi}{4} (105∘105^\circ).

Worked example

Find the exact value of cos⁡(7π12)\cos\left(\frac{7\pi}{12}\right)

  • Simple familiar
  • Technology free

Use a compound-angle identity to find the exact value of cos⁡(7π12)\cos\left(\frac{7\pi}{12}\right).

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write the angle as a sum or difference of π6\frac{\pi}{6}, π4\frac{\pi}{4}, π3\frac{\pi}{3} (or their multiples).

  2. Apply the matching identity and substitute exact values.

  3. Check the sign against the quadrant.

Watch out for

  • Writing cos⁡(π3)+cos⁡(π4)\cos\left(\frac{\pi}{3}\right) + \cos\left(\frac{\pi}{4}\right): cosine does not distribute.

  • Using ++ between the products in cos⁡(A+B)\cos(A + B).

Find the exact value of sin⁡(15∘)\sin(15^\circ).

Reads asYour answer shows here as maths.

Combining two angles. If you know a ratio of each angle and its quadrant, find the missing sin⁡\sin or cos⁡\cos of each (Pythagoras, with the sign from the quadrant), then substitute.

Worked example

Find sin⁡(A+B)\sin(A + B) and cos⁡(A+B)\cos(A + B) from two ratios

  • Complex familiar
  • Technology free

Given sin⁡(A)=35\sin(A) = \frac{3}{5} with 0<A<π20 < A < \frac{\pi}{2}, and cos⁡(B)=−513\cos(B) = -\frac{5}{13} with π2<B<π\frac{\pi}{2} < B < \pi, find the exact values of sin⁡(A+B)\sin(A + B) and cos⁡(A+B)\cos(A + B), and hence state the quadrant of A+BA + B.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Find the missing sin⁡\sin or cos⁡\cos of each angle with sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1.

  2. Take each sign from its quadrant.

  3. Substitute into the identity and simplify; check sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1 for the result.

Watch out for

  • Giving sin⁡(B)\sin(B) a negative sign because cos⁡(B)\cos(B) is negative.

  • Adding the ratios: sin⁡(A+B)≠35+1213\sin(A + B) \ne \frac{3}{5} + \frac{12}{13}.

Common mistake

Check with an easy angle

Unsure of a sign? Put B=0B = 0 (or A=BA = B) into your formula. cos⁡(A+B)=cos⁡(A)cos⁡(B)−sin⁡(A)sin⁡(B)\cos(A + B) = \cos(A)\cos(B) - \sin(A)\sin(B) with B=AB = A gives cos⁡(2A)=cos⁡2(A)−sin⁡2(A)\cos(2A) = \cos^2(A) - \sin^2(A), and with A=0A = 0 gives cos⁡(B)\cos(B). If your version fails a test like this, the sign is wrong.

Products as sums. Add the identities for sin⁡(A+B)\sin(A + B) and sin⁡(A−B)\sin(A - B): the cos⁡(A)sin⁡(B)\cos(A)\sin(B) terms cancel and

sin⁡(A+B)+sin⁡(A−B)=2sin⁡(A)cos⁡(B)\sin(A + B) + \sin(A - B) = 2\sin(A)\cos(B)

Doing the same with the other pairs gives four product identities. They turn a product, which is hard to integrate or solve, into a sum, which is easy.

Key idea

Products as sums and differences

sin⁡(A)sin⁡(B)=12(cos⁡(A−B)−cos⁡(A+B))cos⁡(A)cos⁡(B)=12(cos⁡(A−B)+cos⁡(A+B))sin⁡(A)cos⁡(B)=12(sin⁡(A+B)+sin⁡(A−B))cos⁡(A)sin⁡(B)=12(sin⁡(A+B)−sin⁡(A−B))\begin{aligned} \sin(A)\sin(B) &= \tfrac{1}{2}\left(\cos(A - B) - \cos(A + B)\right) \\ \cos(A)\cos(B) &= \tfrac{1}{2}\left(\cos(A - B) + \cos(A + B)\right) \\ \sin(A)\cos(B) &= \tfrac{1}{2}\left(\sin(A + B) + \sin(A - B)\right) \\ \cos(A)\sin(B) &= \tfrac{1}{2}\left(\sin(A + B) - \sin(A - B)\right) \end{aligned}
Proofs of the product identities

Each one starts from the right-hand side and uses the sum and difference identities.

12(cos⁡(A−B)−cos⁡(A+B))=12(cos⁡(A)cos⁡(B)+sin⁡(A)sin⁡(B)−cos⁡(A)cos⁡(B)+sin⁡(A)sin⁡(B))=sin⁡(A)sin⁡(B)\frac{1}{2}\left(\cos(A - B) - \cos(A + B)\right) = \frac{1}{2}\left(\cos(A)\cos(B) + \sin(A)\sin(B) - \cos(A)\cos(B) + \sin(A)\sin(B)\right) = \sin(A)\sin(B)

12(cos⁡(A−B)+cos⁡(A+B))=12(2cos⁡(A)cos⁡(B))=cos⁡(A)cos⁡(B)\frac{1}{2}\left(\cos(A - B) + \cos(A + B)\right) = \frac{1}{2}\left(2\cos(A)\cos(B)\right) = \cos(A)\cos(B)

12(sin⁡(A+B)+sin⁡(A−B))=12(2sin⁡(A)cos⁡(B))=sin⁡(A)cos⁡(B)\frac{1}{2}\left(\sin(A + B) + \sin(A - B)\right) = \frac{1}{2}\left(2\sin(A)\cos(B)\right) = \sin(A)\cos(B)

12(sin⁡(A+B)−sin⁡(A−B))=12(2cos⁡(A)sin⁡(B))=cos⁡(A)sin⁡(B)\frac{1}{2}\left(\sin(A + B) - \sin(A - B)\right) = \frac{1}{2}\left(2\cos(A)\sin(B)\right) = \cos(A)\sin(B) ■\qquad\blacksquare

Interactive

A product is a sum of two waves

The solid curve is exactly the sum of the blue and green waves: 2sin⁡(mx)cos⁡(nx)=sin⁡((m+n)x)+sin⁡((m−n)x)2\sin(mx)\cos(nx) = \sin((m + n)x) + \sin((m - n)x).

Write 2sin⁡(5x)cos⁡(3x)2\sin(5x)\cos(3x) in the form sin⁡(ax)+sin⁡(bx)\sin(ax) + \sin(bx), where a>b>0a > b > 0. State aa and bb.

Worked example

Products as sums

  • Simple familiar
  • Technology free

(a) Write 2sin⁡(5x)cos⁡(3x)2\sin(5x)\cos(3x) as a sum of sines. (b) Find the exact value of sin⁡(75∘)cos⁡(15∘)\sin(75^\circ)\cos(15^\circ).

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Match the product to one of the four identities.

  2. Identify AA and BB; work out A+BA + B and A−BA - B.

  3. Use sin⁡(−θ)=−sin⁡(θ)\sin(-\theta) = -\sin(\theta) and cos⁡(−θ)=cos⁡(θ)\cos(-\theta) = \cos(\theta) if A−BA - B comes out negative.

Watch out for

  • Forgetting the factor 12\frac{1}{2} when the product has no 22 in front.

  • Multiplying the angles instead of adding and subtracting them.

Find the exact value of 2cos⁡(5π12)cos⁡(π12)2\cos\left(\frac{5\pi}{12}\right)\cos\left(\frac{\pi}{12}\right).

Exam tip

Formula book, but know which one

All eight identities in this lesson are in the formula book. The marks come from choosing the right one, naming AA and BB, and keeping track of signs. In a "show that" question, write the identity before you substitute into it.

Summary

  • sin⁡(A±B)=sin⁡(A)cos⁡(B)±cos⁡(A)sin⁡(B)\sin(A \pm B) = \sin(A)\cos(B) \pm \cos(A)\sin(B) and cos⁡(A±B)=cos⁡(A)cos⁡(B)∓sin⁡(A)sin⁡(B)\cos(A \pm B) = \cos(A)\cos(B) \mp \sin(A)\sin(B).

  • All four follow from cos⁡(A−B)\cos(A - B), proved by finding a chord of the unit circle two ways.

  • Angles such as π12\frac{\pi}{12} and 5π12\frac{5\pi}{12} get exact values by writing them as sums or differences of special angles.

  • To combine two angles, find the missing ratios with Pythagoras and the quadrant signs, then substitute.

  • Adding or subtracting the sum and difference identities turns products such as 2sin⁡(A)cos⁡(B)2\sin(A)\cos(B) into sums.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 5 of 80% read

Save your progress with a free account