Skip to ContentGo to accessibility pageKeyboard shortcuts menu
Algebra and Trigonometry 2e

# 9.2Sum and Difference Identities

Algebra and Trigonometry 2e9.2 Sum and Difference Identities

Menu

### Learning Objectives

In this section, you will:
• 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.
Figure 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)

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.

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 2.

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. See Table 1.

 Sum formula for cosine $cos( α+β )=cosαcosβ−sinαsinβ cos( α+β )=cosαcosβ−sinαsinβ$ Difference formula for cosine $cos( α−β )=cosαcosβ+sinαsinβ cos( α−β )=cosαcosβ+sinαsinβ$
Table 1

First, we will prove the difference formula for cosines. Let’s consider two points on the unit circle. See Figure 3. Point $P P$ is at an angle $α α$ from the positive x-axis with coordinates $( cosα,sinα ) ( cosα,sinα )$ and point $Q Q$ is at an angle of $β β$ from the positive x-axis with coordinates $( cosβ,sinβ ). ( cosβ,sinβ ).$ Note the measure of angle $POQ POQ$ is $α−β. α−β.$

Label two more points: $A A$ at an angle of $( α−β ) ( α−β )$ from the positive x-axis with coordinates $( cos( α−β ),sin( α−β ) ); ( cos( α−β ),sin( α−β ) );$ and point $B B$ with coordinates $( 1,0 ). ( 1,0 ).$ Triangle $POQ POQ$ is a rotation of triangle $AOB AOB$ and thus the distance from $P P$ to $Q Q$ is the same as the distance from $A A$ to $B. B.$

Figure 3

We can find the distance from $P P$ to $Q Q$ using the distance formula.

$d PQ = (cosα−cosβ) 2 + (sinα−sinβ) 2 = cos 2 α−2cosαcosβ+ cos 2 β+ sin 2 α−2sinαsinβ+ sin 2 β d PQ = (cosα−cosβ) 2 + (sinα−sinβ) 2 = cos 2 α−2cosαcosβ+ cos 2 β+ sin 2 α−2sinαsinβ+ sin 2 β$

Then we apply the Pythagorean identity and simplify.

$= ( cos 2 α+ sin 2 α )+( cos 2 β+ sin 2 β )−2cosαcosβ−2sinαsinβ = 1+1−2cosαcosβ−2sinαsinβ = 2−2cosαcosβ−2sinαsinβ = ( cos 2 α+ sin 2 α )+( cos 2 β+ sin 2 β )−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 A$ to $B. B.$

$d AB = (cos(α−β)−1) 2 + (sin(α−β)−0) 2 = cos 2 (α−β)−2cos(α−β)+1+ sin 2 (α−β) d AB = (cos(α−β)−1) 2 + (sin(α−β)−0) 2 = cos 2 (α−β)−2cos(α−β)+1+ sin 2 (α−β)$

Applying the Pythagorean identity and simplifying we get:

$= ( cos 2 (α−β)+ sin 2 (α−β) )−2cos(α−β)+1 = 1−2cos(α−β)+1 = 2−2cos(α−β) = ( cos 2 (α−β)+ sin 2 (α−β) )−2cos(α−β)+1 = 1−2cos(α−β)+1 = 2−2cos(α−β)$

Because the two distances are the same, we set them equal to each other and simplify.

$2−2cosαcosβ−2sinαsinβ = 2−2cos(α−β) 2−2cosαcosβ−2sinαsinβ = 2−2cos(α−β) 2−2cosαcosβ−2sinαsinβ = 2−2cos(α−β) 2−2cosαcosβ−2sinαsinβ = 2−2cos(α−β)$

Finally we subtract $2 2$ from both sides and divide both sides by $−2. −2.$

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(α+β)=cosαcosβ−sinαsinβ cos(α+β)=cosαcosβ−sinαsinβ$
$cos(α−β)=cosαcosβ+sinαsinβ cos(α−β)=cosαcosβ+sinαsinβ$

### 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 $cos( 5π 4 − π 6 ). cos( 5π 4 − π 6 ).$

### Try It #1

Find the exact value of $cos( π 3 − π 4 ). cos( π 3 − π 4 ).$

### Example 2

#### Finding the Exact Value Using the Formula for the Sum of Two Angles for Cosine

Find the exact value of $cos(75°). cos(75°).$

#### Analysis

Note that we could have also solved this problem using the fact that $75°=135°−60°. 75°=135°−60°.$

