Skip to content
🎯⭐ INTERACTIVE LESSON

Sum and Difference Identities

Learn step-by-step with interactive practice!

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)≠sin⁡A+sin⁡B\sin(A + B) \ne \sin A + \sin B. 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⁡\sin like a multiplier:

sin⁡(A+B)  =?  sin⁡A+sin⁡BWRONG\sin(A + B) \;\overset{?}{=}\; \sin A + \sin B \quad \color{red}{\textbf{WRONG}}

A Quick Counterexample

Let A=B=π6A = B = \frac{\pi}{6}, so A+B=π3A + B = \frac{\pi}{3}.

QuantityExact value
sin⁡(π6+π6)=sin⁡π3\sin(\frac{\pi}{6} + \frac{\pi}{6}) = \sin \frac{\pi}{3}32≈0.866\dfrac{\sqrt{3}}{2} \approx 0.866
sin⁡π6+sin⁡π6\sin \frac{\pi}{6} + \sin \frac{\pi}{6}12+12=1\dfrac{1}{2} + \dfrac{1}{2} = 1

The two columns disagree (0.866≠10.866 \ne 1), so the "distribute" rule is false.

⚠️ Never write sin⁡(A+B)=sin⁡A+sin⁡B\sin(A+B) = \sin A + \sin B or cos⁡(A+B)=cos⁡A+cos⁡B\cos(A+B) = \cos A + \cos B. 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:

Angle00π6\frac{\pi}{6}π4\frac{\pi}{4}π3\frac{\pi}{3}π2\frac{\pi}{2}
sin⁡\sin0012\dfrac1222\dfrac{\sqrt2}{2}32\dfrac{\sqrt3}{2}11
cos⁡\cos1132\dfrac{\sqrt3}{2}22\dfrac{\sqrt2}{2}12\dfrac1200

But what about π12\frac{\pi}{12}, 5π12\frac{5\pi}{12}, or 7π12\frac{7\pi}{12}? 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\frac{\pi}{12} = \frac{\pi}{4} - \frac{\pi}{6}
  • 5π12=π4+π6\frac{5\pi}{12} = \frac{\pi}{4} + \frac{\pi}{6}
  • 7π12=π3+π4\frac{7\pi}{12} = \frac{\pi}{3} + \frac{\pi}{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\frac{\pi}{6}, \frac{\pi}{4}, \frac{\pi}{3}).

What the Identities Unlock

By the end of this lesson you'll be able to:

  1. Find exact values like cos⁡π12\cos \frac{\pi}{12} and sin⁡5π12\sin \frac{5\pi}{12} (no calculator).
  2. Simplify messy expressions such as sin⁡xcos⁡2x+cos⁡xsin⁡2x\sin x \cos 2x + \cos x \sin 2x into a single term.
  3. Prove new identities and evaluate composite expressions like sin⁡(arcsin⁡a+arccos⁡b)\sin(\arcsin a + \arccos b).

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 asin⁡x+bcos⁡xa\sin x + b\cos x 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)=cos⁡Acos⁡B+sin⁡Asin⁡B\cos(A - B) = \cos A \cos B + \sin A \sin B cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B\cos(A + B) = \cos A \cos B - \sin A \sin B

Reading the Pattern

Both cosine formulas have the same pieces — only the middle sign and the structure differ:

cos⁡(A±B)=cos⁡Acos⁡B  ∓  sin⁡Asin⁡B\cos(A \pm B) = \cos A \cos B \;\mp\; \sin A \sin B

