We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Precalculus II

Sum and Difference Identities

Use sum and difference formulas for cosine

Finding the exact value of the sine, cosine, or tangent of an angle is often easier if we can rewrite the given angle in terms of two angles that have known trigonometric values. We can use the special angles, which we can review in the unit circle shown in Figure 2.
Diagram of the unit circle with points labeled on its edge. P point is at an angle a from the positive x axis with coordinates (cosa, sina). Point Q is at an angle of B from the positive x axis with coordinates (cosb, sinb). Angle POQ is a - B degrees. Point A is at an angle of (a-B) from the x axis with coordinates (cos(a-B), sin(a-B)). Point B is just at point (1,0). Angle AOB is also a - B degrees. Radii PO, AO, QO, and BO are all 1 unit long and are the legs of triangles POQ and AOB. Triangle POQ is a rotation of triangle AOB, so the distance from P to Q is the same as the distance from A to B. Figure 2. The Unit Circle
We will begin with the sum and difference formulas for cosine, so that we can find the cosine of a given angle if we can break it up into the sum or difference of two of the special angles.
Sum formula for cosine [latex]\cos \left(\alpha +\beta \right)=\cos \alpha \cos \beta -\sin \alpha \sin \beta [/latex]
Difference formula for cosine [latex]\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta [/latex]
First, we will prove the difference formula for cosines. Let’s consider two points on the unit circle. Point [latex]P[/latex] is at an angle [latex]\alpha [/latex] from the positive x-axis with coordinates [latex]\left(\cos \alpha ,\sin \alpha \right)[/latex] and point [latex]Q[/latex] is at an angle of [latex]\beta [/latex] from the positive x-axis with coordinates [latex]\left(\cos \beta ,\sin \beta \right)[/latex]. Note the measure of angle [latex]POQ[/latex] is [latex]\alpha -\beta [/latex]. Label two more points: [latex]A[/latex] at an angle of [latex]\left(\alpha -\beta \right)[/latex] from the positive x-axis with coordinates [latex]\left(\cos \left(\alpha -\beta \right),\sin \left(\alpha -\beta \right)\right)[/latex]; and point [latex]B[/latex] with coordinates [latex]\left(1,0\right)[/latex]. Triangle [latex]POQ[/latex] is a rotation of triangle [latex]AOB[/latex] and thus the distance from [latex]P[/latex] to [latex]Q[/latex] is the same as the distance from [latex]A[/latex] to [latex]B[/latex].
Diagram of the unit circle with points labeled on its edge. P point is at an angle a from the positive x axis with coordinates (cosa, sina). Point Q is at an angle of B from the positive x axis with coordinates (cosb, sinb). Angle POQ is a - B degrees. Point A is at an angle of (a-B) from the x axis with coordinates (cos(a-B), sin(a-B)). Point B is just at point (1,0). Angle AOB is also a - B degrees. Radii PO, AO, QO, and BO are all 1 unit long and are the legs of triangles POQ and AOB. Triangle POQ is a rotation of triangle AOB, so the distance from P to Q is the same as the distance from A to B.

Figure 3. We can find the distance from [latex]P[/latex] to [latex]Q[/latex] using the distance formula.

[latex]\begin{array}{l}{d}_{PQ}=\sqrt{{\left(\cos \alpha -\cos \beta \right)}^{2}+{\left(\sin \alpha -\sin \beta \right)}^{2}}\hfill \\ \text{ }=\sqrt{{\cos }^{2}\alpha -2\cos \alpha \cos \beta +{\cos }^{2}\beta +{\sin }^{2}\alpha -2\sin \alpha \sin \beta +{\sin }^{2}\beta }\hfill \end{array}[/latex]
Then we apply the Pythagorean identity and simplify.
[latex]\begin{array}{l}\begin{array}{l}\hfill \\ \hfill \\ =\sqrt{\left({\cos }^{2}\alpha +{\sin }^{2}\alpha \right)+\left({\cos }^{2}\beta +{\sin }^{2}\beta \right)-2\cos \alpha \cos \beta -2\sin \alpha \sin \beta }\hfill \end{array}\hfill \\ =\sqrt{1+1 - 2\cos \alpha \cos \beta -2\sin \alpha \sin \beta }\hfill \\ =\sqrt{2 - 2\cos \alpha \cos \beta -2\sin \alpha \sin \beta }\hfill \end{array}[/latex]
Similarly, using the distance formula we can find the distance from [latex]A[/latex] to [latex]B[/latex].
[latex]\begin{array}{l}{d}_{AB}=\sqrt{{\left(\cos \left(\alpha -\beta \right)-1\right)}^{2}+{\left(\sin \left(\alpha -\beta \right)-0\right)}^{2}}\hfill \\ \text{ }=\sqrt{{\cos }^{2}\left(\alpha -\beta \right)-2\cos \left(\alpha -\beta \right)+1+{\sin }^{2}\left(\alpha -\beta \right)}\hfill \end{array}[/latex]
Applying the Pythagorean identity and simplifying we get:
[latex]\begin{array}{l}\begin{array}{l}\hfill \\ \hfill \\ =\sqrt{\left({\cos }^{2}\left(\alpha -\beta \right)+{\sin }^{2}\left(\alpha -\beta \right)\right)-2\cos \left(\alpha -\beta \right)+1}\hfill \end{array}\hfill \\ =\sqrt{1 - 2\cos \left(\alpha -\beta \right)+1}\hfill \\ =\sqrt{2 - 2\cos \left(\alpha -\beta \right)}\hfill \end{array}[/latex]
Because the two distances are the same, we set them equal to each other and simplify.
[latex]\begin{array}{l}\begin{array}{l}\hfill \\ \sqrt{2 - 2\cos \alpha \cos \beta -2\sin \alpha \sin \beta }=\sqrt{2 - 2\cos \left(\alpha -\beta \right)}\hfill \end{array}\hfill \\ \text{ }2 - 2\cos \alpha \cos \beta -2\sin \alpha \sin \beta =2 - 2\cos \left(\alpha -\beta \right)\text{ }\hfill \end{array}[/latex]
Finally we subtract [latex]2[/latex] from both sides and divide both sides by [latex]-2[/latex].
[latex]\cos \alpha \cos \beta +\sin \alpha \sin \beta =\cos \left(\alpha -\beta \right)\text{ }[/latex]
Thus, we have the difference formula for cosine. We can use similar methods to derive the cosine of the sum of two angles.

