Sum and Difference Identities - Complete Interactive Lesson
Part 1: Why We Need Them
🔺 Sum and Difference Identities
Part 1 of 7 — Why We Need Them
Topics in This Part
Section
The "Distributive" Trap
Special vs. Non-Special Angles
What the Identities Unlock
🔑 Key Concept: Trig functions do not distribute over addition. sin(A+B)=sinA+sinB. The sum and difference identities are the correct rules for splitting an angle into pieces you already know.
The "Distributive" Trap
A tempting but wrong move is to treat sin like a multiplier:
sin(A+B)=?sinA+sinBWRONG
A Quick Counterexample
Let A=B=6π, so A+B=3π.
Quantity
Exact value
sin(6π+6π)=sin3π
23≈0.866
sin6π+sin6π
21+21=1
The two columns disagree (0.866=1), so the "distribute" rule is false.
⚠️ Never write sin(A+B)=sinA+sinB or cos(A+B)=cosA+cosB. That is the single most common error on this whole topic.
Concept Check 🎯
Special vs. Non-Special Angles
From the unit circle you already know the special angles exactly:
Angle
0
6π
4π
3π
2π
sin
0
21
22
23
1
cos
1
23
22
21
0
But what about 12π, 125π, or 127π? These aren't on the unit circle — yet.
💡 The trick: any of these can be built by adding or subtracting special angles:
12π=4π−6π
125π=4π+6π
127π=3π+4π
The sum and difference identities turn that decomposition into an exact answer.
Decompose the Angle 🔽
Express each angle as a sum or difference of two special angles (6π,4π,3π).
What the Identities Unlock
By the end of this lesson you'll be able to:
Find exact values like cos12π and sin125π (no calculator).
Simplify messy expressions such as sinxcos2x+cosxsin2x into a single term.
Prove new identities and evaluate composite expressions like sin(arcsina+arccosb).
There are four core formulas — two each for cosine and sine. We'll build them one family at a time, starting with cosine in Part 2.
🔑 Roadmap: cosine first (Part 2), because the sine formulas are derived from it. Part 4 then uses the sine sum formula to rewrite asinx+bcosx as a single sinusoid.
Why It Matters 🎯
Part 2: The Cosine Formulas
🔺 Sum and Difference Identities
Part 2 of 7 — The Cosine Formulas
🔑 The two cosine identities:cos(A−B)=cosAcosB+sinAsinBcos(A+B)=cosAcosB−sinAsinB
Reading the Pattern
Both cosine formulas have the same pieces — only the middle sign and the structure differ:
cos(A±B)=cosAcosB∓sinAsinB
⚠️ The sign FLIPS. A plus inside (A+B) gives a minus in the formula; a minus inside (A−B) gives a plus. This "opposite sign" rule is unique to cosine.
How to remember the terms
Cosine formulas are cosine–cosine, sine–sine (the functions match within each product).
"Cosine keeps company": coscos comes first, then sinsin.
Inside
Formula
cos(A−B)
cosAcosB+sinAsinB
cos(A+B)
cosAcosB−sinAsinB
Concept Check 🎯
Where It Comes From (the difference formula)
You don't need to memorize the proof, but seeing it builds trust. Place points P=(cosA,sinA) and Q=(cosB,sinB) on the unit circle. The distance PQ can be computed two ways:
By the distance formula:PQ2=(cosA−cosB)2+(sinA−sinB)2=2−2(cosAcosB+sinAsinB)
By rotating the picture: rotate both points clockwise by angle B. Rotation does not change distances, Q lands on (1,0), and P lands on (cos(A−B),sin(A−B)). So
PQ2=(cos(A−B)−1)2+sin2(A−B)=2−2cos(A−B)
Setting the two equal and cancelling:
cos(A−B)=cosAcosB+sinAsinB
💡 Replace B with −B (and use cos(−B)=cosB, sin(−B)=−sinB) to get the cos(A+B) version.
Substitute the Values 🧮
You're expanding cos125π=cos(4π+6π)=cos4πcos6π−sin4πsin6π. Enter each special value as a decimal rounded to 3 places.
Write 12π=4π−6π and use the difference formula:
cos12π=cos(4π−6π)=cos4πcos6π+sin4πsin6π
Substitute special values:
=22⋅23+22⋅21=46+42=46+2
✅ Check:46+2≈42.449+1.414≈0.966, and a calculator gives cos12π≈0.966. ✓
Expand Each Cosine 🔽
Match each expression to its correct expansion.
Part 3: The Sine Formulas
🔺 Sum and Difference Identities
Part 3 of 7 — The Sine Formulas
🔑 The two sine identities:sin(A+B)=sinAcosB+cosAsinBsin(A−B)=sinAcosB−cosAsinB
Reading the Pattern
The sine formulas use mixed products (sincos and cossin), and the sign matches the inside:
sin(A±B)=sinAcosB±cosAsinB
⚠️ Sine keeps its sign — a plus inside gives a plus, a minus inside gives a minus. This is the opposite behavior from cosine (which flips). Don't mix them up!
Memory hook
Sine is the "mixed, same-sign" formula:
Mixed functions in each product: sincos+cossin.
Same sign as inside the parentheses.
Family
Products
Sign behavior
Cosine
matched (coscos, sinsin)
flips
Sine
mixed (sincos, cossin)
keeps
Concept Check 🎯
Worked Example: sin125π
Write 125π=4π+6π and use the sum formula:
sin125π=sin4πcos6π+cos4πsin6π
=22⋅23+22⋅21=46+42=46+2
💡 Cofunction sanity check:sin125π=cos12π because 125π and 12π are complementary. We got the same value 46+2 in Part 2 — consistent! ✓
Expand Each Sine 🔽
Match each sine expression to its expansion.
Worked Example: sin12π
Write 12π=4π−6π and use the difference formula:
sin12π=sin4πcos6π−cos4πsin6π
=22⋅23−22⋅21=46−42=46−2
✅ Check:46−2≈42.449−1.414≈0.259, and sin12π≈0.259. ✓
Fill the Numerator 🧮
Each exact value has the form 46□2. Enter + or - for the box (type a plus or minus sign).
Part 4: Combining Sine and Cosine Into One Sinusoid
🔺 Sum and Difference Identities
Part 4 of 7 — Combining Sine and Cosine Into One Sinusoid
🔑 Key Concept: Read the sine sum identity backwards and an expression like asinx+bcosx becomes a single sinusoidRsin(x+C). That equivalent form shows the amplitude and phase shift at a glance and turns hard equations into easy ones.
Tangent sum and difference identities are not assessed on the AP Precalculus exam, so this lesson uses only the sine and cosine identities.
So 3sinx+cosx is really a sine wave with amplitude 2, shifted left 6π.
Backward: Match the Coefficients
In general,
Rsin(x+C)=(RcosC)sinx+(RsinC)cosx
To write asinx+bcosx in this form, match a=RcosC and b=RsinC:
Unknown
How to find it
Why
R
R=a2+b2
a2+b2=R2(cos2C+sin2C)=R2
C
cosC=Ra and sinC=Rb
use both signs to pick the quadrant of C
Concept Check 🎯
Worked Example: Rewrite, Then Solve
Solvesinx+3cosx=1 on [0,2π).
Step 1 — Rewrite.a=1, b=3, so R=1+3=2. Then cosC=21 and sinC=23, so C=3π:
sinx+3cosx=2sin(x+3π)
Step 2 — Solve the simpler equation.2sin(x+3π)=1 means sinu=21 with u=x+3π. Since 0≤x<2π, the new angle runs over 3π≤u<37π. In that window, sinu=21 at u=65π and u=613π.
Step 3 — Undo the shift.x=u−3π:
x=65π−3π=2πx=613π−3π=611π
✅ Check: at x=2π, 1+3⋅0=1 ✓. At x=611π, −21+3⋅23=−21+23=1 ✓.
⚠️ Shift the interval along with the angle. Solving sinu=21 on [0,2π) instead would give u=6π, which leads to x=−6π, outside the interval.
Read the Features 🔽
Use y=sinx+3cosx=2sin(x+3π).
When a Coefficient Is Negative
Rewrite sinx−cosx. Here a=1, b=−1, so R=2, cosC=21, and sinC=−21. Cosine positive and sine negative puts C in Quadrant IV: C=−4π.
sinx−cosx=2sin(x−4π)
Verify by expanding:2(sinxcos4π−cosxsin4π)=2(22sinx−22cosx)=sinx−cosx ✓
💡 Always confirm a rewrite by expanding it with the sum or difference identity. It takes one line and catches sign errors in C.
Rewrite and Solve 🧮
Write 3sinx−cosx as Rsin(x+C).
1)R=?2) The maximum value of y=3sinx−cosx is ?3) Solve 3sinx−cosx=2 on [0,2π). Enter x as a multiple of pi, like 3pi/4.
Part 5: Exact Values: A Repeatable Method
🔺 Sum and Difference Identities
Part 5 of 7 — Exact Values: A Repeatable Method
🔑 The 4-step recipe for any "find the exact value" problem:
Decompose the angle into two special angles (sum or difference).
Pick the right family (sin or cos) and write the formula.
Substitute unit-circle values.
Simplify, then check the sign against the quadrant.
Worked Example: cos127π
Step 1 — Decompose:127π=3π+4π.
Step 2 — Formula: cosine of a sum flips the sign:
cos127π=cos3πcos4π−sin3πsin4π
Step 3 — Substitute:=21⋅22−23⋅22=42−46
Step 4 — Simplify:cos127π=42−6
✅ Check:42−6≈41.414−2.449≈−0.259. Since 127π is in Quadrant II, cosine is negative — consistent. ✓
Apply the Method 🎯
Worked Example: sin127π
Decompose:127π=3π+4π. Use the sine sum formula (sine keeps its sign):
sin127π=sin3πcos4π+cos3πsin4π
=23⋅22+21⋅22=46+42=46+2
💡 Notice:sin127π=46+2=sin125π. That's because sin(π−θ)=sinθ, and 127π=π−125π. A nice built-in check.
Decimal Check 🧮
Compute each exact value, then enter its decimal rounded to 3 decimal places. (Use a calculator to confirm after you set up the exact form.)
Angles like 127π, 1211π, and 1213π live outside Quadrant I, so the sign of your answer matters. After you decompose and expand, sanity-check the sign against the quadrant.
Angle
Quadrant
sin
cos
127π
II
+
−
1213π
III
−
−
1219π
IV
−
+
⚠️ A correct expansion with a sign that contradicts the quadrant means an arithmetic slip — go back and check.
Set Up the Right Expansion 🔽
You want the exact value of sin1211π. Choose the best setup.
Part 6: Simplifying & Proving Identities
🔺 Sum and Difference Identities
Part 6 of 7 — Simplifying & Proving Identities
The formulas run both directions. Reading them right-to-left lets you collapse a long expression into a single trig function.
🔑 Recognition is everything: if you spot the shapesinAcosB+cosAsinB, you can instantly rewrite it as sin(A+B).
💡 This is how a "scary" expression becomes a single known value. Look for the mixed-product, opposite-order pattern that signals sine, or the matched-product pattern that signals cosine.
Recognize the Pattern 🎯
Proving an Identity
Prove:sin(x+2π)=cosx.
Expand with the sine sum formula:
sin(x+2π)=sinxcos2π+cosxsin2π
Substitute cos2π=0 and sin2π=1:
=sinx⋅0+cosx⋅1=cosx■
💡 Phase shifts as identities: this is exactly why shifting a sine graph left by 2π produces the cosine graph. The algebra and the picture agree.
Complete the Proof 🔽
Prove that cos(π−x)=−cosx. Fill each step.
The Reverse Skill in One Sentence
When you see two products being added or subtracted, ask: are the functions matched or mixed?
Matched (coscos±sinsin) → it's a cosine of (A∓B).
Mixed (sincos±cossin) → it's a sine of (A±B).
Then read off the two inner angles and combine them. The whole expression collapses to one term you can often evaluate exactly.
Collapse, Then Evaluate 🧮
Each expression collapses to a single trig value. Enter the exact value (use a/b for fractions; a decimal is fine where noted).
1)sin125πcos6π−cos125πsin6π=sin(?⋅π), where the angle is the difference of the two given angles (between 0 and 2π) — enter the coefficient of π (e.g. 1/6).
2) That value =?(3 decimals)3)cos127πcos4π+sin127πsin4π=cos(?⋅π), again with the angle between 0 and 2π — enter the coefficient of π.
Part 7: Applications, Mixed Practice & Exit Quiz
🔺 Sum and Difference Identities
Part 7 of 7 — Applications, Mixed Practice & Exit Quiz
The hardest AP-style problems give you sin and cos of two angles without the angles themselves, and ask for the sine or cosine of their sum.
Worked Example: Given Sines & Cosines
Suppose sinA=53 with A in Quadrant I, and cosB=135 with B in Quadrant I. Find sin(A+B).
Step 1 — Find the missing pieces using Pythagorean triples:
A in QI with sinA=53⇒cosA=54 (3-4-5 triangle).
B in QI with cosB=135⇒sinB=1312 (5-12-13 triangle).
Step 2 — Apply the sine sum formula:sin(A+B)=sinAcosB+cosAsinB=53⋅135+54⋅1312
=6515+6548=6563
⚠️ Watch the quadrants. If an angle were in QII–QIV, one of sin or cos would be negative. Always assign the sign from the quadrant before multiplying.
Your Turn (Given Values) 🧮
Use sinA=53 (A in QI) and cosB=135 (B in QI), so cosA=54 and sinB=1312.
1)cos(A+B)=cosAcosB−sinAsinB=?(enter as a fraction like a/b)2)sin(A−B)=sinAcosB−cosAsinB=?(fraction)
Master Reference
Identity
Expansion
sin(A+B)
sinAcosB+cosAsinB
sin(A−B)
sinAcosB−cosAsinB
cos(A+B)
cosAcosB−sinAsinB
cos(A−B)
cosAcosB+sinAsinB
asinx+bcosx
Rsin(x+C) with R=a2+b2
🔑 Three rules to never forget:
Cosine flips the sign; sine keeps it.
Cosine uses matched products; sine uses mixed.
Assign each missing sine or cosine its sign from the quadrant before you multiply.