⚠️ The sign FLIPS. A plus inside (A+BA+B) gives a minus in the formula; a minus inside (A−BA-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": cos⁡cos⁡\cos\cos comes first, then sin⁡sin⁡\sin\sin.
InsideFormula
cos⁡(A−B)\cos(A - B)cos⁡Acos⁡B + sin⁡Asin⁡B\cos A\cos B \,\mathbf{+}\, \sin A\sin B
cos⁡(A+B)\cos(A + B)cos⁡Acos⁡B − sin⁡Asin⁡B\cos A\cos B \,\mathbf{-}\, \sin A\sin B

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=(cos⁡A,sin⁡A)P = (\cos A, \sin A) and Q=(cos⁡B,sin⁡B)Q = (\cos B, \sin B) on the unit circle. The distance PQPQ can be computed two ways:

By the distance formula: PQ2=(cos⁡A−cos⁡B)2+(sin⁡A−sin⁡B)2=2−2(cos⁡Acos⁡B+sin⁡Asin⁡B)PQ^2 = (\cos A - \cos B)^2 + (\sin A - \sin B)^2 = 2 - 2(\cos A\cos B + \sin A\sin B)

By rotating the picture: rotate both points clockwise by angle BB. Rotation does not change distances, QQ lands on (1,0)(1, 0), and PP lands on (cos⁡(A−B),sin⁡(A−B))(\cos(A - B), \sin(A - B)). So PQ2=(cos⁡(A−B)−1)2+sin⁡2(A−B)=2−2cos⁡(A−B)PQ^2 = (\cos(A - B) - 1)^2 + \sin^2(A - B) = 2 - 2\cos(A - B)

Setting the two equal and cancelling:

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

💡 Replace BB with −B-B (and use cos⁡(−B)=cos⁡B\cos(-B)=\cos B, sin⁡(−B)=−sin⁡B\sin(-B)=-\sin B) to get the cos⁡(A+B)\cos(A+B) version.

Substitute the Values 🧮

You're expanding cos⁡5π12=cos⁡(π4+π6)=cos⁡π4cos⁡π6−sin⁡π4sin⁡π6\cos \frac{5\pi}{12} = \cos(\frac{\pi}{4} + \frac{\pi}{6}) = \cos \frac{\pi}{4}\cos \frac{\pi}{6} - \sin \frac{\pi}{4}\sin \frac{\pi}{6}. Enter each special value as a decimal rounded to 3 places.

1) cos⁡π6= ?\cos \frac{\pi}{6} = \,? 2) sin⁡π6= ?\sin \frac{\pi}{6} = \,? 3) cos⁡5π12\cos \frac{5\pi}{12} overall = ?= \,? (3 decimals)

First Exact Value: cos⁡π12\cos \frac{\pi}{12}

Write π12=π4−π6\frac{\pi}{12} = \frac{\pi}{4} - \frac{\pi}{6} and use the difference formula:

cos⁡π12=cos⁡(π4−π6)=cos⁡π4cos⁡π6+sin⁡π4sin⁡π6\cos \frac{\pi}{12} = \cos(\frac{\pi}{4} - \frac{\pi}{6}) = \cos \frac{\pi}{4}\cos \frac{\pi}{6} + \sin \frac{\pi}{4}\sin \frac{\pi}{6}

Substitute special values:

=22⋅32+22⋅12=64+24=6+24= \frac{\sqrt2}{2}\cdot\frac{\sqrt3}{2} + \frac{\sqrt2}{2}\cdot\frac{1}{2} = \frac{\sqrt6}{4} + \frac{\sqrt2}{4} = \frac{\sqrt6 + \sqrt2}{4}

✅ Check: 6+24≈2.449+1.4144≈0.966\dfrac{\sqrt6 + \sqrt2}{4} \approx \dfrac{2.449 + 1.414}{4} \approx 0.966, and a calculator gives cos⁡π12≈0.966\cos \frac{\pi}{12} \approx 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)=sin⁡Acos⁡B+cos⁡Asin⁡B\sin(A + B) = \sin A \cos B + \cos A \sin B sin⁡(A−B)=sin⁡Acos⁡B−cos⁡Asin⁡B\sin(A - B) = \sin A \cos B - \cos A \sin B

Reading the Pattern

The sine formulas use mixed products (sin⁡cos⁡\sin\cos and cos⁡sin⁡\cos\sin), and the sign matches the inside:

sin⁡(A±B)=sin⁡Acos⁡B  ±  cos⁡Asin⁡B\sin(A \pm B) = \sin A\cos B \;\pm\; \cos A\sin B

