Fiveable

📈College Algebra Unit 9 Review

QR code for College Algebra practice questions

9.2 Sum and Difference Identities

9.2 Sum and Difference Identities

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📈College Algebra
Unit & Topic Study Guides

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)=sinAcosB+cosAsinB\sin(A + B) = \sin A \cos B + \cos A \sin B

sin(AB)=sinAcosBcosAsinB\sin(A - B) = \sin A \cos B - \cos A \sin B

Cosine:

cos(A+B)=cosAcosBsinAsinB\cos(A + B) = \cos A \cos B - \sin A \sin B

cos(AB)=cosAcosB+sinAsinB\cos(A - B) = \cos A \cos B + \sin A \sin B

Tangent:

tan(A+B)=tanA+tanB1tanAtanB\tan(A + B) = \frac{\tan A + \tan B}{1 - \tan A \tan B}

tan(AB)=tanAtanB1+tanAtanB\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 (sincos\sin \cdot \cos), while Cosine formulas pair like with like (coscos\cos \cdot \cos and sinsin\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°)=cos45°cos30°sin45°sin30°\cos(45° + 30°) = \cos 45° \cos 30° - \sin 45° \sin 30°

  3. Substitute known values: =22322212= \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} - \frac{\sqrt{2}}{2} \cdot \frac{1}{2}

  4. Simplify: =624= \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(π2x)\sin\left(\frac{\pi}{2} - x\right) inside a larger problem, swap it for cosx\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(xy)=2sinxcosy\sin(x + y) + \sin(x - y) = 2\sin x \cos y.

  1. Expand the LHS using sum and difference formulas:

    • sin(x+y)=sinxcosy+cosxsiny\sin(x+y) = \sin x \cos y + \cos x \sin y
    • sin(xy)=sinxcosycosxsiny\sin(x-y) = \sin x \cos y - \cos x \sin y
  2. Add them: (sinxcosy+cosxsiny)+(sinxcosycosxsiny)(\sin x \cos y + \cos x \sin y) + (\sin x \cos y - \cos x \sin y)

  3. The cosxsiny\cos x \sin y terms cancel, leaving 2sinxcosy2\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 sinAcosB±cosAsinB\sin A \cos B \pm \cos A \sin B (that's a sine formula in disguise).
  • You see cosAcosBsinAsinB\cos A \cos B \mp \sin A \sin B (that's a cosine formula).
  • You see a fraction with tanA±tanB1tanAtanB\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 0x<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)=tanx+11tanx\tan\!\left(x + \frac{\pi}{4}\right) = \frac{\tan x + 1}{1 - \tan x}
    • tan ⁣(xπ4)=tanx11+tanx\tan\!\left(x - \frac{\pi}{4}\right) = \frac{\tan x - 1}{1 + \tan x}
  2. Subtract and find a common denominator (1tanx)(1+tanx)=1tan2x(1 - \tan x)(1 + \tan x) = 1 - \tan^2 x: (tanx+1)(1+tanx)(tanx1)(1tanx)1tan2x\frac{(\tan x + 1)(1 + \tan x) - (\tan x - 1)(1 - \tan x)}{1 - \tan^2 x}

  3. Expand the numerator:

    • (tanx+1)2=tan2x+2tanx+1(\tan x + 1)^2 = \tan^2 x + 2\tan x + 1
    • (tanx1)(1tanx)=(tanx1)2=(tan2x2tanx+1)(\tan x - 1)(1 - \tan x) = -(tan x - 1)^2 = -(\tan^2 x - 2\tan x + 1)
    • Numerator: tan2x+2tanx+1+tan2x2tanx+1=2tan2x+2=2(tan2x+1)=2sec2x\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: 2sec2x1tan2x\frac{2\sec^2 x}{1 - \tan^2 x}

Note: The original guide listed the final answer as 2sec2x2\sec^2 x, but the denominator 1tan2x1 - \tan^2 x doesn't simplify away. You can rewrite this as 2cos2xsin2x=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.