A General Note: Sum and Difference Formulas for Cosine

These formulas can be used to calculate the cosine of sums and differences of angles.
[latex]\cos \left(\alpha +\beta \right)=\cos \alpha \cos \beta -\sin \alpha \sin \beta [/latex]
[latex]\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta [/latex]

How To: Given two angles, find the cosine of the difference between the angles.

  1. Write the difference formula for cosine.
  2. Substitute the values of the given angles into the formula.
  3. Simplify.

Example 1: Finding the Exact Value Using the Formula for the Cosine of the Difference of Two Angles

Using the formula for the cosine of the difference of two angles, find the exact value of [latex]\cos \left(\frac{5\pi }{4}-\frac{\pi }{6}\right)[/latex].

Solution

Use the formula for the cosine of the difference of two angles. We have
[latex]\begin{array}{l}\hfill \\ \begin{array}{l}\text{ }\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta \hfill \\ \cos \left(\frac{5\pi }{4}-\frac{\pi }{6}\right)=\cos \left(\frac{5\pi }{4}\right)\cos \left(\frac{\pi }{6}\right)+\sin \left(\frac{5\pi }{4}\right)\sin \left(\frac{\pi }{6}\right)\hfill \\ \text{ }=\left(-\frac{\sqrt{2}}{2}\right)\left(\frac{\sqrt{3}}{2}\right)-\left(\frac{\sqrt{2}}{2}\right)\left(\frac{1}{2}\right)\hfill \\ \text{ }=-\frac{\sqrt{6}}{4}-\frac{\sqrt{2}}{4}\hfill \\ \text{ }=\frac{-\sqrt{6}-\sqrt{2}}{4}\hfill \\ \hfill \end{array}\hfill \end{array}[/latex]

Try It 1

Find the exact value of [latex]\cos \left(\frac{\pi }{3}-\frac{\pi }{4}\right)[/latex]. Solution

Example 2: Finding the Exact Value Using the Formula for the Sum of Two Angles for Cosine

Find the exact value of [latex]\cos \left({75}^{\circ }\right)[/latex].

Solution

As [latex]{75}^{\circ }={45}^{\circ }+{30}^{\circ }[/latex], we can evaluate [latex]\cos \left({75}^{\circ }\right)[/latex] as [latex]\cos \left({45}^{\circ }+{30}^{\circ }\right)[/latex]. Thus,
[latex]\begin{array}{l}\cos \left({45}^{\circ }+{30}^{\circ }\right)=\cos \left({45}^{\circ }\right)\cos \left({30}^{\circ }\right)-\sin \left({45}^{\circ }\right)\sin \left({30}^{\circ }\right)\hfill \\ \text{ }=\frac{\sqrt{2}}{2}\left(\frac{\sqrt{3}}{2}\right)-\frac{\sqrt{2}}{2}\left(\frac{1}{2}\right)\hfill \\ \text{ }=\frac{\sqrt{6}}{4}-\frac{\sqrt{2}}{4}\hfill \\ \text{ }=\frac{\sqrt{6}-\sqrt{2}}{4}\hfill \end{array}[/latex]

Try It 2

Find the exact value of [latex]\cos \left({105}^{\circ }\right)[/latex]. Solution

Use sum and difference formulas for sine

The sum and difference formulas for sine can be derived in the same manner as those for cosine, and they resemble the cosine formulas.

A General Note: Sum and Difference Formulas for Sine

These formulas can be used to calculate the sines of sums and differences of angles.
[latex]\sin \left(\alpha +\beta \right)=\sin \alpha \cos \beta +\cos \alpha \sin \beta [/latex]
[latex]\sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta -\cos \alpha \sin \beta [/latex]

How To: Given two angles, find the sine of the difference between the angles.

  1. Write the difference formula for sine.
  2. Substitute the given angles into the formula.
  3. Simplify.

Example 3: Using Sum and Difference Identities to Evaluate the Difference of Angles

Use the sum and difference identities to evaluate the difference of the angles and show that part a equals part b.
  1. [latex]\sin \left({45}^{\circ }-{30}^{\circ }\right)[/latex]
  2. [latex]\sin \left({135}^{\circ }-{120}^{\circ }\right)[/latex]

Solution

  1. Let’s begin by writing the formula and substitute the given angles.
    [latex]\begin{array}{l}\text{ }\sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta -\cos \alpha \sin \beta \hfill \\ \sin \left({45}^{\circ }-{30}^{\circ }\right)=\sin \left({45}^{\circ }\right)\cos \left({30}^{\circ }\right)-\cos \left({45}^{\circ }\right)\sin \left({30}^{\circ }\right)\hfill \end{array}[/latex]
    Next, we need to find the values of the trigonometric expressions.
    [latex]\sin \left({45}^{\circ }\right)=\frac{\sqrt{2}}{2},\text{ }\cos \left({30}^{\circ }\right)=\frac{\sqrt{3}}{2},\text{ }\cos \left({45}^{\circ }\right)=\frac{\sqrt{2}}{2},\text{ }\sin \left({30}^{\circ }\right)=\frac{1}{2}[/latex]
    Now we can substitute these values into the equation and simplify.
    [latex]\begin{array}{l}\hfill \\ \sin \left({45}^{\circ }-{30}^{\circ }\right)=\frac{\sqrt{2}}{2}\left(\frac{\sqrt{3}}{2}\right)-\frac{\sqrt{2}}{2}\left(\frac{1}{2}\right)\hfill \\ \text{ }=\frac{\sqrt{6}-\sqrt{2}}{4}\hfill \end{array}[/latex]
  2. Again, we write the formula and substitute the given angles.
    [latex]\begin{array}{l}\text{ }\sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta -\cos \alpha \sin \beta \hfill \\ \sin \left({135}^{\circ }-{120}^{\circ }\right)=\sin \left({135}^{\circ }\right)\cos \left({120}^{\circ }\right)-\cos \left({135}^{\circ }\right)\sin \left({120}^{\circ }\right)\hfill \end{array}[/latex]
    Next, we find the values of the trigonometric expressions.
    [latex]\sin \left({135}^{\circ }\right)=\frac{\sqrt{2}}{2},\cos \left({120}^{\circ }\right)=-\frac{1}{2},\cos \left({135}^{\circ }\right)=\frac{\sqrt{2}}{2},\sin \left({120}^{\circ }\right)=\frac{\sqrt{3}}{2}[/latex]
    Now we can substitute these values into the equation and simplify.
    [latex]\begin{array}{l}\sin \left({135}^{\circ }-{120}^{\circ }\right)=\frac{\sqrt{2}}{2}\left(-\frac{1}{2}\right)-\left(-\frac{\sqrt{2}}{2}\right)\left(\frac{\sqrt{3}}{2}\right)\hfill \\ \text{ }=\frac{-\sqrt{2}+\sqrt{6}}{4}\hfill \\ \text{ }=\frac{\sqrt{6}-\sqrt{2}}{4}\hfill \\ \hfill \\ \sin \left({135}^{\circ }-{120}^{\circ }\right)=\frac{\sqrt{2}}{2}\left(-\frac{1}{2}\right)-\left(-\frac{\sqrt{2}}{2}\right)\left(\frac{\sqrt{3}}{2}\right)\hfill \\ \text{ }=\frac{-\sqrt{2}+\sqrt{6}}{4}\hfill \\ \text{ }=\frac{\sqrt{6}-\sqrt{2}}{4}\hfill \end{array}[/latex]