$cos(α−β) = cosαcosβ+sinαsinβ cos(135°−60°) = cos(135°)cos(60°)+sin(135°)sin(60°) = ( − 2 2 )( 1 2 )+( 2 2 )( 3 2 ) = ( − 2 4 )+( 6 4 ) = ( 6 − 2 4 ) cos(α−β) = cosαcosβ+sinαsinβ cos(135°−60°) = cos(135°)cos(60°)+sin(135°)sin(60°) = ( − 2 2 )( 1 2 )+( 2 2 )( 3 2 ) = ( − 2 4 )+( 6 4 ) = ( 6 − 2 4 )$

### Try It #2

Find the exact value of $cos(105°). cos(105°).$

### 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( α+β )=sinαcosβ+cosαsinβ sin( α+β )=sinαcosβ+cosαsinβ$
$sin( α−β )=sinαcosβ−cosαsinβ sin( α−β )=sinαcosβ−cosαsinβ$

### 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. $sin(45°−30°) sin(45°−30°)$
2. $sin(135°−120°) sin(135°−120°)$

### Example 4

#### Finding the Exact Value of an Expression Involving an Inverse Trigonometric Function

Find the exact value of $sin( cos −1 1 2 + sin −1 3 5 ). sin( cos −1 1 2 + sin −1 3 5 ).$ Then check the answer with a graphing calculator.

### 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, $tanx= sinx cosx ,cosx≠0. tanx= sinx cosx ,cosx≠0.$

Let’s derive the sum formula for tangent.

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( α+β )= tanα+tanβ 1−tanαtanβ tan( α+β )= tanα+tanβ 1−tanαtanβ$
$tan( α−β )= tanα−tanβ 1+tanαtanβ tan( α−β )= tanα−tanβ 1+tanαtanβ$

### 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 $tan( π 6 + π 4 ). tan( π 6 + π 4 ).$

### Try It #3

Find the exact value of $tan( 2π 3 + π 4 ). tan( 2π 3 + π 4 ).$

### Example 6

#### Finding Multiple Sums and Differences of Angles

Given $sinα= 3 5 ,0<α< π 2 ,cosβ=− 5 13 ,π<β< 3π 2 , sinα= 3 5 ,0<α< π 2 ,cosβ=− 5 13 ,π<β< 3π 2 ,$ find

1. $sin( α+β ) sin( α+β )$
2. $cos( α+β ) cos( α+β )$
3. $tan( α+β ) tan( α+β )$
4. $tan( α−β ) tan( α−β )$

#### 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( α+β ) tan( α+β )= sin( α+β ) cos( α+β )$

### 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 $π 2 , π 2 ,$ those two angles are complements, and the sum of the two acute angles in a right triangle is $π 2 , π 2 ,$ so they are also complements. In Figure 6, notice that if one of the acute angles is labeled as $θ, θ,$ then the other acute angle must be labeled $( π 2 −θ ). ( π 2 −θ ).$

Notice also that $sinθ=cos( π 2 −θ ), 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 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 2.

 $sinθ=cos( π 2 −θ ) sinθ=cos( π 2 −θ )$ $cosθ=sin( π 2 −θ ) cosθ=sin( π 2 −θ )$ $tanθ=cot( π 2 −θ ) tanθ=cot( π 2 −θ )$ $cotθ=tan( π 2 −θ ) cotθ=tan( π 2 −θ )$ $secθ=csc( π 2 −θ ) secθ=csc( π 2 −θ )$ $cscθ=sec( π 2 −θ ) cscθ=sec( π 2 −θ )$
Table 2

Notice that the formulas in the table may also be justified algebraically using the sum and difference formulas. For example, using

$cos( α−β )=cosαcosβ+sinαsinβ, cos( α−β )=cosαcosβ+sinαsinβ,$

we can write

$cos( π 2 −θ ) = cos π 2 cosθ+sin π 2 sinθ = (0)cosθ+(1)sinθ = sinθ cos( π 2 −θ ) = cos π 2 cosθ+sin π 2 sinθ = (0)cosθ+(1)sinθ = sinθ$

### Example 7

#### Finding a Cofunction with the Same Value as the Given Expression

Write $tan π 9 tan π 9$ in terms of its cofunction.

### Try It #4

Write $sin π 7 sin π 7$ in terms of its cofunction.

### 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.

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 $sin(α+β)+sin(α−β)=2sinαcosβ. sin(α+β)+sin(α−β)=2sinαcosβ.$

### Example 9

#### Verifying an Identity Involving Tangent

Verify the following identity.

$sin(α−β) cosαcosβ =tanα−tanβ sin(α−β) cosαcosβ =tanα−tanβ$

### Try It #5

Verify the identity: $tan( π−θ )=−tanθ. tan( π−θ )=−tanθ.$

### Example 10

#### Using Sum and Difference Formulas to Solve an Application Problem

