9.3: Sum and Difference Identities
 Page ID
 1524
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
Skills to Develop
 Use sum and difference formulas for cosine.
 Use sum and difference formulas for sine.
 Use sum and difference formulas for tangent.
 Use sum and difference formulas for cofunctions.
 Use sum and difference formulas to verify identities.
How can the height of a mountain be measured? What about the distance from Earth to the sun? Like many seemingly impossible problems, we rely on mathematical formulas to find the answers. The trigonometric identities, commonly used in mathematical proofs, have had realworld applications for centuries, including their use in calculating long distances.
The trigonometric identities we will examine in this section can be traced to a Persian astronomer who lived around 950 AD, but the ancient Greeks discovered these same formulas much earlier and stated them in terms of chords. These are special equations or postulates, true for all values input to the equations, and with innumerable applications.
Figure \(\PageIndex{1}\): Mount McKinley, in Denali National Park, Alaska, rises 20,237 feet (6,168 m) above sea level. It is the highest peak in North America. (credit: Daniel A. Leifheit, Flickr)
In this section, we will learn techniques that will enable us to solve problems such as the ones presented above. The formulas that follow will simplify many trigonometric expressions and equations. Keep in mind that, throughout this section, the term formula is used synonymously with the word identity.
Using the 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 \(\PageIndex{2}\).
Figure \(\PageIndex{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 (Table \(\PageIndex{2}\)).
Sum formula for cosine  \(\cos(\alpha+\beta)=\cos \alpha \cos \beta−\sin \alpha \sin \beta\) 
Difference formula for cosine  \(\cos(\alpha−\beta)=\cos \alpha \cos \beta+\sin \alpha \sin \beta\) 
First, we will prove the difference formula for cosines. Let’s consider two points on the unit circle (Figure \(\PageIndex{3}\)). Point \(P\) is at an angle \(\alpha\) from the positive xaxis with coordinates \((\cos \alpha,\sin \alpha)\) and point \(Q\) is at an angle of \(\beta\) from the positive xaxis with coordinates \((\cos \beta,\sin \beta)\). Note the measure of angle \(POQ\) is \(\alpha−\beta\).
Label two more points: \(A\) at an angle of \((\alpha−\beta)\) from the positive xaxis with coordinates \((\cos(\alpha−\beta),\sin(\alpha−\beta))\); and point \(B\) with coordinates \((1,0)\). Triangle \(POQ\) is a rotation of triangle \(AOB\) and thus the distance from \(P\) to \(Q\) is the same as the distance from \(A\) to \(B\).
Figure \(\PageIndex{3}\)
We can find the distance from \(P\) to \(Q\) using the distance formula.
\[d_{PQ}=\sqrt{{(cos α−cos β)}^2+{(sin α−sin β)}^2}\]
\[=\sqrt{{\cos}^2 \alpha−2\cos \alpha \cos \beta+{\cos}^2 \beta+{\sin}^2 \alpha−2\sin \alpha \sin \beta+{\sin}^2 \beta}\]
Then we apply the Pythagorean identity and simplify.
\[=\sqrt{({\cos}^2 \alpha+{\sin}^2 \alpha)+({\cos}^2 \beta+{\sin}^2 \beta)−2\cos \alpha \cos \beta−2\sin \alpha \sin \beta}\]
\[=\sqrt{1+1−2\cos \alpha \cos \beta−2\sin \alpha \sin \beta}\]
\[=\sqrt{2−2\cos \alpha \cos \beta−2\sin \alpha \sin \beta}\]
Similarly, using the distance formula we can find the distance from \(A\) to \(B\).
\[d_{AB}=\sqrt{{(\cos(\alpha−\beta)−1)}^2+{(\sin(\alpha−\beta)−0)}^2}\]
\[=\sqrt{{\cos}^2(\alpha−\beta)−2\cos(\alpha−\beta)+1+{\sin}^2(\alpha−\beta)}\]
Applying the Pythagorean identity and simplifying we get:
\[=\sqrt{({\cos}^2(\alpha−\beta)+{\sin}^2(\alpha−\beta))−2\cos(\alpha−\beta)+1}\]
\[=\sqrt{1−2\cos(\alpha−\beta)+1}\]
\[=\sqrt{2−2\cos(\alpha−\beta)}\]
Because the two distances are the same, we set them equal to each other and simplify.
\[\sqrt{2−2\cos \alpha \cos \beta−2\sin \alpha \sin \beta}=\sqrt{2−2\cos(\alpha−\beta)}\]
\[2−2\cos \alpha \cos \beta−2\sin \alpha \sin \beta=2−2\cos(\alpha−\beta)\]
Finally we subtract \(2\) from both sides and divide both sides by \(−2\).
\[\cos \alpha \cos \beta+\sin \alpha \sin \beta=\cos(\alpha−\beta)\]
Thus, we have the difference formula for cosine. We can use similar methods to derive the cosine of the sum of two angles.
SUM AND DIFFERENCE FORMULAS FOR COSINE
These formulas can be used to calculate the cosine of sums and differences of angles.
\[\cos(\alpha+\beta)=\cos \alpha \cos \beta−\sin \alpha \sin \beta\]
\[\cos(\alpha−\beta)=\cos \alpha \cos \beta+\sin \alpha \sin \beta\]
How to: Given two angles, find the cosine of the difference between the angles
 Write the difference formula for cosine.
 Substitute the values of the given angles into the formula.
 Simplify.
Example \(\PageIndex{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 \(\cos(\dfrac{5\pi}{4}−\dfrac{\pi}{6})\).
Solution:
Begin by writing the formula for the cosine of the difference of two angles. Then substitute the given values.
\[\cos(\alpha−\beta)=\cos \alpha \cos \beta+\sin \alpha \sin \beta\]
\[\cos(\dfrac{5\pi}{4}−\dfrac{\pi}{6})=\cos(\dfrac{5\pi}{4})\cos(\dfrac{\pi}{6})+\sin(\dfrac{5\pi}{4})\sin(\dfrac{\pi}{6})\]
\[=(\dfrac{\sqrt{2}}{2})(\dfrac{\sqrt{3}}{2})(\dfrac{\sqrt{2}}{2})(\dfrac{1}{2})\]
\[=\dfrac{\sqrt{6}}{4}\dfrac{\sqrt{2}}{4}\]
\[=\dfrac{\sqrt{6}\sqrt{2}}{4}\]
Keep in mind that we can always check the answer using a graphing calculator in radian mode.
Exercise \(\PageIndex{1}\):
Find the exact value of \(\cos(\dfrac{\pi}{3}−\dfrac{\pi}{4})\).
 Answer

\(\dfrac{\sqrt{2}+\sqrt{6}}{4}\)
Example \(\PageIndex{2}\): Finding the Exact Value Using the Formula for the Sum of Two Angles for Cosine
Find the exact value of \(\cos(75°)\).
Solution:
As \(75°=45°+30°\),we can evaluate \(\cos(75°)\) as \(\cos(45°+30°)\).
\[\cos(\alpha+\beta)=\cos \alpha \cos \beta−\sin \alpha \sin \beta\]
\[\cos(45°+30°)=\cos(45°)\cos(30°)−\sin(45°)\sin(30°)\]
\[=\dfrac{\sqrt{2}}{2}(\dfrac{\sqrt{3}}{2})\dfrac{\sqrt{2}}{2}(\dfrac{1}{2})\]
\[=\dfrac{\sqrt{6}}{4}\dfrac{\sqrt{2}}{4}\]
\[=\dfrac{\sqrt{6}\sqrt{2}}{4}\]
Keep in mind that we can always check the answer using a graphing calculator in degree mode.
Analysis
Note that we could have also solved this problem using the fact that \( 75°=135°−60°\).
\[\cos(\alpha\beta)=\cos \alpha \cos \beta+\sin \alpha \sin \beta\]
\[\cos(135°−60°)=\cos(135°)\cos(60°)+\sin(135°)\sin(60°)\]
\[=(\dfrac{\sqrt{2}}{2})(\dfrac{1}{2})+(\dfrac{\sqrt{2}}{2})(\dfrac{\sqrt{3}}{2})\]
\[=(\dfrac{\sqrt{2}}{4})+(\dfrac{\sqrt{6}}{4})\]
\[=\dfrac{\sqrt{6}\sqrt{2}}{4}\]
Exercise \(\PageIndex{2}\)
Find the exact value of \(\cos(105°)\).
 Answer

\(\dfrac{\sqrt{2}\sqrt{6}}{4}\)
Using the 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.
SUM AND DIFFERENCE FORMULAS FOR SINE
These formulas can be used to calculate the sines of sums and differences of angles.
\[\sin(\alpha+\beta)=\sin \alpha \cos \beta+\cos \alpha \sin \beta\]
\[\sin(\alpha−\beta)=\sin \alpha \cos \beta−\cos \alpha \sin \beta\]
How to: Given two angles, find the sine of the difference between the angles.
 Write the difference formula for sine.
 Substitute the given angles into the formula.
 Simplify.
Example \(\PageIndex{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.
 \(\sin(45°−30°)\)
 \(\sin(135°−120°)\)
Solution:
1. Let’s begin by writing the formula and substitute the given angles.
\[\sin(\alpha−\beta)=\sin \alpha \cos \beta−\cos \alpha \sin \beta\]
\[\sin(45°−30°)=\sin(45°)\cos(30°)−\cos(45°)\sin(30°)\]
Next, we need to find the values of the trigonometric expressions.
\(\sin(45°)=\dfrac{\sqrt{2}}{2}\), \(\cos(30°)=\dfrac{\sqrt{3}}{2}\), \(\cos(45°)=\dfrac{\sqrt{2}}{2}\), \(\sin(30°)=\dfrac{1}{2}\)
Now we can substitute these values into the equation and simplify.
\[\sin(45°−30°)=\dfrac{\sqrt{2}}{2}(\dfrac{\sqrt{3}}{2})\dfrac{\sqrt{2}}{2}(\dfrac{1}{2})\]
\[=\dfrac{\sqrt{6}\sqrt{2}}{4}\]
2. Again, we write the formula and substitute the given angles.
\[\sin(\alpha−\beta)=\sin \alpha \cos \beta−\cos \alpha \sin \beta\]
\[\sin(135°−120°)=\sin(135°)\cos(120°)−\cos(135°)\sin(120°)\]
Next, we find the values of the trigonometric expressions.
\(\sin(135°)=\dfrac{\sqrt{2}}{2}\), \(\cos(120°)=\dfrac{1}{2}\), \(\cos(135°)=\dfrac{\sqrt{2}}{2}\), \(\sin(120°)=\dfrac{\sqrt{3}}{2}\)
Now we can substitute these values into the equation and simplify.
\[\sin(135°−120°)=\dfrac{\sqrt{2}}{2}(\dfrac{1}{2})(\dfrac{\sqrt{2}}{2})(\dfrac{\sqrt{3}}{2})\]
\[=\dfrac{\sqrt{6}\sqrt{2}}{4}\]
Example \(\PageIndex{4}\): Finding the Exact Value of an Expression Involving an Inverse Trigonometric Function
Find the exact value of \(\sin({\cos}^{−1}\dfrac{1}{2}+{\sin}^{−1}\dfrac{3}{5})\). Then check the answer with a graphing calculator.
Solution:
The pattern displayed in this problem is \(\sin(\alpha+\beta)\). Let \(\alpha={\cos}^{−1}\dfrac{1}{2}\) and \(\beta={\sin}^{−1}\dfrac{3}{5}\). Then we can write
\[\cos \alpha=\dfrac{1}{2}, \space 0≤\alpha≤\pi\]
\[\sin \beta=\dfrac{3}{5}, \space −\dfrac{\pi}{2}≤\beta≤\dfrac{\pi}{2}\]
We will use the Pythagorean identities to find \(\sin \alpha\) and \(\cos \beta\).
\[\sin \alpha=\sqrt{1{\cos}^2 \alpha}\]
\[=\sqrt{1\dfrac{1}{4}}\]
\[=\sqrt{\dfrac{3}{4}}\]
\[=\dfrac{\sqrt{3}}{2}\]
\[\cos \beta=\sqrt{1{\sin}^2 \beta}\]
\[=\sqrt{1\dfrac{9}{25}}\]
\[=\sqrt{\dfrac{16}{25}}\]
\[=\dfrac{4}{5}\]
Using the sum formula for sine,
\[\sin({\cos}^{−1}\dfrac{1}{2}+{\sin}^{−1}\dfrac{3}{5})=\sin(\alpha+\beta)\]
\[=\sin \alpha \cos \beta+\cos \alpha \sin \beta\]
\[=\dfrac{\sqrt{3}}{2}⋅ \dfrac{4}{5}+\dfrac{1}{2}⋅\dfrac{3}{5}\]
\[=\dfrac{4\sqrt{3}+3}{10}\]
Using the 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, \(\tan x=\dfrac{\sin x}{\cos x}\),\(\cos x≠0\).
Let’s derive the sum formula for tangent.
\[\tan(\alpha+\beta)=\dfrac{\sin(\alpha+\beta)}{\cos(\alpha+\beta)}\]
\[=\dfrac{\sin \alpha \cos \beta+\cos \alpha \sin \beta}{\cos \alpha \cos \beta−\sin \alpha \sin \beta}\]
\[=\dfrac{\dfrac{\sin \alpha \cos \beta+\cos \alpha \sin \beta}{\cos \alpha \cos \beta}}{\dfrac{\cos \alpha \cos \beta−\sin \alpha \sin \beta}{\cos \alpha \cos \beta}}\]
\[=\dfrac{\dfrac{\sin \alpha \cos \beta}{\cos \alpha \cos \beta}+\dfrac{\cos \alpha \sin \beta}{\cos \alpha \cos \beta}}{\dfrac{\cos \alpha \cos \beta}{\cos \alpha \cos \beta}\dfrac{\sin \alpha \sin \beta}{\cos \alpha \cos \beta}}\]
\[=\dfrac{\dfrac{\sin \alpha}{\cos \alpha}+\dfrac{\sin \beta}{\cos \beta}}{1\dfrac{\sin \alpha \sin \beta}{\cos \alpha \cos \beta}}\]
\[=\dfrac{\tan \alpha+\tan \beta}{1\tan \alpha \tan \beta}\]
We can derive the difference formula for tangent in a similar way.
SUM AND DIFFERENCE FORMULAS FOR TANGENT
The sum and difference formulas for tangent are:
\[\tan(\alpha+\beta)=\dfrac{\tan \alpha+\tan \beta}{1−\tan \alpha \tan \beta}\]
\[\tan(\alpha\beta)=\dfrac{\tan \alpha\tan \beta}{1+\tan \alpha \tan \beta}\]
How to: Given two angles, find the tangent of the sum of the angles
 Write the sum formula for tangent.
 Substitute the given angles into the formula.
 Simplify.
Example \(\PageIndex{5}\): Finding the Exact Value of an Expression Involving Tangent
Find the exact value of \(\tan(\dfrac{\pi}{6}+\dfrac{\pi}{4})\).
Solution:
Let’s first write the sum formula for tangent and then substitute the given angles into the formula.
\[\tan(\alpha+\beta)=\dfrac{\tan \alpha+\tan \beta}{1−\tan \alpha \tan \beta}\]
\[\tan(\dfrac{\pi}{6}+\dfrac{\pi}{4})=\dfrac{\tan(\dfrac{\pi}{6})+\tan(\dfrac{\pi}{4})}{1(\tan(\dfrac{\pi}{6}))(\tan(\dfrac{\pi}{4}))}\]
Next, we determine the individual function values within the formula:
\[\tan(\dfrac{\pi}{6})=\dfrac{1}{\sqrt{3}},\space \tan(\dfrac{\pi}{4})=1\]
So we have
\[\tan(\dfrac{\pi}{6}+\dfrac{\pi}{4})=\dfrac{\dfrac{1}{\sqrt{3}}+1}{1(\dfrac{1}{\sqrt{3}})(1)}\]
\[=\dfrac{\dfrac{1+\sqrt{3}}{\sqrt{3}}}{\dfrac{\sqrt{3}1}{\sqrt{3}}}\]
\[=\dfrac{1+\sqrt{3}}{\sqrt{3}}(\dfrac{\sqrt{3}}{\sqrt{3}1})\]
\[=\dfrac{\sqrt{3}+1}{\sqrt{3}1}\]
Exercise \(\PageIndex{5}\):
Find the exact value of \(\tan(\dfrac{2\pi}{3}+\dfrac{\pi}{4})\).
 Answer:

\(\dfrac{1\sqrt{3}}{1+\sqrt{3}}\)
Example \(\PageIndex{6}\): Finding Multiple Sums and Differences of Angles
Given \(\sin \alpha=\dfrac{3}{5}\), \(0<\alpha<\dfrac{\pi}{2}\), \(\cos \beta=−\dfrac{5}{13}\), \(\pi<\beta<\dfrac{3\pi}{2}\),find
 \(\sin(\alpha+\beta)\)
 \(\cos(\alpha+\beta)\)
 \(\tan(\alpha+\beta)\)
 \(\tan(\alpha−\beta)\)
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 \(\sin(\alpha+\beta)\),we begin with \(\sin \alpha=\dfrac{3}{5}\) and \(0<\alpha<\dfrac{\pi}{2}\). The side opposite \(\alpha\) has length 3, the hypotenuse has length 5, and \(\alpha\) is in the first quadrant. See Figure 9.3.4. Using the Pythagorean Theorem, we can find the length of side \(a\):
\[a^2+3^2=5^2\]
\[a^2=16\]
\[a=4\]
Figure 9.3.4
Since \(\cos \beta=−\dfrac{5}{13}\) and \(\pi<\beta<\dfrac{3\pi}{2}\),the side adjacent to \(\beta\) is \(−5\),the hypotenuse is \(13\), and \(\beta\) is in the third quadrant. See Figure 9.3.5. Again, using the Pythagorean Theorem, we have
\[{(5)}^2+a^2={13}^2\]
\[25+a^2=169\]
\[a^2=144\]
\[a=±12\]
Since \(\beta\) is in the third quadrant, \(a=–12\).
Figure 9.3.5
The next step is finding the cosine of \(\alpha\) and the sine of \(\beta\). The cosine ofα α is the adjacent side over the hypotenuse. We can find it from the triangle in Figure 9.3.5: \(\cos \alpha=\dfrac{4}{5}\). We can also find the sine of \(\beta\) from the triangle in Figure 9.3.5, as opposite side over the hypotenuse: \(\sin \beta=−\dfrac{12}{13}\). Now we are ready to evaluate \(\sin(\alpha+\beta)\).
\[\sin(\alpha+\beta)=\sin \alpha \cos \beta+\cos \alpha \sin \beta\]
\[=(\dfrac{3}{5})(\dfrac{5}{13})+(\dfrac{4}{5})(\dfrac{12}{13})\]
\[=\dfrac{15}{65}\dfrac{48}{65}\]
\[=\dfrac{63}{65}\]
2. We can find \(\cos(\alpha+\beta)\) in a similar manner. We substitute the values according to the formula.
\[\cos(\alpha+\beta)=\cos \alpha \cos \beta−\sin \alpha \sin \beta\]
\[=(\dfrac{4}{5})(\dfrac{5}{13})(\dfrac{3}{5})(\dfrac{12}{13})\]
\[=\dfrac{20}{65}+\dfrac{36}{65}\]
\[=\dfrac{16}{65}\]
3. For \(\tan(\alpha+\beta)\),if \(\sin \alpha=\dfrac{3}{5}\) and \(\cos \alpha=\dfrac{4}{5}\), then
\[\tan \alpha=\dfrac{\dfrac{3}{5}}{\dfrac{4}{5}}=\dfrac{3}{4}\]
If \(\sin \beta=−\dfrac{12}{13}\) and \(\cos \beta=−\dfrac{5}{13}\), then
\[\tan \beta=\dfrac{−\dfrac{12}{13}}{−\dfrac{5}{13}}=\dfrac{12}{5}\]
Then,
\[\tan(\alpha+\beta)=\dfrac{\tan \alpha+\tan \beta}{1−\tan \alpha \tan \beta}\]
\[=\dfrac{\dfrac{3}{4}+\dfrac{12}{5}}{1\dfrac{3}{4}(\dfrac{12}{5})}\]
\[=\dfrac{\dfrac{63}{20}}{\dfrac{16}{20}}\]
\[=\dfrac{63}{16}\]
4. To find \(\tan(\alpha−\beta)\), we have the values we need. We can substitute them in and evaluate.
\[\tan(\alpha\beta)=\dfrac{\tan \alpha\tan \beta}{1+\tan \alpha \tan \beta}\]
\[=\dfrac{\dfrac{3}{4}\dfrac{12}{5}}{1+\dfrac{3}{4}(\dfrac{12}{5})}\]
\[=\dfrac{\dfrac{33}{20}}{\dfrac{56}{20}}\]
\[=\dfrac{33}{56}\]
Analysis
A common mistake when addressing problems such as this one is that we may be tempted to think that \(\alpha\) and \(\beta\) are angles in the same triangle, which of course, they are not. Also note that
\[\tan(\alpha+\beta)=\sin(\alpha+\beta)\cos(\alpha+\beta)\]
Using 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 from Right Triangle Trigonometry that, if the sum of two positive angles is \(\dfrac{\pi}{2}\),those two angles are complements, and the sum of the two acute angles in a right triangle is \(\dfrac{\pi}{2}\),so they are also complements. In Figure 9.3.5, notice that if one of the acute angles is labeled as \(\theta\),then the other acute angle must be labeled \((\dfrac{\pi}{2}−\theta)\).
Notice also that \(\sin \theta=\cos(\dfrac{\pi}{2}−\theta)\),which is opposite over hypotenuse. Thus, when two angles are complimentary, we can say that the sine of \(\theta\) equals the cofunction of the complement of \(\theta\). Similarly, tangent and cotangent are cofunctions, and secant and cosecant are cofunctions.
Figure 9.3.5
From these relationships, the cofunction identities are formed. Recall that you first encountered these identities in The Unit Circle: Sine and Cosine Functions.
A General Note: COFUNCTION IDENTITIES
The cofunction identities are summarized in Table 9.3.1.
\(\sin \theta=\cos(\dfrac{\pi}{2}−\theta)\)  \(\cos \theta=\sin(\dfrac{\pi}{2}−\theta)\) 

\(\tan \theta=\cot(\dfrac{\pi}{2}−\theta)\)  \(\cot \theta=\tan(\dfrac{\pi}{2}−\theta)\) 
\(\sec \theta=\csc(\dfrac{\pi}{2}−\theta)\)  \(\csc \theta=\sec(\dfrac{\pi}{2}−\theta)\) 
Notice that the formulas in the table may also justified algebraically using the sum and difference formulas. For example, using
\[\cos(\alpha−\beta)=\cos \alpha \cos \beta+\sin \alpha \sin \beta\]
we can write
\[ \begin{align*} \cos(\dfrac{\pi}{2}\theta)=\cos \dfrac{\pi}{2} \cos \theta+\sin \dfrac{\pi}{2} \sin \theta \\[5pt] &=(0)\cos \theta+(1)\sin \theta \\[5pt] &=\sin \theta \end{align}\]
Example \(\PageIndex{7}\): Finding a Cofunction with the Same Value as the Given Expression
Write \(\tan \dfrac{\pi}{9}\) in terms of its cofunction.
Solution:
The cofunction of \(\tan \theta=\cot(\dfrac{\pi}{2}−\theta)\). Thus,
\[\tan(\dfrac{\pi}{9})=\cot(\dfrac{\pi}{2}\dfrac{\pi}{9})\]
\[=\cot(\dfrac{9\pi}{18}\dfrac{2\pi}{18})\]
\[=\cot(\dfrac{7\pi}{18})\]
Exercise \(\PageIndex{7}\)
Write \(\sin \dfrac{\pi}{7}\) in terms of its cofunction.
Answer:

\(\cos(\dfrac{5\pi}{14})\)
Using the 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. Reviewing the general rules presented earlier may help simplify the process of verifying an identity.
How to: Given an identity, verify using sum and difference formulas
 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.
 Look for opportunities to use the sum and difference formulas.
 Rewrite sums or differences of quotients as single quotients.
 If the process becomes cumbersome, rewrite the expression in terms of sines and cosines.
Example \(\PageIndex{8A}\): Verifying an Identity Involving Sine
Verify the identity \(\sin(\alpha+\beta)+\sin(\alpha−\beta)=2\sin \alpha \cos \beta\).
Solution:
We see that the left side of the equation includes the sines of the sum and the difference of angles.
\[\sin(\alpha+\beta)=\sin \alpha \cos \beta+\cos \alpha \sin \beta\]
\[\sin(\alpha\beta)=\sin \alpha \cos \beta\cos \alpha \sin \beta\]
We can rewrite each using the sum and difference formulas.
\[\sin(\alpha+\beta)+\sin(\alpha\beta)=\sin \alpha \cos \beta+\cos \alpha \sin \beta+\sin \alpha \cos \beta\cos \alpha \sin \beta\]
\[=2\sin \alpha \cos \beta\]
We see that the identity is verified.
Example \(\PageIndex{8B}\): Verifying an Identity Involving Tangent
Verify the following identity.
\[\dfrac{\sin(\alpha−\beta)}{\cos \alpha \cos \beta}=\tan \alpha−\tan \beta\]
Solution:
We can begin by rewriting the numerator on the left side of the equation.
\[\dfrac{\sin(\alpha−\beta)}{\cos \alpha \cos \beta}=\dfrac{\sin \alpha \cos \beta\cos \alpha \sin \beta}{\cos \alpha \cos \beta}\]
\(=\dfrac{\sin \alpha \cos \beta}{\cos \alpha \cos \beta}\dfrac{\cos \alpha \sin \beta}{\cos \alpha \cos \beta}\) Rewrite using a common denominator.
\(=\dfrac{\sin \alpha}{\cos \alpha}\dfrac{\sin \beta}{\cos \beta}\) Cancel.
\(=\tan \alpha\tan \beta\) Rewrite in terms of tangent.
Exercise \(\PageIndex{8}\):
Verify the identity: \(\tan(\pi−\theta)=−\tan \theta\).
 Answer:

\[\tan(\pi−\theta)=\dfrac{\tan(\pi)\tan \theta}{1+\tan(\pi)\tan \theta}\]
\[=\dfrac{0\tan \theta}{1+0⋅\tan \theta}\]
\[=\tan \theta\]
Example \(\PageIndex{9A}\): Using Sum and Difference Formulas to Solve an Application Problem
Let \(L_1\) and \(L_2\) denote two nonvertical intersecting lines, and letθ θ denote the acute angle between \(L_1\) and \(L_2\). See Figure 9.3.6. Show that
\[\tan \theta=\dfrac{m_2m_1}{1+m_1m_2}\]
where \(m_1\) and \(m_2\) are the slopes of \(L_1\) and \(L_2\) respectively. (Hint: Use the fact that \(\tan \theta_1=m_1\) and \(\tan \theta_2=m_2\).)
Figure 9.3.6
Solution:
Using the difference formula for tangent, this problem does not seem as daunting as it might.
\[\tan \theta=\tan(\theta_2\theta_1)\]
\[=\dfrac{\tan \theta_2\tan \theta_1}{1+\tan \theta_1 \tan \theta_2}\]
\[=\dfrac{m_2m_1}{1+m_1m_2}\]
Example \(\PageIndex{9B}\): Investigating a Guywire Problem
For a climbing wall, a guywire \(R\) is attached 47 feet high on a vertical pole. Added support is provided by another guywire \(S\) 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 \(\alpha\) between the wires. See Figure 9.3.7.
Figure 9.3.7
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 \(\tan \beta=\dfrac{47}{50}\),and \(\tan(\beta−\alpha)=\dfrac{40}{50}=\dfrac{4}{5}\). We can then use difference formula for tangent.
\[\tan(\beta−\alpha)=\dfrac{\tan \beta−\tan \alpha}{1+\tan \beta \tan \alpha}\]
Now, substituting the values we know into the formula, we have
\[\dfrac{4}{5}=\dfrac{\dfrac{47}{50}\tan \alpha}{1+\dfrac{47}{50}\tan \alpha}\]
\[4(1+\dfrac{47}{50}\tan \alpha)=5(\dfrac{47}{50}−\tan \alpha)\]
Use the distributive property, and then simplify the functions.
\[4(1)+4(\dfrac{47}{50})\tan \alpha=5(\dfrac{47}{50})−5\tan \alpha\]
\[4+3.76\tan \alpha=4.7−5\tan \alpha\]
\[5\tan \alpha+3.76\tan \alpha=0.7\]
\[8.76 \tan \alpha=0.7\]
\[\tan \alpha≈0.07991\]
\[{tan}^{−1}(0.07991)≈.079741\]
Now we can calculate the angle in degrees.
\[\alpha≈0.079741(\dfrac{180}{\pi})≈4.57°\]
Analysis
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.
Media
Access these online resources for additional instruction and practice with sum and difference identities.
Key Equations
Sum Formula for Cosine  \(\cos(\alpha+\beta)=\cos \alpha \cos \beta−\sin \alpha \sin \beta\) 
Difference Formula for Cosine  \(\cos(\alpha\beta)=\cos \alpha \cos \beta+\sin \alpha \sin \beta\) 
Sum Formula for Sine  \(\sin(\alpha+\beta)=\sin \alpha \cos \beta+\cos \alpha \sin \beta\) 
Difference Formula for Sine  \(\sin(\alpha\beta)=\sin \alpha \cos \beta\cos \alpha \sin \beta\) 
Sum Formula for Tangent  \(\tan(\alpha+\beta)=\dfrac{\tan \alpha+\tan \beta}{1\tan \alpha \tan \beta}\) 
Difference Formula for Tangent  \(\tan(\alpha+\beta)=\dfrac{\tan \alpha+\tan \beta}{1\tan \alpha \tan \beta}\) 
Cofunction identities 
\(\sin \theta=\cos(\dfrac{\pi}{2}\theta)\) \(\cos \theta=\sin(\dfrac{\pi}{2}\theta)\) \(\tan \theta=\cot(\dfrac{\pi}{2}\theta)\) \(\cot \theta=\tan(\dfrac{\pi}{2}\theta)\) \(\sec \theta=\csc(\dfrac{\pi}{2}\theta)\) \(\csc \theta=\sec(\dfrac{\pi}{2}\theta)\) 
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. See Exampleand Example.
 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. See Example.
 The sum and difference formulas for sine and cosine can also be used for inverse trigonometric functions. See Example.
 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. See Example.
 The Pythagorean Theorem along with the sum and difference formulas can be used to find multiple sums and differences of angles. See Example.
 The cofunction identities apply to complementary angles and pairs of reciprocal functions. See Example.
 Sum and difference formulas are useful in verifying identities. See Example and Example.
 Application problems are often easier to solve by using sum and difference formulas. See Example and Example.