Example 4: Finding the Exact Value of an Expression Involving an Inverse Trigonometric Function

Find the exact value of [latex]\sin \left({\cos }^{-1}\frac{1}{2}+{\sin }^{-1}\frac{3}{5}\right)[/latex].

Solution

The pattern displayed in this problem is [latex]\sin \left(\alpha +\beta \right)[/latex]. Let [latex]\alpha ={\cos }^{-1}\frac{1}{2}[/latex] and [latex]\beta ={\sin }^{-1}\frac{3}{5}[/latex]. Then we can write
[latex]\begin{array}{l}\hfill \\ \cos \alpha =\frac{1}{2},0\le \alpha \le \pi \hfill \\ \sin \beta =\frac{3}{5},-\frac{\pi }{2}\le \beta \le \frac{\pi }{2}\hfill \end{array}[/latex]
We will use the Pythagorean identities to find [latex]\sin \alpha [/latex] and [latex]\cos \beta [/latex].
[latex]\begin{array}{l}\\ \\ \begin{array}{l}\sin \alpha =\sqrt{1-{\cos }^{2}\alpha }\hfill \\ \text{ }=\sqrt{1-\frac{1}{4}}\hfill \\ \text{ }=\sqrt{\frac{3}{4}}\hfill \\ \text{ }=\frac{\sqrt{3}}{2}\hfill \\ \cos \beta =\sqrt{1-{\sin }^{2}\beta }\hfill \\ \text{ }=\sqrt{1-\frac{9}{25}}\hfill \\ \text{ }=\sqrt{\frac{16}{25}}\hfill \\ \text{ }=\frac{4}{5}\hfill \end{array}\end{array}[/latex]
Using the sum formula for sine,
[latex]\begin{array}{l}\sin \left({\cos }^{-1}\frac{1}{2}+{\sin }^{-1}\frac{3}{5}\right)=\sin \left(\alpha +\beta \right)\hfill \\ \text{ }=\sin \alpha \cos \beta +\cos \alpha \sin \beta \hfill \\ \text{ }=\frac{\sqrt{3}}{2}\cdot \frac{4}{5}+\frac{1}{2}\cdot \frac{3}{5}\hfill \\ \text{ }=\frac{4\sqrt{3}+3}{10}\hfill \end{array}[/latex]

Use sum and difference formulas for tangent

Finding exact values for the tangent of the sum or difference of two angles is a little more complicated, but again, it is a matter of recognizing the pattern. Finding the sum of two angles formula for tangent involves taking quotient of the sum formulas for sine and cosine and simplifying. Recall, [latex]\tan x=\frac{\sin x}{\cos x},\cos x\ne 0[/latex]. Let’s derive the sum formula for tangent.
[latex]\begin{array}{ll}\tan \left(\alpha +\beta \right)=\frac{\sin \left(\alpha +\beta \right)}{\cos \left(\alpha +\beta \right)}\hfill & \hfill \\ \text{ }=\frac{\sin \alpha \cos \beta +\cos \alpha \sin \beta }{\cos \alpha \cos \beta -\sin \alpha \sin \beta }\hfill & \hfill \\ \text{ }=\frac{\frac{\sin \alpha \cos \beta +\cos \alpha \sin \beta }{\cos \alpha \cos \beta }}{\frac{\cos \alpha \cos \beta -\sin \alpha \sin \beta }{\cos \alpha \cos \beta }} \hfill & \text{Divide the numerator and denominator by cos}\alpha \text{cos}\beta \hfill \\ \text{ }=\frac{\frac{\sin \alpha \overline{)\cos \beta }}{\cos \alpha \overline{)\cos \beta }}+\frac{\overline{)\cos \alpha }\sin \beta }{\overline{)\cos \alpha }\cos \beta }}{\frac{\overline{)\cos \alpha }\overline{)\cos \beta }}{\overline{)\cos \alpha }\overline{)\cos \beta }}-\frac{\sin \alpha \sin \beta }{\cos \alpha \cos \beta }}\hfill & \hfill \\ \text{ }=\frac{\frac{\sin \alpha }{\cos \alpha }+\frac{\sin \beta }{\cos \beta }}{1-\frac{\sin \alpha \sin \beta }{\cos \alpha \cos \beta }}\hfill & \hfill \\ \text{ }=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta }\hfill & \hfill \end{array}[/latex]
We can derive the difference formula for tangent in a similar way.

A General Note: Sum and Difference Formulas for Tangent

