Skip Navigation

Cosine Sum and Difference Formulas

Cosine of a sum or difference related to a set of cosine and sine functions.

Atoms Practice
This indicates how strong in your memory this concept is
Practice Now
Turn In
Cosine Sum and Difference Formulas

While playing a board game with friends, you are using a spinner like this one:

When you tap the spinner with your hand, it rotates \begin{align*}110^\circ\end{align*}. However, at that moment, someone taps the game board and the spinner moves back a little to \begin{align*}80^\circ\end{align*}. One of your friends, who is a grade above you in math, starts talking to you about trig functions.

"Do you think you can calculate the cosine of the difference between those angles?" he asks.

"Hmm," you reply. "Sure. I think it's just \begin{align*}\cos (110^\circ - 80^\circ) = \cos 30^\circ\end{align*}."

Your friend smiles. "Are you sure?" he asks.

You realize you aren't sure at all. Can you solve this problem? Read this lesson, and by the end you'll be able to calculate the cosine of the difference of the angles.

Formulas for the Sum and Difference of Cosines

When thinking about how to calculate values for trig functions, it is natural to consider what the value is for the trig function of a difference of two angles.

For example, is \begin{align*}\cos 15^\circ = \cos (45^\circ - 30^\circ)\end{align*}? Upon appearance, yes, it is. This section explores how to find an expression that would equal \begin{align*}\cos (45^\circ - 30^\circ)\end{align*}. To simplify this, let the two given angles be \begin{align*}a\end{align*} and \begin{align*}b\end{align*} where \begin{align*}0 < b < a < 2\pi\end{align*}.

Begin with the unit circle and place the angles \begin{align*}a\end{align*} and \begin{align*}b\end{align*} in standard position as shown in Figure A. Point Pt1 lies on the terminal side of \begin{align*}b\end{align*}, so its coordinates are \begin{align*}(\cos b, \sin b)\end{align*} and Point Pt2 lies on the terminal side of \begin{align*}a\end{align*} so its coordinates are \begin{align*}(\cos a, \sin a)\end{align*}. Place the \begin{align*}a - b\end{align*} in standard position, as shown in Figure B. The point A has coordinates \begin{align*}(1, 0)\end{align*} and the Pt3 is on the terminal side of the angle \begin{align*}a - b\end{align*}, so its coordinates are \begin{align*}(\cos[a - b], \sin[a - b])\end{align*}.

Triangles \begin{align*}OP_1P_2\end{align*} in figure A and Triangle \begin{align*}OAP_3\end{align*} in figure B are congruent. (Two sides and the included angle, \begin{align*}a - b\end{align*}, are equal). Therefore the unknown side of each triangle must also be equal. That is: \begin{align*}d\ (A, P_3) = d\ (P_1, P_2)\end{align*}

Applying the distance formula to the triangles in Figures A and B and setting them equal to each other:

\begin{align*}\sqrt{[\cos (a-b)-1]^2 + [\sin (a-b)-0]^2} = \sqrt{(\cos a - \cos b)^2+(\sin a - \sin b)^2}\end{align*}

Square both sides to eliminate the square root.

\begin{align*}[\cos (a - b) - 1]^2 + [\sin (a-b)-0]^2 = (\cos a - \cos b)^2 + (\sin a - \sin b)^2\end{align*}

FOIL all four squared expressions and simplify.

\begin{align*}\cos^2 (a-b)-2 \cos(a-b)+ 1 + \sin^2 (a-b) & = \cos^2 a - 2 \cos a \cos b + \cos^2 b + \sin^2 a - 2 \sin a \sin b + \sin^2 b \\ \underbrace{\sin^2 (a-b) + \cos^2 (a-b)} - 2 \cos (a-b) + 1 & = \underbrace{\sin^2 a + \cos^2 a} - 2 \cos a \cos b + \underbrace{\sin^2 b + \cos^2 b} - 2 \sin a \sin b \\ 1-2 \cos (a-b) + 1 & = 1 - 2 \cos a \cos b + 1 - 2 \sin a \sin b \\ 2-2 \cos (a-b) & = 2-2 \cos a \cos b -2 \sin a \sin b \\ -2 \cos (a-b) & = -2 \cos a \cos b - 2 \sin a \sin b \\ \cos (a-b) & = \cos a \cos b + \sin a \sin b\end{align*}