⚠️ 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: sin⁡cos⁡+cos⁡sin⁡\sin\cos + \cos\sin.
  • Same sign as inside the parentheses.
FamilyProductsSign behavior
Cosinematched (cos⁡cos⁡\cos\cos, sin⁡sin⁡\sin\sin)flips
Sinemixed (sin⁡cos⁡\sin\cos, cos⁡sin⁡\cos\sin)keeps

Concept Check 🎯

Worked Example: sin⁡5π12\sin \frac{5\pi}{12}

Write 5π12=π4+π6\frac{5\pi}{12} = \frac{\pi}{4} + \frac{\pi}{6} and use the sum formula:

sin⁡5π12=sin⁡π4cos⁡π6+cos⁡π4sin⁡π6\sin \frac{5\pi}{12} = \sin \frac{\pi}{4}\cos \frac{\pi}{6} + \cos \frac{\pi}{4}\sin \frac{\pi}{6}

=22⋅32+22⋅12=64+24=6+24= \frac{\sqrt2}{2}\cdot\frac{\sqrt3}{2} + \frac{\sqrt2}{2}\cdot\frac{1}{2} = \frac{\sqrt6}{4} + \frac{\sqrt2}{4} = \frac{\sqrt6 + \sqrt2}{4}

💡 Cofunction sanity check: sin⁡5π12=cos⁡π12\sin \frac{5\pi}{12} = \cos \frac{\pi}{12} because 5π12\frac{5\pi}{12} and π12\frac{\pi}{12} are complementary. We got the same value 6+24\frac{\sqrt6+\sqrt2}{4} in Part 2 — consistent! ✓

Expand Each Sine 🔽

Match each sine expression to its expansion.

Worked Example: sin⁡π12\sin \frac{\pi}{12}

Write π12=π4−π6\frac{\pi}{12} = \frac{\pi}{4} - \frac{\pi}{6} and use the difference formula:

sin⁡π12=sin⁡π4cos⁡π6−cos⁡π4sin⁡π6\sin \frac{\pi}{12} = \sin \frac{\pi}{4}\cos \frac{\pi}{6} - \cos \frac{\pi}{4}\sin \frac{\pi}{6}

=22⋅32−22⋅12=64−24=6−24= \frac{\sqrt2}{2}\cdot\frac{\sqrt3}{2} - \frac{\sqrt2}{2}\cdot\frac{1}{2} = \frac{\sqrt6}{4} - \frac{\sqrt2}{4} = \frac{\sqrt6 - \sqrt2}{4}

✅ Check: 6−24≈2.449−1.4144≈0.259\dfrac{\sqrt6 - \sqrt2}{4} \approx \dfrac{2.449 - 1.414}{4} \approx 0.259, and sin⁡π12≈0.259\sin \frac{\pi}{12} \approx 0.259. ✓

Fill the Numerator 🧮

Each exact value has the form 6  □  24\dfrac{\sqrt6 \;\square\; \sqrt2}{4}. Enter + or - for the box (type a plus or minus sign).