The sum and difference formulas for tangent are:
[latex]\tan \left(\alpha +\beta \right)=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta }[/latex]
[latex]\tan \left(\alpha -\beta \right)=\frac{\tan \alpha -\tan \beta }{1+\tan \alpha \tan \beta }[/latex]

How To: Given two angles, find the tangent of the sum of the angles.

  1. Write the sum formula for tangent.
  2. Substitute the given angles into the formula.
  3. Simplify.

Example 5: Finding the Exact Value of an Expression Involving Tangent

Find the exact value of [latex]\tan \left(\frac{\pi }{6}+\frac{\pi }{4}\right)[/latex].

Solution

Let’s first write the sum formula for tangent and substitute the given angles into the formula.
[latex]\begin{array}{l}\tan \left(\alpha +\beta \right)=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta }\hfill \\ \tan \left(\frac{\pi }{6}+\frac{\pi }{4}\right)=\frac{\tan \left(\frac{\pi }{6}\right)+\tan \left(\frac{\pi }{4}\right)}{1-\left(\tan \left(\frac{\pi }{6}\right)\right)\left(\tan \left(\frac{\pi }{4}\right)\right)}\hfill \end{array}[/latex]
Next, we determine the individual tangents within the formula:
[latex]\tan \left(\frac{\pi }{6}\right)=\frac{1}{\sqrt{3}},\tan \left(\frac{\pi }{4}\right)=1[/latex]
So we have
[latex]\begin{array}{l}\tan \left(\frac{\pi }{6}+\frac{\pi }{4}\right)=\frac{\frac{1}{\sqrt{3}}+1}{1-\left(\frac{1}{\sqrt{3}}\right)\left(1\right)}\hfill \\ \text{ }=\frac{\frac{1+\sqrt{3}}{\sqrt{3}}}{\frac{\sqrt{3}-1}{\sqrt{3}}}\hfill \\ \text{ }=\frac{1+\sqrt{3}}{\sqrt{3}}\left(\frac{\sqrt{3}}{\sqrt{3}-1}\right)\hfill \\ \text{ }=\frac{\sqrt{3}+1}{\sqrt{3}-1}\hfill \end{array}[/latex]

Try It 3

Find the exact value of [latex]\tan \left(\frac{2\pi }{3}+\frac{\pi }{4}\right)[/latex]. Solution

Example 6: Finding Multiple Sums and Differences of Angles

Given [latex]\text{ }\sin \alpha =\frac{3}{5},0<\alpha <\frac{\pi }{2},\cos \beta =-\frac{5}{13},\pi <\beta <\frac{3\pi }{2}[/latex], find
  1. [latex]\sin \left(\alpha +\beta \right)[/latex]
  2. [latex]\cos \left(\alpha +\beta \right)[/latex]
  3. [latex]\tan \left(\alpha +\beta \right)[/latex]
  4. [latex]\tan \left(\alpha -\beta \right)[/latex]

Solution

We can use the sum and difference formulas to identify the sum or difference of angles when the ratio of sine, cosine, or tangent is provided for each of the individual angles. To do so, we construct what is called a reference triangle to help find each component of the sum and difference formulas.
  1. To find [latex]\sin \left(\alpha +\beta \right)[/latex], we begin with [latex]\sin \alpha =\frac{3}{5}[/latex] and [latex]0<\alpha <\frac{\pi }{2}[/latex]. The side opposite [latex]\alpha [/latex] has length 3, the hypotenuse has length 5, and [latex]\alpha [/latex] is in the first quadrant. Using the Pythagorean Theorem, we can find the length of side [latex]a:[/latex]
    [latex]\begin{array}{l}{a}^{2}+{3}^{2}={5}^{2}\hfill \\ \text{ }\text{ }{a}^{2}=16\hfill \\ \text{ }a=4\hfill \end{array}[/latex]
    Diagram of a triangle in the x,y plane. The vertices are at the origin, (4,0), and (4,3). The angle at the origin is alpha degrees, The angle formed by the x-axis and the side from (4,3) to (4,0) is a right angle. The side opposite the right angle has length 5. Figure 4
    Since [latex]\cos \beta =-\frac{5}{13}[/latex] and [latex]\pi <\beta <\frac{3\pi }{2}[/latex], the side adjacent to [latex]\beta [/latex] is [latex]-5[/latex], the hypotenuse is 13, and [latex]\beta [/latex] is in the third quadrant. Again, using the Pythagorean Theorem, we have
    [latex]\begin{array}{l}{\left(-5\right)}^{2}+{a}^{2}={13}^{2}\hfill \\ \text{ }25+{a}^{2}=169\hfill \\ {a}^{2}=144\hfill \\ a=\pm 12\hfill \end{array}[/latex]
    Since [latex]\beta [/latex] is in the third quadrant, [latex]a=-12[/latex].
    Diagram of a triangle in the x,y plane. The vertices are at the origin, (-5,0), and (-5, -12). The angle at the origin is Beta degrees. The angle formed by the x axis and the side from (-5, -12) to (-5,0) is a right angle. The side opposite the right angle has length 13. Figure 5
    The next step is finding the cosine of [latex]\alpha [/latex] and the sine of [latex]\beta [/latex]. The cosine of [latex]\alpha [/latex] is the adjacent side over the hypotenuse. We can find it from the triangle in Figure 5: [latex]\cos \alpha =\frac{4}{5}[/latex]. We can also find the sine of [latex]\beta [/latex] from the triangle in Figure 5, as opposite side over the hypotenuse: [latex]\sin \beta =-\frac{12}{13}[/latex]. Now we are ready to evaluate [latex]\sin \left(\alpha +\beta \right)[/latex].
    [latex]\begin{array}{l}\sin \left(\alpha +\beta \right)=\sin \alpha \cos \beta +\cos \alpha \sin \beta \hfill \\ \text{ }=\left(\frac{3}{5}\right)\left(-\frac{5}{13}\right)+\left(\frac{4}{5}\right)\left(-\frac{12}{13}\right)\hfill \\ \text{ }=-\frac{15}{65}-\frac{48}{65}\hfill \\ \text{ }=-\frac{63}{65}\hfill \end{array}[/latex]
  2. We can find [latex]\cos \left(\alpha +\beta \right)[/latex] in a similar manner. We substitute the values according to the formula.
    [latex]\begin{array}{l}\cos \left(\alpha +\beta \right)=\cos \alpha \cos \beta -\sin \alpha \sin \beta \hfill \\ \text{ }=\left(\frac{4}{5}\right)\left(-\frac{5}{13}\right)-\left(\frac{3}{5}\right)\left(-\frac{12}{13}\right)\hfill \\ \text{ }=-\frac{20}{65}+\frac{36}{65}\hfill \\ \text{ }=\frac{16}{65}\hfill \end{array}[/latex]
  3. For [latex]\tan \left(\alpha +\beta \right)[/latex], if [latex]\sin \alpha =\frac{3}{5}[/latex] and [latex]\cos \alpha =\frac{4}{5}[/latex], then
    [latex]\tan \alpha =\frac{\frac{3}{5}}{\frac{4}{5}}=\frac{3}{4}[/latex]
    If [latex]\sin \beta =-\frac{12}{13}[/latex] and [latex]\cos \beta =-\frac{5}{13}[/latex], then
    [latex]\tan \beta =\frac{\frac{-12}{13}}{\frac{-5}{13}}=\frac{12}{5}[/latex]
    Then,
    [latex]\begin{array}{l}\tan \left(\alpha +\beta \right)=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta }\hfill \\ \text{ }=\frac{\frac{3}{4}+\frac{12}{5}}{1-\frac{3}{4}\left(\frac{12}{5}\right)}\hfill \\ \text{ }=\frac{\text{ }\frac{63}{20}}{-\frac{16}{20}}\hfill \\ \text{ }\text{ }=-\frac{63}{16}\hfill \end{array}[/latex]
  4. To find [latex]\tan \left(\alpha -\beta \right)[/latex], we have the values we need. We can substitute them in and evaluate.
    [latex]\begin{array}{l}\tan \left(\alpha -\beta \right)=\frac{\tan \alpha -\tan \beta }{1+\tan \alpha \tan \beta }\hfill \\ \text{ }=\frac{\frac{3}{4}-\frac{12}{5}}{1+\frac{3}{4}\left(\frac{12}{5}\right)}\hfill \\ \text{ }=\frac{-\frac{33}{20}}{\frac{56}{20}}\hfill \\ \text{ }=-\frac{33}{56}\hfill \end{array}[/latex]

