Skip to main content

Product-to-sum and sum-to-product identities for trigonometric expressions

Syllabus dot point

“Use the product-to-sum and sum-to-product identities to simplify trigonometric expressions and integrals”

HSCMaths Extension 1Trigonometric Functions (ME-T1, T2, T3)14 min read

Quick answer

Product-to-sum identities convert sin⁡Acos⁡B\sin A \cos B, cos⁡Acos⁡B\cos A \cos B and sin⁡Asin⁡B\sin A \sin B into halves of sums or differences of sin⁡\sin or cos⁡\cos of A±BA \pm B (use these to integrate); the sum-to-product converses turn sin⁡P±sin⁡Q\sin P \pm \sin Q and cos⁡P±cos⁡Q\cos P \pm \cos Q into doubled products of sin⁡\sin and cos⁡\cos of P±Q2\frac{P \pm Q}{2} (use these to solve equations, since a product is zero exactly when a factor is zero).

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

NESA wants you to convert products like sin⁡Acos⁡B\sin A \cos B into sums (and vice versa) using the standard product-to-sum and sum-to-product identities. The reason this matters is mechanical but important: a product of two trig functions has no antiderivative as it stands, but a sum of single sinusoids integrates term by term, and a sum equals zero is hard to solve, but a product equals zero splits into easy pieces. So the identities are the bridge that turns an intractable integral into an easy one, and an awkward equation into a factored one. Knowing which direction to travel is the real skill.

The answer

The four product-to-sum identities

These come from adding or subtracting the sum and difference identities:

sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)],\sin A \cos B = \tfrac{1}{2}\bigl[\sin(A + B) + \sin(A - B)\bigr],

cos⁡Asin⁡B=12[sin⁡(A+B)−sin⁡(A−B)],\cos A \sin B = \tfrac{1}{2}\bigl[\sin(A + B) - \sin(A - B)\bigr],

cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)],\cos A \cos B = \tfrac{1}{2}\bigl[\cos(A - B) + \cos(A + B)\bigr],

sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)].\sin A \sin B = \tfrac{1}{2}\bigl[\cos(A - B) - \cos(A + B)\bigr].

A useful summary: a sin⁡cos⁡\sin\cos product gives sines of the sum and difference; the two cos⁡cos⁡\cos\cos/sin⁡sin⁡\sin\sin products give cosines, with cos⁡cos⁡\cos\cos keeping the plus and sin⁡sin⁡\sin\sin flipping to a minus (difference of cosines).

Where they come from

Add sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B\sin(A + B) = \sin A \cos B + \cos A \sin B and sin⁡(A−B)=sin⁡Acos⁡B−cos⁡Asin⁡B\sin(A - B) = \sin A \cos B - \cos A \sin B. The cos⁡Asin⁡B\cos A \sin B terms cancel, leaving sin⁡(A+B)+sin⁡(A−B)=2sin⁡Acos⁡B\sin(A + B) + \sin(A - B) = 2\sin A\cos B; divide by 22 to get the first identity. Subtracting the same two isolates 2cos⁡Asin⁡B2\cos A\sin B. Adding the two cosine identities gives 2cos⁡Acos⁡B2\cos A\cos B; subtracting gives −2sin⁡Asin⁡B-2\sin A\sin B. Knowing this derivation means you never have to trust a half-remembered sign: you can rebuild any of the four in a few lines.

Sum-to-product (the converses)

Let A+B=PA + B = P and A−B=QA - B = Q, so A=P+Q2A = \frac{P + Q}{2} and B=P−Q2B = \frac{P - Q}{2}. Substituting turns each product-to-sum identity around:

sin⁡P+sin⁡Q=2sin⁡P+Q2cos⁡P−Q2,\sin P + \sin Q = 2 \sin \frac{P + Q}{2} \cos \frac{P - Q}{2},

sin⁡P−sin⁡Q=2cos⁡P+Q2sin⁡P−Q2,\sin P - \sin Q = 2 \cos \frac{P + Q}{2} \sin \frac{P - Q}{2},

cos⁡P+cos⁡Q=2cos⁡P+Q2cos⁡P−Q2,\cos P + \cos Q = 2 \cos \frac{P + Q}{2} \cos \frac{P - Q}{2},

cos⁡P−cos⁡Q=−2sin⁡P+Q2sin⁡P−Q2.\cos P - \cos Q = -2 \sin \frac{P + Q}{2} \sin \frac{P - Q}{2}.

