In short
Transformation formulas convert between two forms of the same expression: a sum of trigonometric functions and a product of trigonometric functions. Sum-to-product formulas rewrite \sin C + \sin D as a product. Product-to-sum formulas rewrite \sin A \cos B as a sum. Both directions come directly from the compound angle formulas — by adding or subtracting them.
Here is a curious fact. Take two frequencies and add them:
You could compute this with a calculator: \sin 50° + \sin 10° \approx 0.766 + 0.174 = 0.940. That number is suspiciously close to \sqrt{3}/2 + 1/2... but not quite. It is, however, exactly equal to something clean:
A sum of two sines collapsed into a single cosine. That is not a lucky accident — it is a sum-to-product formula at work. The same trick works for any sum of sines, any sum of cosines, and it works in reverse too: any product of trigonometric functions can be expanded back into a sum.
These two-way conversions are called transformation formulas. They come in two matched sets:
- Sum-to-product formulas convert \sin C + \sin D and \cos C + \cos D (and their differences) into products.
- Product-to-sum formulas convert \sin A \cos B and \cos A \cos B (and \sin A \sin B) into sums.
The sum-to-product direction is useful when you need to factorise or solve equations. The product-to-sum direction is useful when you need to integrate or simplify products. Together, they are the reason trigonometric algebra is not nearly as hard as it first looks.
Both sets come directly from the compound angle formulas — you derive them by adding or subtracting the expansion of \sin(A+B) and \sin(A-B) (or the cosine versions). The derivation is so clean that once you see it, you may find it easier to re-derive the formulas on the spot rather than memorise them.
Sum-to-product: where the formulas come from
The compound angle formulas for sine give you two equations:
Add equations (1) and (2):
Why: the \cos A \sin B terms cancel — one is positive, the other negative. The \sin A \cos B terms survive and double.
Now make a substitution to write this in a more useful form. Let C = A + B and D = A - B. Then:
Substitute:
That is the first sum-to-product formula. The sum of two sines becomes a product of a sine and a cosine, with the arguments being the average and the half-difference of the original angles.
The other three formulas
Subtract equations (1) and (2) instead of adding:
With the same substitution C = A + B, D = A - B:
For cosine, start with the compound angle formulas:
Add (3) and (4):
Why: the \sin A \sin B terms cancel (opposite signs), and the \cos A \cos B terms double.
Substitute C = A + B, D = A - B:
Subtract (3) from (4) (note the order — subtract the addition formula from the subtraction formula to get a positive right side):
Which gives, after rearranging:
The minus sign on the right is not optional — it is built into the algebra. The difference of two cosines produces a negative product of sines.
Why the minus sign? Think about what happens at specific values. Take \cos 0° - \cos 60° = 1 - 1/2 = 1/2 — a positive number. The formula gives -2\sin 30° \sin(-30°) = -2 \cdot (1/2) \cdot (-1/2) = 1/2. The double negative makes it positive. If you dropped the minus sign from the formula, you would get -1/2 instead of 1/2, which is wrong. The sign is doing real work.
All four sum-to-product formulas, collected
Sum-to-product formulas
A mnemonic for remembering which trig function appears where: when you add sines, the result has \sin \cdot \cos (one of each). When you add cosines, the result has \cos \cdot \cos (both the same). When you subtract cosines, the result has \sin \cdot \sin — with a minus sign in front.
Visualising sin C + sin D as a product
Product-to-sum: running the machine backwards
The product-to-sum formulas are the same four identities, read from right to left. But it is more convenient to write them in terms of A and B directly (rather than having to compute (C+D)/2 and (C-D)/2).
Go back to the four equations before the substitution:
From adding (1) and (2):
Divide by 2:
From subtracting (2) from (1):
From adding (3) and (4):
From subtracting (3) from (4):
Product-to-sum formulas
Notice the last formula: the product of two sines equals \cos(A - B) - \cos(A + B), not \cos(A + B) - \cos(A - B). The order matters — swapping it flips the sign.
A numerical verification
Before moving on, verify one formula with a specific pair of angles. Take \cos C + \cos D with C = 60° and D = 30°.
Left side:
Right side:
You know \cos 45° = 1/\sqrt{2}. And from the compound angle formulas, \cos 15° = \cos(45° - 30°) = \cos 45°\cos 30° + \sin 45°\sin 30° = \frac{\sqrt{3}}{2\sqrt{2}} + \frac{1}{2\sqrt{2}} = \frac{\sqrt{3} + 1}{2\sqrt{2}}.
So the right side is 2 \cdot \frac{1}{\sqrt{2}} \cdot \frac{\sqrt{3} + 1}{2\sqrt{2}} = \frac{\sqrt{3} + 1}{2}. That matches the left side exactly.
When to use which direction
The two sets of formulas are inverses of each other, but they solve different problems.
Sum-to-product is useful when you need to:
- Solve equations like \sin 5x + \sin 3x = 0 (convert the sum to a product, then set each factor to zero)
- Prove identities that have sums on one side and products on the other
- Factorise trigonometric expressions
Product-to-sum is useful when you need to:
- Integrate products like \int \sin 3x \cos 5x \, dx (convert to a sum of sines, then integrate term by term)
- Simplify products of sines and cosines into sums
- Compute exact values by converting a product into a sum of known angles
The key insight is that sums are easy to add and subtract, while products are easy to factor and set to zero. Sum-to-product turns addition problems into factoring problems. Product-to-sum turns multiplication problems into addition problems. Each direction converts a hard operation into an easy one.
Worked examples
Example 1: Simplify sin 75° + sin 15°
Apply the sum-to-product formula for the sum of two sines.
Step 1. Identify C and D.
Why: the formula needs two angles being added, which is exactly what you have.
Step 2. Compute the average and half-difference.
Why: these are the arguments of the sine and cosine in the product form. Getting clean standard angles here (45° and 30°) means the answer will come out exact.
Step 3. Apply the formula \sin C + \sin D = 2\sin\frac{C+D}{2}\cos\frac{C-D}{2}.
Step 4. Substitute and simplify.
Why: rationalise by writing \sqrt{3}/\sqrt{2} = \sqrt{3} \cdot \sqrt{2}/2 = \sqrt{6}/2.
Result: \sin 75° + \sin 15° = \dfrac{\sqrt{6}}{2} \approx 1.2247.
Example 2: Express 2 cos 5x cos 3x as a sum
This uses the product-to-sum direction. You have a product of two cosines and need to convert it to a sum.
Step 1. Identify the formula to use.
With A = 5x and B = 3x.
Why: you have two cosines multiplied together, so the cos-cos product-to-sum formula is the right tool.
Step 2. Apply the formula.
Why: A + B = 8x and A - B = 2x. The product of two cosines becomes a sum of two cosines at the sum and difference angles.
Step 3. Multiply through by the factor of 2.
Result: 2\cos 5x \cos 3x = \cos 8x + \cos 2x.
This is the formula that explains beats in music and physics. When two sound waves of nearby frequencies are played together, the product form shows why you hear a fast oscillation (the average frequency) inside a slowly pulsing envelope (the difference frequency). The sum form shows it as two separate waves. The transformation formula is the bridge between the two descriptions.
You can also verify this numerically at a specific value. At x = 30°:
Left side: 2\cos 150° \cos 90° = 2 \cdot (-\sqrt{3}/2) \cdot 0 = 0.
Right side: \cos 240° + \cos 60° = (-1/2) + (1/2) = 0. Correct.
Common confusions
-
Mixing up the arguments. The sum-to-product formula uses (C+D)/2 and (C-D)/2, not C+D and C-D. Forgetting to halve is the most common computational error with these formulas.
-
Sign in the cosine-difference formula. The formula \cos C - \cos D = -2\sin\frac{C+D}{2}\sin\frac{C-D}{2} has a minus sign that people regularly forget. It is the only one of the four sum-to-product formulas with a leading negative. Cross-check: \cos 0° - \cos 60° = 1 - 1/2 = 1/2, and -2\sin 30° \sin(-30°) = -2 \cdot 1/2 \cdot (-1/2) = 1/2. Correct.
-
"Product-to-sum is just sum-to-product backwards." Conceptually yes, but the formulas look different because the variables are named differently. In sum-to-product, you start with angles C and D (the ones being added). In product-to-sum, you start with angles A and B (the ones being multiplied). The relationship is C = A + B, D = A - B, but mixing up which formula uses which letters is a common source of error.
-
Confusing sin A cos B with cos A sin B. The product-to-sum formulas for these two look nearly identical — one gives \sin(A+B) + \sin(A-B), the other gives \sin(A+B) - \sin(A-B). The sign in the middle changes. In most problems this distinction doesn't matter because you can choose which angle to call A and which to call B, but when the problem specifies \sin 3x \cos 5x (not \cos 5x \sin 3x), use the formula that matches the order.
-
Forgetting the factor of \frac{1}{2}. The product-to-sum formulas all have a \frac{1}{2} in front. Drop it and your answer is twice as large. The sum-to-product formulas have a 2 in front for the same reason — these factors are inverses of each other.
-
Applying sum-to-product when the functions are different. The formula \sin C + \sin D = 2\sin\frac{C+D}{2}\cos\frac{C-D}{2} works when both terms are sines. If you have \sin C + \cos D, you cannot use this formula directly. You would first convert \cos D = \sin(90° - D), making both terms sines, and then apply the formula.
Going deeper
If you came here for the formulas and their applications, you have everything — you can stop here. The material below covers the connection to solving equations, a telescoping product identity, and the Fourier perspective.
Using sum-to-product to solve equations
The equation \sin 5x + \sin 3x = 0 looks hard — two different sine functions added together. But apply sum-to-product:
A product is zero when at least one factor is zero:
The second set of solutions is actually contained in the first (when n is even in n\pi/4, you get the \cos x = 0 solutions). So the complete solution is x = n\pi/4, where n is any integer.
Without the sum-to-product conversion, this equation would be much harder to solve. The conversion turned a sum into a product, and products can be factored.
A telescoping product
There is a beautiful identity:
This can be proved by repeatedly applying the double angle formula \sin 2\theta = 2\sin\theta\cos\theta in the form \cos\theta = \frac{\sin 2\theta}{2\sin\theta}:
Each step, the \sin 2^k A in the numerator cancels with the same term in the next denominator — a telescoping product. After n steps, all intermediate sines cancel and you are left with \sin 2^n A / (2^n \sin A).
This identity is a favourite in competitive mathematics. It combines the product-to-sum idea with telescoping, and it can be used to compute products like \cos 20° \cos 40° \cos 80°.
For that specific case: A = 20°, n = 3, so 2^3 A = 160°.
Why \sin 160° = \sin 20°? Because \sin(180° - \theta) = \sin\theta.
Proving an identity with sum-to-product
Here is a classic identity from competitive exams:
Apply sum-to-product to both numerator and denominator:
The 2 cancels, the \cos\frac{C-D}{2} cancels:
Three lines, done. Without the transformation formulas, this identity would be much harder to prove. The formulas turned both the numerator and denominator into products with a common factor, which then cancelled.
This identity has a geometric interpretation too. On the unit circle, the point (\cos C, \sin C) and the point (\cos D, \sin D) are connected by a chord. The slope of the line from the origin to the midpoint of that chord is (\sin C + \sin D)/(\cos C + \cos D). That midpoint lies at angle (C+D)/2, so the slope is \tan\frac{C+D}{2}.
The Fourier perspective
In higher mathematics, the product-to-sum formulas are the simplest case of a much deeper idea. Any periodic function can be decomposed into a sum of sines and cosines — this is Fourier analysis, one of the most important ideas in all of applied mathematics, from signal processing to quantum mechanics to image compression.
The product-to-sum formulas tell you what happens when two pure frequencies are multiplied: you get two new frequencies (their sum and their difference). In physics, this is the mathematical basis of frequency mixing in electronics, amplitude modulation in radio, and the formation of beats in acoustics. The \sin A \cos B = \frac{1}{2}[\sin(A+B) + \sin(A-B)] formula is the equation behind every AM radio signal.
Bhaskara II and the Indian tradition
Indian mathematicians of the 12th century, particularly Bhaskara II in the Lilavati and Siddhanta Shiromani, worked extensively with trigonometric identities equivalent to the transformation formulas. The jya (sine) tables computed by astronomers of the Kerala school required these identities to interpolate values between known entries. When Madhava and later Nilakantha developed their remarkable infinite series for trigonometric functions, the sum-to-product and product-to-sum identities were essential intermediate tools — used to express the sine of an angle as a limit of progressively refined products.
The practical motivation was astronomical. Indian astronomers needed to combine angular measurements from different celestial observations. The transformation formulas let them convert a sum of two measured sine values into a product involving average and difference angles — a form that was easier to look up in their meticulously computed sine tables.
A systematic summary
It helps to see all eight formulas at once, grouped by direction, so you can spot the pattern.
| Direction | Input | Output |
|---|---|---|
| Sum → Product | \sin C + \sin D | 2\sin\frac{C+D}{2}\cos\frac{C-D}{2} |
| Sum → Product | \sin C - \sin D | 2\cos\frac{C+D}{2}\sin\frac{C-D}{2} |
| Sum → Product | \cos C + \cos D | 2\cos\frac{C+D}{2}\cos\frac{C-D}{2} |
| Sum → Product | \cos C - \cos D | -2\sin\frac{C+D}{2}\sin\frac{C-D}{2} |
| Product → Sum | \sin A \cos B | \frac{1}{2}[\sin(A+B) + \sin(A-B)] |
| Product → Sum | \cos A \sin B | \frac{1}{2}[\sin(A+B) - \sin(A-B)] |
| Product → Sum | \cos A \cos B | \frac{1}{2}[\cos(A+B) + \cos(A-B)] |
| Product → Sum | \sin A \sin B | \frac{1}{2}[\cos(A-B) - \cos(A+B)] |
The pattern in the sum-to-product column: \sin + \sin gives \sin \cdot \cos; \cos + \cos gives \cos \cdot \cos; \sin - \sin gives \cos \cdot \sin; \cos - \cos gives -\sin \cdot \sin. The product-to-sum column is the same story, read backwards.
Where this leads next
The transformation formulas complete the second layer of trigonometric identities — the first being the Pythagorean and reciprocal identities, and compound angles forming the bridge between the two layers.
- Compound Angles — the foundation from which every formula in this article was derived.
- Multiple Angles — double and triple angle formulas, which combine with transformation formulas to solve a wide range of equations.
- Trigonometric Equations — the place where sum-to-product formulas earn their keep, converting hard equations into factorable products.
- Trigonometric Identities — the broader framework that organises all these formulas into a coherent system.
- Special Expansions — where transformation formulas meet series and products, including the telescoping identities from the going-deeper section.