Analysis of the Solution

A common mistake when addressing problems such as this one is that we may be tempted to think that [latex]\alpha [/latex] and [latex]\beta [/latex] are angles in the same triangle, which of course, they are not. Also note that
[latex]\tan \left(\alpha +\beta \right)=\frac{\sin \left(\alpha +\beta \right)}{\cos \left(\alpha +\beta \right)}[/latex]

Use sum and difference formulas for cofunctions

Now that we can find the sine, cosine, and tangent functions for the sums and differences of angles, we can use them to do the same for their cofunctions. You may recall that if the sum of two positive angles is [latex]\frac{\pi }{2}[/latex], those two angles are complements, and the sum of the two acute angles in a right triangle is [latex]\frac{\pi }{2}[/latex], so they are also complements. In Figure 6, notice that if one of the acute angles is labeled as [latex]\theta [/latex], then the other acute angle must be labeled [latex]\left(\frac{\pi }{2}-\theta \right)[/latex].
Image of a right triangle. The remaining angles are labeled theta and pi/2 - theta. Figure 6. From these relationships, the cofunction identities are formed.
Notice also that [latex]\sin \theta =\cos \left(\frac{\pi }{2}-\theta \right):[/latex] opposite over hypotenuse. Thus, when two angles are complimentary, we can say that the sine of [latex]\theta [/latex] equals the cofunction of the complement of [latex]\theta [/latex]. Similarly, tangent and cotangent are cofunctions, and secant and cosecant are cofunctions.

A General Note: Cofunction Identities

The cofunction identities are summarized in the table below.
[latex]\sin \theta =\cos \left(\frac{\pi }{2}-\theta \right)[/latex] [latex]\cos \theta =\sin \left(\frac{\pi }{2}-\theta \right)[/latex]
[latex]\tan \theta =\cot \left(\frac{\pi }{2}-\theta \right)[/latex] [latex]\cot \theta =\tan \left(\frac{\pi }{2}-\theta \right)[/latex]
[latex]\sec \theta =\csc \left(\frac{\pi }{2}-\theta \right)[/latex] [latex]\csc \theta =\sec \left(\frac{\pi }{2}-\theta \right)[/latex]
Notice that the formulas in the table may also justified algebraically using the sum and difference formulas. For example, using
[latex]\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta [/latex],
we can write
[latex]\begin{array}{l}\cos \left(\frac{\pi }{2}-\theta \right)=\cos \frac{\pi }{2}\cos \theta +\sin \frac{\pi }{2}\sin \theta \hfill \\ \text{ }=\left(0\right)\cos \theta +\left(1\right)\sin \theta \hfill \\ \text{ }=\sin \theta \hfill \end{array}[/latex]

Example 7: Finding a Cofunction with the Same Value as the Given Expression

Write [latex]\tan \frac{\pi }{9}[/latex] in terms of its cofunction.

Solution

The cofunction of [latex]\tan \theta =\cot \left(\frac{\pi }{2}-\theta \right)[/latex]. Thus,
[latex]\begin{array}{l}\tan \left(\frac{\pi }{9}\right)=\cot \left(\frac{\pi }{2}-\frac{\pi }{9}\right)\hfill \\ \text{ }=\cot \left(\frac{9\pi }{18}-\frac{2\pi }{18}\right)\hfill \\ \text{ }=\cot \left(\frac{7\pi }{18}\right)\hfill \end{array}[/latex]

Try It 4

Write [latex]\sin \frac{\pi }{7}[/latex] in terms of its cofunction. Solution

Use sum and difference formulas to verify identities

Verifying an identity means demonstrating that the equation holds for all values of the variable. It helps to be very familiar with the identities or to have a list of them accessible while working the problems.

