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

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 | cos(α+β)=cosαcosβ−sinαsinβcos(α+β)=cosαcosβ−sinαsinβ |
Difference formula for cosine | cos(α−β)=cosαcosβ+sinαsinβcos(α−β)=cosαcosβ+sinαsinβ |
First, we will prove the difference formula for cosines. Let’s consider two points on the unit circle. Point PP is at an angle αα from the positive x-axis with coordinates (cosα,sinα)(cosα,sinα) and point QQ is at an angle of ββ from the positive x-axis with coordinates (cosβ,sinβ)(cosβ,sinβ). Note the measure of angle POQPOQ is α−βα−β.
Label two more points: AA at an angle of (α−β)(α−β) from the positive x-axis with coordinates (cos(α−β),sin(α−β))(cos(α−β),sin(α−β)); and point BB with coordinates (1,0)(1,0). Triangle POQPOQ is a rotation of triangle AOBAOB and thus the distance from PP to QQ is the same as the distance from AA to BB.

Figure 3. We can find the distance from PP to QQ using the distance formula.
Then we apply the Pythagorean identity and simplify.
Similarly, using the distance formula we can find the distance from AA to BB.
Applying the Pythagorean identity and simplifying we get:
Because the two distances are the same, we set them equal to each other and simplify.
Finally we subtract 22 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.
A General Note: 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.
- Write the difference formula for cosine.
- Substitute the values of the given angles into the formula.
- 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
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∘).
Try It
Find the exact value of cos(105∘)cos(105∘).
Try It
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.
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.
- Write the difference formula for sine.
- Substitute the given angles into the formula.
- 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.
- sin(45∘−30∘)sin(45∘−30∘)
- 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−112+sin−135)sin(cos−112+sin−135).
Try It
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, tanx=sinxcosx,cosx≠0tanx=sinxcosx,cosx≠0.
Let’s derive the sum formula for tangent.
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:
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.
- Write the sum formula for tangent.
- Substitute the given angles into the formula.
- 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
Find the exact value of tan(2π3+π4)tan(2π3+π4).
Try It
Example 6: Finding Multiple Sums and Differences of Angles
Given sinα=35,0<α<π2,cosβ=−513,π<β<3π2 sinα=35,0<α<π2,cosβ=−513,π<β<3π2, find
- sin(α+β)sin(α+β)
- cos(α+β)cos(α+β)
- tan(α+β)tan(α+β)
- tan(α−β)tan(α−β)
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 π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 6, notice that if one of the acute angles is labeled as θ, then the other acute angle must be labeled (π2−θ).

Figure 6. From these relationships, the cofunction identities are formed.
Notice also that sinθ=cos(π2−θ): opposite over hypotenuse. Thus, when two angles are complimentary, 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.
A General Note: Cofunction Identities
The cofunction identities are summarized in the table below.
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 justified algebraically using the sum and difference formulas. For example, using
we can write
Example 7: Finding a Cofunction with the Same Value as the Given Expression
Write tanπ9 in terms of its cofunction.
Try It
Write sinπ7 in terms of its cofunction.
Try It
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.
- 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 8: Verifying an Identity Involving Sine
Verify the identity sin(α+β)+sin(α−β)=2sinαcosβ.
Example 9: Verifying an Identity Involving Tangent
Verify the following identity.
sin(α−β)cosαcosβ=tanα−tanβ
Try It
Verify the identity: tan(π−θ)=−tanθ.
Example 10: Using Sum and Difference Formulas to Solve an Application Problem
Let L1 and L2 denote two non-vertical intersecting lines, and let θ denote the acute angle between L1 and L2. Show that
tanθ=m2−m11+m1m2
where m1 and m2 are the slopes of L1 and L2 respectively. (Hint: Use the fact that tanθ1=m1 and tanθ2=m2. )

Figure 7
Example 11: Investigating a Guy-wire Problem

Figure 8
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.
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 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.
Candela Citations
- Precalculus. Authored by: OpenStax College. Provided by: OpenStax. Located at: http://cnx.org/contents/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1/Preface. License: CC BY: Attribution