Skip to main content
K12 LibreTexts

3.3.8: Applications of Sum and Difference Formulas

  • Page ID
    14852
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Sine, cosine, and tangent sum and difference formulas.

    You are quite likely familiar with the values of trig functions for a variety of angles. Angles such as \(30^{\circ} \), \(60^{\circ} \), and \(90^{\circ} \) are common. However, if you were asked to find the value of a trig function for a more rarely used angle, could you do so? Or what if you were asked to find the value of a trig function for a sum of angles? For example, if you were asked to find \(\sin \left(\dfrac{3 \pi}{2}+\dfrac{\pi}{4}\right)\) could you?

    Read on, and in this section, you'll get practice with simplifying trig functions of angles using the sum and difference formulas.

    Sum and Difference Formulas

    Quite frequently one of the main obstacles to solving a problem in trigonometry is the inability to transform the problem into a form that makes it easier to solve. Sum and difference formulas can be very valuable in helping with this.

    Here we'll get some extra practice putting the sum and difference formulas to good use. If you haven't gone through them yet, you might want to review the sections on the Sum and Difference Formulas for sine, cosine, and tangent.

    Solve using the Sum Formula
    Verify the identity \(\dfrac{\cos (x-y)}{\sin x \sin y}=\cot x \cot y+1\)

    \(\begin{aligned} \text{Verify the identity} &\dfrac{\cos (x-y)}{\sin x \sin y}=\cot x \cot y+1 \\
    \cot x \cot y+1&=\dfrac{\cos (x-y)}{\sin x \sin y} \\
    &=\dfrac{\cos x \cos y}{\sin x \sin y}+\dfrac{\sin x \sin y}{\sin x \sin y} &&
    \text{ Expand using the cosine difference}\\
    &=\dfrac{\cos x \cos y}{\sin x \sin y}+1 \\ \cot x \cot y+1&=\cot x \cot y+1 && \text{cotangent equals cosine over sine} \end{aligned}\)

    Solve using the Difference Formula

    Solve \(3\sin (x−\pi )=3\) in the interval \([0,2\pi )\).

    First, get \(\sin (x−\pi )\) by itself, by dividing both sides by 3.

    \(\begin{aligned} \dfrac{3\sin (x−\pi )}{3}&=\dfrac{3}{3} \\ \sin (x−\pi )&=1 \end{aligned}\)

    Now, expand the left side using the sine difference formula.

    \(\begin{aligned} \sin x\cos \pi −\cos x\sin \pi &=1 \\ \sin x(−1)−\cos x(0)&=1 \\ −\sin x&=1 \\ \sin x&=−1 \end{aligned}\)

    The \(\sin x=−1\) when \(x\) is \(\dfrac{3 \pi}{2}\).

    Solve using the Sum Formula

    Find all the solutions for \(2\cos^2\left(x+\dfrac{\pi}{2}\right)=1\) in the interval \([0,2\pi )\).

    Get the \(\cos^2\left(x+\dfrac{\pi}{2}\right)\) by itself and then take the square root.

    \(\begin{aligned}
    2 \cos ^{2}\left(x+\dfrac{\pi}{2}\right) &=1 \\
    \cos ^{2}\left(x+\dfrac{\pi}{2}\right) &=\dfrac{1}{2} \\
    \cos \left(x+\dfrac{\pi}{2}\right) &=\sqrt{\dfrac{1}{2}}=\dfrac{1}{\sqrt{2}}=\dfrac{\sqrt{2}}{2}
    \end{aligned}\)

    Now, use the cosine sum formula to expand and solve.

    \(\begin{aligned}
    \cos x \cos \dfrac{\pi}{2}-\sin x \sin \dfrac{\pi}{2} &=\dfrac{\sqrt{2}}{2} \\
    \cos x(0)-\sin x(1) &=\dfrac{\sqrt{2}}{2} \\
    -\sin x &=\dfrac{\sqrt{2}}{2} \\
    \sin x &=-\dfrac{\sqrt{2}}{2}
    \end{aligned}\)

    The \(\sin x=−\dfrac{\sqrt{2}}{2}\) is in Quadrants III and IV, so \(x=\dfrac{5 \pi}{4}\text{ and } \dfrac{7 \pi}{4}\).

    Example \(\PageIndex{1}\)

    Earlier, you were asked to find \(\sin \left(\dfrac{3 \pi}{2}+\dfrac{\pi}{4}\right)\), use the sine sum formula:

    Solution

    \(\begin{aligned}
    \sin (a+b)&=\sin (a) \cos (b)+\cos (a) \sin (b) \\
    \sin \left(\dfrac{3 \pi}{2}+\dfrac{\pi}{4}\right)&=\sin \left(\dfrac{3 \pi}{2}\right) \times \cos \left(\dfrac{\pi}{4}\right)+\cos \left(\dfrac{3 \pi}{2}\right) \times \sin \left(\dfrac{\pi}{4}\right) \\
    &=(-1)\left(\dfrac{\sqrt{2}}{2}\right)+(0)\left(\dfrac{\sqrt{2}}{2}\right) \\
    &=-\dfrac{\sqrt{2}}{2}
    \end{aligned}\)

    Example \(\PageIndex{2}\)

    Find all solutions to \(2\cos ^2 \left(x+\dfrac{\pi}{2}\right)=1\), when \(x\) is between \([0,2\pi )\).

    Solution

    To find all the solutions, between \([0,2\pi )\), we need to expand using the sum formula and isolate the \(\cos x\).

    \(\begin{aligned}
    2 \cos ^{2}\left(x+\dfrac{\pi}{2}\right) &=1 \\
    \cos ^{2}\left(x+\dfrac{\pi}{2}\right) &=\dfrac{1}{2} \\
    \cos \left(x+\dfrac{\pi}{2}\right) &=\pm \sqrt{\dfrac{1}{2}}=\pm \dfrac{\sqrt{2}}{2} \\
    \cos x \cos \dfrac{\pi}{2}-\sin x \sin \dfrac{\pi}{2} &=\pm \dfrac{\sqrt{2}}{2} \\
    \cos x \cdot 0-\sin x \cdot 1 &=\pm \dfrac{\sqrt{2}}{2} \\
    -\sin x &=\pm \dfrac{\sqrt{2}}{2} \\
    \sin x &=\pm \dfrac{\sqrt{2}}{2}
    \end{aligned}\)

    This is true when \(x=\dfrac{\pi}{4},\; \dfrac{3 \pi}{4},\; \dfrac{5\pi}{4},\; \text{ or } \dfrac{7 \pi}{4}\)

    Example \(\PageIndex{3}\)

    Solve for all values of \(x\) between \([0,2\pi )\) for \(2\tan^2 \left(x+\dfrac{\pi}{6}\right)+1=7\).

    Solution

    First, solve for \(\tan \left(x+\dfrac{\pi}{6}\right)\).

    \(\begin{aligned} 2\tan^2 \left(x+\dfrac{\pi}{6}\right)+1=7 \\ 2\tan^2 \left(x+\dfrac{\pi}{6}\right)=6 \\ \tan^2 \left(x+\dfrac{\pi}{6}\right)=3 \\ \tan \left(x+\dfrac{\pi}{6}\right)=\pm \sqrt{3} \end{aligned}\)

    Now, use the tangent sum formula to expand for when \tan (x+\dfrac{\pi}{6})=\sqrt{3}.

    \(\begin{aligned}
    \dfrac{\tan x+\tan \dfrac{\pi}{6}}{1-\tan x \tan \dfrac{\pi}{6}} &=\sqrt{3} \\
    \tan x+\tan \dfrac{\pi}{6} &=\sqrt{3}\left(1-\tan x \tan \dfrac{\pi}{6}\right) \\
    \tan x+\dfrac{\sqrt{3}}{3} &=\sqrt{3}-\sqrt{3} \tan x \cdot \dfrac{\sqrt{3}}{3} \\
    \tan x+\dfrac{\sqrt{3}}{3} &=\sqrt{3}-\tan x \\
    2 \tan x &=\dfrac{2 \sqrt{3}}{3} \\
    \tan x &=\dfrac{\sqrt{3}}{3}
    \end{aligned}\)

    This is true when \(x=\dfrac{\pi}{6}\) or \(\dfrac{7 \pi}{6}\).

    If the tangent sum formula to expand for when \(\tan (x+\dfrac{\pi}{6})=−\sqrt{3}\), we get no solution as shown.

    \(\begin{aligned}
    \dfrac{\tan x+\tan \dfrac{\pi}{6}}{1-\tan x \tan \dfrac{\pi}{6}} &=-\sqrt{3} \\
    \tan x+\tan \dfrac{\pi}{6} &=-\sqrt{3}\left(1-\tan x \tan \dfrac{\pi}{6}\right) \\
    \tan x+\dfrac{\sqrt{3}}{3} &=-\sqrt{3}+\sqrt{3} \tan x \cdot \dfrac{\sqrt{3}}{3} \\
    \tan x+\dfrac{\sqrt{3}}{3} &=-\sqrt{3}+\tan x \\
    \dfrac{\sqrt{3}}{3} &=-\sqrt{3}
    \end{aligned}\)

    Therefore, the tangent sum formula cannot be used in this case. However, since we know that \(\tan (x+\dfrac{\pi}{6})=−\sqrt{3}\) when \(x+\dfrac{\pi}{6}=\dfrac{5 \pi}{6}\) or \(\dfrac{11 \pi}{6}\), we can solve for \(x\) as follows.

    \(\begin{aligned} x+\dfrac{\pi}{6}&=5\dfrac{\pi}{6} \\ x&=\dfrac{4 \pi}{6} \\ x&=\dfrac{2 \pi}{3} \end{aligned}\)

    \(\begin{aligned} x+\dfrac{\pi}{6}&=\dfrac{11 \pi}{6}\\x&=10\dfrac{\pi}{6} \\ x&=\dfrac{5 \pi}{3} \end{aligned}\)

    Therefore, all of the solutions are \(x=\dfrac{\pi}{6},\; \dfrac{2 \pi}{3},\; \dfrac{7 \pi}{6},\; \dfrac{5 \pi}{3}\)

    Example \(\PageIndex{4}\)

    Find all solutions to \(\sin \left(x+\dfrac{\pi}{6}\right)=\sin \left(x−\dfrac{\pi}{4}\right)\), when x is between \([0,2\pi )\).

    Solution

    To solve, expand each side:

    \(\begin{aligned} \sin \left(x+\dfrac{\pi}{6}\right)&=\sin x\cos \dfrac{\pi}{6}+\cos x\sin \dfrac{\pi}{6}=\dfrac{\sqrt{3}}{2}\sin x+\dfrac{1}{2}\cos x \\ \sin \left(x−\dfrac{\pi}{4}\right) &=\sin x\cos \dfrac{\pi}{4}−\cos x\sin \dfrac{\pi}{4}=\dfrac{\sqrt{2}}{2}\sin x−\dfrac{\sqrt{2}}{2}\cos x\end{aligned}\)

    Set the two sides equal to each other:

    \(\begin{aligned}
    \dfrac{\sqrt{3}}{2} \sin x+\dfrac{1}{2} \cos x &=\dfrac{\sqrt{2}}{2} \sin x-\dfrac{\sqrt{2}}{2} \cos x \\
    \sqrt{3} \sin x+\cos x &=\sqrt{2} \sin x-\sqrt{2} \cos x \\
    \sqrt{3} \sin x-\sqrt{2} \sin x &=-\cos x-\sqrt{2} \cos x \\
    \sin x(\sqrt{3}-\sqrt{2}) &=\cos x(-1-\sqrt{2}) \\
    \dfrac{\sin x}{\cos x} &=\dfrac{-1-\sqrt{2}}{\sqrt{3}-\sqrt{2}} \\
    \tan x &=\dfrac{-1-\sqrt{2}}{\sqrt{3}-\sqrt{2}} \cdot \dfrac{\sqrt{3}+\sqrt{2}}{\sqrt{3}+\sqrt{2}} \\
    &=\dfrac{-\sqrt{3}-\sqrt{2}+\sqrt{6}-2}{3-2} \\
    &=-2+\sqrt{6}-\sqrt{3}-\sqrt{2}
    \end{aligned}\)

    As a decimal, this is \(−2.69677\), so \(\tan ^{−1}(−2.69677)=x\), \(x=290.35^{\circ} \) and \(110.35^{\circ} \).

    Review

    Prove each identity.

    1. \(\cos (3x)+\cos (x)=2\cos (2x)\cos (x)\)
    2. \(\cos (3x)=\cos 3(x)−3\sin 2(x)\cos (x)\)
    3. \(\sin (3x)=3\cos 2(x)\sin (x)−\sin 3(x)\)
    4. \(\sin (4x)+\sin (2x)=2\sin (3x)\cos (x)\)
    5. \(\tan (5x)\tan (3x)=\dfrac{\tan^2 (4x)−\tan^2 (x)}{1−\tan^2 (4x)\tan^2 (x)}\)
    6. \(\cos \left(\left(\dfrac{\pi}{2}−x\right)−y \right)=\sin (x+y)\)

    Use sum and difference formulas to help you graph each function.

    1. \(y=\cos (3)\cos (x)+\sin (3)\sin (x)\)
    2. \(y=\cos (x)\cos \left(\dfrac{\pi}{2}\right)+\sin (x)\sin \left(\dfrac{\pi}{2}\right)\)
    3. \(y=\sin (x)\cos \left(\dfrac{\pi}{2}\right)+\cos (x)\sin \left(\dfrac{\pi}{2}\right)\)
    4. \(y=\sin (x)\cos \left(\dfrac{3 \pi}{2}\right)−\cos (3)\sin \left(\dfrac{\pi}{2}\right)\)
    5. \(y=\cos (4x)\cos (2x)−\sin (4x)\sin (2x)\)
    6. \(y=\cos (x)\cos (x)−\sin (x)\sin (x)\)

    Solve each equation on the interval \([0,2\pi )\).

    1. \(2\sin \left(x−\dfrac{\pi}{2} \right)=1\)
    2. \(4\cos (x−\pi )=4\)
    3. \(2\sin (x−\pi )=\sqrt{2}\)

    Review (Answers)

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

    Vocabulary

    Term Definition
    Difference Formula Trigonometric function difference formulas exist for each of the primary trigonometric functions. For example, the cosine difference formula is \(\cos (A−B)=\cos A\cos B+\sin A\sin B\).
    Sum Formula A sum formula is a formula to help simplify a trigonometric function of the sum of two angles, such as \sin (a+b).

    This page titled 3.3.8: Applications of Sum and Difference Formulas is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    CK-12 Foundation
    LICENSED UNDER
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License