Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

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.

CNX_Precalc_Figure_07_02_001.jpg

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.

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

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.

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 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+12cosαcosβ2sinαsinβ=22cosα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=12cos(αβ)+1=22cos(αβ)

Since dPQ=dAB, we have

22cosαcosβ2sinαsinβ=22cos(αβ)Square both sides of this equation to get22cosαcosβ2sinαsinβ=22cos(αβ)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β

how-to.png Given two angles, find the cosine of the sum or difference of the angles

  1. Write the sum or difference formula for cosine.
  2. Substitute the values of the given angles into the formula.
  3. 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)=6424=624

If you have a scientific calculator you can check the answer, making sure you use radian mode.

try-it.png 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)=6424=624

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(13560)=cos(135)cos(60)+sin(135)sin(60)=(22)(12)+(22)(32)=(24)+(64)=624

try-it.png 7.2.2

Find the exact value of cos(105°).

Answer

cos(105°)=cos(60°+45°)=cos60°cos45°sin60°sin45°=264

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β

how-to.png Given two angles, find the sine of the sum or difference of the angles.

  1. Write the sum or difference formula for sine.
  2. Substitute the given angles into the formula.
  3. 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.

  1. sin(45°+30°)
  2. sin(120°45°)

Solution

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

  1. Now we write the difference formula and substitute the given angles.

sin(αβ)=sinαcosβcosαsinβsin(12045)=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(12045)=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(cos112+sin135). Then check the answer with a graphing calculator.

Solution

The pattern displayed in this problem is sin(α+β). Let α=cos1(12) and β=sin1(35). Then we can write

cosα=12, 0απsinβ=35, π2βπ2We will use the Pythagorean identities to find sinα and cosβsinα=1cos2α=114=34=32cosβ=1sin2β=1925=1625=45

Using the sum formula for sine,

sin(cos112+sin135)=sin(α+β)=sinαcosβ+cosαsinβ=3245+1235=43+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, cosx0.

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β1sinαsinβcosαcosβ=tanα+tanβ1tanα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β1tanαtanβ

tan(αβ)=tanαtanβ1+tanαtanβ

how-to.png Given two angles, find the tangent of the sum or difference of the angles

  1. Write the sum or difference formula for tangent.
  2. Substitute the given angles into the formula.
  3. 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β1tanα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)=13,tan(π4)=1So we havetan(π6+π4)=13+11(13)(1)=1+33313=1+33(331)=3+131

try-it.png 7.2.3:

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

Answer

131+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

  1. sin(α+β)
  2. cos(α+β)
  3. tan(α+β)
  4. 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.

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

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

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 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)=15654865=6365

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

  1. For tan(α+β),if sinα=35 and cosα=45, then

tanα=3545=34

If sinβ=1213 and cosβ=513, then

tanβ=1213513=125

Then,

tan(α+β)=tanα+tanβ1tanαtanβ=34+125134(125)=63201620=6316

  1. To find tan(αβ), we have the values we need. We can substitute them in and evaluate.

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

Image of a right triangle. The remaining angles are labeled theta and pi/2 - theta.

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.

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.

how-to.png 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.
  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 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

try-it.png 7.2.4:

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

Answer

tan(πθ)=tan(π)tanθ1+tan(π)tanθ=0tanθ1+0tanθ=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.

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 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=4750tanα1+4750tanα4(1+4750tanα)=5(4750tanα)Use the distributive property, and then simplify the functions.4(1)+4(4750)tanα=5(4750)5tanα4+3.76tanα=4.75tanα5tanα+3.76tanα=0.78.76tanα=0.7tanα0.07991tan1(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β1tanαtanβ
Difference Formula for Tangent tan(α+β)=tanα+tanβ1tanα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

 

This page titled 7.2: Sum and Difference Identities is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?