Tutorials › Calculus I › Deriving the Angle Addition Formulas

Trigonometric Function Toolkit · Tutorial 138 of 1495

Deriving the Angle Addition Formulas

Use unit-circle coordinates and rotations to derive the sum and difference formulas for sine and cosine, then determine when the corresponding tangent formulas apply.

Beginner 10 min read

What You'll Learn

  • Represent a point on the unit circle using its angle’s cosine and sine.
  • Describe a plane rotation using its effect on the coordinate axes.
  • Derive the sine and cosine formulas for sums and differences of angles.
  • Use the oddness of sine and evenness of cosine to obtain subtraction formulas.
  • Derive tangent sum and difference formulas by taking a quotient.
  • Identify when the tangent formulas are undefined.

Why Angle Addition Formulas Matter

Knowing the sine and cosine of two angles separately does not, by itself, tell us immediately how to calculate the sine or cosine of their sum. Angle addition formulas provide that connection. They express the trigonometric functions of a combined angle using the functions of the original angles.

The formulas are not arbitrary rules to memorize. They follow from what happens to coordinates when a point is rotated. We will use the unit circle and rotations to derive them, then use the quotient definition of tangent to obtain the corresponding tangent formulas. Throughout, the angles in a formula must use the same unit of measurement.

Coordinates on the Unit Circle

The unit circle consists of the points \((x,y)\) satisfying \(x^2+y^2=1\). A point on this circle at angle \(\theta\), measured from the positive \(x\)-axis, has coordinates \((\cos\theta,\sin\theta)\). Thus its horizontal coordinate is the cosine of its angle, and its vertical coordinate is the sine.

A rotation through an angle \(\theta\) sends the point \((1,0)\) to \((\cos\theta,\sin\theta)\). It also sends \((0,1)\) to \((-\sin\theta,\cos\theta)\): the second unit vector is the first rotated by a further quarter-turn, so its rotated coordinates are perpendicular to the first vector and point in the corresponding direction.

Every vector \((x,y)\) can be written as \(x(1,0)+y(0,1)\). Because a rotation preserves addition and scalar multiplication of vectors, its effect on an arbitrary point is therefore

$$ (x,y)\longmapsto \bigl(x\cos\theta-y\sin\theta,\; x\sin\theta+y\cos\theta\bigr). $$

This coordinate rule is the key to the derivation: rotating through \(\alpha\), then through \(\beta\), has the same result as rotating through \(\alpha+\beta\). The formulas follow by computing those same coordinates in two ways.

Deriving the Sine and Cosine Sum Formulas

Start at \((1,0)\) and rotate through \(\alpha\). The point becomes \((\cos\alpha,\sin\alpha)\). Now rotate that point through \(\beta\), using the coordinate rule above. The resulting coordinates are

$$ \begin{aligned} x &=\cos\alpha\cos\beta-\sin\alpha\sin\beta,\\ y &=\cos\alpha\sin\beta+\sin\alpha\cos\beta. \end{aligned} $$

But the two successive rotations together are a rotation through \(\alpha+\beta\). The final point must therefore also have coordinates \((\cos(\alpha+\beta),\sin(\alpha+\beta))\). Equating its horizontal and vertical coordinates with the expressions above proves the formulas.

Theorem: For angles \(\alpha\) and \(\beta\),
$$ \cos(\alpha+\beta) = \cos\alpha\cos\beta-\sin\alpha\sin\beta, $$
$$ \sin(\alpha+\beta) = \sin\alpha\cos\beta+\cos\alpha\sin\beta. $$

The order of the terms is worth noticing. In the cosine formula, the product of the two sines is subtracted. In the sine formula, the two mixed products are added. These signs come directly from the coordinate rule for a rotation, rather than from a choice of memorization convention.

Worked Example: Rotating a Unit-Circle Point Twice

Let the starting point be \((1,0)\). After a rotation through \(\alpha\), its coordinates are \((\cos\alpha,\sin\alpha)\). Applying the rotation through \(\beta\) gives the following horizontal coordinate:

$$ \cos\alpha\cos\beta-\sin\alpha\sin\beta. $$

The vertical coordinate after the second rotation is

$$ \cos\alpha\sin\beta+\sin\alpha\cos\beta. $$