Every product-to-sum identity has a 12\tfrac{1}{2} out front; every sum-to-product identity has a 22.

What sum-to-product looks like: superposition

The sum-to-product identities have a vivid meaning. Add two sine waves of nearby frequencies, say sin⁡5x+sin⁡3x\sin 5x + \sin 3x.

Stage 1: the two sines to be addedTwo sine waves, sine 5 x and sine 3 x, plotted over 0 to 2 pi.xπ2πsin 5xsin 3x

Their sum is a single, more complicated-looking wave.

Stage 2: their sumAdding the two sines gives a more complicated wave, sine 5 x plus sine 3 x.xπ2πsin 5x + sin 3x

But the identity sin⁡5x+sin⁡3x=2sin⁡4xcos⁡x\sin 5x + \sin 3x = 2\sin 4x\cos x tells you that this wave is really a fast carrier sin⁡4x\sin 4x (the average frequency) riding inside a slow envelope ±2cos⁡x\pm 2\cos x (set by the half-difference frequency). The wave hugs the envelope at its crests and pinches to zero where the envelope crosses zero, the "beats" you hear when two close musical notes sound together.

Stage 3: the sum is a productThe same wave equals 2 sine 4 x times cosine x. The fast carrier sine 4 x is bounded by the slow envelope plus or minus 2 cosine x.xπ2πenvelope ±2 cos x2 sin 4x cos x

You are not examined on beats, but seeing the product structure makes the identity memorable: a sum of two waves is a product of a carrier and an envelope.

Key fact

Product to sum (for integrating): each product becomes a half-sum,

sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)],cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)],sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)].\sin A\cos B = \tfrac12[\sin(A{+}B) + \sin(A{-}B)], \quad \cos A\cos B = \tfrac12[\cos(A{-}B)+\cos(A{+}B)], \quad \sin A\sin B = \tfrac12[\cos(A{-}B)-\cos(A{+}B)].

Sum to product (for solving): each sum becomes a doubled product, e.g. sin⁡P+sin⁡Q=2sin⁡P+Q2cos⁡P−Q2\sin P + \sin Q = 2\sin\frac{P+Q}{2}\cos\frac{P-Q}{2}. Use product-to-sum to integrate, and sum-to-product to solve an equation (a product is zero exactly when one factor is zero).

When to convert which way

The single most useful judgement in this dot point is the direction:

  • Integration calls for product-to-sum. ∫sin⁡3xcos⁡5x dx\int \sin 3x\cos 5x\,dx has no antiderivative as written; rewrite it as 12[sin⁡8x+sin⁡(−2x)]=12[sin⁡8x−sin⁡2x]\tfrac12[\sin 8x + \sin(-2x)] = \tfrac12[\sin 8x - \sin 2x], which integrates immediately.
  • Equation-solving calls for sum-to-product. sin⁡x+sin⁡3x=0\sin x + \sin 3x = 0 is awkward as a sum, but becomes 2sin⁡2xcos⁡x=02\sin 2x\cos x = 0, which is zero exactly when sin⁡2x=0\sin 2x = 0 or cos⁡x=0\cos x = 0, two easy equations.
  • Simplification can go either way; convert to whichever form reveals structure (a factor, a cancellation, a known value).

How exam questions ask about these identities

  • "Express sin⁡Acos⁡B\sin A\cos B (a product) as a sum": name the matching product-to-sum identity and substitute AA, BB.
  • "By first converting to a sum, evaluate ∫(product) dx\int (\text{product})\,dx": product-to-sum, then integrate each single sinusoid with ∫sin⁡kx dx=−1kcos⁡kx+C\int\sin kx\,dx = -\frac1k\cos kx + C.
  • "Simplify sin⁡P±sin⁡Q\sin P \pm \sin Q / cos⁡P±cos⁡Q\cos P \pm \cos Q": the sum-to-product converse with PP, QQ.
  • "Solve sin⁡mx±sin⁡nx=0\sin mx \pm \sin nx = 0 (or =cos⁡= \cos something)": sum-to-product to factor, then solve each factor with the general solution.
  • "Prove that sin⁡A+sin⁡Bcos⁡A+cos⁡B=tan⁡A+B2\frac{\sin A + \sin B}{\cos A + \cos B} = \tan\frac{A+B}{2}" and similar: apply sum-to-product to top and bottom and cancel.
Exam technique

