Sum and difference identities expand a trig function of A±B into products of the two angles' sines and cosines. Use them to find exact values at angles built from standard ones, such as 75°=45°+30° or 15°=45°−30°, to simplify expressions like sin(x+π), and to combine two waves into one. The key formulas are sin(A±B)=sinAcosB±cosAsinB and cos(A±B)=cosAcosB∓sinAsinB; in the cosine formula the sign flips.
Why This Matters
Trig functions do not distribute: sin(30°+60°)=sin90°=1, while sin30°+sin60°≈1.37. These identities give the correct way to break an angle apart. They produce exact values for angles like 75°, show why sin(x+π)=−sinx, generate the double-angle formulas, and let engineers combine two signals of the same frequency into a single wave.
Intuitive Explanation
Start with what goes wrong. Is cos(60°+30°) equal to cos60°+cos30°? The left side is cos90°=0; the right side is 21+23≈1.37. Trig functions are not linear, so you cannot split the angle by adding. The correct rule mixes the two angles: cos(A+B)=cosAcosB−sinAsinB. Check it: 21⋅23−23⋅21=0.
Picture rotating a point on the unit circle by A and then by B. It ends at angle A+B, at (cos(A+B),sin(A+B)). Working out where the second rotation sends (cosA,sinA) produces exactly the products in the formulas, so each identity records two rotations combined. Watch the sign pattern: sine keeps the sign, sin(A−B)=sinAcosB−cosAsinB, and cosine reverses it, cos(A−B)=cosAcosB+sinAsinB.
When the two angles are equal, A=B=θ, the sum identities collapse into the double-angle identities, such as sin2θ=2sinθcosθ. When only one angle appears, squared, as in sin2θ+cos2θ, there is no second angle to split and the Pythagorean identity is the tool. A sum or difference identity needs two angles combined inside one trig function.
Think of it like this.Turning a dial by A and then by B leaves it pointing at A+B, but the pointer tip's sideways and upward positions do not simply add: each depends on both turns. The sum identities are the exact bookkeeping for combining them. The picture covers sine and cosine; the tangent formula follows by dividing one by the other.
Core idea.sin(A±B) and cos(A±B) expand into cross products of the separate angles' sines and cosines.
When to Use
Use these identities when a trig function's argument is a sum or difference, such as sin(x+π) or cos(θ−45°); when you need an exact value at an angle like 75°, 105° or 15° that splits into standard angles; or when an expression shows the product patternsinAcosB+cosAsinB waiting to be condensed. If the two angles are equal, use the double-angle forms; if the expression has squares of a single angle, use the Pythagorean identity.
Tip.Ask: Is the argument of the trig function a sum or difference of two angles I want to break apart?
How to Recognize It
Before expanding with a sum or difference formula, check whether the angle inside can be split into two angles whose sines and cosines you actually know.
1.
Can the angle be written as two standard angles added or subtracted, such as 105∘=60∘+45∘?
If yes, expanding gives an exact value: cos105∘=cos60∘cos45∘−sin60∘sin45∘=42−6. If it splits only into non-standard pieces, expect a calculator decimal.
2.
Are the two angles in the argument equal, as in sin(x+x)?
If yes, the double-angle identities are this same formula already simplified, so use them directly. The full sum or difference formula earns its keep only when the two angles differ.
3.
Is one of the two angles a quarter turn or a half turn, as in x+π or 90∘−θ?
If yes, the expansion collapses to one term, because the sines and cosines of those angles are 0 or ±1: sin(x+π)=−sinx and cos(90∘−θ)=sinθ. The cofunction rules come from exactly this.
4.
Does the expression already have the two-product form sinAcosB+cosAsinB?
If yes, run the formula backward to condense it: sin50∘cos10∘+cos50∘sin10∘=sin60∘=23. Squares of one angle, such as sin2x+cos2x, belong to the Pythagorean identity instead.
Sum and Difference Identities compared with Double-angle identities, Pythagorean identities, and Distributing the function (wrong)
Each row rewrites a trig function of some angle, and the formulas look alike on the page. Ask how many different angles are involved and how they combine: two different angles added, one angle doubled, squares of one angle, or a function wrongly split across a sum.
Sum and Difference Identities compared with Double-angle identities, Pythagorean identities, and Distributing the function (wrong)
Type
Meaning
Key test
Formula
Example
Sum and Difference Identities
Use this when the angle inside a trig function is written as a sum or difference of two angles you know.
Is the argument of the trig function a sum or difference of two angles I want to break apart?
How to read it:Note the sign pattern: in the cosine formula, ± becomes ∓ (signs are opposite). In sine and tangent, signs match.
Worked Examples
Example 1 — Exact value of cos 75°
Easy
Find the exact value of cos75°.
Show the steps and the answer
Split the angle into standard angles: 75°=45°+30°.
Both 45° and 30° have exact sines and cosines.
Apply cos(A+B)=cosAcosB−sinAsinB with A=45° and B=30°.
A sum inside cosine puts a minus sign between the products.
Substitute: 22⋅23−22⋅21=46−42.
2⋅3=6, and both terms have denominator 4.
Combine and check: 46−2≈42.449−1.414≈0.259.
A calculator gives cos75°≈0.2588, so the exact form is right.
Answer:46−2
Takeaway:Split an unfamiliar angle into two standard angles, apply the identity with its sign, then simplify the radicals.
Example 2 — Both angles are equal
Standard
Find cos2θ given θ — do you use the sum identity?
Show the steps and the answer
Write 2θ as two angles: 2θ=θ+θ.
Doubling is a sum, not a difference, and here the two angles are the same.
Use the sum identity with A=B=θ: cos(θ+θ)=cosθcosθ−sinθsinθ.
The general formula still holds when the two angles are equal.
Collapse the products: cos2θ=cos2θ−sin2θ.
Each function times itself becomes a square; this is the double-angle identity.
Check at θ=30°: cos60°=21 and 43−41=21.
cos230°=43 and sin230°=41, so both sides give 21.
Answer:cos2θ=cos2θ−sin2θ
Takeaway:With two equal angles the sum identity becomes the double-angle identity, so use that ready-made form directly.
Example 3 — Find the mistake: the cosine sign
Application
Find the exact value of cos15°. Ben writes: "cos(45°−30°)=cos45°cos30°−sin45°sin30°=46−2." Find the mistake and correct it.
Show the steps and the answer
Test Ben's value: 46−2≈0.259, but cos15° must be close to 1, since 15° is a small angle.
0.259 is cos75°, a sign that the formula for a sum was used.
Name the error: in cosine, the sign between the products is the opposite of the sign inside.
cos(A−B)=cosAcosB+sinAsinB; Ben copied the minus from 45°−30°.
Recompute: 22⋅23+22⋅21=46+2.
The products are unchanged; only the sign between them flips.
Check: 42.449+1.414≈0.966, and a calculator gives cos15°≈0.966.
The value is now close to 1, as a small angle requires.
Answer:cos15°=46+2≈0.966
Takeaway:In the cosine formulas the sign flips: a difference inside gives a plus between the products.
Where You'll See It
Two signals that make one wave
The sum 3sint+4cost looks like two waves, but it is one: 5sin(t+ϕ) with cosϕ=53 and sinϕ=54, because 5sin(t+ϕ)=5sintcosϕ+5costsinϕ=3sint+4cost. Its amplitude is 5, not 3+4=7, which is how engineers find the strength of combined signals.
Rotating a point on screen
A point 4 units from the origin at 30° is about (3.464,2). Rotating it 45° further puts it at angle 75°, and the sum identities give the new coordinates from the old: x′=xcos45°−ysin45°≈1.035 and y′=xsin45°+ycos45°≈3.864. Graphics programs rotate every point this way.
Common Mistakes
The slip:Splitting cos(A+B) as cosA+cosB
Instead:it expands to cosAcosB−sinAsinB, a product mix.
The slip:Getting the cosine sign wrong
Instead:in cosine the inside + becomes a − between the products (∓ flips).
The slip:Using matching signs for cosine
Instead:sine and tangent keep the sign, cosine reverses it.
Mini Practice
Try these on your own. Tap Reveal when you want to check.
1.
Find the exact value of sin15°.
Hint:Write 15° as a difference of two angles you know.
2.
Find the exact value of sin105°.
Hint:Split 105° into two special angles that add to it.
3.
Find the exact value of tan75°.
Hint:Use tan45°=1 and tan30°=31 in the tangent sum formula.
4.
If sinA=53, cosA=54, sinB=135 and cosB=1312, find cos(A−B).
Hint:In the cosine formula, the sign between the products is the opposite of the sign inside.
5.
To find sin165° exactly, should you use a sum or difference identity, or a double-angle identity?
Hint:Is 165° twice a special angle, or a sum of two special angles?
6.
A student writes: "cos(60°−30°)=cos60°cos30°−sin60°sin30°=0." Correct the mistake.
Hint:Compare with cos30°, which you already know.
Want the full set?
50 practice questions for this concept — free to try, every one with a complete worked
solution showing the why, not just the answer.
Why does the sign flip in the cosine formula but not in the sine formula?
Test it with angles you know. Take A=B=45∘: cos90∘ must be 0, and cos45∘cos45∘=21, so the second product, also 21, has to be subtracted to reach 0. For sine, sin90∘=1 needs the two products 21+21 added. Checking a pair of standard angles like this is the quickest way to rebuild a formula you half remember.
How did anyone find these formulas in the first place?
One clean proof uses the unit circle. The distance between the points at angles A and B equals the distance between the points at A−B and 0, because one pair is the other pair turned. Writing both distances with the distance formula and setting them equal gives cos(A−B)=cosAcosB+sinAsinB, and the other formulas follow from it. Ptolemy used an equivalent rule about chords around 150 CE to build astronomy tables.
How can sinx+cosx be written as a single sine wave?
Match it to Rsin(x+c)=Rsinxcosc+Rcosxsinc. You need Rcosc=1 and Rsinc=1, so c=45∘ and R=2. That gives sinx+cosx=2sin(x+45∘), a wave with amplitude about 1.41. Engineers use the same step to merge two signals with the same period into one wave and read off its height.
Does the formula for tan(A+B) ever fail?
Yes, when the denominator 1−tanAtanB is zero, which happens exactly when A+B is 90∘ plus a multiple of 180∘, where tangent itself is undefined. For example, tan30∘⋅tan60∘=31⋅3=1, so the formula for tan90∘ divides by zero, as it should. It also fails when A or B alone is 90∘; then expand sine and cosine instead.
You need the Pythagorean Trigonometric Identities and the standard values of sine and cosine from Trigonometric Functions. Sum and difference identities add the rule for combining two angles inside one function, with its sign pattern. Next, the Double-Angle Identities are the special case A=B, and from them come the half-angle and power-reducing formulas.