The total rotation is through \(\alpha+\beta\), so the same point has coordinates \((\cos(\alpha+\beta),\sin(\alpha+\beta))\). Matching horizontal coordinates gives the cosine sum formula; matching vertical coordinates gives the sine sum formula. As a check, the computed coordinates remain on the unit circle:

$$ \begin{aligned} &(\cos\alpha\cos\beta-\sin\alpha\sin\beta)^2 +(\cos\alpha\sin\beta+\sin\alpha\cos\beta)^2\\ &=\cos^2\alpha(\cos^2\beta+\sin^2\beta) +\sin^2\alpha(\sin^2\beta+\cos^2\beta)\\ &=\cos^2\alpha+\sin^2\alpha\\ &=1. \end{aligned} $$

The last equality uses the Pythagorean identity. Thus the coordinate calculation is consistent with the point lying on the unit circle.

Deriving the Difference Formulas

To obtain a difference, write \(\alpha-\beta\) as \(\alpha+(-\beta)\), and use the sum formulas. The evenness of cosine and oddness of sine give \(\cos(-\beta)=\cos\beta\) and \(\sin(-\beta)=-\sin\beta\). Substituting these into the cosine sum formula yields

$$ \begin{aligned} \cos(\alpha-\beta) &=\cos\alpha\cos(-\beta)-\sin\alpha\sin(-\beta)\\ &=\cos\alpha\cos\beta+\sin\alpha\sin\beta. \end{aligned} $$

Using the sine sum formula in the same way gives

$$ \begin{aligned} \sin(\alpha-\beta) &=\sin\alpha\cos(-\beta)+\cos\alpha\sin(-\beta)\\ &=\sin\alpha\cos\beta-\cos\alpha\sin\beta. \end{aligned} $$
Takeaway: The difference formulas have the same products as their corresponding sum formulas. Replacing \(\beta\) by \(-\beta\) changes the sign of terms containing \(\sin\beta\), but not terms containing \(\cos\beta\).

Worked Example: Simplifying a Difference of Cosines

Use the sum and difference formulas to simplify \(\cos(\alpha-\beta)-\cos(\alpha+\beta)\). First expand each cosine:

$$ \begin{aligned} \cos(\alpha-\beta)-\cos(\alpha+\beta) ={}&(\cos\alpha\cos\beta+\sin\alpha\sin\beta)\\ &-(\cos\alpha\cos\beta-\sin\alpha\sin\beta). \end{aligned} $$

Distribute the subtraction across the second pair of parentheses:

$$ \begin{aligned} &\cos\alpha\cos\beta+\sin\alpha\sin\beta -\cos\alpha\cos\beta+\sin\alpha\sin\beta\\ &=2\sin\alpha\sin\beta. \end{aligned} $$

Therefore,

$$ \cos(\alpha-\beta)-\cos(\alpha+\beta)=2\sin\alpha\sin\beta. $$

For a check, add the two expanded expressions instead: the sine-product terms cancel, leaving \(2\cos\alpha\cos\beta\). The signs in the expansions therefore produce the expected cancellation in one combination and reinforcement in the other.

Tangent Formulas and Their Conditions

The tangent function is defined by \(\tan\theta=\sin\theta/\cos\theta\) wherever \(\cos\theta\ne 0\). To find \(\tan(\alpha+\beta)\), divide the sine sum formula by the cosine sum formula. This requires \(\cos(\alpha+\beta)\ne 0\); for the expression using \(\tan\alpha\) and \(\tan\beta\), we also require \(\cos\alpha\ne0\) and \(\cos\beta\ne0\).

$$ \begin{aligned} \tan(\alpha+\beta) &=\frac{\sin\alpha\cos\beta+\cos\alpha\sin\beta} {\cos\alpha\cos\beta-\sin\alpha\sin\beta}\\ &=\frac{\tan\alpha+\tan\beta} {1-\tan\alpha\tan\beta}. \end{aligned} $$

The second equality follows by dividing the numerator and denominator of the first fraction by \(\cos\alpha\cos\beta\). The denominator in the resulting expression must be nonzero. Since \(\cos\alpha\cos\beta\ne0\), this is equivalent to \(\cos(\alpha+\beta)\ne0\).

Applying the same reasoning to \(\alpha-\beta\) gives the difference formula, under the corresponding conditions:

$$ \tan(\alpha-\beta) = \frac{\tan\alpha-\tan\beta}{1+\tan\alpha\tan\beta}. $$