How To: Given an identity, verify using sum and difference formulas.

  1. Begin with the expression on the side of the equal sign that appears most complex. Rewrite that expression until it matches the other side of the equal sign. Occasionally, we might have to alter both sides, but working on only one side is the most efficient.
  2. Look for opportunities to use the sum and difference formulas.
  3. Rewrite sums or differences of quotients as single quotients.
  4. If the process becomes cumbersome, rewrite the expression in terms of sines and cosines.

Example 8: Verifying an Identity Involving Sine

Verify the identity [latex]\sin \left(\alpha +\beta \right)+\sin \left(\alpha -\beta \right)=2\sin \alpha \cos \beta [/latex].

Solution

We see that the left side of the equation includes the sines of the sum and the difference of angles.
[latex]\begin{array}{l}\sin \left(\alpha +\beta \right)=\sin \alpha \cos \beta +\cos \alpha \sin \beta \hfill \\ \sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta -\cos \alpha \sin \beta \hfill \end{array}[/latex]
We can rewrite each using the sum and difference formulas.
[latex]\begin{array}{l}\sin \left(\alpha +\beta \right)+\sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta +\cos \alpha \sin \beta +\sin \alpha \cos \beta -\cos \alpha \sin \beta \hfill \\ \text{ }=2\sin \alpha \cos \beta \hfill \end{array}[/latex]
We see that the identity is verified.

Example 9: Verifying an Identity Involving Tangent

Verify the following identity.
[latex]\frac{\sin \left(\alpha -\beta \right)}{\cos \alpha \cos \beta }=\tan \alpha -\tan \beta [/latex]

Solution

We can begin by rewriting the numerator on the left side of the equation.
[latex]\begin{array}{ll}\frac{\sin \left(\alpha -\beta \right)}{\cos \alpha \cos \beta }=\frac{\sin \alpha \cos \beta -\cos \alpha \sin \beta }{\cos \alpha \cos \beta }\hfill & \hfill \\ \text{ }=\frac{\sin \alpha \overline{)\cos \beta }}{\cos \alpha \overline{)\cos \beta }}-\frac{\overline{)\cos \alpha }\sin \beta }{\overline{)\cos \alpha }\cos \beta }\begin{array}{cccc}& & & \end{array}\hfill & \text{Rewrite using a common denominator}.\hfill \\ \text{ }=\frac{\sin \alpha }{\cos \alpha }-\frac{\sin \beta }{\cos \beta }\hfill & \text{Cancel}.\hfill \\ \text{ }=\tan \alpha -\tan \beta \hfill & \text{Rewrite in terms of tangent}.\hfill \end{array}[/latex]
We see that the identity is verified. In many cases, verifying tangent identities can successfully be accomplished by writing the tangent in terms of sine and cosine.

Try It 5

Verify the identity: [latex]\tan \left(\pi -\theta \right)=-\tan \theta [/latex]. Solution

Example 10: Using Sum and Difference Formulas to Solve an Application Problem

Let [latex]{L}_{1}[/latex] and [latex]{L}_{2}[/latex] denote two non-vertical intersecting lines, and let [latex]\theta [/latex] denote the acute angle between [latex]{L}_{1}[/latex] and [latex]{L}_{2}[/latex]. Show that
[latex]\tan \theta =\frac{{m}_{2}-{m}_{1}}{1+{m}_{1}{m}_{2}}[/latex]
where [latex]{m}_{1}[/latex] and [latex]{m}_{2}[/latex] are the slopes of [latex]{L}_{1}[/latex] and [latex]{L}_{2}[/latex] respectively. (Hint: Use the fact that [latex]\tan {\theta }_{1}={m}_{1}[/latex] and [latex]\tan {\theta }_{2}={m}_{2}[/latex]. )
Diagram of two non-vertical intersecting lines L1 and L2 also intersecting the x-axis. The acute angle formed by the intersection of L1 and L2 is theta. The acute angle formed by L2 and the x-axis is theta 1, and the acute angle formed by the x-axis and L1 is theta 2. Figure 7

Solution

Using the difference formula for tangent, this problem does not seem as daunting as it might.
[latex]\begin{array}{l}\tan \theta =\tan \left({\theta }_{2}-{\theta }_{1}\right)\hfill \\ \text{ }=\frac{\tan {\theta }_{2}-\tan {\theta }_{1}}{1+\tan {\theta }_{1}\tan {\theta }_{2}}\hfill \\ \text{ }=\frac{{m}_{2}-{m}_{1}}{1+{m}_{1}{m}_{2}}\hfill \end{array}[/latex]

Example 11: Investigating a Guy-wire Problem

Two right triangles. Both share the same base, 50 feet. The first has a height of 40 ft and hypotenuse S. The second has height 47 ft and hypotenuse R. The height sides of the triangles are overlapping. There is a B degree angle between R and the base, and an a degree angle between the two hypotenuses within the B degree angle. Figure 8
For a climbing wall, a guy-wire [latex]R[/latex] is attached 47 feet high on a vertical pole. Added support is provided by another guy-wire [latex]S[/latex] attached 40 feet above ground on the same pole. If the wires are attached to the ground 50 feet from the pole, find the angle [latex]\alpha [/latex] between the wires. 

Solution

Let’s first summarize the information we can gather from the diagram. As only the sides adjacent to the right angle are known, we can use the tangent function. Notice that [latex]\tan \beta =\frac{47}{50}[/latex], and [latex]\tan \left(\beta -\alpha \right)=\frac{40}{50}=\frac{4}{5}[/latex]. We can then use difference formula for tangent.
[latex]\tan \left(\beta -\alpha \right)=\frac{\tan \beta -\tan \alpha }{1+\tan \beta \tan \alpha }[/latex]
Now, substituting the values we know into the formula, we have
[latex]\begin{array}{l}\text{ }\frac{4}{5}=\frac{\frac{47}{50}-\tan \alpha }{1+\frac{47}{50}\tan \alpha }\hfill \\ 4\left(1+\frac{47}{50}\tan \alpha \right)=5\left(\frac{47}{50}-\tan \alpha \right)\hfill \\ \hfill \end{array}[/latex]
Use the distributive property, and then simplify the functions.
[latex]\begin{array}{l}4\left(1\right)+4\left(\frac{47}{50}\right)\tan \alpha =5\left(\frac{47}{50}\right)-5\tan \alpha \hfill \\ 4+3.76\tan \alpha =4.7 - 5\tan \alpha \hfill \\ 5\tan \alpha +3.76\tan \alpha =0.7\hfill \\ 8.76\tan \alpha =0.7\hfill \\ \tan \alpha \approx 0.07991\hfill \\ {\tan }^{-1}\left(0.07991\right)\approx .079741\hfill \end{array}[/latex]
Now we can calculate the angle in degrees.
[latex]\alpha \approx 0.079741\left(\frac{180}{\pi }\right)\approx {4.57}^{\circ }[/latex]

