Trigonometry

Sum, Difference, and Double-Angle Formulas

Last updated: March 2026 · Advanced
Before you start

You should be comfortable with:

Real-world applications
📐
Carpentry

Measurements, material estimation, cutting calculations

Electrical

Voltage drop, wire sizing, load balancing

The sum and difference formulas let you find exact trig values for angles that are not on the standard unit circle — angles like 75° (which is 45° + 30°) or 15° (which is 45° − 30°). By combining known values of special angles, you can compute exact results without a calculator. These identities are the foundation for the double-angle, half-angle, and product-to-sum formulas that appear throughout calculus, physics, and advanced standardized test questions. If you plan to study calculus or work in any technical field that involves wave analysis, these formulas are essential.

Sum and Difference Formulas

There are six formulas — two each for sine, cosine, and tangent.

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) = \dfrac{\tan A + \tan B}{1 - \tan A \tan B}

tan(AB)=tanAtanB1+tanAtanB\tan(A - B) = \dfrac{\tan A - \tan B}{1 + \tan A \tan B}

Sign Pattern Memory Aid

Pay close attention to the signs — they follow a consistent but slightly tricky pattern:

  • Sine formulas match the operation sign. The sum formula sin(A+B)\sin(A + B) uses a plus between terms; the difference formula sin(AB)\sin(A - B) uses a minus.
  • Cosine formulas flip the sign. The sum formula cos(A+B)\cos(A + B) uses a minus between terms; the difference formula cos(AB)\cos(A - B) uses a plus. This reversal is the most common source of errors.
  • Tangent has the opposite sign in the denominator. The sum formula has a minus in the denominator (1tanAtanB1 - \tan A \tan B); the difference formula has a plus (1+tanAtanB1 + \tan A \tan B).

Worked Example 1: Find the Exact Value of sin(75°)

Since 75° is not a special angle, decompose it: 75°=45°+30°75° = 45° + 30°.

sin(75°)=sin(45°+30°)=sin45°cos30°+cos45°sin30°\sin(75°) = \sin(45° + 30°) = \sin 45° \cos 30° + \cos 45° \sin 30°

Substitute the known exact values:

=2232+2212= \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} + \frac{\sqrt{2}}{2} \cdot \frac{1}{2}

=64+24=6+24= \frac{\sqrt{6}}{4} + \frac{\sqrt{2}}{4} = \frac{\sqrt{6} + \sqrt{2}}{4}

Answer: sin(75°)=6+240.9659\sin(75°) = \dfrac{\sqrt{6} + \sqrt{2}}{4} \approx 0.9659

Worked Example 2: Find the Exact Value of cos(15°)

Decompose: 15°=45°30°15° = 45° - 30°.

cos(15°)=cos(45°30°)=cos45°cos30°+sin45°sin30°\cos(15°) = \cos(45° - 30°) = \cos 45° \cos 30° + \sin 45° \sin 30°

Note the plus sign — cosine difference flips to addition:

=2232+2212= \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} + \frac{\sqrt{2}}{2} \cdot \frac{1}{2}

=64+24=6+24= \frac{\sqrt{6}}{4} + \frac{\sqrt{2}}{4} = \frac{\sqrt{6} + \sqrt{2}}{4}

Answer: cos(15°)=6+240.9659\cos(15°) = \dfrac{\sqrt{6} + \sqrt{2}}{4} \approx 0.9659

Notice that sin(75°)=cos(15°)\sin(75°) = \cos(15°). This confirms the co-function identity: sinθ=cos(90°θ)\sin\theta = \cos(90° - \theta).

Worked Example 3: Simplify sin(x + π)

Apply the sine sum formula with A=xA = x and B=πB = \pi:

sin(x+π)=sinxcosπ+cosxsinπ\sin(x + \pi) = \sin x \cdot \cos\pi + \cos x \cdot \sin\pi

Since cosπ=1\cos\pi = -1 and sinπ=0\sin\pi = 0:

=sinx(1)+cosx(0)=sinx= \sin x \cdot (-1) + \cos x \cdot (0) = -\sin x

Answer: sin(x+π)=sinx\sin(x + \pi) = -\sin x

This result explains why sine is negative in Quadrant III — adding π\pi radians (180°) to any angle moves it to the opposite side of the unit circle, flipping the sign of sine.

Double-Angle Formulas

The double-angle formulas are a direct consequence of the sum formulas. Set B=AB = A in each sum formula, and you get the double-angle version.

Deriving sin(2θ)

Start with the sine sum formula:

sin(A+B)=sinAcosB+cosAsinB\sin(A + B) = \sin A \cos B + \cos A \sin B

Set A=B=θA = B = \theta:

sin(θ+θ)=sinθcosθ+cosθsinθ=2sinθcosθ\sin(\theta + \theta) = \sin\theta \cos\theta + \cos\theta \sin\theta = 2\sin\theta\cos\theta

sin(2θ)=2sinθcosθ\boxed{\sin(2\theta) = 2\sin\theta\cos\theta}

Cosine Double-Angle (Three Forms)

