4.2 Sum and Difference Identities

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.

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 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 [latex]\cos \left(\alpha +\beta \right)=\cos \alpha \cos \beta -\sin \alpha \sin \beta [/latex]
Difference formula for cosine [latex]\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta [/latex]

First, we will prove the difference formula for cosines. Let’s consider two points on the unit circle. Point [latex]P[/latex] is at an angle [latex]\alpha [/latex] from the positive x-axis with coordinates [latex]\left(\cos \alpha ,\sin \alpha \right)[/latex] and point [latex]Q[/latex] is at an angle of [latex]\beta [/latex] from the positive x-axis with coordinates [latex]\left(\cos \beta ,\sin \beta \right)[/latex]. Note the measure of angle [latex]POQ[/latex] is [latex]\alpha -\beta [/latex].

Label two more points: [latex]A[/latex] at an angle of [latex]\left(\alpha -\beta \right)[/latex] from the positive x-axis with coordinates [latex]\left(\cos \left(\alpha -\beta \right),\sin \left(\alpha -\beta \right)\right)[/latex]; and point [latex]B[/latex] with coordinates [latex]\left(1,0\right)[/latex]. Triangle [latex]POQ[/latex] is a rotation of triangle [latex]AOB[/latex] and thus the distance from [latex]P[/latex] to [latex]Q[/latex] is the same as the distance from [latex]A[/latex] to [latex]B[/latex].


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 3. We can find the distance from [latex]P[/latex] to [latex]Q[/latex] using the distance formula.

[latex]\begin{align}{d}_{PQ}&=\sqrt{{\left(\cos \alpha -\cos \beta \right)}^{2}+{\left(\sin \alpha -\sin \beta \right)}^{2}} \\ &=\sqrt{{\cos }^{2}\alpha -2\cos \alpha \cos \beta +{\cos }^{2}\beta +{\sin }^{2}\alpha -2\sin \alpha \sin \beta +{\sin }^{2}\beta } \end{align}[/latex]

Then we apply the Pythagorean identity and simplify.

[latex]\begin{align} &=\sqrt{\left({\cos }^{2}\alpha +{\sin }^{2}\alpha \right)+\left({\cos }^{2}\beta +{\sin }^{2}\beta \right)-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 } \end{align}[/latex]

Similarly, using the distance formula we can find the distance from [latex]A[/latex] to [latex]B[/latex].

[latex]\begin{align}{d}_{AB}&=\sqrt{{\left(\cos \left(\alpha -\beta \right)-1\right)}^{2}+{\left(\sin \left(\alpha -\beta \right)-0\right)}^{2}} \\ &=\sqrt{{\cos }^{2}\left(\alpha -\beta \right)-2\cos \left(\alpha -\beta \right)+1+{\sin }^{2}\left(\alpha -\beta \right)} \end{align}[/latex]

Applying the Pythagorean identity and simplifying we get:

[latex]\begin{align} &=\sqrt{\left({\cos }^{2}\left(\alpha -\beta \right)+{\sin }^{2}\left(\alpha -\beta \right)\right)-2\cos \left(\alpha -\beta \right)+1}\\ &=\sqrt{1 - 2\cos \left(\alpha -\beta \right)+1}\\ &=\sqrt{2 - 2\cos \left(\alpha -\beta \right)} \end{align}[/latex]

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

[latex]\begin{align} \sqrt{2 - 2\cos \alpha \cos \beta -2\sin \alpha \sin \beta }&=\sqrt{2 - 2\cos \left(\alpha -\beta \right)} \\ 2 - 2\cos \alpha \cos \beta -2\sin \alpha \sin \beta &=2 - 2\cos \left(\alpha -\beta \right) \end{align}[/latex]

Finally we subtract [latex]2[/latex] from both sides and divide both sides by [latex]-2[/latex].

[latex]\begin{align}\cos \alpha \cos \beta +\sin \alpha \sin \beta =\cos \left(\alpha -\beta \right)\end{align}[/latex]

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.

[latex]\begin{align}\cos \left(\alpha +\beta \right)=\cos \alpha \cos \beta -\sin \alpha \sin \beta\end{align} [/latex]

[latex]\begin{align}\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta\end{align} [/latex]

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 [latex]\cos \left(\frac{5\pi }{4}-\frac{\pi }{6}\right)[/latex].

Try It

Find the exact value of [latex]\cos \left(\frac{\pi }{3}-\frac{\pi }{4}\right)[/latex].

Example 2: Finding the Exact Value Using the Formula for the Sum of Two Angles for Cosine