1) sin⁡5π12=6  ?  24\sin \frac{5\pi}{12} = \dfrac{\sqrt6 \;?\; \sqrt2}{4} 2) sin⁡π12=6  ?  24\sin \frac{\pi}{12} = \dfrac{\sqrt6 \;?\; \sqrt2}{4} 3) cos⁡π12=6  ?  24\cos \frac{\pi}{12} = \dfrac{\sqrt6 \;?\; \sqrt2}{4}

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 asin⁡x+bcos⁡xa\sin x + b\cos x becomes a single sinusoid Rsin⁡(x+C)R\sin(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.

Forward First: Expand a Shifted Sine

Expand 2sin⁡ ⁣(x+π6)2\sin\!\left(x + \dfrac{\pi}{6}\right) with the sine sum identity:

2sin⁡ ⁣(x+π6)=2(sin⁡xcos⁡π6+cos⁡xsin⁡π6)=2(32sin⁡x+12cos⁡x)=3sin⁡x+cos⁡x2\sin\!\left(x + \frac{\pi}{6}\right) = 2\left(\sin x\cos\frac{\pi}{6} + \cos x\sin\frac{\pi}{6}\right) = 2\left(\frac{\sqrt3}{2}\sin x + \frac{1}{2}\cos x\right) = \sqrt3\sin x + \cos x

So 3sin⁡x+cos⁡x\sqrt3\sin x + \cos x is really a sine wave with amplitude 22, shifted left π6\frac{\pi}{6}.

Backward: Match the Coefficients

In general,

Rsin⁡(x+C)=(Rcos⁡C)sin⁡x+(Rsin⁡C)cos⁡xR\sin(x + C) = (R\cos C)\sin x + (R\sin C)\cos x

To write asin⁡x+bcos⁡xa\sin x + b\cos x in this form, match a=Rcos⁡Ca = R\cos C and b=Rsin⁡Cb = R\sin C:

UnknownHow to find itWhy
RRR=a2+b2R = \sqrt{a^2 + b^2}a2+b2=R2(cos⁡2C+sin⁡2C)=R2a^2 + b^2 = R^2(\cos^2 C + \sin^2 C) = R^2
CCcos⁡C=aR\cos C = \dfrac{a}{R} and sin⁡C=bR\sin C = \dfrac{b}{R}use both signs to pick the quadrant of CC

Concept Check 🎯

Worked Example: Rewrite, Then Solve

Solve sin⁡x+3cos⁡x=1\sin x + \sqrt3\cos x = 1 on [0,2π)[0, 2\pi).

Step 1 — Rewrite. a=1a = 1, b=3b = \sqrt3, so R=1+3=2R = \sqrt{1 + 3} = 2. Then cos⁡C=12\cos C = \frac12 and sin⁡C=32\sin C = \frac{\sqrt3}{2}, so C=π3C = \frac{\pi}{3}:

sin⁡x+3cos⁡x=2sin⁡ ⁣(x+π3)\sin x + \sqrt3\cos x = 2\sin\!\left(x + \frac{\pi}{3}\right)

Step 2 — Solve the simpler equation. 2sin⁡ ⁣(x+π3)=12\sin\!\left(x + \frac{\pi}{3}\right) = 1 means sin⁡u=12\sin u = \frac12 with u=x+π3u = x + \frac{\pi}{3}. Since 0≤x<2π0 \le x < 2\pi, the new angle runs over π3≤u<7π3\frac{\pi}{3} \le u < \frac{7\pi}{3}. In that window, sin⁡u=12\sin u = \frac12 at u=5π6u = \frac{5\pi}{6} and u=13π6u = \frac{13\pi}{6}.

Step 3 — Undo the shift. x=u−π3x = u - \frac{\pi}{3}:

x=5π6−π3=π2x=13π6−π3=11π6x = \frac{5\pi}{6} - \frac{\pi}{3} = \frac{\pi}{2} \qquad x = \frac{13\pi}{6} - \frac{\pi}{3} = \frac{11\pi}{6}

✅ Check: at x=π2x = \frac{\pi}{2}, 1+3⋅0=11 + \sqrt3\cdot 0 = 1 ✓. At x=11π6x = \frac{11\pi}{6}, −12+3⋅32=−12+32=1-\frac12 + \sqrt3\cdot\frac{\sqrt3}{2} = -\frac12 + \frac32 = 1 ✓.

⚠️ Shift the interval along with the angle. Solving sin⁡u=12\sin u = \frac12 on [0,2π)[0, 2\pi) instead would give u=π6u = \frac{\pi}{6}, which leads to x=−π6x = -\frac{\pi}{6}, outside the interval.

Read the Features 🔽

Use y=sin⁡x+3cos⁡x=2sin⁡ ⁣(x+π3)y = \sin x + \sqrt3\cos x = 2\sin\!\left(x + \dfrac{\pi}{3}\right).

When a Coefficient Is Negative

Rewrite sin⁡x−cos⁡x\sin x - \cos x. Here a=1a = 1, b=−1b = -1, so R=2R = \sqrt2, cos⁡C=12\cos C = \frac{1}{\sqrt2}, and sin⁡C=−12\sin C = -\frac{1}{\sqrt2}. Cosine positive and sine negative puts CC in Quadrant IV: C=−π4C = -\frac{\pi}{4}.

sin⁡x−cos⁡x=2sin⁡ ⁣(x−π4)\sin x - \cos x = \sqrt2\sin\!\left(x - \frac{\pi}{4}\right)

Verify by expanding: 2(sin⁡xcos⁡π4−cos⁡xsin⁡π4)=2(22sin⁡x−22cos⁡x)=sin⁡x−cos⁡x\sqrt2\left(\sin x\cos\frac{\pi}{4} - \cos x\sin\frac{\pi}{4}\right) = \sqrt2\left(\frac{\sqrt2}{2}\sin x - \frac{\sqrt2}{2}\cos x\right) = \sin x - \cos x ✓

💡 Always confirm a rewrite by expanding it with the sum or difference identity. It takes one line and catches sign errors in CC.

Rewrite and Solve 🧮

Write 3sin⁡x−cos⁡x\sqrt3\sin x - \cos x as Rsin⁡(x+C)R\sin(x + C).

1) R= ?R = \,? 2) The maximum value of y=3sin⁡x−cos⁡xy = \sqrt3\sin x - \cos x is  ?\,? 3) Solve 3sin⁡x−cos⁡x=2\sqrt3\sin x - \cos x = 2 on [0,2π)[0, 2\pi). Enter xx 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:

  1. Decompose the angle into two special angles (sum or difference).
  2. Pick the right family (sin or cos) and write the formula.
  3. Substitute unit-circle values.
  4. Simplify, then check the sign against the quadrant.