In \begin{align*}\cos(a - b) = \cos a \cos b + \sin a \sin b\end{align*}, the difference formula for cosine, you can substitute \begin{align*}a - (- b) = a + b\end{align*} to obtain: \begin{align*}\cos(a + b) = \cos[a - (- b)]\end{align*} or \begin{align*}\cos a \cos (- b) + \sin a \sin(-b)\end{align*}. since \begin{align*}\cos(-b) = \cos b\end{align*} and \begin{align*}\sin (-b) = -\sin b\end{align*}, then \begin{align*}\cos(a + b) = \cos a \cos b - \sin a \sin b\end{align*}, which is the sum formula for cosine.

Using the Cosine Difference Formula 

1. Find an equivalent form of \begin{align*}\cos \left (\frac{\pi}{2} - \theta \right )\end{align*} using the cosine difference formula.

\begin{align*}\cos \left (\frac{\pi}{2} - \theta \right ) & = \cos \frac{\pi}{2} \cos \theta + \sin \frac{\pi}{2} \sin \theta \\ \cos \left (\frac{\pi}{2} - \theta \right ) & = 0 \times \cos \theta + 1 \times \sin \theta, \ \text{substitute}\ \cos \frac{\pi}{2} = 0 \ \text{and}\ \sin \frac{\pi}{2} = 1 \\ \cos \left (\frac{\pi}{2} - \theta \right ) & = \sin \theta\end{align*}

We know that is a true identity because of our understanding of the sine and cosine curves, which are a phase shift of \begin{align*}\frac{\pi}{2}\end{align*} off from each other.

The cosine formulas can also be used to find exact values of cosine that we weren’t able to find before, such as \begin{align*}15^\circ =(45^\circ - 30^\circ), 75^\circ =(45^\circ + 30^\circ)\end{align*}, among others.

2. Find the exact value of \begin{align*}\cos 15^\circ\end{align*}

Use the difference formula where \begin{align*}a = 45^\circ\end{align*} and \begin{align*}b = 30^\circ\end{align*}.

\begin{align*}\cos (45^\circ - 30^\circ) & = \cos 45^\circ \cos 30^\circ + \sin 45^\circ \sin 30^\circ \\ \cos 15^\circ & = \frac{\sqrt{2}}{2} \times \frac{\sqrt{3}}{2} + \frac{\sqrt{2}}{2} \times \frac{1}{2} \\ \cos 15^\circ & = \frac{\sqrt{6} + \sqrt{2}}{4}\end{align*}

3. Find the exact value of \begin{align*}\cos \frac{5 \pi}{12}\end{align*}, in radians.

 \begin{align*}\cos \frac{5 \pi}{12} = \cos \left (\frac{\pi}{4} + \frac{\pi}{6} \right )\end{align*}, notice that \begin{align*}\frac{\pi}{4} = \frac{3 \pi}{12}\end{align*} and \begin{align*}\frac{\pi}{6} = \frac{2 \pi}{12}\end{align*}

\begin{align*}\cos \left (\frac{\pi}{4} + \frac{\pi}{6} \right ) & = \cos \frac{\pi}{4} \cos \frac{\pi}{6} - \sin \frac{\pi}{4} \sin \frac{\pi}{6} \\ \cos \frac{\pi}{4} \cos \frac{\pi}{6} - \sin \frac{\pi}{4} \sin \frac{\pi}{6} & = \frac{\sqrt{2}}{2} \times \frac{\sqrt{3}}{2} - \frac{\sqrt{2}}{2} \times \frac{1}{2} \\ & = \frac{\sqrt{6} - \sqrt{2}}{4}\end{align*}


Example 1

Earlier, you were asked if you can calculate the cosine of the difference between the two angles. 

It would seem that your friend was having some fun with you, since he figured you didn't know the cosine difference formula. But now, with this formula in hand, you can readily solve for the difference of the two angles:

\begin{align*} \cos(110^\circ - 80^\circ)\\ = (\cos 110^\circ)(\cos 80^\circ) + (\sin 110^\circ)(\sin 80^\circ)\\ = (-.342)(.174) + (.9397)(.9848)\\ = -.0595 + .9254 = .8659 \end{align*}


\begin{align*}\cos (110^\circ - 80^\circ) = .8659\end{align*}

Example 2

Find the exact value for \begin{align*}\cos \frac{5 \pi}{12}\end{align*}