Find the exact value of [latex]\cos \left({75}^{\circ }\right)[/latex].

Try It

Find the exact value of [latex]\cos \left({105}^{\circ }\right)[/latex].

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.

[latex]\sin \left(\alpha +\beta \right)=\sin \alpha \cos \beta +\cos \alpha \sin \beta [/latex]

[latex]\sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta -\cos \alpha \sin \beta [/latex]

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. [latex]\sin \left({45}^{\circ }-{30}^{\circ }\right)[/latex]
  2. [latex]\sin \left({135}^{\circ }-{120}^{\circ }\right)[/latex]

Example 4: Finding the Exact Value of an Expression Involving an Inverse Trigonometric Function

Find the exact value of [latex]\sin \left({\cos }^{-1}\frac{1}{2}+{\sin }^{-1}\frac{3}{5}\right)[/latex].

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, [latex]\tan x=\frac{\sin x}{\cos x},\cos x\ne 0[/latex].

Let’s derive the sum formula for tangent.

[latex]\begin{align}\tan \left(\alpha +\beta \right)&=\frac{\sin \left(\alpha +\beta \right)}{\cos \left(\alpha +\beta \right)} \\[1mm] &=\frac{\sin \alpha \cos \beta +\cos \alpha \sin \beta }{\cos \alpha \cos \beta -\sin \alpha \sin \beta } \\[1mm] &=\frac{\frac{\sin \alpha \cos \beta +\cos \alpha \sin \beta }{\cos \alpha \cos \beta }}{\frac{\cos \alpha \cos \beta -\sin \alpha \sin \beta }{\cos \alpha \cos \beta }} && \text{Divide the numerator and denominator by cos}\alpha \text{cos}\beta \\[1mm] &=\frac{\frac{\sin \alpha \cos \beta }{\cos \alpha \cos \beta}+\frac{\cos \alpha \sin \beta }{\cos \alpha \cos \beta }}{\frac{\cos \alpha \cos \beta }{\cos \alpha \cos \beta }-\frac{\sin \alpha \sin \beta }{\cos \alpha \cos \beta }} && \text{Split the fractions.} \\[1mm] &=\frac{\frac{\sin \alpha }{\cos \alpha }+\frac{\sin \beta }{\cos \beta }}{1-\frac{\sin \alpha \sin \beta }{\cos \alpha \cos \beta }} && \text{Cancel.} \\[1mm] &=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta } \end{align}[/latex]

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:

[latex]\tan \left(\alpha +\beta \right)=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta }[/latex]

[latex]\tan \left(\alpha -\beta \right)=\frac{\tan \alpha -\tan \beta }{1+\tan \alpha \tan \beta }[/latex]

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 [latex]\tan \left(\frac{\pi }{6}+\frac{\pi }{4}\right)[/latex].

Try It

Find the exact value of [latex]\tan \left(\frac{2\pi }{3}+\frac{\pi }{4}\right)[/latex].

Try It

Example 6: Finding Multiple Sums and Differences of Angles

Given [latex]\text{ }\sin \alpha =\frac{3}{5},0<\alpha <\frac{\pi }{2},\cos \beta =-\frac{5}{13},\pi <\beta <\frac{3\pi }{2}[/latex], find

  1. [latex]\sin \left(\alpha +\beta \right)[/latex]
  2. [latex]\cos \left(\alpha +\beta \right)[/latex]
  3. [latex]\tan \left(\alpha +\beta \right)[/latex]
  4. [latex]\tan \left(\alpha -\beta \right)[/latex]

Use 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 that if the sum of two positive angles is [latex]\frac{\pi }{2}[/latex], those two angles are complements, and the sum of the two acute angles in a right triangle is [latex]\frac{\pi }{2}[/latex], so they are also complements. In Figure 6, notice that if one of the acute angles is labeled as [latex]\theta [/latex], then the other acute angle must be labeled [latex]\left(\frac{\pi }{2}-\theta \right)[/latex].

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

Figure 6. From these relationships, the cofunction identities are formed.

Notice also that [latex]\sin \theta =\cos \left(\frac{\pi }{2}-\theta \right):[/latex] opposite over hypotenuse. Thus, when two angles are complimentary, we can say that the sine of [latex]\theta [/latex] equals the cofunction of the complement of [latex]\theta [/latex]. 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.

