Skip to main content
Mathematics LibreTexts

7.7: Modeling with Trigonometric Functions

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

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives

    In this section, you will:

    • Determine the amplitude and period of sinusoidal functions.
    • Model equations and graph sinusoidal functions.
    • Model periodic behavior.
    • Model harmonic motion functions.
    Photo of the top part of a clock.
    Figure 1 The hands on a clock are periodic: they repeat positions every twelve hours. (credit: “zoutedrop”/Flickr)

    Suppose we charted the average daily temperatures in New York City over the course of one year. We would expect to find the lowest temperatures in January and February and highest in July and August. This familiar cycle repeats year after year, and if we were to extend the graph over multiple years, it would resemble a periodic function.

    Many other natural phenomena are also periodic. For example, the phases of the moon have a period of approximately 28 days, and birds know to fly south at about the same time each year.

    So how can we model an equation to reflect periodic behavior? First, we must collect and record data. We then find a function that resembles an observed pattern. Finally, we make the necessary alterations to the function to get a model that is dependable. In this section, we will take a deeper look at specific types of periodic behavior and model equations to fit data.

    Determining the Amplitude and Period of a Sinusoidal Function

    Any motion that repeats itself in a fixed time period is considered periodic motion and can be modeled by a sinusoidal function. The amplitude of a sinusoidal function is the distance from the midline to the maximum value, or from the midline to the minimum value. The midline is the average value. Sinusoidal functions oscillate above and below the midline, are periodic, and repeat values in set cycles. Recall from Graphs of the Sine and Cosine Functions that the period of the sine function and the cosine function is 2π. 2π. In other words, for any value of x, x,

    sin( x±2πk )=sinx and cos( x±2πk )=cosx where k is an integer sin( x±2πk )=sinx and cos( x±2πk )=cosx where k is an integer

    Standard Form of Sinusoidal Equations

    The general forms of a sinusoidal equation are given as

    y=Asin( BtC )+D or y=Acos( BtC )+D y=Asin( BtC )+D or y=Acos( BtC )+D

    where amplitude=|A|,B amplitude=|A|,B is related to period such that the period= 2π B ,C period= 2π B ,C is the phase shift such that C B C B denotes the horizontal shift, and D D represents the vertical shift from the graph’s parent graph.

    Note that the models are sometimes written as y=asin( ωt±C )+D y=asin( ωt±C )+D or y=acos( ωt±C )+D, y=acos( ωt±C )+D, and period is given as 2π ω . 2π ω .

    The difference between the sine and the cosine graphs is that the sine graph begins with the average value of the function and the cosine graph begins with the maximum or minimum value of the function.

    Example 1

    Showing How the Properties of a Trigonometric Function Can Transform a Graph

    Show the transformation of the graph of y=sinx y=sinx into the graph of y=2sin( 4x π 2 )+2. y=2sin( 4x π 2 )+2.

    Answer

    Consider the series of graphs in Figure 2 and the way each change to the equation changes the image.

    Five graphs, side by side, each showing a manipulation to the former. (A) has y=sin(x). (B) has y=2sin(x), which has double the amplitude. (C) has y=2sin(4x), which quadrupled the frequency (or quartered the period). (D) has y=2sin(4x-pi/2), which shifted it on the x-axis by pi/2. (E) has y=2sin(4x-pi/2) + 2, which shifted it on the y-axis by 2.
    Figure 2 (a) The basic graph of y=sinx y=sinx (b) Changing the amplitude from 1 to 2 generates the graph of y=2sinx. y=2sinx. (c) The period of the sine function changes with the value of B, B, such that period= 2π B . period= 2π B . Here we have B=4, B=4, which translates to a period of π 2 . π 2 . The graph completes one full cycle in π 2 π 2 units. (d) The graph displays a horizontal shift equal to C B , C B , or π 2 4 = π 8 . π 2 4 = π 8 . (e) Finally, the graph is shifted vertically by the value of D. D. In this case, the graph is shifted up by 2 units.

    Example 2

    Finding the Amplitude and Period of a Function

    Find the amplitude and period of the following functions and graph one cycle.

    1. y=2sin( 1 4 x ) y=2sin( 1 4 x )
    2. y=−3sin( 2x+ π 2 ) y=−3sin( 2x+ π 2 )
    3. y=cosx+3 y=cosx+3
    Answer

    We will solve these problems according to the models.

    1. y=2sin( 1 4 x ) y=2sin( 1 4 x ) involves sine, so we use the form

      y=Asin( Bt+C )+D y=Asin( Bt+C )+D

      We know that | A | | A | is the amplitude, so the amplitude is 2. Period is 2π B , 2π B , so the period is

      2π B = 2π 1 4 =8π 2π B = 2π 1 4 =8π

      See the graph in Figure 3.

      Graph of y=2sin(1/4 x) from 0 to 8pi, which is one cycle. The amplitude is 2, and the period is 8pi.
      Figure 3
  • y=−3sin( 2x+ π 2 ) y=−3sin( 2x+ π 2 ) involves sine, so we use the form

    y=Asin( BtC )+D y=Asin( BtC )+D

    Amplitude is | A |, | A |, so the amplitude is | 3 |=3. | 3 |=3. Since A A is negative, the graph is reflected over the x-axis. Period is 2π B , 2π B , so the period is

    2π B = 2π 2 =π 2π B = 2π 2 =π

    The graph is shifted to the left by C B = π 2 2 = π 4 C B = π 2 2 = π 4 units. See Figure 4.

    Graph of y=-3sin(2x+pi/2) from -pi/4 to 3pi/2, one cycle. The amplitude is 3, and the period is pi.
    Figure 4
  • y=cosx+3 y=cosx+3 involves cosine, so we use the form

    y=Acos( Bt±C )+D y=Acos( Bt±C )+D

    Amplitude is | A |, | A |, so the amplitude is 1. The period is 2π. 2π. See Figure 5. This is the standard cosine function shifted up three units.

    Graph of y=cos(x) + 3 from -pi/2 to 5pi/2. The amplitude and period are the same as the normal y=cos(x), but the whole graph is shifted up on the y-axis by 3.
    Figure 5
  • Try It #1

    What are the amplitude and period of the function y=3cos(3πx)? y=3cos(3πx)?

    Finding Equations and Graphing Sinusoidal Functions

    One method of graphing sinusoidal functions is to find five key points. These points will correspond to intervals of equal length representing 1 4 1 4 of the period. The key points will indicate the location of maximum and minimum values. If there is no vertical shift, they will also indicate x-intercepts. For example, suppose we want to graph the function y=cosθ. y=cosθ. We know that the period is 2π, 2π, so we find the interval between key points as follows.

    2π 4 = π 2 2π 4 = π 2

    Starting with θ=0, θ=0, we calculate the first y-value, add the length of the interval π 2 π 2 to 0, and calculate the second y-value. We then add π 2 π 2 repeatedly until the five key points are determined. The last value should equal the first value, as the calculations cover one full period. Making a table similar to Table 1, we can see these key points clearly on the graph shown in Figure 6.

    θ θ 0 0 π 2 π 2 π π 3π 2 3π 2 2π 2π
    y=cosθ y=cosθ 1 1 0 0 −1 −1 0 0 1 1
    Table 1
    Graph of y=cos(x) from -pi/2 to 5pi/2.
    Figure 6

    Example 3

    Graphing Sinusoidal Functions Using Key Points

    Graph the function y=−4cos( πx ) y=−4cos( πx ) using amplitude, period, and key points.

    Answer

    The amplitude is |4|=4. |4|=4. The period is 2π ω = 2π π =2. 2π ω = 2π π =2. (Recall that we sometimes refer to B B as ω.) ω.) One cycle of the graph can be drawn over the interval [ 0,2 ]. [ 0,2 ]. To find the key points, we divide the period by 4. Make a table similar to Table 2, starting with x=0 x=0 and then adding 1 2 1 2 successively to x x and calculate y. y. See the graph in Figure 7.

    x x 0 0 1 2 1 2 1 1 3 2 3 2 2 2
    y=−4cos( πx ) y=−4cos( πx ) −4 −4 0 0 4 4 0 0 −4 −4
    Table 2
    Graph of y=-4cos(pi*x) using the five key points: intervals of equal length representing 1/4 of the period. Here, the points are at 0, 1/2, 1, 3/2, and 2.
    Figure 7

    Try It #2

    Graph the function y=3sin(3x) y=3sin(3x) using the amplitude, period, and five key points.

    Modeling Periodic Behavior

    We will now apply these ideas to problems involving periodic behavior.

    Example 4

    Modeling an Equation and Sketching a Sinusoidal Graph to Fit Criteria

    The average monthly temperatures for a small town in Oregon are given in Table 3. Find a sinusoidal function of the form y=Asin( BtC )+D y=Asin( BtC )+D that fits the data (round to the nearest tenth) and sketch the graph.

    Month Temperature, o F o F
    January 42.5
    February 44.5
    March 48.5
    April 52.5
    May 58
    June 63
    July 68.5
    August 69
    September 64.5
    October 55.5
    November 46.5
    December 43.5
    Table 3
    Answer

    Recall that amplitude is found using the formula

    A= largest value smallest value 2 A= largest value smallest value 2

    Thus, the amplitude is

    |A|= 6942.5 2 =13.25 |A|= 6942.5 2 =13.25

    The data covers a period of 12 months, so 2π B =12 2π B =12 which gives B= 2π 12 = π 6 . B= 2π 12 = π 6 .

    The vertical shift is found using the following equation.

    D= highest value+lowest value 2 D= highest value+lowest value 2


    Thus, the vertical shift is

    D= 69+42.5 2 =55.8 D= 69+42.5 2 =55.8

    So far, we have the equation y=13.3sin( π 6 xC )+55.8. y=13.3sin( π 6 xC )+55.8.

    To find the horizontal shift, we input the x x and y y values for the first month and solve for C. C.

    42.5=13.3sin( π 6 (1)C )+55.8 13.3=13.3sin( π 6 C ) 1=sin( π 6 C ) sinθ=1θ= π 2 π 6 C= π 2 π 6 + π 2 =C = 2π 3 42.5=13.3sin( π 6 (1)C )+55.8 13.3=13.3sin( π 6 C ) 1=sin( π 6 C ) sinθ=1θ= π 2 π 6 C= π 2 π 6 + π 2 =C = 2π 3

    We have the equation y=13.3sin( π 6 x 2π 3 )+55.8. y=13.3sin( π 6 x 2π 3 )+55.8. See the graph in Figure 8.

    Graph of the equation y=13.3sin(pi/6 x - 2pi/3) + 55.8. The average value is a dotted horizontal line y=55.8, and the amplitude is 13.3
    Figure 8

    Example 5

    Describing Periodic Motion

    The hour hand of the large clock on the wall in Union Station measures 24 inches in length. At noon, the tip of the hour hand is 30 inches from the ceiling. At 3 PM, the tip is 54 inches from the ceiling, and at 6 PM, 78 inches. At 9 PM, it is again 54 inches from the ceiling, and at midnight, the tip of the hour hand returns to its original position 30 inches from the ceiling. Let y y equal the distance from the tip of the hour hand to the ceiling x x hours after noon. Find the equation that models the motion of the clock and sketch the graph.

    Answer

    Begin by making a table of values as shown in Table 4.

    x x y y Points to plot
    Noon 30 in ( 0,30 ) ( 0,30 )
    3 PM 54 in ( 3,54 ) ( 3,54 )
    6 PM 78 in ( 6,78 ) ( 6,78 )
    9 PM 54 in ( 9,54 ) ( 9,54 )
    Midnight 30 in ( 12,30 ) ( 12,30 )
    Table 4

    To model an equation, we first need to find the amplitude.

    | A |=| 7830 2 | =24 | A |=| 7830 2 | =24

    The clock’s cycle repeats every 12 hours. Thus,

    B= 2π 12 = π 6 B= 2π 12 = π 6

    The vertical shift is

    D= 78+30 2 =54 D= 78+30 2 =54

    There is no horizontal shift, so C=0. C=0. Since the function begins with the minimum value of y y when x=0 x=0 (as opposed to the maximum value), we will use the cosine function with the negative value for A. A. In the form y=Acos(Bx±C)+D, y=Acos(Bx±C)+D, the equation is

    y=−24cos( π 6 x )+54 y=−24cos( π 6 x )+54

    See Figure 9.

    Graph of the function y=-24cos(pi/6 x)+54 using the five key points: (0,30), (3,54), (6,78), (9,54), (12,30).
    Figure 9

    Example 6

    Determining a Model for Tides

    The height of the tide in a small beach town is measured along a seawall. Water levels oscillate between 7 feet at low tide and 15 feet at high tide. On a particular day, low tide occurred at 6 AM and high tide occurred at noon. Approximately every 12 hours, the cycle repeats. Find an equation to model the water levels.

    Answer

    As the water level varies from 7 ft to 15 ft, we can calculate the amplitude as

    |A|=| (157) 2 | =4 |A|=| (157) 2 | =4

    The cycle repeats every 12 hours; therefore, B B is

    2π 12 = π 6 2π 12 = π 6

    There is a vertical translation of (15+7) 2 =11.5. (15+7) 2 =11.5. Since the value of the function is at a maximum at t=0, t=0, we will use the cosine function, with the positive value for A. A.

    y=4cos( π 6 )t+11 y=4cos( π 6 )t+11

    See Figure 10.

    Graph of the function y=4cos(pi/6 t) + 11 from 0 to 12. The midline is y=11, three key points are (0,15), (6,7), and (12, 15).
    Figure 10

    Try It #3

    The daily temperature in the month of March in a certain city varies from a low of 24 °F 24 °F to a high of 40 °F. 40 °F. Find a sinusoidal function to model daily temperature and sketch the graph. Approximate the time when the temperature reaches the freezing point 32 °F. 32 °F. Let t=0 t=0 correspond to noon.

    Example 7

    Interpreting the Periodic Behavior Equation

    The average person’s blood pressure is modeled by the function f( t )=20sin( 160πt )+100, f( t )=20sin( 160πt )+100, where f( t ) f( t ) represents the blood pressure at time t, t, measured in minutes. Interpret the function in terms of period and frequency. Sketch the graph and find the blood pressure reading.

    Answer

    The period is given by

    2π ω = 2π 160π = 1 80 2π ω = 2π 160π = 1 80

    In a blood pressure function, frequency represents the number of heart beats per minute. Frequency is the reciprocal of period and is given by

    ω 2π = 160π 2π =80 ω 2π = 160π 2π =80

    See the graph in Figure 11.

    Graph of the function f(t) = 20sin(160 * pi * t) + 100 for blood pressure. The midline is at 100.
    Figure 11 The blood pressure reading on the graph is 120 80 ( maximum minimum ). 120 80 ( maximum minimum ).

    Analysis

    Blood pressure of 120 80 120 80 is considered to be normal. The top number is the maximum or systolic reading, which measures the pressure in the arteries when the heart contracts. The bottom number is the minimum or diastolic reading, which measures the pressure in the arteries as the heart relaxes between beats, refilling with blood. Thus, normal blood pressure can be modeled by a periodic function with a maximum of 120 and a minimum of 80.

    Modeling Harmonic Motion Functions

    Harmonic motion is a form of periodic motion, but there are factors to consider that differentiate the two types. While general periodic motion applications cycle through their periods with no outside interference, harmonic motion requires a restoring force. Examples of harmonic motion include springs, gravitational force, and magnetic force.

    Simple Harmonic Motion

    A type of motion described as simple harmonic motion involves a restoring force but assumes that the motion will continue forever. Imagine a weighted object hanging on a spring, When that object is not disturbed, we say that the object is at rest, or in equilibrium. If the object is pulled down and then released, the force of the spring pulls the object back toward equilibrium and harmonic motion begins. The restoring force is directly proportional to the displacement of the object from its equilibrium point. When t=0,d=0. t=0,d=0.

    Simple Harmonic Motion

    We see that simple harmonic motion equations are given in terms of displacement:

    d=acos( ωt ) or d=asin( ωt ) d=acos( ωt ) or d=asin( ωt )

    where | a | | a | is the amplitude, 2π ω 2π ω is the period, and ω 2π ω 2π is the frequency, or the number of cycles per unit of time.

    Example 8

    Finding the Displacement, Period, and Frequency, and Graphing a Function

    For the given functions,

    1. Find the maximum displacement of an object.
    2. Find the period or the time required for one vibration.
    3. Find the frequency.
    4. Sketch the graph.
    1. y=5sin( 3t ) y=5sin( 3t )
    2. y=6cos( πt ) y=6cos( πt )
    3. y=5cos( π 2 t ) y=5cos( π 2 t )
    Answer

    1. y=5sin( 3t ) y=5sin( 3t )
      1. The maximum displacement is equal to the amplitude, | a |, | a |, which is 5.
      2. The period is 2π ω = 2π 3 . 2π ω = 2π 3 .
      3. The frequency is given as ω 2π = 3 2π . ω 2π = 3 2π .
      4. See Figure 12. The graph indicates the five key points.
        Graph of the function y=5sin(3t) from 0 to 2pi/3. The five key points are (0,0), (pi/6, 5), (pi/3, 0), (pi/2, -5), (2pi/3, 0).
        Figure 12
  • y=6cos( πt ) y=6cos( πt )
    1. The maximum displacement is 6. 6.
    2. The period is 2π ω = 2π π =2. 2π ω = 2π π =2.
    3. The frequency is ω 2π = π 2π = 1 2 . ω 2π = π 2π = 1 2 .
    4. See Figure 13.
      Graph of the function y=6cos(pi t) from 0 to 3.
      Figure 13
  • y=5cos( π 2 )t y=5cos( π 2 )t
    1. The maximum displacement is 5. 5.
    2. The period is 2π ω = 2π π 2 =4. 2π ω = 2π π 2 =4.
    3. The frequency is 1 4 . 1 4 .
    4. See Figure 14.
      Graph of the function y=5cos(pi/2 t) from 0 to 4.
      Figure 14
  • Damped Harmonic Motion

    In reality, a pendulum does not swing back and forth forever, nor does an object on a spring bounce up and down forever. Eventually, the pendulum stops swinging and the object stops bouncing and both return to equilibrium. Periodic motion in which an energy-dissipating force, or damping factor, acts is known as damped harmonic motion. Friction is typically the damping factor.

    In physics, various formulas are used to account for the damping factor on the moving object. Some of these are calculus-based formulas that involve derivatives. For our purposes, we will use formulas for basic damped harmonic motion models.

    Damped Harmonic Motion

    In damped harmonic motion, the displacement of an oscillating object from its rest position at time t t is given as

    f(t)=a e ct sin(ωt)orf(t)=a e ct cos(ωt) f(t)=a e ct sin(ωt)orf(t)=a e ct cos(ωt)

    where c c is a damping factor, | a | | a | is the initial displacement and 2π ω 2π ω is the period.

    Example 9

    Modeling Damped Harmonic Motion

    Model the equations that fit the two scenarios and use a graphing utility to graph the functions: Two mass-spring systems exhibit damped harmonic motion at a frequency of 0.5 0.5 cycles per second. Both have an initial displacement of 10 cm. The first has a damping factor of 0.5 0.5 and the second has a damping factor of 0.1. 0.1.

    Answer

    At time t=0, t=0, the displacement is the maximum of 10 cm, which calls for the cosine function. The cosine function will apply to both models.

    We are given the frequency f= ω 2π f= ω 2π of 0.5 cycles per second. Thus,

    ω 2π =0.5 ω=(0.5)2π =π ω 2π =0.5 ω=(0.5)2π =π

    The first spring system has a damping factor of c=0.5. c=0.5. Following the general model for damped harmonic motion, we have

    f( t )=10 e 0.5t cos( πt ) f( t )=10 e 0.5t cos( πt )

    Figure 15 models the motion of the first spring system.

    Graph of the first spring system, f(t) = 10(e^(-.5t))cos(pi*t), which begins with a high amplitude and quickly decreases.
    Figure 15

    The second spring system has a damping factor of c=0.1 c=0.1 and can be modeled as

    f( t )=10 e 0.1t cos( πt ) f( t )=10 e 0.1t cos( πt )

    Figure 16 models the motion of the second spring system.

    Graph of f(t) = 10(e^(-.1t))cos(pi*t), which begins with a high amplitude and slowly decreases (but has a high frequency).
    Figure 16

    Analysis

    Notice the differing effects of the damping constant. The local maximum and minimum values of the function with the damping factor c=0.5 c=0.5 decreases much more rapidly than that of the function with c=0.1. c=0.1.

    Example 10

    Finding a Cosine Function that Models Damped Harmonic Motion

    Find and graph a function of the form y=a e ct cos( ωt ) y=a e ct cos( ωt ) that models the information given.

    1. a=20,c=0.05,p=4 a=20,c=0.05,p=4
    2. a=2,c=1.5,f=3 a=2,c=1.5,f=3
    Answer

    Substitute the given values into the model. Recall that period is 2π ω 2π ω and frequency is ω 2π . ω 2π .

    1. y=20 e 0.05t cos( π 2 t ). y=20 e 0.05t cos( π 2 t ). See Figure 17.
      Graph of f(t) = 20(e^(-.05t))cos(pi/2 * t), which begins with a high amplitude and slowly decreases.
      Figure 17
  • y=2 e 1.5t cos( 6πt ). y=2 e 1.5t cos( 6πt ). See Figure 18.
    Graph of f(t) = 2(e^(-1.5t))cos(6pi * t), which begins with a small amplitude and quickly decreases to almost a straight line.
    Figure 18
  • Try It #4

    The following equation represents a damped harmonic motion model: f( t )=5 e 6t cos( 4t ) f( t )=5 e 6t cos( 4t ) Find the initial displacement, the damping constant, and the frequency.

    Example 11

    Finding a Sine Function that Models Damped Harmonic Motion

    Find and graph a function of the form y=a e ct sin( ωt ) y=a e ct sin( ωt ) that models the information given.

    1. a=7,c=10,p= π 6 a=7,c=10,p= π 6
    2. a=0.3,c=0.2,f=20 a=0.3,c=0.2,f=20
    Answer

    Calculate the value of ω ω and substitute the known values into the model.

    1. As period is 2π ω , 2π ω , we have

      π 6 = 2π ω ωπ=6(2π) ω=12 π 6 = 2π ω ωπ=6(2π) ω=12

      The damping factor is given as 10 and the amplitude is 7. Thus, the model is y=7 e 10t sin( 12t ). y=7 e 10t sin( 12t ). See Figure 19.

      Graph of f(t) = 7(e^(-10t))sin(12t), which spikes close to t=0 and quickly becomes almost a straight line.
      Figure 19
  • As frequency is ω 2π , ω 2π , we have

    20= ω 2π 40π=ω 20= ω 2π 40π=ω

    The damping factor is given as 0.2 0.2 and the amplitude is 0.3. 0.3. The model is y=0.3 e 0.2t sin( 40πt ). y=0.3 e 0.2t sin( 40πt ). See Figure 20.

    Graph of f(t) = .3e^(-.2t)sin(40pi*t), which has a small amplitude but quickly decreases to the appearance of a straight line. The frequency is so high that, in this scaling, the function looks like a solid shape. The zoom in cut out of the graph shows the actual sinusoidal image of the function.
    Figure 20
  • Analysis

    A comparison of the last two examples illustrates how we choose between the sine or cosine functions to model sinusoidal criteria. We see that the cosine function is at the maximum displacement when t=0, t=0, and the sine function is at the equilibrium point when t=0. t=0. For example, consider the equation y=20 e 0.05t cos( π 2 t ) y=20 e 0.05t cos( π 2 t ) from Example 10. We can see from the graph that when t=0, y=20, t=0, y=20, which is the initial amplitude. Check this by setting t=0 t=0 in the cosine equation:

    y=20 e 0.05(0) cos( π 2 )(0) =20(1)(1) =20 y=20 e 0.05(0) cos( π 2 )(0) =20(1)(1) =20

    Using the sine function yields

    y=20 e 0.05(0) sin( π 2 )(0) =20(1)(0) =0 y=20 e 0.05(0) sin( π 2 )(0) =20(1)(0) =0

    Thus, cosine is the correct function.

    Try It #5

    Write the equation for damped harmonic motion given a=10,c=0.5, a=10,c=0.5, and p=2. p=2.

    Example 12

    Modeling the Oscillation of a Spring

    A spring measuring 10 inches in natural length is compressed by 5 inches and released. It oscillates once every 3 seconds, and its amplitude decreases by 30% every second. Find an equation that models the position of the spring t t seconds after being released.

    Answer

    The amplitude begins at 5 in. and deceases 30% each second. Because the spring is initially compressed, we will write A as a negative value. We can write the amplitude portion of the function as

    A( t )=5 ( 10.30 ) t A( t )=5 ( 10.30 ) t

    We put ( 10.30 ) t ( 10.30 ) t in the form e ct e ct as follows:

    0.7= e c c=ln.7 c=0.357 0.7= e c c=ln.7 c=0.357

    Now let’s address the period. The spring cycles through its positions every 3 seconds, this is the period, and we can use the formula to find omega.

    3= 2π ω ω= 2π 3 3= 2π ω ω= 2π 3

    The natural length of 10 inches is the midline. We will use the cosine function, since the spring starts out at its maximum displacement. This portion of the equation is represented as

    y=cos( 2π 3 t )+10 y=cos( 2π 3 t )+10

    Finally, we put both functions together. Our the model for the position of the spring at t t seconds is given as

    y=5 e 0.357t cos( 2π 3 t )+10 y=5 e 0.357t cos( 2π 3 t )+10

    See the graph in Figure 21.

    Graph of the function y = -5e^(-.35t)cos(2pi/3 t) + 10 from 0 to 24. It starts out as waves with a high amplitude and decreases to almost a straight line very quickly.
    Figure 21

    Try It #6

    A mass suspended from a spring is raised a distance of 5 cm above its resting position. The mass is released at time t=0 t=0 and allowed to oscillate. After 1 3 1 3 second, it is observed that the mass returns to its highest position. Find a function to model this motion relative to its initial resting position.

    Example 13

    Finding the Value of the Damping Constant c According to the Given Criteria

    A guitar string is plucked and vibrates in damped harmonic motion. The string is pulled and displaced 2 cm from its resting position. After 3 seconds, the displacement of the string measures 1 cm. Find the damping constant.

    Answer

    The displacement factor represents the amplitude and is determined by the coefficient a e ct a e ct in the model for damped harmonic motion. The damping constant is included in the term e ct . e ct . It is known that after 3 seconds, the local maximum measures one-half of its original value. Therefore, we have the equation

    a e c(t+3) = 1 2 a e ct a e c(t+3) = 1 2 a e ct

    Use algebra and the laws of exponents to solve for c. c.

    a e c(t+3) = 1 2 a e ct e ct e 3c = 1 2 e ct Divide out a. e 3c = 1 2 Divide out e ct . e 3c =2 Take reciprocals. a e c(t+3) = 1 2 a e ct e ct e 3c = 1 2 e ct Divide out a. e 3c = 1 2 Divide out e ct . e 3c =2 Take reciprocals.

    Then use the laws of logarithms.

    e 3c =2 3c=ln(2) c= ln(2) 3 e 3c =2 3c=ln(2) c= ln(2) 3

    The damping constant is ln(2) 3 . ln(2) 3 .

    Bounding Curves in Harmonic Motion

    Harmonic motion graphs may be enclosed by bounding curves. When a function has a varying amplitude, such that the amplitude rises and falls multiple times within a period, we can determine the bounding curves from part of the function.

    Example 14

    Graphing an Oscillating Cosine Curve

    Graph the function f( x )=cos(2πx)cos(16πx). f( x )=cos(2πx)cos(16πx).

    Answer

    The graph produced by this function will be shown in two parts. The first graph will be the exact function f( x ) f( x ) (see Figure 22), and the second graph is the exact function f( x ) f( x ) plus a bounding function (see Figure 23. The graphs look quite different.

    Graph of f(x) = cos(2pi*x)cos(16pi*x), a sinusoidal function that increases and decreases its amplitude periodically.
    Figure 22
    Graph of f(x) = cos(2pi*x)cos(16pi*x), a sinusoidal function that increases and decreases its amplitude periodically. There is also a bonding function drawn over it in red, which makes the whole image look like a DNA (double helix) piece stretched along the x-axis.
    Figure 23

    Analysis

    The curves y=cos(2πx) y=cos(2πx) and y=cos( 2πx ) y=cos( 2πx ) are bounding curves: they bound the function from above and below, tracing out the high and low points. The harmonic motion graph sits inside the bounding curves. This is an example of a function whose amplitude not only decreases with time, but actually increases and decreases multiple times within a period.

    Media

    Access these online resources for additional instruction and practice with trigonometric applications.

    7.6 Section Exercises

    Verbal

    1.

    Explain what types of physical phenomena are best modeled by sinusoidal functions. What are the characteristics necessary?

    2.

    What information is necessary to construct a trigonometric model of daily temperature? Give examples of two different sets of information that would enable modeling with an equation.

    3.

    If we want to model cumulative rainfall over the course of a year, would a sinusoidal function be a good model? Why or why not?

    4.

    Explain the effect of a damping factor on the graphs of harmonic motion functions.

    Algebraic

    For the following exercises, find a possible formula for the trigonometric function represented by the given table of values.

    5.
    x x y y
    0 0 4 4
    3 3 1 1
    6 6 2 2
    9 9 1 1
    12 12 4 4
    15 15 1 1
    18 18 2 2
    6.
    x x y y
    0 0 5 5
    2 2 1 1
    4 4 3 3
    6 6 1 1
    8 8 5 5
    10 10 1 1
    12 12 3 3
    7.
    x x y y
    0 0 2 2
    π 4 π 4 7 7
    π 2 π 2 2 2
    3π 4 3π 4 3 3
    π π 2 2
    5π 4 5π 4 7 7
    3π 2 3π 2 2 2
    8.
    x x y y
    0 0 1 1
    1 1 3 3
    2 2 7 7
    3 3 3 3
    4 4 1 1
    5 5 3 3
    6 6 7 7
    9.
    x x y y
    0 0 2 2
    1 1 4 4
    2 2 10 10
    3 3 4 4
    4 4 2 2
    5 5 4 4
    6 6 10 10
    10.
    x x y y
    0 0 5 5
    1 1 3 3
    2 2 5 5
    3 3 13 13
    4 4 5 5
    5 5 3 3
    6 6 5 5
    11.
    x x y y
    3 3 1 2 1 2
    2 2 1 1
    1 1 1 2 1 2
    0 0 0 0
    1 1 2 1 2 1
    2 2 1 1
    3 3 2 +1 2 +1
    12.
    x x y y
    1 1 3 2 3 2
    0 0 0 0
    1 1 2 3 2 3
    2 2 3 3 3 3
    3 3 1 1
    4 4 3 3
    5 5 2+ 3 2+ 3

    Graphical

    For the following exercises, graph the given function, and then find a possible physical process that the equation could model.

    13.

    f(x)=30cos( xπ 6 )20 cos 2 ( xπ 6 )+80[0,12] f(x)=30cos( xπ 6 )20 cos 2 ( xπ 6 )+80[0,12]

    14.

    f(x)=18cos( xπ 12 )5sin( xπ 12 )+100 f(x)=18cos( xπ 12 )5sin( xπ 12 )+100 on the interval [0,24] [0,24]

    15.

    f(x)=10sin( xπ 6 )+24tan( xπ 240 ) f(x)=10sin( xπ 6 )+24tan( xπ 240 ) on the interval [0,80] [0,80]

    Technology

    For the following exercise, construct a function modeling behavior and use a calculator to find desired results.

    16.

    A city’s average yearly rainfall is currently 20 inches and varies seasonally by 5 inches. Due to unforeseen circumstances, rainfall appears to be decreasing by 15% each year. How many years from now would we expect rainfall to initially reach 0 inches? Note, the model is invalid once it predicts negative rainfall, so choose the first point at which it goes below 0.

    Real-World Applications

    For the following exercises, construct a sinusoidal function with the provided information, and then solve the equation for the requested values.

    17.

    Outside temperatures over the course of a day can be modeled as a sinusoidal function. Suppose the high temperature of 105°F 105°F occurs at 5PM and the average temperature for the day is 85°F. 85°F. Find the temperature, to the nearest degree, at 9AM.

    18.

    Outside temperatures over the course of a day can be modeled as a sinusoidal function. Suppose the high temperature of 84°F 84°F occurs at 6PM and the average temperature for the day is 70°F. 70°F. Find the temperature, to the nearest degree, at 7AM.

    19.

    Outside temperatures over the course of a day can be modeled as a sinusoidal function. Suppose the temperature varies between 47°F 47°F and 63°F 63°F during the day and the average daily temperature first occurs at 10 AM. How many hours after midnight does the temperature first reach 51°F? 51°F?

    20.

    Outside temperatures over the course of a day can be modeled as a sinusoidal function. Suppose the temperature varies between 64°F 64°F and 86°F 86°F during the day and the average daily temperature first occurs at 12 AM. How many hours after midnight does the temperature first reach 70°F? 70°F?

    21.

    A Ferris wheel is 20 meters in diameter and boarded from a platform that is 2 meters above the ground. The six o’clock position on the Ferris wheel is level with the loading platform. The wheel completes 1 full revolution in 6 minutes. How much of the ride, in minutes and seconds, is spent higher than 13 meters above the ground?

    22.

    A Ferris wheel is 45 meters in diameter and boarded from a platform that is 1 meter above the ground. The six o’clock position on the Ferris wheel is level with the loading platform. The wheel completes 1 full revolution in 10 minutes. How many minutes of the ride are spent higher than 27 meters above the ground? Round to the nearest second

    23.

    The sea ice area around the North Pole fluctuates between about 6 million square kilometers on September 1 to 14 million square kilometers on March 1. Assuming a sinusoidal fluctuation, when are there less than 9 million square kilometers of sea ice? Give your answer as a range of dates, to the nearest day.

    24.

    The sea ice area around the South Pole fluctuates between about 18 million square kilometers in September to 3 million square kilometers in March. Assuming a sinusoidal fluctuation, when are there more than 15 million square kilometers of sea ice? Give your answer as a range of dates, to the nearest day.

    25.

    During a 90-day monsoon season, daily rainfall can be modeled by sinusoidal functions. If the rainfall fluctuates between a low of 2 inches on day 10 and 12 inches on day 55, during what period is daily rainfall more than 10 inches?

    26.

    During a 90-day monsoon season, daily rainfall can be modeled by sinusoidal functions. A low of 4 inches of rainfall was recorded on day 30, and overall the average daily rainfall was 8 inches. During what period was daily rainfall less than 5 inches?

    27.

    In a certain region, monthly precipitation peaks at 8 inches on June 1 and falls to a low of 1 inch on December 1. Identify the periods when the region is under flood conditions (greater than 7 inches) and drought conditions (less than 2 inches). Give your answer in terms of the nearest day.

    28.

    In a certain region, monthly precipitation peaks at 24 inches in September and falls to a low of 4 inches in March. Identify the periods when the region is under flood conditions (greater than 22 inches) and drought conditions (less than 5 inches). Give your answer in terms of the nearest day.

    For the following exercises, find the amplitude, period, and frequency of the given function.

    29.

    The displacement h(t) h(t) in centimeters of a mass suspended by a spring is modeled by the function h(t)=8sin(6πt), h(t)=8sin(6πt), where t t is measured in seconds. Find the amplitude, period, and frequency of this displacement.

    30.

    The displacement h(t) h(t) in centimeters of a mass suspended by a spring is modeled by the function h(t)=11sin(12πt), h(t)=11sin(12πt), where t t is measured in seconds. Find the amplitude, period, and frequency of this displacement.

    31.

    The displacement h(t) h(t) in centimeters of a mass suspended by a spring is modeled by the function h(t)=4cos( π 2 t ), h(t)=4cos( π 2 t ), where t t is measured in seconds. Find the amplitude, period, and frequency of this displacement.

    For the following exercises, construct an equation that models the described behavior.

    32.

    The displacement h(t), h(t), in centimeters, of a mass suspended by a spring is modeled by the function h(t)=−5cos( 60πt ), h(t)=−5cos( 60πt ), where t t is measured in seconds. Find the amplitude, period, and frequency of this displacement.

    For the following exercises, construct an equation that models the described behavior.

    33.

    A deer population oscillates 19 above and below average during the year, reaching the lowest value in January. The average population starts at 800 deer and increases by 160 each year. Find a function that models the population, P, P, in terms of months since January, t. t.

    34.

    A rabbit population oscillates 15 above and below average during the year, reaching the lowest value in January. The average population starts at 650 rabbits and increases by 110 each year. Find a function that models the population, P, P, in terms of months since January, t. t.

    35.

    A muskrat population oscillates 33 above and below average during the year, reaching the lowest value in January. The average population starts at 900 muskrats and increases by 7% each month. Find a function that models the population, P, P, in terms of months since January, t. t.

    36.

    A fish population oscillates 40 above and below average during the year, reaching the lowest value in January. The average population starts at 800 fish and increases by 4% each month. Find a function that models the population, P, P, in terms of months since January, t. t.

    37.

    A spring attached to the ceiling is pulled 10 cm down from equilibrium and released. The amplitude decreases by 15% each second. The spring oscillates 18 times each second. Find a function that models the distance, D, D, the end of the spring is from equilibrium in terms of seconds, t, t, since the spring was released.

    38.

    A spring attached to the ceiling is pulled 7 cm down from equilibrium and released. The amplitude decreases by 11% each second. The spring oscillates 20 times each second. Find a function that models the distance, D, D, the end of the spring is from equilibrium in terms of seconds, t, t, since the spring was released.

    39.

    A spring attached to the ceiling is pulled 17 cm down from equilibrium and released. After 3 seconds, the amplitude has decreased to 13 cm. The spring oscillates 14 times each second. Find a function that models the distance, D, D, the end of the spring is from equilibrium in terms of seconds, t, t, since the spring was released.

    40.

    A spring attached to the ceiling is pulled 19 cm down from equilibrium and released. After 4 seconds, the amplitude has decreased to 14 cm. The spring oscillates 13 times each second. Find a function that models the distance, D, D, the end of the spring is from equilibrium in terms of seconds, t, t, since the spring was released.

    For the following exercises, create a function modeling the described behavior. Then, calculate the desired result using a calculator.

    41.

    A certain lake currently has an average trout population of 20,000. The population naturally oscillates above and below average by 2,000 every year. This year, the lake was opened to fishermen. If fishermen catch 3,000 fish every year, how long will it take for the lake to have no more trout?

    42.

    Whitefish populations are currently at 500 in a lake. The population naturally oscillates above and below by 25 each year. If humans overfish, taking 4% of the population every year, in how many years will the lake first have fewer than 200 whitefish?

    43.

    A spring attached to a ceiling is pulled down 11 cm from equilibrium and released. After 2 seconds, the amplitude has decreased to 6 cm. The spring oscillates 8 times each second. Find when the spring first comes between 0.1 0.1 and 0.1 cm, 0.1 cm, effectively at rest.

    44.

    A spring attached to a ceiling is pulled down 21 cm from equilibrium and released. After 6 seconds, the amplitude has decreased to 4 cm. The spring oscillates 20 times each second. Find when the spring first comes between 0.1 0.1 and 0.1 cm, 0.1 cm, effectively at rest.

    45.

    Two springs are pulled down from the ceiling and released at the same time. The first spring, which oscillates 8 times per second, was initially pulled down 32 cm from equilibrium, and the amplitude decreases by 50% each second. The second spring, oscillating 18 times per second, was initially pulled down 15 cm from equilibrium and after 4 seconds has an amplitude of 2 cm. Which spring comes to rest first, and at what time? Consider “rest” as an amplitude less than 0.1 cm. 0.1 cm.

    46.

    Two springs are pulled down from the ceiling and released at the same time. The first spring, which oscillates 14 times per second, was initially pulled down 2 cm from equilibrium, and the amplitude decreases by 8% each second. The second spring, oscillating 22 times per second, was initially pulled down 10 cm from equilibrium and after 3 seconds has an amplitude of 2 cm. Which spring comes to rest first, and at what time? Consider “rest” as an amplitude less than 0.1 cm. 0.1 cm.

    Extensions

    47.

    A plane flies 1 hour at 150 mph at 22 22 east of north, then continues to fly for 1.5 hours at 120 mph, this time at a bearing of 112 112 east of north. Find the total distance from the starting point and the direct angle flown north of east.

    48.

    A plane flies 2 hours at 200 mph at a bearing of 60 , 60 , then continues to fly for 1.5 hours at the same speed, this time at a bearing of 150 . 150 . Find the distance from the starting point and the bearing from the starting point. Hint: bearing is measured counterclockwise from north.

    For the following exercises, find a function of the form y=a b x +csin( π 2 x ) y=a b x +csin( π 2 x ) that fits the given data.

    49.
    x x 0 1 2 3
    y y 6 29 96 379
    50.
    x x 0 1 2 3
    y y 6 34 150 746
    51.
    x x 0 1 2 3
    y y 4 0 16 -40

    For the following exercises, find a function of the form y=a b x cos( π 2 x )+c y=a b x cos( π 2 x )+c that fits the given data.

    52.
    x x 0 1 2 3
    y y 11 3 1 3
    53.
    x x 0 1 2 3
    y y 4 1 −11 1

    This page titled 7.7: Modeling with Trigonometric Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.