Worked Example: cos⁡7π12\cos \frac{7\pi}{12}

Step 1 — Decompose: 7π12=π3+π4\frac{7\pi}{12} = \frac{\pi}{3} + \frac{\pi}{4}.

Step 2 — Formula: cosine of a sum flips the sign: cos⁡7π12=cos⁡π3cos⁡π4−sin⁡π3sin⁡π4\cos \frac{7\pi}{12} = \cos \frac{\pi}{3}\cos \frac{\pi}{4} - \sin \frac{\pi}{3}\sin \frac{\pi}{4}

Step 3 — Substitute: =12⋅22−32⋅22=24−64= \frac{1}{2}\cdot\frac{\sqrt2}{2} - \frac{\sqrt3}{2}\cdot\frac{\sqrt2}{2} = \frac{\sqrt2}{4} - \frac{\sqrt6}{4}

Step 4 — Simplify: cos⁡7π12=2−64\cos \frac{7\pi}{12} = \frac{\sqrt2 - \sqrt6}{4}

✅ Check: 2−64≈1.414−2.4494≈−0.259\dfrac{\sqrt2 - \sqrt6}{4} \approx \dfrac{1.414 - 2.449}{4} \approx -0.259. Since 7π12\frac{7\pi}{12} is in Quadrant II, cosine is negative — consistent. ✓

Apply the Method 🎯

Worked Example: sin⁡7π12\sin \frac{7\pi}{12}

Decompose: 7π12=π3+π4\frac{7\pi}{12} = \frac{\pi}{3} + \frac{\pi}{4}. Use the sine sum formula (sine keeps its sign):

sin⁡7π12=sin⁡π3cos⁡π4+cos⁡π3sin⁡π4\sin \frac{7\pi}{12} = \sin \frac{\pi}{3}\cos \frac{\pi}{4} + \cos \frac{\pi}{3}\sin \frac{\pi}{4}

=32⋅22+12⋅22=64+24=6+24= \frac{\sqrt3}{2}\cdot\frac{\sqrt2}{2} + \frac{1}{2}\cdot\frac{\sqrt2}{2} = \frac{\sqrt6}{4} + \frac{\sqrt2}{4} = \frac{\sqrt6 + \sqrt2}{4}