Setting A=B=θA = B = \theta in the cosine sum formula:

cos(2θ)=cos2θsin2θ\cos(2\theta) = \cos^2\theta - \sin^2\theta

This primary form can be rewritten two more ways using the Pythagorean identity sin2θ+cos2θ=1\sin^2\theta + \cos^2\theta = 1:

Form 2: Substitute sin2θ=1cos2θ\sin^2\theta = 1 - \cos^2\theta:

cos(2θ)=cos2θ(1cos2θ)=2cos2θ1\cos(2\theta) = \cos^2\theta - (1 - \cos^2\theta) = 2\cos^2\theta - 1

Form 3: Substitute cos2θ=1sin2θ\cos^2\theta = 1 - \sin^2\theta:

cos(2θ)=(1sin2θ)sin2θ=12sin2θ\cos(2\theta) = (1 - \sin^2\theta) - \sin^2\theta = 1 - 2\sin^2\theta

All three are the same identity in different clothing:

cos(2θ)=cos2θsin2θ=2cos2θ1=12sin2θ\boxed{\cos(2\theta) = \cos^2\theta - \sin^2\theta = 2\cos^2\theta - 1 = 1 - 2\sin^2\theta}

Choose whichever form matches the information you have. If you know only cosine, use 2cos2θ12\cos^2\theta - 1. If you know only sine, use 12sin2θ1 - 2\sin^2\theta.

Tangent Double-Angle

Setting A=B=θA = B = \theta in the tangent sum formula:

tan(2θ)=2tanθ1tan2θ\boxed{\tan(2\theta) = \dfrac{2\tan\theta}{1 - \tan^2\theta}}

Worked Example 4: Find sin(2θ) Given sinθ = 3/5 in Quadrant I

First, find cosθ\cos\theta using the Pythagorean identity:

cos2θ=1sin2θ=1925=1625\cos^2\theta = 1 - \sin^2\theta = 1 - \frac{9}{25} = \frac{16}{25}

Since θ\theta is in Quadrant I, cosine is positive: cosθ=45\cos\theta = \frac{4}{5}.

Now apply the double-angle formula:

sin(2θ)=2sinθcosθ=23545=2425\sin(2\theta) = 2\sin\theta\cos\theta = 2 \cdot \frac{3}{5} \cdot \frac{4}{5} = \frac{24}{25}

Answer: sin(2θ)=2425\sin(2\theta) = \dfrac{24}{25}

Worked Example 5: Verify the cos(2θ) Identity

Show that cos(2θ)=12sin2θ\cos(2\theta) = 1 - 2\sin^2\theta follows from cos(2θ)=cos2θsin2θ\cos(2\theta) = \cos^2\theta - \sin^2\theta.

Start with the primary form:

cos(2θ)=cos2θsin2θ\cos(2\theta) = \cos^2\theta - \sin^2\theta

Substitute cos2θ=1sin2θ\cos^2\theta = 1 - \sin^2\theta (Pythagorean identity rearranged):

=(1sin2θ)sin2θ=12sin2θ= (1 - \sin^2\theta) - \sin^2\theta = 1 - 2\sin^2\theta

This confirms that the third form is equivalent. You can verify the second form (2cos2θ12\cos^2\theta - 1) by substituting sin2θ=1cos2θ\sin^2\theta = 1 - \cos^2\theta instead.

Real-World Connection: AC Circuits and Signal Processing

In alternating current (AC) electrical circuits, both voltage and current are sinusoidal. The instantaneous power involves products like sin(ωt)sin(ωt+φ)\sin(\omega t) \cdot \sin(\omega t + \varphi), where φ\varphi is the phase angle. Analyzing this product requires the sum formula to expand sin(ωt+φ)\sin(\omega t + \varphi), which lets engineers decompose the power into real (useful) power and reactive power.

In signal processing, these formulas are the mathematical basis for frequency mixing and modulation — the techniques used to transmit radio, TV, and cell phone signals. When two signals at different frequencies are multiplied together, the sum and difference formulas show that the result contains signals at the sum and difference of the original frequencies.

Common Mistakes

  1. Writing sin(A+B)=sinA+sinB\sin(A + B) = \sin A + \sin B — This is wrong. You cannot distribute the sine function over addition. The sine of a sum requires the full four-term expansion.
  2. Getting the sign wrong in cosine formulas — Remember that cosine flips the sign: cos(A+B)\cos(A + B) uses subtraction, and cos(AB)\cos(A - B) uses addition. This is the opposite of what you might expect.
  3. Forgetting to use exact values from special angles — When computing sin(75°)\sin(75°) or cos(15°)\cos(15°), use the exact values 22\frac{\sqrt{2}}{2}, 32\frac{\sqrt{3}}{2}, and 12\frac{1}{2} from the special angles table. Decimal approximations defeat the purpose.
  4. Confusing when to use sum formulas vs double-angle formulas — The double-angle formulas are for sin(2θ)\sin(2\theta), cos(2θ)\cos(2\theta), etc. — always twice the same angle. The sum and difference formulas are for combining two different angles.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Find the exact value of cos(105°)\cos(105°) using cos(60°+45°)\cos(60° + 45°).