State the identity you are using before substituting; markers credit the named identity. Keep A+BA + B and A−BA - B in the same units (radians throughout, or degrees throughout). For an integral, do the conversion as a clearly labelled first line, then integrate each term and remember the +C+C. For an equation, after factoring with sum-to-product, solve both factors and apply the general solution to each. Watch the two notorious signs: sin⁡Asin⁡B\sin A\sin B is the difference of cosines 12[cos⁡(A−B)−cos⁡(A+B)]\tfrac12[\cos(A-B)-\cos(A+B)], and cos⁡P−cos⁡Q\cos P - \cos Q carries a leading minus, −2sin⁡P+Q2sin⁡P−Q2-2\sin\frac{P+Q}{2}\sin\frac{P-Q}{2}.

Worked example

Convert a product to a sum using the sine-cosine identity

Express sin⁡3xcos⁡x\sin 3x \cos x as a sum. The relevant identity is sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A \cos B = \tfrac{1}{2}[\sin(A+B) + \sin(A-B)]. Set A=3xA = 3x and B=xB = x, then substitute directly:

sin⁡3xcos⁡x=12[sin⁡(3x+x)+sin⁡(3x−x)]=12[sin⁡4x+sin⁡2x].\sin 3x \cos x = \tfrac{1}{2}[\sin(3x + x) + \sin(3x - x)] = \tfrac{1}{2}[\sin 4x + \sin 2x].

Use the product-to-sum conversion to integrate

Evaluate ∫2sin⁡3xcos⁡x dx\int 2\sin 3x \cos x \, dx. Integrating sin⁡3xcos⁡x\sin 3x \cos x directly is not straightforward, but a sum of single sinusoids integrates term by term. Multiply the product-to-sum result from above by 22:

2sin⁡3xcos⁡x=sin⁡4x+sin⁡2x.2\sin 3x \cos x = \sin 4x + \sin 2x.

Now integrate each term, recalling that ∫sin⁡(kx) dx=−1kcos⁡(kx)+C\int \sin(kx)\, dx = -\frac{1}{k}\cos(kx) + C:

∫(sin⁡4x+sin⁡2x) dx=−14cos⁡4x−12cos⁡2x+C.\int (\sin 4x + \sin 2x)\, dx = -\frac{1}{4}\cos 4x - \frac{1}{2}\cos 2x + C.

Convert a sum to a product for simplification

Simplify sin⁡5x+sin⁡3x\sin 5x + \sin 3x. The sum-to-product identity is sin⁡P+sin⁡Q=2sin⁡P+Q2cos⁡P−Q2\sin P + \sin Q = 2\sin\frac{P+Q}{2}\cos\frac{P-Q}{2}. Set P=5xP = 5x and Q=3xQ = 3x:

P+Q2=4x,P−Q2=x,sin⁡5x+sin⁡3x=2sin⁡4xcos⁡x.\frac{P+Q}{2} = 4x, \qquad \frac{P-Q}{2} = x, \qquad \sin 5x + \sin 3x = 2\sin 4x \cos x.

This is exactly the carrier-and-envelope decomposition pictured above: carrier sin⁡4x\sin 4x, envelope ±2cos⁡x\pm 2\cos x.

Turn a sum into a product to solve an equation

Solve cos⁡5x−cos⁡x=0\cos 5x - \cos x = 0 for x∈[0,π]x \in [0, \pi]. Converting to a product lets us split the equation into two simpler ones. Use cos⁡P−cos⁡Q=−2sin⁡P+Q2sin⁡P−Q2\cos P - \cos Q = -2\sin\frac{P+Q}{2}\sin\frac{P-Q}{2} with P=5xP = 5x and Q=xQ = x:

−2sin⁡3xsin⁡2x=0,-2\sin 3x \sin 2x = 0,

so either sin⁡3x=0\sin 3x = 0 or sin⁡2x=0\sin 2x = 0. From 3x=nπ3x = n\pi: x=nπ3x = \frac{n\pi}{3}; in [0,π][0, \pi] this gives 0,π3,2π3,π0, \frac{\pi}{3}, \frac{2\pi}{3}, \pi. From 2x=nπ2x = n\pi: x=nπ2x = \frac{n\pi}{2}; in [0,π][0, \pi] this gives 0,π2,π0, \frac{\pi}{2}, \pi. Taking the union: x=0,π3,π2,2π3,πx = 0, \frac{\pi}{3}, \frac{\pi}{2}, \frac{2\pi}{3}, \pi.

Convert a cosine-cosine product to a sum