Analysis of the Solution

Occasionally, when an application appears that includes a right triangle, we may think that solving is a matter of applying the Pythagorean Theorem. That may be partially true, but it depends on what the problem is asking and what information is given.

Key Equations

Sum Formula for Cosine [latex]\cos \left(\alpha +\beta \right)=\cos \alpha \cos \beta -\sin \alpha \sin \beta [/latex]
Difference Formula for Cosine [latex]\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta [/latex]
Sum Formula for Sine [latex]\sin \left(\alpha +\beta \right)=\sin \alpha \cos \beta +\cos \alpha \sin \beta [/latex]
Difference Formula for Sine [latex]\sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta -\cos \alpha \sin \beta [/latex]
Sum Formula for Tangent [latex]\tan \left(\alpha +\beta \right)=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta }[/latex]
Difference Formula for Tangent [latex]\tan \left(\alpha -\beta \right)=\frac{\tan \alpha -\tan \beta }{1+\tan \alpha \tan \beta }[/latex]
Cofunction identities [latex]\begin{array}{l}\sin \theta =\cos \left(\frac{\pi }{2}-\theta \right)\\ \cos \theta =\sin \left(\frac{\pi }{2}-\theta \right)\\ \tan \theta =\cot \left(\frac{\pi }{2}-\theta \right)\\ \cot \theta =\tan \left(\frac{\pi }{2}-\theta \right)\\ \sec \theta =\csc \left(\frac{\pi }{2}-\theta \right)\\ \csc \theta =\sec \left(\frac{\pi }{2}-\theta \right)\end{array}[/latex]

Key Concepts

  • The sum formula for cosines states that the cosine of the sum of two angles equals the product of the cosines of the angles minus the product of the sines of the angles. The difference formula for cosines states that the cosine of the difference of two angles equals the product of the cosines of the angles plus the product of the sines of the angles.
  • The sum and difference formulas can be used to find the exact values of the sine, cosine, or tangent of an angle.
  • The sum formula for sines states that the sine of the sum of two angles equals the product of the sine of the first angle and cosine of the second angle plus the product of the cosine of the first angle and the sine of the second angle. The difference formula for sines states that the sine of the difference of two angles equals the product of the sine of the first angle and cosine of the second angle minus the product of the cosine of the first angle and the sine of the second angle.
  • The sum and difference formulas for sine and cosine can also be used for inverse trigonometric functions.
  • The sum formula for tangent states that the tangent of the sum of two angles equals the sum of the tangents of the angles divided by 1 minus the product of the tangents of the angles. The difference formula for tangent states that the tangent of the difference of two angles equals the difference of the tangents of the angles divided by 1 plus the product of the tangents of the angles.
  • The Pythagorean Theorem along with the sum and difference formulas can be used to find multiple sums and differences of angles.
  • The cofunction identities apply to complementary angles and pairs of reciprocal functions.
  • Sum and difference formulas are useful in verifying identities.
  • Application problems are often easier to solve by using sum and difference formulas.

Section Exercises