Let $L 1 L 1$ and $L 2 L 2$ denote two non-vertical intersecting lines, and let $θ θ$ denote the acute angle between $L 1 L 1$ and $L 2 . L 2 .$ See Figure 7. Show that

$tanθ= m 2 − m 1 1+ m 1 m 2 tanθ= m 2 − m 1 1+ m 1 m 2$

where $m 1 m 1$ and $m 2 m 2$ are the slopes of $L 1 L 1$ and $L 2 L 2$ respectively. (Hint: Use the fact that $tan θ 1 = m 1 tan θ 1 = m 1$ and $tan θ 2 = m 2 . tan θ 2 = m 2 .$ )

Figure 7

### Example 11

#### Investigating a Guy-wire Problem

For a climbing wall, a guy-wire $R R$ is attached 47 feet high on a vertical pole. Added support is provided by another guy-wire $S 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 8.

Figure 8

#### 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.

### 9.2 Section Exercises

#### Verbal

1.

Explain the basis for the cofunction identities and when they apply.

2.

Is there only one way to evaluate $cos( 5π 4 )? cos( 5π 4 )?$ 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 $f(x)=sin(x) f(x)=sin(x)$ and $g(x)=cos(x). g(x)=cos(x).$ (Hint: $0−x=−x 0−x=−x$ )

#### Algebraic

For the following exercises, find the exact value.

4.

$cos( 7π 12 ) cos( 7π 12 )$

5.

$cos( π 12 ) cos( π 12 )$

6.

$sin( 5π 12 ) sin( 5π 12 )$

7.

$sin( 11π 12 ) sin( 11π 12 )$

8.

$tan( − π 12 ) tan( − π 12 )$

9.

$tan( 19π 12 ) tan( 19π 12 )$

For the following exercises, rewrite in terms of $sinx sinx$ and $cosx. cosx.$

10.

$sin( x+ 11π 6 ) sin( x+ 11π 6 )$

11.

$sin( x− 3π 4 ) sin( x− 3π 4 )$

12.

$cos( x− 5π 6 ) cos( x− 5π 6 )$

13.

$cos( x+ 2π 3 ) cos( x+ 2π 3 )$

For the following exercises, simplify the given expression.

14.

$csc( π 2 −t ) csc( π 2 −t )$

15.

$sec( π 2 −θ ) sec( π 2 −θ )$

16.

$cot( π 2 −x ) cot( π 2 −x )$

17.

$tan( π 2 −x ) tan( π 2 −x )$

18.

$sin(2x)cos(5x)−sin(5x)cos(2x) sin(2x)cos(5x)−sin(5x)cos(2x)$

19.

$tan( 3 2 x )−tan( 7 5 x ) 1+tan( 3 2 x )tan( 7 5 x ) tan( 3 2 x )−tan( 7 5 x ) 1+tan( 3 2 x )tan( 7 5 x )$

For the following exercises, find the requested information.

20.

Given that $sina= 2 3 sina= 2 3$ and $cosb=− 1 4 , cosb=− 1 4 ,$ with $a a$ and $b b$ both in the interval $[ π 2 ,π ), [ π 2 ,π ),$ find $sin(a+b) sin(a+b)$ and $cos(a−b). cos(a−b).$

21.

Given that $sina= 4 5 , sina= 4 5 ,$ and $cosb= 1 3 , cosb= 1 3 ,$ with $a a$ and $b b$ both in the interval $[ 0, π 2 ), [ 0, π 2 ),$ find $sin(a−b) sin(a−b)$ and $cos(a+b). cos(a+b).$

For the following exercises, find the exact value of each expression.

22.

$sin( cos −1 (0)− cos −1 ( 1 2 ) ) sin( cos −1 (0)− cos −1 ( 1 2 ) )$

23.

$cos( cos −1 ( 2 2 )+ sin −1 ( 3 2 ) ) cos( cos −1 ( 2 2 )+ sin −1 ( 3 2 ) )$

24.

$tan( sin −1 ( 1 2 )− cos −1 ( 1 2 ) ) tan( sin −1 ( 1 2 )− cos −1 ( 1 2 ) )$

#### Graphical

For the following exercises, simplify the expression, and then graph both expressions as functions to verify the graphs are identical. Confirm your answer using a graphing calculator.

25.

$cos( π 2 −x ) cos( π 2 −x )$

26.

$sin(π−x) sin(π−x)$

27.

$tan( π 3 +x ) tan( π 3 +x )$

28.

$sin( π 3 +x ) sin( π 3 +x )$

29.

$tan( π 4 −x ) tan( π 4 −x )$

30.

$cos( 7π 6 +x ) cos( 7π 6 +x )$

31.