Apply the cosine sum formula (remember the minus sign):

cos(105°)=cos(60°+45°)=cos60°cos45°sin60°sin45°\cos(105°) = \cos(60° + 45°) = \cos 60° \cos 45° - \sin 60° \sin 45°

=12223222= \frac{1}{2} \cdot \frac{\sqrt{2}}{2} - \frac{\sqrt{3}}{2} \cdot \frac{\sqrt{2}}{2}

=2464=264= \frac{\sqrt{2}}{4} - \frac{\sqrt{6}}{4} = \frac{\sqrt{2} - \sqrt{6}}{4}

Answer: cos(105°)=2640.2588\cos(105°) = \dfrac{\sqrt{2} - \sqrt{6}}{4} \approx -0.2588

Problem 2: Find the exact value of tan(75°)\tan(75°) using tan(45°+30°)\tan(45° + 30°).

Apply the tangent sum formula:

tan(75°)=tan(45°+30°)=tan45°+tan30°1tan45°tan30°\tan(75°) = \tan(45° + 30°) = \dfrac{\tan 45° + \tan 30°}{1 - \tan 45° \tan 30°}

=1+331133=3+33333=3+333= \dfrac{1 + \frac{\sqrt{3}}{3}}{1 - 1 \cdot \frac{\sqrt{3}}{3}} = \dfrac{\frac{3 + \sqrt{3}}{3}}{\frac{3 - \sqrt{3}}{3}} = \dfrac{3 + \sqrt{3}}{3 - \sqrt{3}}

Rationalize by multiplying numerator and denominator by (3+3)(3 + \sqrt{3}):

=(3+3)2(3)2(3)2=9+63+393=12+636=2+3= \dfrac{(3 + \sqrt{3})^2}{(3)^2 - (\sqrt{3})^2} = \dfrac{9 + 6\sqrt{3} + 3}{9 - 3} = \dfrac{12 + 6\sqrt{3}}{6} = 2 + \sqrt{3}

Answer: tan(75°)=2+33.732\tan(75°) = 2 + \sqrt{3} \approx 3.732

Problem 3: If cosθ=513\cos\theta = -\frac{5}{13} and θ\theta is in Quadrant II, find sin(2θ)\sin(2\theta).

First, find sinθ\sin\theta using the Pythagorean identity:

sin2θ=1cos2θ=125169=144169\sin^2\theta = 1 - \cos^2\theta = 1 - \frac{25}{169} = \frac{144}{169}

In Quadrant II, sine is positive: sinθ=1213\sin\theta = \frac{12}{13}.

Apply the double-angle formula:

sin(2θ)=2sinθcosθ=21213(513)=120169\sin(2\theta) = 2\sin\theta\cos\theta = 2 \cdot \frac{12}{13} \cdot \left(-\frac{5}{13}\right) = -\frac{120}{169}

Answer: sin(2θ)=120169\sin(2\theta) = -\dfrac{120}{169}

Problem 4: Simplify cosxcosysinxsiny\cos x \cos y - \sin x \sin y.

This expression is exactly the cosine sum formula:

cosxcosysinxsiny=cos(x+y)\cos x \cos y - \sin x \sin y = \cos(x + y)

No further simplification is needed — recognizing the pattern is the whole point.

Answer: cos(x+y)\cos(x + y)

Problem 5: Show that sin(2θ)2cosθ=sinθ\dfrac{\sin(2\theta)}{2\cos\theta} = \sin\theta.

Start with the double-angle formula for sine:

sin(2θ)2cosθ=2sinθcosθ2cosθ\frac{\sin(2\theta)}{2\cos\theta} = \frac{2\sin\theta\cos\theta}{2\cos\theta}

Cancel 2cosθ2\cos\theta from the numerator and denominator:

=sinθ= \sin\theta

Answer: Verified. sin(2θ)2cosθ=sinθ\dfrac{\sin(2\theta)}{2\cos\theta} = \sin\theta (provided cosθ0\cos\theta \neq 0).

Key Takeaways

  • The sum and difference formulas expand sin(A±B)\sin(A \pm B), cos(A±B)\cos(A \pm B), and tan(A±B)\tan(A \pm B) using only the trig values of AA and BB individually
  • Sine matches the operation sign; cosine flips it; tangent puts the opposite sign in the denominator
  • These formulas let you compute exact values for non-special angles like 15°, 75°, 105°, and 165°
  • The double-angle formulas are the special case where B=AB = A, giving sin(2θ)=2sinθcosθ\sin(2\theta) = 2\sin\theta\cos\theta and three equivalent forms for cos(2θ)\cos(2\theta)
  • Choose the form of cos(2θ)\cos(2\theta) that matches what you know: use 2cos2θ12\cos^2\theta - 1 if you know cosine, or 12sin2θ1 - 2\sin^2\theta if you know sine
  • These identities appear throughout calculus (integration techniques), physics (wave superposition), and electrical engineering (AC power analysis)

Return to Trigonometry for more topics in this section.

Last updated: March 28, 2026