Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

9.2 Sum and Difference Identities

Updated March 2026Fiveable Content Team
Fiveable

📈College Algebra Unit 9 Review

QR code for College Algebra practice questions

9.2 Sum and Difference Identities

Sum and Difference Identities

Sum and difference identities let you find exact values of trig functions at angles that aren't on the standard unit circle (like 75°75° or 7π12\frac{7\pi}{12}) by breaking them into angles you already know. They also serve as the foundation for double-angle formulas, half-angle formulas, and solving more complex trig equations.

Sum and Difference Formulas

The six core formulas

Notice the sign patterns here. For sine, the formula keeps the same sign as the operation (sum stays "+", difference stays "−"). For cosine, the sign flips (sum gets "−", difference gets "+"). For tangent, the numerator matches the operation's sign while the denominator flips.

Sine:

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

Cosine:

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

Tangent:

tan⁡(A+B)=tan⁡A+tan⁡B1−tan⁡Atan⁡B\tan(A + B) = \frac{\tan A + \tan B}{1 - \tan A \tan B}

tan⁡(A−B)=tan⁡A−tan⁡B1+tan⁡Atan⁡B\tan(A - B) = \frac{\tan A - \tan B}{1 + \tan A \tan B}

A quick way to remember: Sine formulas use a mix of Sine and Cosine (sin⁡⋅cos⁡\sin \cdot \cos), while Cosine formulas pair like with like (cos⁡⋅cos⁡\cos \cdot \cos and sin⁡⋅sin⁡\sin \cdot \sin).

Finding exact values with these formulas

The whole point is to decompose an unfamiliar angle into two familiar ones. For example, to find cos⁡(75°)\cos(75°):

  1. Rewrite 75°75° as 45°+30°45° + 30°.

  2. Apply the cosine sum formula: cos⁡(45°+30°)=cos⁡45°cos⁡30°−sin⁡45°sin⁡30°\cos(45° + 30°) = \cos 45° \cos 30° - \sin 45° \sin 30°

  3. Substitute known values: =22⋅32−22⋅12= \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} - \frac{\sqrt{2}}{2} \cdot \frac{1}{2}

  4. Simplify: =6−24= \frac{\sqrt{6} - \sqrt{2}}{4}

Common decompositions to keep in your back pocket:

  • 75°=45°+30°75° = 45° + 30° and 15°=45°−30°15° = 45° - 30°
  • 7π12=π3+π4\frac{7\pi}{12} = \frac{\pi}{3} + \frac{\pi}{4} and π12=π3−π4\frac{\pi}{12} = \frac{\pi}{3} - \frac{\pi}{4}
  • 105°=60°+45°105° = 60° + 45° and 5π12=π4+π6\frac{5\pi}{12} = \frac{\pi}{4} + \frac{\pi}{6}
Sum and difference formulas, TrigCheatSheet.com: Graphing Sine, Cosine, and Tangent

Cofunction identities from the difference formulas

Cofunction identities are actually a special case of the difference formulas. When you set A=π2A = \frac{\pi}{2} and apply the difference formula, you get:

  • sin⁡(π2−θ)=cos⁡θ\sin\left(\frac{\pi}{2} - \theta\right) = \cos \theta and cos⁡(π2−θ)=sin⁡θ\cos\left(\frac{\pi}{2} - \theta\right) = \sin \theta
  • tan⁡(π2−θ)=cot⁡θ\tan\left(\frac{\pi}{2} - \theta\right) = \cot \theta and cot⁡(π2−θ)=tan⁡θ\cot\left(\frac{\pi}{2} - \theta\right) = \tan \theta
  • sec⁡(π2−θ)=csc⁡θ\sec\left(\frac{\pi}{2} - \theta\right) = \csc \theta and csc⁡(π2−θ)=sec⁡θ\csc\left(\frac{\pi}{2} - \theta\right) = \sec \theta

Each pair involves complementary angles (angles that add to π2\frac{\pi}{2}, or 90°90°). When you see an expression like sin⁡(π2−x)\sin\left(\frac{\pi}{2} - x\right) inside a larger problem, swap it for cos⁡x\cos x right away to simplify your work.

Verification of trigonometric identities

To verify an identity means to show that both sides of an equation are equivalent for all values where they're defined. The strategy:

  1. Pick the more complicated side (usually the LHS).
  2. Expand any sum/difference expressions using the formulas above.
  3. Apply cofunction identities or Pythagorean identities as needed.
  4. Simplify using algebra (factor, combine fractions, cancel) until it matches the other side.

You should only manipulate one side at a time. Don't cross the equals sign and work on both sides simultaneously, since that assumes the identity is already true.

Example: Verify that sin⁡(x+y)+sin⁡(x−y)=2sin⁡xcos⁡y\sin(x + y) + \sin(x - y) = 2\sin x \cos y.

  1. Expand the LHS using sum and difference formulas:

    • sin⁡(x+y)=sin⁡xcos⁡y+cos⁡xsin⁡y\sin(x+y) = \sin x \cos y + \cos x \sin y
    • sin⁡(x−y)=sin⁡xcos⁡y−cos⁡xsin⁡y\sin(x-y) = \sin x \cos y - \cos x \sin y
  2. Add them: (sin⁡xcos⁡y+cos⁡xsin⁡y)+(sin⁡xcos⁡y−cos⁡xsin⁡y)(\sin x \cos y + \cos x \sin y) + (\sin x \cos y - \cos x \sin y)

  3. The cos⁡xsin⁡y\cos x \sin y terms cancel, leaving 2sin⁡xcos⁡y2\sin x \cos y. This matches the RHS. ✓