\begin{align*}\cos \frac{5 \pi}{12} & = \cos \left (\frac{2 \pi}{12} + \frac{3 \pi}{12} \right ) = \cos \left (\frac{\pi}{6} + \frac{\pi}{4} \right ) = \cos \frac{\pi}{6} \cos \frac{\pi}{4} - \sin \frac{\pi}{6} \sin \frac{\pi}{4} \\ & = \frac{\sqrt{3}}{2} \cdot \frac{\sqrt{2}}{2} - \frac{1}{2} \cdot \frac{\sqrt{2}}{2} = \frac{\sqrt{6}}{4} - \frac{\sqrt{2}}{4} = \frac{\sqrt{6} - \sqrt{2}}{4}\end{align*}

Example 3

Find the exact value for \begin{align*}\cos \frac{7 \pi}{12}\end{align*}

\begin{align*}\cos \frac{7 \pi}{12} & = \cos \left (\frac{4 \pi}{12} + \frac{3 \pi}{12} \right ) = \cos \left (\frac{\pi}{3} + \frac{\pi}{4} \right ) = \cos \frac{\pi}{3} \cos \frac{\pi}{4} - \sin \frac{\pi}{3} \sin \frac{\pi}{4} \\ & = \frac{1}{2} \cdot \frac{\sqrt{2}}{2} - \frac{\sqrt{3}}{2} \cdot \frac{\sqrt{2}}{2} = \frac{\sqrt{2}}{4} - \frac{\sqrt{6}}{4} = \frac{\sqrt{2} - \sqrt{6}}{4}\end{align*}

Example 4

Find the exact value for \begin{align*}\cos 345^\circ\end{align*}

\begin{align*}\cos 345^\circ & = \cos(315^\circ + 30^\circ) = \cos 315^\circ \cos 30^\circ - \sin 315^\circ \sin 30^\circ \\ & = \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} - (-\frac{\sqrt{2}}{2}) \cdot \frac{1}{2} = \frac{\sqrt{6} + \sqrt{2}}{4}\end{align*}


Find the exact value for each cosine expression.

  1. \begin{align*}\cos75^\circ\end{align*}
  2. \begin{align*}\cos105^\circ\end{align*}
  3. \begin{align*}\cos165^\circ\end{align*}
  4. \begin{align*}\cos255^\circ\end{align*}
  5. \begin{align*}\cos-15^\circ\end{align*}

Write each expression as the cosine of an angle.

  1. \begin{align*}\cos96^\circ\cos20^\circ+\sin96^\circ\sin20^\circ\end{align*}
  2. \begin{align*}\cos4x\cos3x-\sin4x\sin3x\end{align*}
  3. \begin{align*}\cos37^\circ\cos12^\circ+\sin37^\circ\sin12^\circ\end{align*}
  4. \begin{align*}\cos59^\circ\cos10^\circ-\sin59^\circ\sin10^\circ\end{align*}
  5. \begin{align*}\cos5y\cos2y+\sin5y\sin2y\end{align*}
  6. Prove that \begin{align*}\cos(x-\frac{\pi}{4})=\frac{\sqrt{2}}{2}(\cos(x)+\sin(x))\end{align*}
  7. If \begin{align*}\cos(x)\cos(y)=\sin(x)\sin(y)\end{align*}, then what does \begin{align*}\cos(x+y)\end{align*} equal?
  8. Prove that \begin{align*}\cos(x-\frac{\pi}{2})=\sin(x)\end{align*}
  9. Use the fact that \begin{align*}\cos(\frac{\pi}{2}-x)=\sin(x)\end{align*} (shown in examples), to show that \begin{align*}\sin(\frac{\pi}{2}-x)=\cos(x)\end{align*}.
  10. Prove that \begin{align*}\cos(x-y)+\cos(x+y)=2\cos(x)\cos(y)\end{align*}.

Review (Answers)

To see the Review answers, open this PDF file and look for section 3.6. 

Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Please to create your own Highlights / Notes
Show More


Cosine Difference Formula The cosine difference formula states that cos(A - B) = cosA cosB + sinA sinB.
cosine sum formula The cosine sum formula states that cos(A + B) = cosA cosB - sinA sinB.

Image Attributions

Explore More

Sign in to explore more, including practice questions and solutions for Cosine Sum and Difference Formulas.
Please wait...
Please wait...