Express cos⁡4xcos⁡2x\cos 4x \cos 2x as a sum. Use cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \tfrac{1}{2}[\cos(A-B) + \cos(A+B)] with A=4xA = 4x and B=2xB = 2x:

cos⁡4xcos⁡2x=12[cos⁡(4x−2x)+cos⁡(4x+2x)]=12[cos⁡2x+cos⁡6x].\cos 4x \cos 2x = \tfrac{1}{2}[\cos(4x - 2x) + \cos(4x + 2x)] = \tfrac{1}{2}[\cos 2x + \cos 6x].

Final answer: cos⁡4xcos⁡2x=12(cos⁡2x+cos⁡6x)\cos 4x \cos 2x = \tfrac{1}{2}(\cos 2x + \cos 6x).

Edge cases worth knowing

  • A−BA - B can be negative; that is fine. sin⁡Acos⁡B\sin A\cos B uses A−BA - B even when A<BA < B. Then sin⁡(A−B)=−sin⁡(B−A)\sin(A - B) = -\sin(B - A) tidies the sign cleanly, so do not swap AA and BB mid-identity.
  • Equal arguments recover a double-angle. Setting A=BA = B in sin⁡Acos⁡B\sin A\cos B gives sin⁡Acos⁡A=12sin⁡2A\sin A\cos A = \tfrac12\sin 2A, the double-angle identity. The product-to-sum family contains the double-angle formulas as a special case.
  • A product equal to zero needs every factor. After sum-to-product, both sin⁡P+Q2=0\sin\frac{P+Q}{2}=0 and cos⁡P−Q2=0\cos\frac{P-Q}{2}=0 (or the relevant pair) must be solved; the union, not the intersection, is the answer.
Common traps
Sign mistake in cos⁡P−cos⁡Q\cos P - \cos Q
The sum-to-product identity has a minus sign in front of the 22: cos⁡P−cos⁡Q=−2sin⁡P+Q2sin⁡P−Q2\cos P - \cos Q = -2 \sin \frac{P + Q}{2} \sin \frac{P - Q}{2}.
Mixing up product-to-sum signs
sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A \sin B = \tfrac{1}{2}[\cos(A - B) - \cos(A + B)] is the difference of cosines, in that order. Get the order wrong and you flip the sign.
Using A−BA - B when A<BA < B
sin⁡Acos⁡B\sin A \cos B uses A−BA - B even if that is negative. sin⁡(−θ)=−sin⁡θ\sin(-\theta) = -\sin \theta handles it cleanly.
Forgetting the factor of 12\tfrac{1}{2} or the 22
Every product-to-sum identity has a 12\tfrac{1}{2} out the front; every sum-to-product has a 22.
Inconsistent units inside the identity
A+BA + B and A−BA - B must be evaluated in radians or degrees consistently. Mix the two and the answer is wrong.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC 2022-style2 marks
Express sin⁡4xcos⁡2x\sin 4x \cos 2x as a sum of sines.
Show worked answer →

Use sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A \cos B = \tfrac{1}{2}[\sin(A + B) + \sin(A - B)] with A=4xA = 4x and B=2xB = 2x.

sin⁡4xcos⁡2x=12[sin⁡6x+sin⁡2x]\sin 4x \cos 2x = \tfrac{1}{2}[\sin 6x + \sin 2x].

Markers reward naming the correct identity and substituting AA and BB accurately.

HSC 2020-style3 marks
By first converting to a sum, evaluate ∫sin⁡6xcos⁡2x dx\int \sin 6x \cos 2x \, dx.
Show worked answer →

sin⁡6xcos⁡2x=12[sin⁡8x+sin⁡4x]\sin 6x \cos 2x = \tfrac{1}{2}[\sin 8x + \sin 4x] using sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A \cos B = \tfrac{1}{2}[\sin(A + B) + \sin(A - B)] with A=6xA = 6x, B=2xB = 2x.

∫12[sin⁡8x+sin⁡4x] dx=12[−18cos⁡8x−14cos⁡4x]+C\int \tfrac{1}{2}[\sin 8x + \sin 4x] \, dx = \tfrac{1}{2}\left[-\tfrac{1}{8}\cos 8x - \tfrac{1}{4}\cos 4x\right] + C.

=−116cos⁡8x−18cos⁡4x+C= -\tfrac{1}{16}\cos 8x - \tfrac{1}{8}\cos 4x + C.

Markers reward the product-to-sum conversion and correct integration of each term.

Practise this

Sources & how we know this

ExamExplained