Here \(\tan\alpha\) and \(\tan\beta\) must be defined, and \(1+\tan\alpha\tan\beta\ne0\). With those individual tangents defined, the latter condition is equivalent to \(\cos(\alpha-\beta)\ne0\).

Worked Example: Applying the Tangent Sum Formula

Suppose \(\tan\alpha=\frac{2}{3}\) and \(\tan\beta=\frac{1}{4}\), with \(\cos\alpha\ne0\) and \(\cos\beta\ne0\). The denominator condition is satisfied because

$$ 1-\tan\alpha\tan\beta =1-\left(\frac{2}{3}\right)\left(\frac{1}{4}\right) =1-\frac{2}{12} =\frac{5}{6}\ne0. $$

Therefore the tangent of the sum is defined, and

$$ \begin{aligned} \tan(\alpha+\beta) &=\frac{\frac{2}{3}+\frac{1}{4}} {1-\left(\frac{2}{3}\right)\left(\frac{1}{4}\right)}\\ &=\frac{\frac{8}{12}+\frac{3}{12}}{\frac{5}{6}}\\ &=\frac{\frac{11}{12}}{\frac{5}{6}}\\ &=\frac{11}{12}\cdot\frac{6}{5}\\ &=\frac{11}{10}. \end{aligned} $$

Check the quotient directly from the sine and cosine sum formulas. Factoring \(\cos\alpha\cos\beta\) from each shows that their quotient is

$$ \frac{\cos\alpha\cos\beta \left(\frac{2}{3}+\frac{1}{4}\right)} {\cos\alpha\cos\beta \left(1-\frac{2}{3}\cdot\frac{1}{4}\right)} = \frac{\frac{11}{12}}{\frac{5}{6}} = \frac{11}{10}. $$

The common factor is nonzero by assumption, and the remaining denominator is \(\frac{5}{6}\), also nonzero. This confirms both the calculation and the conditions for using the formula.

A Common Sign Error

A frequent mistake is to put a plus sign between the two products in the cosine sum formula. That error gives \(\cos(\alpha+\beta)=\cos\alpha\cos\beta+\sin\alpha\sin\beta\), which is actually the cosine difference formula.

A simple check exposes the mistake. Set \(\alpha=\beta=\frac{\pi}{2}\). The incorrect formula would give

$$ \cos\left(\frac{\pi}{2}+\frac{\pi}{2}\right) \overset{\text{incorrect}}{=} \cos^2\left(\frac{\pi}{2}\right)+\sin^2\left(\frac{\pi}{2}\right) =0+1=1. $$

But the left side is \(\cos\pi=-1\). The correct sum formula gives

$$ \cos^2\left(\frac{\pi}{2}\right)-\sin^2\left(\frac{\pi}{2}\right) =0-1=-1, $$

as required. A quick check with a simple angle can help catch a sign error, but the derivation from rotations explains why the sign must be negative.

Why the Conditions Matter

The sine and cosine addition and subtraction formulas hold for all real angles \(\alpha\) and \(\beta\). Tangent formulas are different: they are quotients, so they apply only when the relevant cosine denominators are nonzero. In particular, having both \(\tan\alpha\) and \(\tan\beta\) defined does not guarantee that \(\tan(\alpha+\beta)\) is defined.

For example, if \(1-\tan\alpha\tan\beta=0\), then the cosine sum formula gives \(\cos(\alpha+\beta)=0\), provided the individual tangents are defined. The tangent of the sum is then undefined, so the quotient formula cannot be used to assign it a finite value. Always check the denominator before using a tangent addition or subtraction formula.

Check Your Understanding

Use the rotation derivation and the formulas above to answer these questions.

  1. What are the coordinates of a point \((x,y)\) after a rotation through \(\theta\)?
  2. Why does rotating through \(\alpha\) and then \(\beta\) lead to the angle \(\alpha+\beta\)?
  3. Derive \(\sin(\alpha-\beta)\) by replacing \(\beta\) with \(-\beta\) in a sum formula.
  4. State the condition needed to use the tangent sum formula in terms of \(\tan\alpha\) and \(\tan\beta\).
  5. Can the sine and cosine sum formulas be used when \(\cos\alpha=0\)? What about the tangent sum formula written using \(\tan\alpha\)?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon