Skip to main content
Mathematics LibreTexts

7.1: The General Sinusoidal Function

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

    Horizontal Shifts

    In the previous section we considered transformations of sinusoidal graphs, including vertical shifts, which change the midline of the graph, vertical stretches and compressions, which change its amplitude, and horizontal stretches and compressions, which occur when we change the period of the graph.

    In this section we consider one more transformation, shifting the graph horizontally. The figure below shows four different transformations of the graph of \(y=\sin x\).

    Screen Shot 2023-01-11 at 12.21.08 AM.png

    Example 7.14

    Graph \(f(x)=\sin x\) and \(g(x)=\sin \left(x-\frac{\pi}{4}\right)\) in the ZTrig window. How is the graph of \(g\) different from the graph of \(f\)?

    Answer

    The graphs are shown below. The graph of \(g(x)=\sin \left(x-\frac{\pi}{4}\right)\) has the same amplitude, midline, and period as the graph of \(f(x)=\sin x\), but the graph of \(g\) is shifted to the right by \(\frac{\pi}{4}\) units, compared to the graph of \(f\).

    Screen Shot 2023-01-11 at 12.23.32 AM.png

    We can see why this shift occurs by studying a table of values for the two functions.

    \(x\) 0 \(\dfrac{\pi}{4}\) \(\dfrac{\pi}{2}\) \(\dfrac{3\pi}{4}\) \(\pi\) \(\dfrac{5\pi}{4}\) \(\dfrac{3\pi}{2}\) \(\dfrac{7\pi}{4}\) \(2\pi\)
    \(f(x)\) 0 \(\dfrac{\sqrt{2}}{2}\) 1 \(\dfrac{\sqrt{2}}{2}\) 0 \(\dfrac{-\sqrt{2}}{2}\) -1 \(\dfrac{-\sqrt{2}}{2}\) 0
    \(g(x)\) \(\dfrac{-\sqrt{2}}{2}\) 0 \(\dfrac{\sqrt{2}}{2}\) 1 \(\dfrac{\sqrt{2}}{2}\) 0 \(\dfrac{-\sqrt{2}}{2}\) -1 \(\dfrac{-\sqrt{2}}{2}\)

    Notice that in the table, \(g\) has the same function values as \(f\), but each one is shifted \(\frac{\pi}{4}\) units to the right. The same thing happens in the graph: each \(y\)-value appears \(\frac{\pi}{4}\) units farther to the right on \(g\) than it does on \(f\).

    Checkpoint 7.15

    Graph \(f(x)=\cos x\) and \(g(x)=\cos \left(x+\frac{\pi}{4}\right)\) in the ZTrig window. How is the graph of \(g\) different from the graph of \(f\)?

    Answer

    The graph of \(g\) is shifted \(\frac{\pi}{4}\) units to the left of \(f\).

    The examples above illustrate the following principle.

    Horizontal Shifts.

    The graphs of

    \(y=\sin (x-h) \quad \text { and } \quad t=\cos (x-h)\)

    are shifted horizontally compared to the graphs of \(y=\sin x\) and \(y=\cos x\).

    • If \(h>0\), the graph is shifted to the right.
    • If \(h<0\), the graph is shifted to the left.

    We can use a table of values to sketch graphs that involve horizontal shifts.

    Example 7.16

    Make a table of values and sketch a graph of \(y=-2 \cos \left(x+\frac{\pi}{3}\right)\).

    Answer

    First notice that we can write the equation as

    \(y=-2 \cos \left[x-\left(\dfrac{-\pi}{3}\right)\right]\)

    so that \(h=-\frac{\pi}{3}\), and we expect the graph to be shifted \(\frac{\pi}{3}\) units to the left compared to the graph of \(y=\cos x\).

    We choose convenient values for the inputs of the cosine function, namely \(x+\frac{\pi}{3}\).

    \(x\) \(x + \dfrac{\pi}{3}\) \(\cos \left( x + \dfrac{\pi}{3} \right)\) \(y = \cos \left( x + \dfrac{\pi}{3} \right)\)
      0    
      \(\dfrac{\pi}{2}\)    
      \(\pi\)    
      \(\dfrac{3\pi}{2}\)    
      \(2\pi\)    

    From those values, we work backwards to \(x\) and forwards to \(y\). (To obtain the values of \(x\), we subtract \(\frac{\pi}{3}\) from the values of \(x+\frac{\pi}{3}\).)

    \(x\) \(x + \dfrac{\pi}{3}\) \(\cos \left( x + \dfrac{\pi}{3} \right)\) \(y = \cos \left( x + \dfrac{\pi}{3} \right)\)
    \(\dfrac{-\pi}{3}\) 0 1 -2
    \(\dfrac{\pi}{6}\) \(\dfrac{\pi}{2}\) 0 0
    \(\dfrac{2\pi}{3}\) \(\pi\) -1 2
    \(\dfrac{7\pi}{6}\) \(\dfrac{3\pi}{2}\) 0 0
    \(\dfrac{5\pi}{3}\) \(2\pi\) 1 -2

    To make the graph, we'll scale the \(x\)-axis in multiples of \(\frac{\pi}{6}\). We plot the guide points \((x, y)\) from the table, and sketch a sinusoidal graph through the points. One cycle of the graph is shown below. As we expected,the graph is shifted \(\frac{\pi}{3}\) units to the left compared to the graph of \(y=\cos x\).

    Screen Shot 2023-01-11 at 12.41.03 AM.png

    Checkpoint 7.17

    Complete the table and sketch a graph of \(y=-2+\sin \left(x-\frac{\pi}{6}\right)\) on the grid below. (Do you expect the graph to be shifted to the left or to the right, compared to the graph of \(y=\sin x \)?)

    \(x\) \(x - \dfrac{\pi}{6}\) \(\sin \left( x - \dfrac{\pi}{6} \right)\) \(y = -2 + \sin \left( x - \dfrac{\pi}{6} \right)\)
      0    
      \(\dfrac{\pi}{2}\)    
      \(\pi\)    
      \(\dfrac{3\pi}{2}\)    
      \(2\pi\)    

    Screen Shot 2023-01-11 at 12.44.06 AM.png

    Answer
    \(x\) \(x - \dfrac{\pi}{6}\) \(\sin \left( x - \dfrac{\pi}{6} \right)\) \(y = -2 + \sin \left( x - \dfrac{\pi}{6} \right)\)
    \(\dfrac{\pi}{6}\) 0 0 -2
    \(\dfrac{2\pi}{3}\) \(\dfrac{\pi}{2}\) 1 -1
    \(\dfrac{7\pi}{6}\) \(\pi\) 0 -2
    \(\dfrac{5\pi}{3}\) \(\dfrac{3\pi}{2}\) -1 -3
    \(\dfrac{13\pi}{6}\) \(2\pi\) 0 -2

    Screen Shot 2023-01-11 at 12.46.38 AM.png

    Combining Transformations

    The order in which we apply transformations to a function makes a difference in the graph. We’ll compare the graphs of the two functions

    \(f(x) = \sin [2 (x - \dfrac{\pi}{3})] \quad \text{ and }\quad g(x) = \sin (2 x - \dfrac{\pi}{3})\)

    Graph the two functions in the ZTrig window, along with \(y = \sin 2x\), as shown below. Each graph involves a horizontal shift relative to \(y = \sin 2x\), but the graph of \(f\) is shifted \(\frac{\pi}{3}\) units to the right, while the graph of \(g\) is shifted only \(\frac{\pi}{6}\) units to the right. This difference occurs because of the order of the transformations.

    Screen Shot 2023-01-11 at 12.50.25 AM.png

    We transform the graph of \(y=\sin x\) into the graph of \(f\) in two steps:

    Step 1: First we replace \(x\) by \(2 x\) to get \(y=\sin 2 x\), which compresses the graph horizontally by a factor of 2. (See figure (a) below.)

    Step 2: Then we replace \(x\) by \(x-\frac{\pi}{3}\) to get \(f(x)=\sin \left[2\left(x-\frac{\pi}{3}\right)\right]\), which shifts the graph \(\frac{\pi}{3}\) units to the right. (See figure (b).)

    Screen Shot 2023-01-11 at 12.53.09 AM.png

    To transform the graph of \(y=\sin x\) into the graph of \(g\), we perform the two steps in the opposite order:

    Step 1: We replace \(x\) by \(x-\frac{\pi}{3}\) which shifts the graph \(\frac{\pi}{3}\) units to the right. (See figure (a).)

    Step 2: Then we replace \(x\) by \(2 x\) to get \(g(x)=\sin \left(2 x-\frac{\pi}{3}\right)\) which compresses the graph horizontally by a factor of 2 , including the horizontal shift. This reduces the horizontal shift from \(\frac{\pi}{3}\) to \(\frac{\pi}{6}\). (See figure (b.)

    Screen Shot 2023-01-11 at 12.55.03 AM.png

    It is easier to analyze the transformations in the function \(f\), because we can read the horizontal shift from the formula.

    \(f(x)=\sin 2\left(x-\dfrac{\pi}{3}\right)\)

    where 2 is the compression factor and \(\frac{\pi}{3}\) is the horizontal shift.

    We can write the formula for \(g(x)\) in the same easy-to-analyze form by factoring the input for the sine function:

    \(g(x)=\sin \left(2 x-\dfrac{\pi}{3}\right)=\sin 2\left(x-\dfrac{\pi}{6}\right)\)

    In general, if we write the formula for a sinusoidal function in standard form, we can read all the transformations from the constants in the formula.

    Standard Form for Sinusoidal Functions.

    The graphs of the functions

    \(y=A \sin B(x-h)+k \quad \text { and } \quad y=A \cos B(x-h)+k\)

    are transformations of the sine and cosine graphs.

    1 The amplitude is \(|A|\).

    2 The midline is \(y=k\).

    3 The period is \(\frac{2 \pi}{|B|}, \quad B \neq 0\).

    4 The horizontal shift is \(h\) units to the right if \(h\) is positive, and \(h\) units to the left if \(h\) is negative.

    Example 7.18

    a State the midline, amplitude, period, and horizontal shift for the function

    \(f(x)=4 \cos (3 x+\pi)-2\)

    b Sketch a graph of the function for \(-\pi \leq x \leq \pi\).

    Answer

    a First, we write the input for the cosine function in factored form:

    \(f(x)=4 \cos 3\left(x+\dfrac{\pi}{3}\right)-2\)

    Comparing the formula for \(f\) with the standard form, we see that \(A=4, B=3, h=\frac{-\pi}{3}\), and \(k=2\). Thus, the midline is \(y=-2\), the amplitude is 4 , the period is \(\frac{2 \pi}{3}\), and the horizontal shift is \(\frac{\pi}{3}\) units to the left.

    b Use a table of values to locate the guidepoints for the graph. Begin by choosing convenient values for the input, \(3 x+\pi\). Then work backwards to find values for \(x\) and forwards to find values for \(f(x)\).

    \(x\) \(3x\) \(3x + \pi\) \(\cos (3x + \pi)\) \(4\cos 3 \left( x + \dfrac{\pi}{3} \right) - 2\)
    \(\dfrac{-\pi}{3}\) \(-\pi\) 0 1 2
    \(\dfrac{-\pi}{6}\) \(\dfrac{-\pi}{2}\) \(\dfrac{\pi}{2}\) 0 -2
    0 0 \(\pi\) -1 -6
    \(\dfrac{\pi}{6}\) \(\dfrac{\pi}{2}\) \(\dfrac{3\pi}{2}\) 0 -2
    \(\dfrac{\pi}{3}\) \(\pi\) \(2\pi\) 1 2

    Finally, plot the guidepoints and connect them with a sinusoidal curve. The graph is shown at right.

    Screen Shot 2023-01-11 at 11.22.04 PM.png

    Checkpoint 7.19

    a State the midline, amplitude, period, and horizontal shift of the graph of

    \(g(x) = 150 - 25 \cos \left( 4x - \dfrac{\pi}{2} \right) \)

    b Make a table of values and sketch a graph of the function.

    \(x\) \(4x\) \(4x - \dfrac{\pi}{2}\) \(\cos \left( 4x - \dfrac{\pi}{2} \right)\) \(150 - 25 \cos \left( 4x - \dfrac{\pi}{2} \right) \)
      0      
      \(\dfrac{\pi}{2}\)      
      \(\pi\)      
      \(\dfrac{3\pi}{2}\)      
      \(2\pi\)      
    Answer

    a midline: \(y = 150\), amplitude: 25, period: \(\frac{\pi}{2}\), horizontal shift: \(\frac{\pi}{8}\) to the right

    b

    \(x\) \(4x\) \(4x - \dfrac{\pi}{2}\) \(\cos \left( 4x - \dfrac{\pi}{2} \right) \) \(150 - 25 \cos \left( 4x - \dfrac{\pi}{2} \right) \)
    \(\dfrac{\pi}{8}\) \(\dfrac{\pi}{2}\) 0 1 125
    \(\dfrac{\pi}{4}\) \(\pi\) \(\dfrac{\pi}{2}\) 0 150
    \(\dfrac{3\pi}{8}\) \(\dfrac{3\pi}{2}\) \(\pi\) -1 175
    \(\dfrac{\pi}{2}\) \(2\pi\) \(\dfrac{3\pi}{2}\) 0 150
    \(\dfrac{5\pi}{8}\) \(\dfrac{5\pi}{2}\) \(2\pi\) 1 125

    Screen Shot 2023-01-11 at 11.34.04 PM.png

    Modeling with Sinusoidal Functions

    In Section 7.1 we found formulas for sinusoidal functions that start on the midline, or at their maximum or minimum value. We use horizontal transformations to write formulas for functions that start at other points on the cycle.

    Example 7.20

    Find a formula for the sinusoidal function whose graph is shown below.

    Screen Shot 2023-01-11 at 11.36.20 PM.png

    Answer

    The midline of the graph is \(y=0\), and its amplitude is 4. It has the shape of a cosine, but its maximum value occurs at \(x=\frac{\pi}{6}\) instead of at \(x=0\); so the graph is shifted \(\frac{\pi}{6}\) units to the right, compared to the graph of \(y=\cos x\).

    The graph completes one cycle between \(x=\frac{\pi}{6}\) and \(x=\frac{13 \pi}{6}\), so its period is \(2 \pi\). Thus, we use the standard form \(y=A \cos B(x-h)+k\) with \(A=4, B=1, h=\frac{\pi}{6}\), and \(k=0\), giving us

    \(y=4 \cos \left(x-\dfrac{\pi}{6}\right)\)

    as our formula for the function.

    Note 7.21 In Example 4, our solution is not the only sinusoidal function that fits the given graph. For example, if we regard the graph as a sine function shifted \(\frac{\pi}{3}\) units to the left, we would use the formula \(y=4 \sin \left(x+\frac{\pi}{3}\right)\). You can check that the two functions have identical graphs. Usually it is a good idea to choose a formula with a small horizontal shift.

    Checkpoint 7.22

    Find a formula for the sinusoidal function whose graph is shown below.

    Screen Shot 2023-01-11 at 11.40.46 PM.png

    Answer

    \(y=6 \sin \left(x-\dfrac{\pi}{4}\right)\)

    Many natural phenomena can be modeled with sinusoidal functions

    Example 7.23

    Sunspots are dark regions on the Sun first observed by Galileo in 1610. The number of sunspots is not constant, but varies with a period of approximately 11 years, called the solar cycle. Solar activity is directly related to this cycle, and can cause disturbances in the earth’s upper atmosphere. Planning for satellite orbits and space missions requires knowledge of solar activity levels years in advance.

    The figure below shows sunspot data for the last solar cycle, from July, 1985 through June, 1996, and a sinusoidal function that models the data.

    Screen Shot 2023-01-11 at 11.47.41 PM.png

    a The period of the solar cycle shown is actually 10.8 years. Use this information and the graph to write a formula for the model.

    b Improve the fit of the model by adjusting its horizontal shift.

    Answer

    a The graph has the shape of \(y=-\cos x\). It appears to have midline \(y=75\) and amplitude 75, so \(k=75\) and \(A=-75\) To find \(B\), we compute

    \(B=\dfrac{2 \pi}{\text { period }}=\dfrac{2 \pi}{10.8}=0.58\)

    Thus, a formula for the model is \(y=75-75 \cos [0.58(x-h)]\).

    b Fitting a curve by eye is a subjective process, but it looks like we can get a better fit by shifting the curve slightly to the left. By trying several values for \(h\) in

    \(y=75-75 \cos [0.58(x-h)],\)

    we might settle on \(h=0.3\), which results in the curve shown below.

    Screen Shot 2023-01-11 at 11.53.52 PM.png

    Checkpoint 7.24

    The figure below shows the sunspot data for the current solar cycle, which began in July 1996, and a curve of best fit calculated by NASA. This curve is not sinusoidal, but has a similar shape.

    Screen Shot 2023-01-11 at 11.54.53 PM.png

    a The minimum sunspot number occurred in October 1996. Use the graph to estimate the period, midline, and amplitude of a sinusoidal function that approximates the data.

    b Write a function that approximates the data.

    c Use your function to predict the sunspot number in January, 2005.

    Answer

    a Period: 10 years, midline: \(y = 61.5\), amplitude: 53

    b \(y = 61.5 - 53 \cos (x - 0.25)\)

    c 37

    Review the following skills you will need for this section.

    Algebra Refresher 7.2

    a Write a formula for \(g(x)\).

    b Graph \(f(x)\) and \(g(x)\) on the same axes.

    \(1 f(x)=x^2, g(x)=f(x-2)\)

    \(2 f(x)=\sqrt{x}, g(x)=f(x+4)\)

    \(3 f(x)=\dfrac{1}{x}, g(x)=f(x+1)\)

    \(4 f(x)=\dfrac{1}{x^2}, g(x)=f(x-1)\)

    \(5 f(x)=|x|, g(x)=f(x-3)\)

    \(6 f(x)=2^x, g(x)=f(x+3)\)

    Algebra Refresher Answers

    1 \(g(x) = (x-2)^2\)

    Screen Shot 2023-01-12 at 1.10.23 AM.png

    2 \(g(x) = \sqrt{x+4}\)

    Screen Shot 2023-01-12 at 1.10.33 AM.png

    3 \(g(x) = \dfrac{1}{x+1}\)

    Screen Shot 2023-01-12 at 1.10.50 AM.png

    4 \(g(x) = \dfrac{1}{(x-1)^2}\)

    Screen Shot 2023-01-12 at 1.11.00 AM.png

    5 \(g(x) = |x-3|\)

    Screen Shot 2023-01-12 at 1.11.12 AM.png

    6 \(g(x) = 2^{x+3}\)

    Screen Shot 2023-01-12 at 1.11.21 AM.png

    Section 7.2 Summary

    Concepts

    Horizontal Shifts.

    1 The graphs of

    \(y=\sin (x-h) \quad \text { and } \quad t=\cos (x-h)\)

    are shifted horizontally compared to the graphs of \(y=\sin x\) and \(y=\cos x\).

    • If \(h>0\), the graph is shifted to the right.
    • If \(h<0\), the graph is shifted to the left.

    2 The order in which we apply transformations to a function makes a difference in the graph.

    Standard Form for Sinusoidal Functions.

    3 The graphs of the functions

    \(y=A \sin B(x-h)+k \quad \text { and } \quad y=A \cos B(x-h)+k\)

    are transformations of the sine and cosine graphs.

    1 The amplitude is \(|A|\).

    2 The midline is \(y=k\).

    3 The period is \(\frac{2 \pi}{|B|}, \quad B \neq 0\).

    4 The horizontal shift is \(h\) units to the right if \(h\) is positive, and \(h\) units to the left if \(h\) is negative.

    Study Questions

    1 Which of the following functions are the same? Explain your answer.

    \(f(x)=\cos \left(2 x-\dfrac{\pi}{3}\right), \quad g(x)=(\cos 2 x)-\dfrac{\pi}{3}, \quad h(x)=\cos 2 x-\cos \dfrac{\pi}{3}\)

    2 Which of the following functions are the same? Explain your answer.

    \(\left.f(x)=\sin \left(2 x-\dfrac{\pi}{3}\right), \quad g(x)=\sin \left[2\left(x-\dfrac{\pi}{6}\right)\right], \quad h(x)=2 \sin \left(x-\dfrac{\pi}{6}\right)\right)\)

    Calculate the horizontal shift.

    3.

    a \(y=-2 \sin \left(3 x-\dfrac{\pi}{4}\right)\)

    b \(y=6 \cos \left(2 x+\dfrac{3 \pi}{4}\right)\)

    4.

    a \(y=12 \cos \left(\dfrac{t}{3}+0.8\right)\)

    b \(y=-5 \sin \left(\dfrac{t}{4}-0.6\right)\)

    Skills

    1 Graph trigonometric functions using a table of values #1–6, 11–16

    2 Find a formula for a transformation of a trigonometric function #7–10, 17–26

    3 Solve trigonometric equations graphically #1–6, 11–16

    4 Model periodic phenomena with trigonometric functions #27–30

    5 Fit a circular function to data #31–34

    Homework 7-2

    1. \(f(x) = \sin x\) and \(g(x) = \sin \left( x - \dfrac{\pi}{3} \right)\)

    a Fill in the table of values.

    \(x\) \(-\pi\) \(\dfrac{-5\pi}{6}\) \(\dfrac{-2\pi}{3}\) \(\dfrac{-\pi}{2}\) \(\dfrac{-\pi}{3}\) \(\dfrac{-\pi}{6}\) 0 \(\dfrac{\pi}{6}\) \(\dfrac{\pi}{3}\) \(\dfrac{\pi}{2}\) \(\dfrac{2\pi}{3}\) \(\dfrac{5\pi}{6}\) \(\pi\)
    \(f(x)\)                          
    \(g(x)\)                          

    b Sketch the graphs of \(f\) and \(g\) on the same axes.

    Screen Shot 2023-01-13 at 2.19.00 PM.png

    c What is the horizontal shift from \(f\) to \(g\)?

    d Find all values of \(x\) for which \(\sin \left(x-\frac{\pi}{3}\right)=1\), for \(-\pi \leq x \leq \pi\).

    e Find all values of \(x\) for which \(\sin \left(x-\frac{\pi}{3}\right)=0\), for \(-\pi \leq x \leq \pi\).

    2. \(f(x)=\cos x\) and \(g(x)=\cos \left(x+\dfrac{\pi}{3}\right)\)

    a Fill in the table of values.

    \(x\) \(-\pi\) \(\dfrac{-5\pi}{6}\) \(\dfrac{-2\pi}{3}\) \(\dfrac{-\pi}{2}\) \(\dfrac{-\pi}{3}\) \(\dfrac{-\pi}{6}\) 0 \(\dfrac{\pi}{6}\) \(\dfrac{\pi}{3}\) \(\dfrac{\pi}{2}\) \(\dfrac{2\pi}{3}\) \(\dfrac{5\pi}{6}\) \(\pi\)
    \(f(x)\)                          
    \(g(x)\)                          

    b Sketch the graphs of \(f\) and \(g\) on the same axes.

    Screen Shot 2023-01-13 at 2.52.10 PM.png

    c What is the horizontal shift from \(f\) to \(g\)?

    d Find all values of \(x\) for which \(\cos \left(x+\frac{\pi}{3}\right)=1\), for \(-\pi \leq x \leq \pi\).

    e Find all values of \(x\) for which \(\cos \left(x+\frac{\pi}{3}\right)=0\), for \(-\pi \leq x \leq \pi\).

    3. \(f(x)=\tan x\) and \(g(x)=\tan \left(x+\dfrac{\pi}{4}\right)\)

    a Fill in the table of values.

    \(x\) \(-\pi\) \(\dfrac{-3\pi}{4}\) \(\dfrac{-\pi}{2}\) \(\dfrac{-\pi}{4}\) 0 \(\dfrac{\pi}{4}\) \(\dfrac{\pi}{2}\) \(\dfrac{3\pi}{4}\) \(\pi\)
    \(f(x)\)                  
    \(g(x)\)                  

    b Sketch the graphs of \(f\) and \(g\) on the same axes.

    Screen Shot 2023-01-13 at 3.01.18 PM.png

    c What is the horizontal shift from \(f\) to \(g\)?

    d Solve \(\tan \left(x+\frac{\pi}{4}\right)=1\), for \(-\pi \leq x \leq \pi\).

    e Solve \(\tan \left(x+\frac{\pi}{4}\right)=0\), for \(-\pi \leq x \leq \pi\).

    4. \(f(x)=\tan x\) and \(g(x)=\tan \left(x-\dfrac{\pi}{2}\right)\)

    a Fill in the table of values.

    \(x\) \(-\pi\) \(\dfrac{-3\pi}{4}\) \(\dfrac{-\pi}{2}\) \(\dfrac{-\pi}{4}\) 0 \(\dfrac{\pi}{4}\) \(\dfrac{\pi}{2}\) \(\dfrac{3\pi}{4}\) \(\pi\)
    \(f(x)\)                  
    \(g(x)\)                  

    b Sketch the graphs of \(f\) and \(g\) on the same axes.

    Screen Shot 2023-01-13 at 3.06.56 PM.png

    c What is the horizontal shift from \(f\) to \(g\)?

    d Solve \(\tan \left(x-\frac{\pi}{2}\right)=1\), for \(-\pi \leq x \leq \pi\).

    e Solve \(\tan \left(x-\frac{\pi}{2}\right)=0\), for \(-\pi \leq x \leq \pi\).

    5. \(y=-2 \cos \left(x+\dfrac{\pi}{6}\right)\)

    a What are the amplitude and the horizontal shift?

    b Fill in the table of values.

    \(x\) \(x + \dfrac{\pi}{6}\) \(\cos \left( x + \dfrac{\pi}{6} \right) \) \(-2 \cos \left( x + \dfrac{\pi}{6} \right)\)
      \(-\pi\)    
      \(\dfrac{-\pi}{2}\)    
      0    
      \(\dfrac{\pi}{2}\)    
      \(\pi\)    
      \(\dfrac{3\pi}{2}\)    
      \(2\pi\)    

    c Sketch the graph.

    Screen Shot 2023-01-13 at 3.14.59 PM.png

    d Solve \(-2 \cos \left( x + \dfrac{\pi}{6} \right) = 1\), for \(0 \leq x \leq 2\pi\)

    e Solve \(-2 \cos \left( x + \dfrac{\pi}{6} \right) = 0\), for \(0 \leq x \leq 2\pi\)

    6. \(y=-6 \sin \left(x-\dfrac{2 \pi}{3}\right)\)

    a What are the amplitude and the horizontal shift?

    b Fill in the table of values.

    \(x\) \(x - \dfrac{2\pi}{3}\) \(\sin \left( x - \dfrac{2\pi}{3} \right)\) \(-6 \sin \left( x - \dfrac{2\pi}{3} \right) \)
      \(-\pi\)    
      \(\dfrac{-\pi}{2}\)    
      0    
      \(\dfrac{\pi}{2}\)    
      \(\pi\)    
      \(\dfrac{3\pi}{2}\)    
      \(2\pi\)    

    c Sketch the graph.

    Screen Shot 2023-01-13 at 3.21.22 PM.png

    d Solve \(-6 \sin \left(x-\frac{2 \pi}{3}\right)=1\), for \(0 \leq x \leq 2 \pi\)

    e Solve \(-6 \sin \left(x-\frac{2 \pi}{3}\right)=0\), for \(0 \leq x \leq 2 \pi\)

    7. The figure shows the graph of \(y = f(x)\).

    Screen Shot 2023-01-13 at 3.23.03 PM.png

    a Find a formula for \(f(x)\) as a shift of the sine function.

    b Find a formula for \(f(x)\) as a shift of the cosine function.

    8. The figure shows the graph of \(y = f(x)\).

    Screen Shot 2023-01-13 at 3.26.37 PM.png

    a Find a formula for \(f(x)\) as a shift of the sine function.

    b Find a formula for \(f(x)\) as a shift of the cosine function.

    9. The figure shows the graph of \(y = f(x)\).

    Screen Shot 2023-01-13 at 3.24.51 PM.png

    a Find a formula for \(f(x)\) as a shift of the tangent function.

    b Find another formula for \(f(x)\) as a different shift of the cosine function.

    10. The figure shows the graph of \(y = f(x)\).

    Screen Shot 2023-01-13 at 3.29.28 PM.png

    a Find a formula for \(f(x)\) as a shift of the tangent function.

    b Find another formula for \(f(x)\) as a different shift of the cosine function.

    11. \(y=\cos \left(2 x-\dfrac{\pi}{3}\right)\)

    a What are the period and the horizontal shift? (Hint: Factor out 2 from \(2 x-\frac{\pi}{3}\).)

    b Fill in the table of values.

    \(x\) \(2x\) \(2x - \dfrac{\pi}{3}\) \(\cos \left( 2x - \dfrac{\pi}{3} \right)\)
        0  
        \(\dfrac{\pi}{2}\)  
        \(\pi\)  
        \(\dfrac{3\pi}{2}\)  
        \(2\pi\)  

    c Sketch the graph.

    Screen Shot 2023-01-13 at 3.43.22 PM.png

    d Solve \(\cos \left(2 x-\frac{\pi}{3}\right)=1\), for \(0 \leq x \leq 2 \pi\)

    e Solve \(\cos \left(2 x-\frac{\pi}{3}\right)=0\), for \(0 \leq x \leq 2 \pi\)

    12. \(y=\sin \left(3 x+\dfrac{\pi}{2}\right)\)

    a What are the period and the horizontal shift? (Hint: Factor out 3 from \(3 x+\frac{\pi}{2}\).)

    b Fill in the table of values.

    \(x\) \(3x\) \(3x + \dfrac{\pi}{2}\) \(\sin \left( 3x + \dfrac{\pi}{2} \right) \)
        0  
        \(\dfrac{\pi}{2}\)  
        \(\pi\)  
        \(\dfrac{3\pi}{2}\)  
        \(2\pi\)  

    c Sketch the graph.

    Screen Shot 2023-01-13 at 3.46.03 PM.png

    d Solve \(\sin \left(3 x+\frac{\pi}{2}\right)=1\), for \(0 \leq x \leq 2 \pi\)

    e Solve \(\sin \left(3 x+\frac{\pi}{2}\right)=0\), for \(0 \leq x \leq 2 \pi\)

    13. \(y=\sin \left(\pi x+\frac{\pi}{3}\right)\)

    a What are the period and the horizontal shift? (Hint: Factor out \(\pi\) from \(\pi x+\frac{\pi}{3}\).)

    b Fill in the table of values.

    \(x\) \(\pi x\) \(\pi x + \dfrac{\pi}{3}\) \(\sin \left( \pi x + \dfrac{\pi}{3} \right)\)
        0  
        \(\dfrac{\pi}{2}\)  
        \(\pi\)  
        \(\dfrac{3\pi}{2}\)  
        \(2\pi\)  

    c Sketch the graph.

    d Solve \(\sin \left(\pi x+\frac{\pi}{3}\right)=1\), for \(-2 \leq x \leq 2\)

    e Solve \(\sin \left(\pi x+\frac{\pi}{3}\right)=0\), for \(-2 \leq x \leq 2\)

    14. \(y=\cos \left(\pi x-\dfrac{\pi}{3}\right)\)

    a What are the period and the horizontal shift? (Hint: Factor out \(\pi\) from \(\pi x-\frac{\pi}{3}\).)

    b Fill in the table of values.

    \(x\) \(\pi x\) \(\pi x - \dfrac{\pi}{3}\) \(\cos \left( \pi x - \dfrac{\pi}{3} \right) \)
        0  
        \(\dfrac{\pi}{2}\)  
        \(\pi\)  
        \(\dfrac{3\pi}{2}\)  
        \(2\pi\)  

    c Sketch the graph.

    Screen Shot 2023-01-13 at 3.57.47 PM.png

    d Solve \(\cos \left(\pi x-\frac{\pi}{3}\right)=1\), for \(-2 \leq x \leq 2\)

    e Solve \(\cos \left(\pi x-\frac{\pi}{3}\right)=0\), for \(-2 \leq x \leq 2\)

    15. \(y=3 \sin \left(\dfrac{x}{2}-\dfrac{\pi}{6}\right)+4\)

    a What are the midline, period, horizontal shift, and amplitude?

    b Fill in the table of values.

    \(x\) \(\dfrac{x}{2}\) \(\dfrac{x}{2} - \dfrac{\pi}{6}\) \(\sin \left( \dfrac{x}{2} - \dfrac{\pi}{6} \right) \) \(3 \sin \left( \dfrac{x}{2} - \dfrac{\pi}{6} \right) + 4\)
        0    
        \(\dfrac{\pi}{2}\)    
        \(\pi\)    
        \(\dfrac{3\pi}{2}\)    
        \(2\pi\)    

    c Sketch the graph.

    Screen Shot 2023-01-13 at 4.07.16 PM.png

    d Solve for \(0 \leq x \leq 2 \pi\):

    \(3 \sin \left(\dfrac{x}{2}-\dfrac{\pi}{6}\right)+4=1\)

    e Solve for \(0 \leq x \leq 2 \pi\):

    \(3 \sin \left(\dfrac{x}{2}-\dfrac{\pi}{6}\right)+4=4\)

    16. \(y=2 \cos \left(\dfrac{x}{3}-\dfrac{\pi}{4}\right)-1\)

    a What are the midline, period, horizontal shift, and amplitude?

    b Fill in the table of values.

    \(x\) \(\dfrac{x}{3}\) \(\dfrac{x}{3} - \dfrac{\pi}{4}\) \(\cos \left( \dfrac{x}{3} - \dfrac{\pi}{4} \right) \) \(2 \cos \left( \dfrac{x}{3} - \dfrac{\pi}{4} \right) - 1\)
        0    
        \(\dfrac{\pi}{2}\)    
        \(\pi\)    
        \(\dfrac{3\pi}{2}\)    
        \(2\pi\)    

    c Sketch the graph.

    Screen Shot 2023-01-14 at 1.03.58 AM.png

    d Solve for \(0 \leq x \leq 2 \pi\):

    \(2 \cos \left(\dfrac{x}{3}-\dfrac{\pi}{4}\right)-1=1\)

    e Solve for \(0 \leq x \leq 2 \pi\):

    \(2 \cos \left(\dfrac{x}{3}-\dfrac{\pi}{4}\right)-1=-1\)

    17. Find a formula for a sinusoidal function that has an amplitude of 2, a period of 3, and is shifted 4 units to the left and 5 units upwards compared with the sine function. Sketch the graph for \(0 \leq x \leq 3\).

    18. Find a formula for a sinusoidal function that has an amplitude of 3, a period of 24, and is shifted 2 units to the right and 4 units upwards compared with the cosine function. Sketch the graph for \(0 \leq x \leq 24\).

    19. Find a formula for a sinusoidal function that has an amplitude of 5, a period of 360, its midline at \(y=12\), and passes through (0,7). Sketch the graph for \(0 \leq x \leq 360\).

    20. Find a formula for a sinusoidal function that has an amplitude of 50, a period of 30, its midline at \(y=50\), and passes through (0,100). Sketch the graph for \(0 \leq x \leq 30\).

    For Problems 21–26, find a formula for the circular function whose graph is shown.

    a Write the function in the form \(f(x)=A \sin (B(x-h))\).

    b Write the function in the form \(f(x)=A \cos (B(x-h))\).

    21. Screen Shot 2023-01-14 at 1.10.01 AM.png

    22. Screen Shot 2023-01-14 at 1.10.15 AM.png

    23. Screen Shot 2023-01-14 at 1.10.20 AM.png

    24. Screen Shot 2023-01-14 at 1.10.28 AM.png

    25. Screen Shot 2023-01-14 at 1.10.36 AM.png

    26. Screen Shot 2023-01-14 at 1.10.50 AM.png

    27. The average daily high temperature in Fairbanks, Alaska can be approximated by a sinusoidal function with a period of 12 months. The low temperature of \(-1.6^{\circ}\) occurs in January, and the high temperature of \(72.3^{\circ}\) in July.

    a What are the midline, period, and amplitude?

    b Write a formula for the average daily high temperature \(T(m)\), where \(m\) is the number of months since January.

    c Graph \(T(m)\) for two periods, labeling the points that correspond to highest and lowest average temperature.

    28. Depending on its phase, the moon looks like a disk that is partially visible and partially in shadow. The visible fraction ranges from \(0 \%\) to \(100 \%\), and can be approximated by a sinusoidal function \(V(t)\), where \(t\) is the number of days since the last full moon. The time between successive full moons (a lunar month) is 29.5 days.

    a What are the period, midline, and amplitude of \(V(t)\)?

    b Write a formula for \(V(t)\).

    c Graph your function over two periods, labeling the points that correspond to full moon, half moon, and new moon.

    29. The tide in Yorktown is approximated by the function

    \(h(t)=1.4-1.4 \cos (0.51 t)\)

    measured in feet above low tide, where \(t\) is the number of hours since the last low tide.

    a What are the midline, period, and amplitude?

    b Graph \(h(t)\) for two periods, labeling the points that correspond to high tide and low tide.

    c If the last low tide occurred at 5:00 am, predict when the next high and low tides will occur.

    30. The height of a child’s toy suspended at the end of a spring is approximated by a sinusoidal function. The toy’s height ranges between 200 centimeters and 260 centimeters above the ground, and it completes one up-and-down cycle every 0.8 seconds.

    a What are the midline, period, and amplitude?

    b Let \(h(t)\) be the height of the toy in centimeters, where \(t = 0\) seconds corresponds to a time when the object was at the midline and moving upwards. Graph \(h(t)\) for two periods, labeling the points that correspond to the high and low positions of the toy.

    c When does the toy reach its maximum height the second time?

    In Problems 31–34,

    a Estimate the amplitude, period, and midline of a circular function that fits the data.

    b Write a formula for the function.

    31.

    \(t\) 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5
    \(f(t)\) 5.2 4.26 2 -0.26 -1.2 -0.26 2 4.26 5.2 4.26 2

    32.

    \(s\) 0 1 2 3 4 5 6 7 8 9 10
    \(g(s)\) 3 2.58 2.4 2.58 3 3.42 3.6 3.42 3 2.58 2.4

    33.

    \(x\) 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
    \(H(x)\) 5 7.9 9.8 9.8 7.9 5 2.1 0.2 0.2

    34.

    \(t\) 0 0.79 1.57 2.36 3.14 3.93 4.71 5.50 6.28
    \(V(t)\) 1 -0.17 -3 -5.8 -7 -5.3 -3 -0.17 1

    This page titled 7.1: The General Sinusoidal Function is shared under a GNU Free Documentation License 1.3 license and was authored, remixed, and/or curated by Katherine Yoshiwara via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?