1. Explain the basis for the cofunction identities and when they apply. 2. Is there only one way to evaluate [latex]\cos \left(\frac{5\pi }{4}\right)?[/latex] Explain how to set up the solution in two different ways, and then compute to make sure they give the same answer. 3. Explain to someone who has forgotten the even-odd properties of sinusoidal functions how the addition and subtraction formulas can determine this characteristic for [latex]f\left(x\right)=\sin \left(x\right)[/latex] and [latex]g\left(x\right)=\cos \left(x\right)[/latex]. (Hint: [latex]0-x=-x[/latex] ) For the following exercises, find the exact value. 4. [latex]\cos \left(\frac{7\pi }{12}\right)[/latex] 5. [latex]\cos \left(\frac{\pi }{12}\right)[/latex] 6. [latex]\sin \left(\frac{5\pi }{12}\right)[/latex] 7. [latex]\sin \left(\frac{11\pi }{12}\right)[/latex] 8. [latex]\tan \left(-\frac{\pi }{12}\right)[/latex] 9. [latex]\tan \left(\frac{19\pi }{12}\right)[/latex] For the following exercises, rewrite in terms of [latex]\sin x[/latex] and [latex]\cos x[/latex]. 10. [latex]\sin \left(x+\frac{11\pi }{6}\right)[/latex] 11. [latex]\sin \left(x-\frac{3\pi }{4}\right)[/latex] 12. [latex]\cos \left(x-\frac{5\pi }{6}\right)[/latex] 13. [latex]\cos \left(x+\frac{2\pi }{3}\right)[/latex] For the following exercises, simplify the given expression. 14. [latex]\csc \left(\frac{\pi }{2}-t\right)[/latex] 15. [latex]\sec \left(\frac{\pi }{2}-\theta \right)[/latex] 16. [latex]\cot \left(\frac{\pi }{2}-x\right)[/latex] 17. [latex]\tan \left(\frac{\pi }{2}-x\right)[/latex] 18. [latex]\sin \left(2x\right)\cos \left(5x\right)-\sin \left(5x\right)\cos \left(2x\right)[/latex] 19. [latex]\frac{\tan \left(\frac{3}{2}x\right)-\tan \left(\frac{7}{5}x\right)}{1+\tan \left(\frac{3}{2}x\right)\tan \left(\frac{7}{5}x\right)}[/latex] For the following exercises, find the requested information. 20. Given that [latex]\sin a=\frac{2}{3}[/latex] and [latex]\cos b=-\frac{1}{4}[/latex], with [latex]a[/latex] and [latex]b[/latex] both in the interval [latex]\left[\frac{\pi }{2},\pi \right)[/latex], find [latex]\sin \left(a+b\right)[/latex] and [latex]\cos \left(a-b\right)[/latex]. 21. Given that [latex]\sin a=\frac{4}{5}[/latex], and [latex]\cos b=\frac{1}{3}[/latex], with [latex]a[/latex] and [latex]b[/latex] both in the interval [latex]\left[0,\frac{\pi }{2}\right)[/latex], find [latex]\sin \left(a-b\right)[/latex] and [latex]\cos \left(a+b\right)[/latex]. For the following exercises, find the exact value of each expression. 22. [latex]\sin \left({\cos }^{-1}\left(0\right)-{\cos }^{-1}\left(\frac{1}{2}\right)\right)[/latex] 23. [latex]\cos \left({\cos }^{-1}\left(\frac{\sqrt{2}}{2}\right)+{\sin }^{-1}\left(\frac{\sqrt{3}}{2}\right)\right)[/latex] 24. [latex]\tan \left({\sin }^{-1}\left(\frac{1}{2}\right)-{\cos }^{-1}\left(\frac{1}{2}\right)\right)[/latex] For the following exercises, simplify the expression, and then graph both expressions as functions to verify the graphs are identical. 25. [latex]\cos \left(\frac{\pi }{2}-x\right)[/latex] 26. [latex]\sin \left(\pi -x\right)[/latex] 27. [latex]\tan \left(\frac{\pi }{3}+x\right)[/latex] 28. [latex]\sin \left(\frac{\pi }{3}+x\right)[/latex] 29. [latex]\tan \left(\frac{\pi }{4}-x\right)[/latex] 30. [latex]\cos \left(\frac{7\pi }{6}+x\right)[/latex] 31. [latex]\sin \left(\frac{\pi }{4}+x\right)[/latex] 32. [latex]\cos \left(\frac{5\pi }{4}+x\right)[/latex] For the following exercises, use a graph to determine whether the functions are the same or different. If they are the same, show why. If they are different, replace the second function with one that is identical to the first. (Hint: think [latex]2x=x+x[/latex]. ) 33. [latex]f\left(x\right)=\sin \left(4x\right)-\sin \left(3x\right)\cos x,g\left(x\right)=\sin x\cos \left(3x\right)[/latex] 34. [latex]f\left(x\right)=\cos \left(4x\right)+\sin x\sin \left(3x\right),g\left(x\right)=-\cos x\cos \left(3x\right)[/latex] 35. [latex]f\left(x\right)=\sin \left(3x\right)\cos \left(6x\right),g\left(x\right)=-\sin \left(3x\right)\cos \left(6x\right)[/latex] 36. [latex]f\left(x\right)=\sin \left(4x\right),g\left(x\right)=\sin \left(5x\right)\cos x-\cos \left(5x\right)\sin x[/latex] 37. [latex]f\left(x\right)=\sin \left(2x\right),g\left(x\right)=2\sin x\cos x[/latex] 38. [latex]f\left(\theta \right)=\cos \left(2\theta \right),g\left(\theta \right)={\cos }^{2}\theta -{\sin }^{2}\theta [/latex] 39. [latex]f\left(\theta \right)=\tan \left(2\theta \right),g\left(\theta \right)=\frac{\tan \theta }{1+{\tan }^{2}\theta }[/latex] 40. [latex]f\left(x\right)=\sin \left(3x\right)\sin x,g\left(x\right)={\sin }^{2}\left(2x\right){\cos }^{2}x-{\cos }^{2}\left(2x\right){\sin }^{2}x[/latex] 41. [latex]f\left(x\right)=\tan \left(-x\right),g\left(x\right)=\frac{\tan x-\tan \left(2x\right)}{1-\tan x\tan \left(2x\right)}[/latex] For the following exercises, find the exact value algebraically, and then confirm the answer with a calculator to the fourth decimal point. 42. [latex]\sin \left({75}^{\circ }\right)[/latex] 43. [latex]\sin \left({195}^{\circ }\right)[/latex] 44. [latex]\cos \left({165}^{\circ }\right)[/latex] 45. [latex]\cos \left({345}^{\circ }\right)[/latex] 46. [latex]\tan \left(-{15}^{\circ }\right)[/latex] For the following exercises, prove the identities provided. 47. [latex]\tan \left(x+\frac{\pi }{4}\right)=\frac{\tan x+1}{1-\tan x}[/latex] 48. [latex]\frac{\tan \left(a+b\right)}{\tan \left(a-b\right)}=\frac{\sin a\cos a+\sin b\cos b}{\sin a\cos a-\sin b\cos b}[/latex] 49. [latex]\frac{\cos \left(a+b\right)}{\cos a\cos b}=1-\tan a\tan b[/latex] 50. [latex]\cos \left(x+y\right)\cos \left(x-y\right)={\cos }^{2}x-{\sin }^{2}y[/latex] 51. [latex]\frac{\cos \left(x+h\right)-\cos x}{h}=\cos x\frac{\cos h - 1}{h}-\sin x\frac{\sin h}{h}[/latex] For the following exercises, prove or disprove the statements. 52. [latex]\tan \left(u+v\right)=\frac{\tan u+\tan v}{1-\tan u\tan v}[/latex] 53. [latex]\tan \left(u-v\right)=\frac{\tan u-\tan v}{1+\tan u\tan v}[/latex] 54. [latex]\frac{\tan \left(x+y\right)}{1+\tan x\tan x}=\frac{\tan x+\tan y}{1-{\tan }^{2}x{\tan }^{2}y}[/latex] 55. If [latex]\alpha ,\beta [/latex], and [latex]\gamma [/latex] are angles in the same triangle, then prove or disprove [latex]\sin \left(\alpha +\beta \right)=\sin \gamma [/latex]. 57. If [latex]\alpha ,\beta [/latex], and [latex]y[/latex] are angles in the same triangle, then prove or disprove [latex]\tan \alpha +\tan \beta +\tan \gamma =\tan \alpha \tan \beta \tan \gamma [/latex]

Licenses & Attributions

CC licensed content, Specific attribution