[latex]\sin \theta =\cos \left(\frac{\pi }{2}-\theta \right)[/latex] [latex]\cos \theta =\sin \left(\frac{\pi }{2}-\theta \right)[/latex]
[latex]\tan \theta =\cot \left(\frac{\pi }{2}-\theta \right)[/latex] [latex]\cot \theta =\tan \left(\frac{\pi }{2}-\theta \right)[/latex]
[latex]\sec \theta =\csc \left(\frac{\pi }{2}-\theta \right)[/latex] [latex]\csc \theta =\sec \left(\frac{\pi }{2}-\theta \right)[/latex]

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

[latex]\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta [/latex],

we can write

[latex]\begin{align}\cos \left(\frac{\pi }{2}-\theta \right)&=\cos \frac{\pi }{2}\cos \theta +\sin \frac{\pi }{2}\sin \theta \\ &=\left(0\right)\cos \theta +\left(1\right)\sin \theta \\ &=\sin \theta\end{align}[/latex]

Example 7: Finding a Cofunction with the Same Value as the Given Expression

Write [latex]\tan \frac{\pi }{9}[/latex] in terms of its cofunction.

Try It

Write [latex]\sin \frac{\pi }{7}[/latex] 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.

  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 [latex]\sin \left(\alpha +\beta \right)+\sin \left(\alpha -\beta \right)=2\sin \alpha \cos \beta [/latex].

Example 9: Verifying an Identity Involving Tangent

Verify the following identity.

[latex]\frac{\sin \left(\alpha -\beta \right)}{\cos \alpha \cos \beta }=\tan \alpha -\tan \beta [/latex]

Try It

Verify the identity: [latex]\tan \left(\pi -\theta \right)=-\tan \theta [/latex].

Example 10: Using Sum and Difference Formulas to Solve an Application Problem

Let [latex]{L}_{1}[/latex] and [latex]{L}_{2}[/latex] denote two non-vertical intersecting lines, and let [latex]\theta [/latex] denote the acute angle between [latex]{L}_{1}[/latex] and [latex]{L}_{2}[/latex]. Show that

[latex]\tan \theta =\frac{{m}_{2}-{m}_{1}}{1+{m}_{1}{m}_{2}}[/latex]

where [latex]{m}_{1}[/latex] and [latex]{m}_{2}[/latex] are the slopes of [latex]{L}_{1}[/latex] and [latex]{L}_{2}[/latex] respectively. (Hint: Use the fact that [latex]\tan {\theta }_{1}={m}_{1}[/latex] and [latex]\tan {\theta }_{2}={m}_{2}[/latex]. )

Diagram of two non-vertical intersecting lines L1 and L2 also intersecting the x-axis. The acute angle formed by the intersection of L1 and L2 is theta. The acute angle formed by L2 and the x-axis is theta 1, and the acute angle formed by the x-axis and L1 is theta 2.

Figure 7

 

Example 11: Investigating a Guy-wire Problem

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 8

For a climbing wall, a guy-wire [latex]R[/latex] is attached 47 feet high on a vertical pole. Added support is provided by another guy-wire [latex]S[/latex] 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 [latex]\alpha [/latex] between the wires. 

Key Equations

Sum Formula for Cosine [latex]\cos \left(\alpha +\beta \right)=\cos \alpha \cos \beta -\sin \alpha \sin \beta [/latex]
Difference Formula for Cosine [latex]\cos \left(\alpha -\beta \right)=\cos \alpha \cos \beta +\sin \alpha \sin \beta [/latex]
Sum Formula for Sine [latex]\sin \left(\alpha +\beta \right)=\sin \alpha \cos \beta +\cos \alpha \sin \beta [/latex]
Difference Formula for Sine [latex]\sin \left(\alpha -\beta \right)=\sin \alpha \cos \beta -\cos \alpha \sin \beta [/latex]
Sum Formula for Tangent [latex]\tan \left(\alpha +\beta \right)=\frac{\tan \alpha +\tan \beta }{1-\tan \alpha \tan \beta }[/latex]
Difference Formula for Tangent [latex]\tan \left(\alpha -\beta \right)=\frac{\tan \alpha -\tan \beta }{1+\tan \alpha \tan \beta }[/latex]
Cofunction identities [latex]\sin \theta =\cos \left(\frac{\pi }{2}-\theta \right)[/latex]

[latex]\cos \theta =\sin \left(\frac{\pi }{2}-\theta \right)[/latex]

[latex]\tan \theta =\cot \left(\frac{\pi }{2}-\theta \right)[/latex]

[latex]\cot \theta =\tan \left(\frac{\pi }{2}-\theta \right)[/latex]

[latex]\sec \theta =\csc \left(\frac{\pi }{2}-\theta \right)[/latex]

[latex]\csc \theta =\sec \left(\frac{\pi }{2}-\theta \right)[/latex]

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.