Skip to main content
Mathematics LibreTexts

9.4: Phase Shift

  • Page ID
    41326
  • \( \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}}\)

    The last form of transformation we will discuss in the graphing of trigonometric functions is the phase shift, or horizontal displacement. So far, we have considered the amplitude, period and vertical shift transformations of trigonometric functions. In the standard equation \(y=A \sin (B x)+D,\) these corrrespond to the coefficients \(A, B\) and \(D .\) Notice that the amplitude and vertical shift coefficients \((A \text { and } D),\) which affect the \(y\) -axis occur outside of the trigonometric function, whereas the coefficient that affects the period of the graph along the \(x\) -axis occurs within the sine function. This is true of the phase shift as well.
    If we consider a general equation of:
    \[ y=A \sin (B x+C)+D
    \] the constant \(C\) will affect the phase shift, or horizontal displacement of the function. Let's look at a simple example.

    Graph at least one period of the given function: \(\quad y=\sin (x+\pi)\) Be sure to indicate important points along the \(x\) and \(y\) axes.
    Let's examine this function by looking at a table of values.
    clipboard_eea838b016f267b5815be7961be0f71cd.png

    Now let's look at a graph of \(y=\sin (x+\pi)\) as compared to the standard graph of \(y=\sin x\)

    clipboard_ea97568fc29ad3b695c44e798e3a63cb4.png

    Notice that if we take the standard graph of \(y=\sin x\) and drag it backwards along the \(x\) -axis a distance of \(\pi,\) we would have the graph of \(y=\sin (x+\pi)\) That's because each \(x\) value is having \(\pi\) added to it, so to arrive at the \(x\) value that produces a particular \(y\) -value, we would need to subtract \(\pi\). Here's an example:

    clipboard_eafd6029e16e02557d6bd444bbcdec9f2.png

    In the table above we see the standard \(x\) and \(y\) values for the graph of the sine function. In the table below, we add a column that shows the value that \(x\) would need to be for \(x+\pi\) to be the standard values:

    clipboard_e05ce85703e45666c62b4cfea8cf799fa.png

    Here's a graph of these values:

    clipboard_e95f548b13685dffd12f70d8af31280de.png

    This is the same graph of \(y=\sin (x+\pi)\) that we saw on the previous page, but anchored to different points on the \(x\) -axis. Either graph would be a correct response to a question asking for at least one period of the graph of \(y=\sin (x+\pi)\)
    Let's look at another example:

    Example 2
    Graph at least one period of the given function: \(y=\sin \left(x+\frac{\pi}{3}\right)\) Be sure to indicate important points along the \(x\) and \(y\) axes.
    In this simplified example, we really have only one transformation to worry about - the phase shift. Notice that the amplitude, period and vertical shift have all been left out. When considering a sine or cosine graph that has a phase shift, a good way to start the graph of the function is to determine the new starting point of the graph. In the previous example, we saw how the function \(y=\sin (x+\pi)\)

    shifted the graph a distance of \(\pi\) to the left and made the new starting point of the sine curve \(-\pi\)

    In graphing the standard sine curve we're generally interested in the quadrantal angles that produce the maximum, minimum and zero points of the graph. In graphing the function \(y=\sin \left(x+\frac{\pi}{3}\right),\) we want to know which values of \(x\) will produce the quadrantal angles when we add \(\frac{\pi}{3}\) to them.

    So, to determine the new starting point we want to know the solution to the equation \(x+\frac{\pi}{3}=0\)
    \[ \qquad \begin{array}{r}
    x+\frac{\pi}{3}=0 \\
    -\frac{\pi}{3}-\frac{\pi}{3} \\
    x=-\frac{\pi}{3}
    \end{array}
    \]

    This is the new starting point for the graph \(y=\sin \left(x+\frac{\pi}{3}\right) .\) Because this graph has a standard period, the "jump" between each of the quadrantal angles will be
    \(\frac{\pi}{2} .\) To graph one period of a typical trigonometric function we'll need at least five quadrantal angle values. So, if our new starting point is \(-\frac{\pi}{3}\), then the next critical value along the \(x\) -axis will be:
    \[ -\frac{\pi}{3}+\frac{\pi}{2}=-\frac{2 \pi}{6}+\frac{3 \pi}{6}=\frac{\pi}{6}
    \] Then the subsequent critical values would be:
    \[ \begin{array}{c}
    \frac{\pi}{6}+\frac{\pi}{2}=\frac{\pi}{6}+\frac{3 \pi}{6}=\frac{4 \pi}{6}=\frac{2 \pi}{3} \\
    \frac{4 \pi}{6}+\frac{3 \pi}{6}=\frac{7 \pi}{6} \\
    \frac{7 \pi}{6}+\frac{3 \pi}{6}=\frac{10 \pi}{6}=\frac{5 \pi}{3}
    \end{array}
    \]

    So the five critical values along the \(x\) -axis are:
    \[ -\frac{2 \pi}{6}, \frac{\pi}{6}, \frac{4 \pi}{6}, \frac{7 \pi}{6} \text { and } \frac{10 \pi}{6}
    \] or, in reduced form:
    \[ -\frac{\pi}{3}, \frac{\pi}{6}, \frac{2 \pi}{3}, \frac{7 \pi}{6} \text { and } \frac{5 \pi}{3}
    \] In order to graph the function, we would put these values along the \(x\) -axis and plot the standard quadrantal \(y\) -values to match up with them:

    clipboard_e7a2081f121713a784b96d06dec9e7796.png

    The \(y\) -values for the sine function start at zero, go up to the maximum, back down through zero to the minimum and then back to zero:

    clipboard_e6a3a76c56f36b6904e27204cc40f4294.png

    Connecting these points to make a sine curve produces the following graph:

    clipboard_efb0a49759e8bd757f4daf0701154e076.png

    Exercises 2.4
    Match each function with the appropriate graph.
    1. \(\quad y=\cos \left(x-\frac{\pi}{4}\right)\)
    2. \(\quad y=\sin \left(x+\frac{\pi}{4}\right)\)
    3. \(\quad y=\cos x-1\)
    4. \(\quad y=\sin x+1\)
    5. \(\quad y=\sin \left(x-\frac{\pi}{4}\right)\)
    6. \(\quad y=1-\cos x\)
    7. \(\quad y=\sin x-1\)
    8. \(\quad y=\cos \left(x+\frac{\pi}{4}\right)\)

    clipboard_e1dd2353d5fa336008d23c08401f4509c.png

    clipboard_e9ff9ee4754f9eb6aace5fc83fee5040b.png

    clipboard_ee6a49a80cce1635f165c4124fa154b2c.png

    clipboard_e94fb0d33b269c67405bd879e413c6069.png

    Sketch at least one period for each function. Be sure to include the important values along the \(x\) and \(y\) axes.
    9. \(\quad y=\sin \left(x+\frac{\pi}{6}\right)\)
    \(10 . \quad y=\cos \left(x-\frac{\pi}{6}\right)\)
    11. \(\quad y=\cos \left(x-\frac{\pi}{3}\right)\)
    12. \(\quad y=\sin \left(x+\frac{\pi}{3}\right)\)
    13. \(\quad y=\sin \left(x-\frac{3 \pi}{4}\right) \quad\)

    14. \(\quad y=\cos \left(x+\frac{3 \pi}{4}\right)\)
    15. \(\quad y=\cos \left(x+\frac{2 \pi}{3}\right) \quad\)

    16. \(\quad y=\sin \left(x-\frac{2 \pi}{3}\right)\)


    This page titled 9.4: Phase Shift is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Richard W. Beveridge.