💡 Notice: sin⁡7π12=6+24=sin⁡5π12\sin \frac{7\pi}{12} = \frac{\sqrt6+\sqrt2}{4} = \sin \frac{5\pi}{12}. That's because sin⁡(π−θ)=sin⁡θ\sin(\pi - \theta) = \sin\theta, and 7π12=π−5π12\frac{7\pi}{12} = \pi - \frac{5\pi}{12}. 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.)

1) cos⁡7π12=2−64= ?\cos \frac{7\pi}{12} = \dfrac{\sqrt2 - \sqrt6}{4} = \,? 2) sin⁡π12=6−24= ?\sin \frac{\pi}{12} = \dfrac{\sqrt6 - \sqrt2}{4} = \,? 3) cos⁡π12=6+24= ?\cos \frac{\pi}{12} = \dfrac{\sqrt6 + \sqrt2}{4} = \,?

Don't Forget the Quadrant

Angles like 7π12\frac{7\pi}{12}, 11π12\frac{11\pi}{12}, and 13π12\frac{13\pi}{12} live outside Quadrant I, so the sign of your answer matters. After you decompose and expand, sanity-check the sign against the quadrant.

AngleQuadrantsin⁡\sincos⁡\cos
7π12\frac{7\pi}{12}II++−-
13π12\frac{13\pi}{12}III−-−-
19π12\frac{19\pi}{12}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 sin⁡11π12\sin \frac{11\pi}{12}. 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 shape sin⁡Acos⁡B+cos⁡Asin⁡B\sin A\cos B + \cos A\sin B, you can instantly rewrite it as sin⁡(A+B)\sin(A+B).

Collapsing Expressions

If you see…It collapses to…
sin⁡Acos⁡B+cos⁡Asin⁡B\sin A\cos B + \cos A\sin Bsin⁡(A+B)\sin(A + B)
sin⁡Acos⁡B−cos⁡Asin⁡B\sin A\cos B - \cos A\sin Bsin⁡(A−B)\sin(A - B)
cos⁡Acos⁡B−sin⁡Asin⁡B\cos A\cos B - \sin A\sin Bcos⁡(A+B)\cos(A + B)
cos⁡Acos⁡B+sin⁡Asin⁡B\cos A\cos B + \sin A\sin Bcos⁡(A−B)\cos(A - B)

Example

sin⁡5π18cos⁡π9−cos⁡5π18sin⁡π9=sin⁡(5π18−π9)=sin⁡π6=12\sin \frac{5\pi}{18}\cos \frac{\pi}{9} - \cos \frac{5\pi}{18}\sin \frac{\pi}{9} = \sin(\frac{5\pi}{18} - \frac{\pi}{9}) = \sin \frac{\pi}{6} = \frac{1}{2}

💡 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)=cos⁡x\sin\!\left(x + \dfrac{\pi}{2}\right) = \cos x.

Expand with the sine sum formula:

sin⁡ ⁣(x+π2)=sin⁡xcos⁡π2+cos⁡xsin⁡π2\sin\!\left(x + \frac{\pi}{2}\right) = \sin x\cos\frac{\pi}{2} + \cos x\sin\frac{\pi}{2}

Substitute cos⁡π2=0\cos\dfrac{\pi}{2} = 0 and sin⁡π2=1\sin\dfrac{\pi}{2} = 1:

=sin⁡x⋅0+cos⁡x⋅1=cos⁡x■= \sin x\cdot 0 + \cos x\cdot 1 = \cos x \qquad \blacksquare

💡 Phase shifts as identities: this is exactly why shifting a sine graph left by π2\frac{\pi}{2} produces the cosine graph. The algebra and the picture agree.

Complete the Proof 🔽

