Math Core

Lesson 6.3 · Trigonometric Identities

Sum and difference formulas

You know the exact values of sine and cosine at 30∘30^\circ, 45∘45^\circ and 60∘60^\circ. But what about 75∘75^\circ or 15∘15^\circ? Since 75∘=45∘+30∘75^\circ = 45^\circ + 30^\circ, it would be convenient if you could build sin⁡75∘\sin 75^\circ out of values you already know. The sum and difference formulas do exactly that.

A tempting mistake

It is natural to guess that sin⁡(A+B)=sin⁡A+sin⁡B\sin(A + B) = \sin A + \sin B. Test it with A=B=90∘A = B = 90^\circ:

sin⁡(90∘+90∘)=sin⁡180∘=0,butsin⁡90∘+sin⁡90∘=2.\sin(90^\circ + 90^\circ) = \sin 180^\circ = 0, \qquad \text{but} \qquad \sin 90^\circ + \sin 90^\circ = 2.

The guess is false. Trig functions don't distribute over addition. The true formulas mix sines and cosines together.

Where the cosine formula comes from

Place two angles AA and BB in standard position. Their terminal sides meet the unit circle at P=(cos⁡A,sin⁡A)P = (\cos A, \sin A) and Q=(cos⁡B,sin⁡B)Q = (\cos B, \sin B). The angle between the two rays is A−BA - B.

Compute the squared distance PQ2PQ^2 in two ways.

  • Distance formula: (cos⁡A−cos⁡B)2+(sin⁡A−sin⁡B)2(\cos A - \cos B)^2 + (\sin A - \sin B)^2. Expanding and using sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1 twice gives 2−2(cos⁡Acos⁡B+sin⁡Asin⁡B)2 - 2(\cos A\cos B + \sin A \sin B).
  • Rotate the picture so that QQ sits at (1,0)(1, 0). Then PP moves to (cos⁡(A−B),sin⁡(A−B))(\cos(A - B), \sin(A - B)), and the same computation gives 2−2cos⁡(A−B)2 - 2\cos(A - B).

Distances don't change under rotation, so the two results are equal, and

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

Every other formula follows from this one. Replacing BB with −B-B (cosine is even, sine is odd) gives the sum formula for cosine. The cofunction identity sin⁡θ=cos⁡(90∘−θ)\sin\theta = \cos(90^\circ - \theta) turns the cosine formulas into sine formulas, and dividing sine by cosine produces the tangent formulas.

Sum and difference formulas

sin⁡(A±B)=sin⁡Acos⁡B±cos⁡Asin⁡Bcos⁡(A±B)=cos⁡Acos⁡B∓sin⁡Asin⁡Btan⁡(A±B)=tan⁡A±tan⁡B1∓tan⁡Atan⁡B\begin{aligned} \sin(A \pm B) &= \sin A \cos B \pm \cos A \sin B \\ \cos(A \pm B) &= \cos A \cos B \mp \sin A \sin B \\ \tan(A \pm B) &= \frac{\tan A \pm \tan B}{1 \mp \tan A \tan B} \end{aligned}

In the sine formula the sign in the middle matches the sign in the angle. In the cosine formula it is opposite.

Common mistake

The cosine formula flips the sign: cos⁡(A+B)\cos(A + B) has a minus in the middle, and cos⁡(A−B)\cos(A - B) has a plus. Mixing this up is the most common error. If you're unsure, test A=B=45∘A = B = 45^\circ: cos⁡90∘=0\cos 90^\circ = 0, and cos⁡45∘cos⁡45∘−sin⁡45∘sin⁡45∘=12−12=0\cos 45^\circ\cos 45^\circ - \sin 45^\circ \sin 45^\circ = \tfrac{1}{2} - \tfrac{1}{2} = 0. The minus sign is right.

Exact values

Write the angle as a sum or difference of special angles (30∘30^\circ, 45∘45^\circ, 60∘60^\circ and their relatives), then apply a formula.

Worked example: Sine of 75°

Find the exact value of sin⁡75∘\sin 75^\circ.

Write 75∘=45∘+30∘75^\circ = 45^\circ + 30^\circ:

sin⁡75∘=sin⁡45∘cos⁡30∘+cos⁡45∘sin⁡30∘=22⋅32+22⋅12=6+24\begin{aligned} \sin 75^\circ &= \sin 45^\circ \cos 30^\circ + \cos 45^\circ \sin 30^\circ \\ &= \frac{\sqrt{2}}{2}\cdot\frac{\sqrt{3}}{2} + \frac{\sqrt{2}}{2}\cdot\frac{1}{2} \\ &= \frac{\sqrt{6} + \sqrt{2}}{4} \end{aligned}