$sin( π 4 +x ) sin( π 4 +x )$

32.

$cos( 5π 4 +x ) cos( 5π 4 +x )$

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 $2x=x+x. 2x=x+x.$ )

33.

$f( x )=sin( 4x )−sin( 3x )cosx,g( x )=sinxcos( 3x ) f( x )=sin( 4x )−sin( 3x )cosx,g( x )=sinxcos( 3x )$

34.

$f( x )=cos( 4x )+sinxsin( 3x ),g( x )=−cosxcos( 3x ) f( x )=cos( 4x )+sinxsin( 3x ),g( x )=−cosxcos( 3x )$

35.

$f( x )=sin( 3x )cos( 6x ),g( x )=−sin( 3x )cos( 6x ) f( x )=sin( 3x )cos( 6x ),g( x )=−sin( 3x )cos( 6x )$

36.

$f(x)=sin(4x),g(x)=sin(5x)cosx−cos(5x)sinx f(x)=sin(4x),g(x)=sin(5x)cosx−cos(5x)sinx$

37.

$f(x)=sin(2x),g(x)=2sinxcosx f(x)=sin(2x),g(x)=2sinxcosx$

38.

$f( θ )=cos( 2θ ),g( θ )= cos 2 θ− sin 2 θ f( θ )=cos( 2θ ),g( θ )= cos 2 θ− sin 2 θ$

39.

$f(θ)=tan(2θ),g(θ)= tanθ 1+ tan 2 θ f(θ)=tan(2θ),g(θ)= tanθ 1+ tan 2 θ$

40.

$f(x)=sin(3x)sinx,g(x)= sin 2 (2x) cos 2 x− cos 2 (2x) sin 2 x f(x)=sin(3x)sinx,g(x)= sin 2 (2x) cos 2 x− cos 2 (2x) sin 2 x$

41.

$f(x)=tan(−x),g(x)= tanx−tan(2x) 1−tanxtan(2x) f(x)=tan(−x),g(x)= tanx−tan(2x) 1−tanxtan(2x)$

#### Technology

For the following exercises, find the exact value algebraically, and then confirm the answer with a calculator to the fourth decimal point.

42.

$sin(75°) sin(75°)$

43.

$sin(195°) sin(195°)$

44.

$cos(165°) cos(165°)$

45.

$cos(345°) cos(345°)$

46.

$tan(−15°) tan(−15°)$

#### Extensions

For the following exercises, prove the identities provided.

47.

$tan(x+ π 4 )= tanx+1 1−tanx tan(x+ π 4 )= tanx+1 1−tanx$

48.

$tan(a+b) tan(a−b) = sinacosa+sinbcosb sinacosa−sinbcosb tan(a+b) tan(a−b) = sinacosa+sinbcosb sinacosa−sinbcosb$

49.

$cos(a+b) cosacosb =1−tanatanb cos(a+b) cosacosb =1−tanatanb$

50.

$cos( x+y )cos( x−y )= cos 2 x− sin 2 y cos( x+y )cos( x−y )= cos 2 x− sin 2 y$

51.

$cos(x+h)−cosx h =cosx cosh−1 h −sinx sinh h cos(x+h)−cosx h =cosx cosh−1 h −sinx sinh h$

For the following exercises, prove or disprove the statements.

52.

$tan(u+v)= tanu+tanv 1−tanutanv tan(u+v)= tanu+tanv 1−tanutanv$

53.

$tan(u−v)= tanu−tanv 1+tanutanv tan(u−v)= tanu−tanv 1+tanutanv$

54.

$tan( x+y ) 1+tanxtanx = tanx+tany 1− tan 2 x tan 2 y tan( x+y ) 1+tanxtanx = tanx+tany 1− tan 2 x tan 2 y$

55.

If $α, β, α, β,$ and $γ γ$ are angles in the same triangle, then prove or disprove $sin( α+β )=sinγ. sin( α+β )=sinγ.$

56.

If $α,β, α,β,$ and $y y$ are angles in the same triangle, then prove or disprove $tanα+tanβ+tanγ=tanαtanβtanγ tanα+tanβ+tanγ=tanαtanβtanγ$

Do you know how you learn best?
Kinetic by OpenStax offers access to innovative study tools designed to help you maximize your learning potential.
Order a print copy

As an Amazon Associate we earn from qualifying purchases.

Citation/Attribution

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
• If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
Access for free at https://openstax.org/books/algebra-and-trigonometry-2e/pages/1-introduction-to-prerequisites
• If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
Access for free at https://openstax.org/books/algebra-and-trigonometry-2e/pages/1-introduction-to-prerequisites
Citation information

© Aug 24, 2022 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.