Prove that cos⁡(π−x)=−cos⁡x\cos(\pi - x) = -\cos x. 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 (cos⁡cos⁡±sin⁡sin⁡\cos\cos \pm \sin\sin) → it's a cosine of (A∓B)(A \mp B).
  • Mixed (sin⁡cos⁡±cos⁡sin⁡\sin\cos \pm \cos\sin) → it's a sine of (A±B)(A \pm 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) sin⁡5π12cos⁡π6−cos⁡5π12sin⁡π6=sin⁡( ?⋅π)\sin \frac{5\pi}{12}\cos \frac{\pi}{6} - \cos \frac{5\pi}{12}\sin \frac{\pi}{6} = \sin(\,?\cdot\pi), where the angle is the difference of the two given angles (between 00 and π2\frac{\pi}{2}) — enter the coefficient of π\pi (e.g. 1/6). 2) That value = ?= \,? (3 decimals) 3) cos⁡7π12cos⁡π4+sin⁡7π12sin⁡π4=cos⁡( ?⋅π)\cos \frac{7\pi}{12}\cos \frac{\pi}{4} + \sin \frac{7\pi}{12}\sin \frac{\pi}{4} = \cos(\,?\cdot\pi), again with the angle between 00 and π2\frac{\pi}{2} — enter the coefficient of π\pi.

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⁡\sin and cos⁡\cos of two angles without the angles themselves, and ask for the sine or cosine of their sum.

Worked Example: Given Sines & Cosines

Suppose sin⁡A=35\sin A = \dfrac{3}{5} with AA in Quadrant I, and cos⁡B=513\cos B = \dfrac{5}{13} with BB in Quadrant I. Find sin⁡(A+B)\sin(A + B).

Step 1 — Find the missing pieces using Pythagorean triples:

  • AA in QI with sin⁡A=35⇒cos⁡A=45\sin A = \frac35 \Rightarrow \cos A = \frac45 (3-4-5 triangle).
  • BB in QI with cos⁡B=513⇒sin⁡B=1213\cos B = \frac{5}{13} \Rightarrow \sin B = \frac{12}{13} (5-12-13 triangle).

Step 2 — Apply the sine sum formula: sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B=35⋅513+45⋅1213\sin(A+B) = \sin A\cos B + \cos A\sin B = \frac{3}{5}\cdot\frac{5}{13} + \frac{4}{5}\cdot\frac{12}{13}

=1565+4865=6365= \frac{15}{65} + \frac{48}{65} = \frac{63}{65}

⚠️ Watch the quadrants. If an angle were in QII–QIV, one of sin⁡\sin or cos⁡\cos would be negative. Always assign the sign from the quadrant before multiplying.

Your Turn (Given Values) 🧮

Use sin⁡A=35\sin A = \dfrac{3}{5} (AA in QI) and cos⁡B=513\cos B = \dfrac{5}{13} (BB in QI), so cos⁡A=45\cos A = \dfrac{4}{5} and sin⁡B=1213\sin B = \dfrac{12}{13}.

1) cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B= ?\cos(A + B) = \cos A\cos B - \sin A\sin B = \,? (enter as a fraction like a/b) 2) sin⁡(A−B)=sin⁡Acos⁡B−cos⁡Asin⁡B= ?\sin(A - B) = \sin A\cos B - \cos A\sin B = \,? (fraction)

Master Reference

IdentityExpansion
sin⁡(A+B)\sin(A + B)sin⁡Acos⁡B+cos⁡Asin⁡B\sin A\cos B + \cos A\sin B
sin⁡(A−B)\sin(A - B)sin⁡Acos⁡B−cos⁡Asin⁡B\sin A\cos B - \cos A\sin B
cos⁡(A+B)\cos(A + B)cos⁡Acos⁡B−sin⁡Asin⁡B\cos A\cos B - \sin A\sin B
cos⁡(A−B)\cos(A - B)cos⁡Acos⁡B+sin⁡Asin⁡B\cos A\cos B + \sin A\sin B
asin⁡x+bcos⁡xa\sin x + b\cos xRsin⁡(x+C)R\sin(x + C) with R=a2+b2R = \sqrt{a^2 + b^2}

🔑 Three rules to never forget:

  1. Cosine flips the sign; sine keeps it.
  2. Cosine uses matched products; sine uses mixed.
  3. Assign each missing sine or cosine its sign from the quadrant before you multiply.

Mixed Practice 🎯

Exit Quiz ✅

Answer all three to finish the lesson.