As a check, 6+24≈0.966\dfrac{\sqrt{6} + \sqrt{2}}{4} \approx 0.966, which matches a calculator's sin⁡75∘\sin 75^\circ.

Worked example: Tangent of 105°

Find the exact value of tan⁡105∘\tan 105^\circ.

Write 105∘=60∘+45∘105^\circ = 60^\circ + 45^\circ, with tan⁡60∘=3\tan 60^\circ = \sqrt{3} and tan⁡45∘=1\tan 45^\circ = 1:

tan⁡105∘=3+11−3⋅1=3+11−3.\tan 105^\circ = \frac{\sqrt{3} + 1}{1 - \sqrt{3}\cdot 1} = \frac{\sqrt{3} + 1}{1 - \sqrt{3}}.

Rationalize by multiplying the top and bottom by 1+31 + \sqrt{3}:

(3+1)(1+3)(1−3)(1+3)=4+231−3=−2−3.\frac{(\sqrt{3} + 1)(1 + \sqrt{3})}{(1 - \sqrt{3})(1 + \sqrt{3})} = \frac{4 + 2\sqrt{3}}{1 - 3} = -2 - \sqrt{3}.

The answer is negative, as it should be: 105∘105^\circ is in Quadrant II, where tangent is negative.

Using the formulas with any angles

The formulas work for all angles, not just special ones. When you know sines and cosines from other information, you can still combine them.

Worked example: Given values in two quadrants

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 II. Find sin⁡(A+B)\sin(A + B) and cos⁡(A−B)\cos(A - B).

First find the missing values with the Pythagorean identity. cos⁡A=45\cos A = \dfrac{4}{5} (positive in QI) and sin⁡B=1213\sin B = \dfrac{12}{13} (positive in QII).

sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B=35⋅(−513)+45⋅1213=−15+4865=3365cos⁡(A−B)=cos⁡Acos⁡B+sin⁡Asin⁡B=45⋅(−513)+35⋅1213=−20+3665=1665\begin{aligned} \sin(A + B) &= \sin A \cos B + \cos A \sin B = \frac{3}{5}\cdot\left(-\frac{5}{13}\right) + \frac{4}{5}\cdot\frac{12}{13} = \frac{-15 + 48}{65} = \frac{33}{65} \\ \cos(A - B) &= \cos A \cos B + \sin A \sin B = \frac{4}{5}\cdot\left(-\frac{5}{13}\right) + \frac{3}{5}\cdot\frac{12}{13} = \frac{-20 + 36}{65} = \frac{16}{65} \end{aligned}

Reading a formula backward

Sometimes an expression already has the shape of a formula. Recognize it and collapse it into a single trig value.

Worked example: Collapse into one term

Find the exact value of cos⁡70∘cos⁡10∘+sin⁡70∘sin⁡10∘\cos 70^\circ \cos 10^\circ + \sin 70^\circ \sin 10^\circ.

This is cos⁡Acos⁡B+sin⁡Asin⁡B\cos A\cos B + \sin A \sin B with A=70∘A = 70^\circ and B=10∘B = 10^\circ, which is cos⁡(A−B)\cos(A - B):

cos⁡(70∘−10∘)=cos⁡60∘=12.\cos(70^\circ - 10^\circ) = \cos 60^\circ = \frac{1}{2}.

Tip

The formulas also prove shift identities quickly. For instance, sin⁡(x+90∘)=sin⁡x⋅0+cos⁡x⋅1=cos⁡x\sin(x + 90^\circ) = \sin x \cdot 0 + \cos x \cdot 1 = \cos x. That is why the graph of sine shifted left by 90∘90^\circ is the graph of cosine.

Practice

Practice 1

Find the exact value of cos⁡15∘\cos 15^\circ.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Find the exact value of sin⁡15∘\sin 15^\circ.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Find the exact value of sin⁡50∘cos⁡20∘−cos⁡50∘sin⁡20∘\sin 50^\circ \cos 20^\circ - \cos 50^\circ \sin 20^\circ.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Which expression is equal to cos⁡105∘\cos 105^\circ?

Practice 5

Find the exact value of tan⁡15∘\tan 15^\circ. Simplify so there is no radical in the denominator.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Which expression is equal to cos⁡(x+π2)\cos\left(x + \dfrac{\pi}{2}\right)?

Practice 7

Suppose sin⁡A=45\sin A = \dfrac{4}{5} with AA in Quadrant II, and cos⁡B=1213\cos B = \dfrac{12}{13} with BB in Quadrant IV. Find cos⁡(A+B)\cos(A + B).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

If tan⁡A=2\tan A = 2 and tan⁡B=3\tan B = 3, what is tan⁡(A+B)\tan(A + B)?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.