7.2: Sum and Difference Identities
( \newcommand{\kernel}{\mathrm{null}\,}\)
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 real-world 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 7.2.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 review in the unit circle shown in Figure 7.2.2.
Figure 7.2.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 7.2.1).
Sum formula for cosine | cos(α+β)=cosαcosβ−sinαsinβ |
Difference formula for cosine | cos(α−β)=cosαcosβ+sinαsinβ |
First, we will (almost) prove the difference formula for cosines. Let’s consider two points on the unit circle (Figure 7.2.3). Point P is at an angle α from the positive x-axis with coordinates (cosα,sinα) and point Q is at an angle of β from the positive x-axis with coordinates (cosβ,sinβ). Note the measure of angle POQ is α−β (Note: angle P0Q is not in standard position).
Label two more points: A at an angle of (α−β) in standard position from the positive x-axis with coordinates (cos(α−β),sin(α−β)); and point B with coordinates (1,0). Triangle P0Q is a rotation of triangle A0B and thus the distance from P to Q is the same as the distance from A to B.
Figure 7.2.3
We can find the distance from P to Q using the distance formula.
dPQ=√(cosα−cosβ)2+(sinα−sinβ)2=√cos2α−2cosαcosβ+cos2β+sin2α−2sinαsinβ+sin2βApply Pythagorean identity and simplify.=√(cos2α+sin2α)+(cos2β+sin2β)−2cosαcosβ−2sinαsinβ=√1+1−2cosαcosβ−2sinαsinβ=√2−2cosαcosβ−2sinαsinβSimilarly, using the distance formula we can find the distance from A to B.dAB=√(cos(α−β)−1)2+(sin(α−β)−0)2=√cos2(α−β)−2cos(α−β)+1+sin2(α−β)Apply Pythagorean identity and simplify=√(cos2(α−β)+sin2(α−β))−2cos(α−β)+1=√1−2cos(α−β)+1=√2−2cos(α−β)
Since dPQ=dAB, we have
√2−2cosαcosβ−2sinαsinβ=√2−2cos(α−β)Square both sides of this equation to get2−2cosαcosβ−2sinαsinβ=2−2cos(α−β)Subtract 2 from both sides and divide both sides by −2.cosαcosβ+sinαsinβ=cos(α−β)
Thus, we have the difference formula for cosine. We could use similar methods to derive the cosine of the sum of two angles.
Analysis: To completely prove the formula, we would have to consider other possibilities for α and β, such as α>π and β<0, and we would have to show that the law always holds. For this course, we will accept the idea of this (almost) proof.
SUM AND DIFFERENCE FORMULAS FOR COSINE
These formulas can be used to calculate the cosine of sums and differences of angles.
cos(α+β)=cosαcosβ−sinαsinβ
cos(α−β)=cosαcosβ+sinαsinβ
Given two angles, find the cosine of the sum or difference of the angles
- Write the sum or difference formula for cosine.
- Substitute the values of the given angles into the formula.
- Simplify.
Example 7.2.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(5π4−π6).
Solution
Begin by writing the formula for the cosine of the difference of two angles. Then substitute the given values.
cos(α−β)=cosαcosβ+sinαsinβcos(5π4−π6)=cos(5π4)cos(π6)+sin(5π4)sin(π6)=(−√22)(√32)−(√22)(12)=−√64−√24=−√6−√24
If you have a scientific calculator you can check the answer, making sure you use radian mode.
7.2.1:
Find the exact value of cos(π3−π4).
- Answer
-
√2+√64
Example 7.2.2: Finding the Exact Value Using the Formula for the Sum of Two Angles for Cosine
Find the exact value of cos(75°).
Solution
Since 75°=45°+30°, we can evaluate cos(75°) as cos(45°+30°).
cos(α+β)=cosαcosβ−sinαsinβcos(45∘+30∘)=cos(45∘)cos(30∘)−sin(45∘)sin(30∘)=√22(√32)−√22(12)=√64−√24=√6−√24
If you have a scientific calculator you can check the answer, making sure you use degree mode.
Analysis
We could have also solved this problem using the fact that 75°=135°−60°.
cos(α−β)=cosαcosβ+sinαsinβcos(135∘−60∘)=cos(135∘)cos(60∘)+sin(135∘)sin(60∘)=(−√22)(12)+(√22)(√32)=(−√24)+(√64)=√6−√24
7.2.2
Find the exact value of cos(105°).
- Answer
-
cos(105°)=cos(60°+45°)=cos60°cos45°−sin60°sin45°=√2−√64
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 are similar to the cosine formulas. (In what ways are they different?)
SUM AND DIFFERENCE FORMULAS FOR SINE
These formulas can be used to calculate the sines of sums and differences of angles.
sin(α+β)=sinαcosβ+cosαsinβ
sin(α−β)=sinαcosβ−cosαsinβ
Given two angles, find the sine of the sum or difference of the angles.
- Write the sum or difference formula for sine.
- Substitute the given angles into the formula.
- Simplify.
Example 7.2.3: Using Sum and Difference Identities to Evaluate the sine of 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(120°−45°)
Solution
- Let’s begin by writing the sum formula and substitute the given angles.
sin(α+β)=sinαcosβ+cosαsinβsin(45∘+30∘)=sin(45∘)cos(30∘)+cos(45∘)sin(30∘)
Next, we need to find the values of the trigonometric expressions.
sin(45°)=√22, cos(30°)=√32, cos(45°)=√22, sin(30°)=12
Now we can substitute these values into the equation and simplify.
sin(45°+30°)=√22(√32)+√22(12)=√6+√24
- Now we write the difference formula and substitute the given angles.
sin(α−β)=sinαcosβ−cosαsinβsin(120∘−45∘)=sin(120∘)cos(45∘)−cos(120∘)sin(45∘)
Next, we find the values of the trigonometric expressions.
sin(120°)=√32, cos(45°)=√22, cos(120°)=−12, sin(45°)=√22
Now we can substitute these values into the equation and simplify.
sin(120∘−45∘)=√32(√22)−(−12)(√22)=√6+√24
Analysis
In both cases, we are calculating sin75∘, so it is not surprising that we get the same answer.
Example 7.2.4: Finding the Exact Value of an Expression Involving an Inverse Trigonometric Function
Find the exact value of sin(cos−112+sin−135). Then check the answer with a graphing calculator.
Solution
The pattern displayed in this problem is sin(α+β). Let α=cos−1(12) and β=sin−1(35). Then we can write
cosα=12, 0≤α≤πsinβ=35, −π2≤β≤π2We will use the Pythagorean identities to find sinα and cosβsinα=√1−cos2α=√1−14=√34=√32cosβ=√1−sin2β=√1−925=√1625=45
Using the sum formula for sine,
sin(cos−112+sin−135)=sin(α+β)=sinαcosβ+cosαsinβ=√32⋅45+12⋅35=4√3+310
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 the quotient of the sum formulas for sine and cosine and simplifying. Recall, tanx=sinxcosx, cosx≠0.
Let’s derive the sum formula for tangent.
tan(α+β)=sin(α+β)cos(α+β)=sinαcosβ+cosαsinβcosαcosβ−sinαsinβ=sinαcosβ+cosαsinβcosαcosβcosαcosβ−sinαsinβcosαcosβ=sinαcosβcosαcosβ+cosαsinβcosαcosβcosαcosβcosαcosβ−sinαsinβcosαcosβ=sinαcosα+sinβcosβ1−sinαsinβcosαcosβ=tanα+tanβ1−tanαtanβ
We can derive the difference formula for tangent in a similar way.
SUM AND DIFFERENCE FORMULAS FOR TANGENT
These formulas can be used to find the sum and difference for tangent:
tan(α+β)=tanα+tanβ1−tanαtanβ
tan(α−β)=tanα−tanβ1+tanαtanβ
Given two angles, find the tangent of the sum or difference of the angles
- Write the sum or difference formula for tangent.
- Substitute the given angles into the formula.
- Simplify.
Example 7.2.5: Finding the Exact Value of an Expression Involving Tangent
Find the exact value of tan(π6+π4).
Solution
Let’s first write the sum formula for tangent and then substitute the given angles into the formula.
tan(α+β)=tanα+tanβ1−tanαtanβtan(π6+π4)=tan(π6)+tan(π4)1−(tan(π6))(tan(π4))Next, we determine the individual function values within the formula:tan(π6)=1√3,tan(π4)=1So we havetan(π6+π4)=1√3+11−(1√3)(1)=1+√3√3√3−1√3=1+√3√3(√3√3−1)=√3+1√3−1
7.2.3:
Find the exact value of tan(2π3+π4).
- Answer
-
1−√31+√3
Example 7.2.6: evaluating Multiple trigonometric functions using Sums and Differences of Angles
Given sinα=35, 0<α<π2, cosβ=−513, π<β<3π2, find
- sin(α+β)
- cos(α+β)
- tan(α+β)
- tan(α−β)
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.
- To find sin(α+β),we begin with sinα=35 and 0<α<π2. The side opposite α has length 3, the hypotenuse has length 5, and α is in the first quadrant. See Figure 7.2.4. Using the Pythagorean Theorem, we can find the length of side a:
a2+32=52a2=16a=4
Figure 7.2.4
Since cosβ=−513 and π<β<3π2, the side adjacent to β is −5,the hypotenuse is 13, and β is in the third quadrant. See Figure 7.2.5. Again, using the Pythagorean Theorem, we have
(−5)2+a2=13225+a2=169a2=144a=±12
Since β is in the third quadrant, a=−12.
Figure 7.2.5
The next step is finding the cosine of α and the sine of β. The cosine of α is the adjacent side over the hypotenuse. We can find it from the triangle in Figure 7.2.5: cosα=45. We can also find the sine of β from the triangle in Figure 7.2.5, as opposite side over the hypotenuse: sinβ=−1213. Now we are ready to evaluate sin(α+β).
sin(α+β)=sinαcosβ+cosαsinβ=(35)(−513)+(45)(−1213)=−1565−4865=−6365
- We can find cos(α+β) in a similar manner. We substitute the values according to the formula.
cos(α+β)=cosαcosβ−sinαsinβ=(45)(−513)−(35)(−1213)=−2065+3665=1665
- For tan(α+β),if sinα=35 and cosα=45, then
tanα=3545=34
If sinβ=−1213 and cosβ=−513, then
tanβ=−1213−513=125
Then,
tan(α+β)=tanα+tanβ1−tanαtanβ=34+1251−34(125)=6320−1620=−6316
- To find tan(α−β), we have the values we need. We can substitute them in and evaluate.
tan(α−β)=tanα−tanβ1+tanαtanβ=34−1251+34(125)=−33205620=−3356
Analysis
A common mistake when addressing problems such as this one is that we may be tempted to think that α and β are angles in the same triangle, which of course, they are not. Also note that
tan(α+β)=sin(α+β)cos(α+β)
Using Sum and Difference Formulas for Cofunctions
We can use the sine, cosine, and tangent functions for the sums and differences of angles, to evaluate their cofunctions. You may recall from Right Triangle Trigonometry that, if the sum of two positive angles is π2, those two angles are complements, and the sum of the two acute angles in a right triangle is π2, so they are also complements. In Figure 7.2.6, notice that if one of the acute angles is labeled as θ,then the other acute angle must be labeled (π2−θ).
Notice also that sinθ=cos(π2−θ),which is opposite over hypotenuse. Thus, when two angles are complementary, we can say that the sine of θ equals the cofunction of the complement of θ. Similarly, tangent and cotangent are cofunctions, and secant and cosecant are cofunctions.
Figure 7.2.6
From these relationships, the cofunction identities are formed. Recall that you first encountered these identities in The Unit Circle: Sine and Cosine Functions.
COFUNCTION IDENTITIES
The cofunction identities are summarized in Table 7.2.2.
sinθ=cos(π2−θ) | cosθ=sin(π2−θ) |
tanθ=cot(π2−θ) | cotθ=tan(π2−θ) |
secθ=csc(π2−θ) | cscθ=sec(π2−θ) |
Notice that the formulas in the table may also be derived algebraically using the sum and difference formulas. For example, using
cos(α−β)=cosαcosβ+sinαsinβ
We can write
cos(π2−θ)=cosπ2cosθ+sinπ2sinθ=(0)cosθ+(1)sinθ=sinθ
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.
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.
- 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 7.2.7A: Verifying an Identity Involving Sine
Verify the identity sin(α+β)+sin(α−β)=2sinαcosβ.
Solution
We will work on the left side of the equation, which includes the sines of the sum and the difference of angles. We can rewrite each using the sum and difference formulas.
sin(α+β)+sin(α−β)=sinαcosβ+cosαsinβ+sinαcosβ−cosαsinβ=2sinαcosβ
The identity is verified.
Example 7.2.7B: Verifying an Identity Involving Tangent
Verify the following identity.
sin(α−β)cosαcosβ=tanα−tanβ
Solution
We begin by rewriting the numerator on the left side of the equation.
sin(α−β)cosαcosβ=sinαcosβ−cosαsinβcosαcosβ=sinαcosβcosαcosβ−cosαsinβcosαcosβRewrite as two fractions with the same denominator=sinαcosα−sinβcosβCancel=tanα−tanβRewrite in terms of tangent
7.2.4:
Verify the identity: tan(π−θ)=−tanθ.
- Answer
-
tan(π−θ)=tan(π)−tanθ1+tan(π)tanθ=0−tanθ1+0⋅tanθ=−tanθ
Example 7.2.8: Investigating a Guy-wire Application
For a climbing wall, a guy-wire R is attached 47 feet high on a vertical pole. Added support is provided by another guy-wire 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 α between the wires. See Figure 7.2.8.
Figure 7.2.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β=4750, and tan(β−α)=4050=45. We can then use difference formula for tangent.
tan(β−α)=tanβ−tanα1+tanβtanαNow, substituting the values we know into the formula, we have45=4750−tanα1+4750tanα4(1+4750tanα)=5(4750−tanα)Use the distributive property, and then simplify the functions.4(1)+4(4750)tanα=5(4750)−5tanα4+3.76tanα=4.7−5tanα5tanα+3.76tanα=0.78.76tanα=0.7tanα≈0.07991tan−1(0.07991)≈.079741Now we can calculate the angle in degrees.α≈0.079741(180π)≈4.57∘
Media
Access these online resources for additional instruction and practice with sum and difference identities.
Key Equations
Sum Formula for Cosine | cos(α+β)=cosαcosβ−sinαsinβ |
Difference Formula for Cosine | cos(α−β)=cosαcosβ+sinαsinβ |
Sum Formula for Sine | sin(α+β)=sinαcosβ+cosαsinβ |
Difference Formula for Sine | sin(α−β)=sinαcosβ−cosαsinβ |
Sum Formula for Tangent | tan(α+β)=tanα+tanβ1−tanαtanβ |
Difference Formula for Tangent | tan(α+β)=tanα+tanβ1−tanαtanβ |
Cofunction identities |
sinθ=cos(π2−θ) cosθ=sin(π2−θ) tanθ=cot(π2−θ) cotθ=tan(π2−θ) secθ=csc(π2−θ) cscθ=sec(π2−θ) |
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 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 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 sum and difference formulas can be used to find the exact values of the sine, cosine, or tangent of an angle. See Examples 7.2.1, 7.2.2, 7.2.3, and 7.2.5.
- The sum and difference formulas for sine and cosine can also be used for inverse trigonometric functions. See Example 7.2.4.
- The Pythagorean Theorem along with the sum and difference formulas can be used to find multiple sums and differences of angles. See Example 7.2.6.
- Sum and difference formulas are useful in verifying identities. See Example 7.2.7A and Example 7.2.7B.
- Application problems are often easier to solve by using sum and difference formulas. See Example 7.2.8.
Contributors
Jay Abramson (Arizona State University) with contributing authors. Textbook content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at https://openstax.org/details/books/precalculus.