Solving equations with identities

When a trig equation contains compound angles, use sum/difference formulas to rewrite everything in terms of a single angle.

  1. Apply the appropriate sum or difference formula to expand compound-angle terms.

  2. Substitute cofunction identities if any π2−θ\frac{\pi}{2} - \theta expressions appear.

  3. Collect terms and solve using algebra (factoring, quadratic formula, etc.).

  4. Find all solutions in the given domain. Remember: sine and cosine repeat every 2π2\pi, tangent and cotangent repeat every π\pi.

  5. Check your answers by plugging them back in. Factoring steps can sometimes introduce false solutions.

Sum and difference formulas, Sum and Difference Identities – Algebra and Trigonometry OpenStax

Simplification of complex expressions

When simplifying, look for these clues that a sum/difference formula applies:

  • You see sin⁡Acos⁡B±cos⁡Asin⁡B\sin A \cos B \pm \cos A \sin B (that's a sine formula in disguise).
  • You see cos⁡Acos⁡B∓sin⁡Asin⁡B\cos A \cos B \mp \sin A \sin B (that's a cosine formula).
  • You see a fraction with tan⁡A±tan⁡B1∓tan⁡Atan⁡B\frac{\tan A \pm \tan B}{1 \mp \tan A \tan B} (tangent formula).

Working backward from the expanded form back to the compact form is just as important as expanding. Many simplification problems ask you to recognize the pattern and condense.

Relationship to the unit circle

These identities come from the geometry of the unit circle. If you place two angles AA and BB on the unit circle, the cosine difference formula can be derived by computing the distance between the two corresponding points in two different ways. This geometric origin is why the formulas work for any angle, not just acute ones.

Applying Sum and Difference Identities

Solving equations with identities

Example: Solve sin⁡(x+π6)=12\sin(x + \frac{\pi}{6}) = \frac{1}{2} for 0≤x<2π0 \leq x < 2\pi.

  1. You know sin⁡(θ)=12\sin(\theta) = \frac{1}{2} when θ=π6\theta = \frac{\pi}{6} or θ=5π6\theta = \frac{5\pi}{6} (plus multiples of 2π2\pi).

  2. Set x+π6=π6x + \frac{\pi}{6} = \frac{\pi}{6}, giving x=0x = 0.

  3. Set x+π6=5π6x + \frac{\pi}{6} = \frac{5\pi}{6}, giving x=5π6−π6=2π3x = \frac{5\pi}{6} - \frac{\pi}{6} = \frac{2\pi}{3}.

  4. Solutions: x=0x = 0 and x=2π3x = \frac{2\pi}{3}.

Simplification of complex expressions

Example: Simplify tan⁡ ⁣(x+π4)−tan⁡ ⁣(x−π4)\tan\!\left(x + \frac{\pi}{4}\right) - \tan\!\left(x - \frac{\pi}{4}\right).

  1. Apply the tangent sum and difference formulas:

    • tan⁡ ⁣(x+π4)=tan⁡x+11−tan⁡x\tan\!\left(x + \frac{\pi}{4}\right) = \frac{\tan x + 1}{1 - \tan x}
    • tan⁡ ⁣(x−π4)=tan⁡x−11+tan⁡x\tan\!\left(x - \frac{\pi}{4}\right) = \frac{\tan x - 1}{1 + \tan x}
  2. Subtract and find a common denominator (1−tan⁡x)(1+tan⁡x)=1−tan⁡2x(1 - \tan x)(1 + \tan x) = 1 - \tan^2 x: (tan⁡x+1)(1+tan⁡x)−(tan⁡x−1)(1−tan⁡x)1−tan⁡2x\frac{(\tan x + 1)(1 + \tan x) - (\tan x - 1)(1 - \tan x)}{1 - \tan^2 x}

  3. Expand the numerator:

    • (tan⁡x+1)2=tan⁡2x+2tan⁡x+1(\tan x + 1)^2 = \tan^2 x + 2\tan x + 1
    • (tan⁡x−1)(1−tan⁡x)=−(tanx−1)2=−(tan⁡2x−2tan⁡x+1)(\tan x - 1)(1 - \tan x) = -(tan x - 1)^2 = -(\tan^2 x - 2\tan x + 1)
    • Numerator: tan⁡2x+2tan⁡x+1+tan⁡2x−2tan⁡x+1=2tan⁡2x+2=2(tan⁡2x+1)=2sec⁡2x\tan^2 x + 2\tan x + 1 + \tan^2 x - 2\tan x + 1 = 2\tan^2 x + 2 = 2(\tan^2 x + 1) = 2\sec^2 x
  4. Full expression: 2sec⁡2x1−tan⁡2x\frac{2\sec^2 x}{1 - \tan^2 x}

Note: The original guide listed the final answer as 2sec⁡2x2\sec^2 x, but the denominator 1−tan⁡2x1 - \tan^2 x doesn't simplify away. You can rewrite this as 2cos⁡2x−sin⁡2x=2cos⁡(2x)=2sec⁡(2x)\frac{2}{\cos^2 x - \sin^2 x} = \frac{2}{\cos(2x)}= 2\sec(2x), which is the fully simplified result.