Skip to content
Modeling with Trigonometric Functions

Modeling with Trigonometric Functions

By the end of this section, you will be able to:

  • Determine the amplitude and period of sinusoidal functions
  • Model equations and graph sinusoidal functions
  • Model periodic behavior
  • Model harmonic motion functions

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 that the period of the sine function and the cosine function is 2π2\pi. In other words, for any value of xx,

sin(x±2πk)=sinxandcos(x±2πk)=cosxwhere k is an integer\sin(x\pm2\pi k)=\sin x\quad\text{and}\quad\cos(x\pm2\pi k)=\cos x\quad\text{where }k\text{ is an integer}

Standard Form of Sinusoidal Equations. The general forms of a sinusoidal equation are given as

y=Asin(BtC)+Dory=Acos(BtC)+Dy=A\sin(Bt-C)+D\quad\text{or}\quad y=A\cos(Bt-C)+D

where amplitude=A\text{amplitude}=|A|, BB is related to period such that the period=2πB\text{period}=\tfrac{2\pi}{B}, CC is the phase shift such that CB\tfrac{C}{B} denotes the horizontal shift, and DD represents the vertical shift from the graph’s parent graph.

Note that the models are sometimes written as y=asin(ωt±C)+Dy=a\sin(\omega t\pm C)+D or y=acos(ωt±C)+Dy=a\cos(\omega t\pm C)+D, and period is given as 2πω\tfrac{2\pi}{\omega}.

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. Show the transformation of the graph of y=sinxy=\sin x into the graph of y=2sin(4xπ2)+2y=2\sin\left(4x-\tfrac{\pi}{2}\right)+2.

Solution. Consider the series of graphs below and the way each change to the equation changes the image.

(a) The basic graph of y=sinxy=\sin x.

(b) Changing the amplitude from 11 to 22 generates the graph of y=2sinxy=2\sin x.

(c) The period of the sine function changes with the value of BB, such that period=2πB\text{period}=\tfrac{2\pi}{B}. Here we have B=4B=4, which translates to a period of π2\tfrac{\pi}{2}. The graph completes one full cycle in π2\tfrac{\pi}{2} units.

(d) The graph displays a horizontal shift equal to CB\tfrac{C}{B}, or π24=π8\tfrac{\tfrac{\pi}{2}}{4}=\tfrac{\pi}{8}.

(e) Finally, the graph is shifted vertically by the value of DD. In this case, the graph is shifted up by 22 units.

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

y=2sin(14x)y=2\sin\left(\tfrac14 x\right)y=3sin(2x+π2)y=-3\sin\left(2x+\tfrac{\pi}{2}\right)y=cosx+3y=\cos x+3

Solution.y=2sin(14x)y=2\sin\left(\tfrac14 x\right) involves sine, so we use the form y=Asin(Bt+C)+Dy=A\sin(Bt+C)+D.

We know that A|A| is the amplitude, so the amplitude is 22. Period is 2πB\tfrac{2\pi}{B}, so the period is

2πB=2π14=8π \begin{array}{lrcl} & \tfrac{2\pi}{B} &=& \tfrac{2\pi}{\tfrac14} \\[4pt] & &=& 8\pi \end{array}

See the graph below.

y=3sin(2x+π2)y=-3\sin\left(2x+\tfrac{\pi}{2}\right) involves sine, so we use the form y=Asin(BtC)+Dy=A\sin(Bt-C)+D.

Amplitude is A|A|, so the amplitude is 3=3|-3|=3. Since AA is negative, the graph is reflected over the xx-axis. Period is 2πB\tfrac{2\pi}{B}, so the period is

2πB=2π2=π\tfrac{2\pi}{B}=\tfrac{2\pi}{2}=\pi

The graph is shifted to the left by CB=π22=π4\tfrac{C}{B}=\tfrac{\tfrac{\pi}{2}}{2}=\tfrac{\pi}{4} units. See below.

y=cosx+3y=\cos x+3 involves cosine, so we use the form y=Acos(Bt±C)+Dy=A\cos(Bt\pm C)+D. Amplitude is A|A|, so the amplitude is 11. The period is 2π2\pi. See below. This is the standard cosine function shifted up three units.

What are the amplitude and period of the functiony=3cos(3πx)y=3\cos(3\pi x)? Give the amplitude, then the period, separated by a comma.

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 14\tfrac14 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 xx-intercepts. For example, suppose we want to graph the function y=cosθy=\cos\theta. We know that the period is 2π2\pi, so we find the interval between key points as follows.

2π4=π2\tfrac{2\pi}{4}=\tfrac{\pi}{2}

Starting with θ=0\theta=0, we calculate the first yy-value, add the length of the interval π2\tfrac{\pi}{2} to 00, and calculate the second yy-value. We then add π2\tfrac{\pi}{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 the one below, we can see these key points clearly on the graph shown after it.

θ\theta00π2\tfrac{\pi}{2}π\pi3π2\tfrac{3\pi}{2}2π2\pi
y=cosθy=\cos\theta11001-10011

Example. Graph the function y=4cos(πx)y=-4\cos(\pi x) using amplitude, period, and key points.

Solution. The amplitude is 4=4|-4|=4. The period is 2πω=2ππ=2\tfrac{2\pi}{\omega}=\tfrac{2\pi}{\pi}=2. (Recall that we sometimes refer to BB as ω\omega.) 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 44. Make a table similar to the one below, starting with x=0x=0 and then adding 12\tfrac12 successively to xx and calculate yy. See the graph after it.

xx0012\tfrac121132\tfrac3222
y=4cos(πx)y=-4\cos(\pi x)4-40044004-4

Fory=3sin(3x)y=3\sin(3x), at whatxx-value (forx>0x>0) does the function first reach its maximum?

Modeling Periodic Behavior

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

Example. The average monthly temperatures for a small town in Oregon are given in the table below. Find a sinusoidal function of the form y=Asin(BtC)+Dy=A\sin(Bt-C)+D that fits the data (round to the nearest tenth) and sketch the graph.

MonthTemperature, F^{\circ}\text{F}
January42.542.5
February44.544.5
March48.548.5
April52.552.5
May5858
June6363
July68.568.5
August6969
September64.564.5
October55.555.5
November46.546.5
December43.543.5

Solution. Recall that amplitude is found using the formula

A=largest valuesmallest value2A=\tfrac{\text{largest value}-\text{smallest value}}{2}

Thus, the amplitude is

A=6942.52=13.25 \begin{array}{lrcl} & |A| &=& \tfrac{69-42.5}{2} \\[4pt] & &=& 13.25 \end{array}

The data covers a period of 1212 months, so 2πB=12\tfrac{2\pi}{B}=12 which gives B=2π12=π6B=\tfrac{2\pi}{12}=\tfrac{\pi}{6}.

The vertical shift is found using the following equation.

D=highest value+lowest value2D=\tfrac{\text{highest value}+\text{lowest value}}{2}

Thus, the vertical shift is

D=69+42.52=55.8 \begin{array}{lrcl} & D &=& \tfrac{69+42.5}{2} \\[4pt] & &=& 55.8 \end{array}

So far, we have the equation y=13.3sin(π6xC)+55.8y=13.3\sin\left(\tfrac{\pi}{6}x-C\right)+55.8.

To find the horizontal shift, we input the xx and yy values for the first month and solve for CC.

42.5=13.3sin(π6(1)C)+55.813.3=13.3sin(π6C)1=sin(π6C)(sinθ=1θ=π2)π6C=π2C=π6+π2=2π3 \begin{array}{lrcl} & 42.5 &=& 13.3\sin\left(\tfrac{\pi}{6}(1)-C\right)+55.8 \\[4pt] & -13.3 &=& 13.3\sin\left(\tfrac{\pi}{6}-C\right) \\[4pt] & -1 &=& \sin\left(\tfrac{\pi}{6}-C\right)\qquad\left(\sin\theta=-1\to\theta=-\tfrac{\pi}{2}\right) \\[4pt] & \tfrac{\pi}{6}-C &=& -\tfrac{\pi}{2} \\[4pt] & C &=& \tfrac{\pi}{6}+\tfrac{\pi}{2} \\[4pt] & &=& \tfrac{2\pi}{3} \end{array}

We have the equation y=13.3sin(π6x2π3)+55.8y=13.3\sin\left(\tfrac{\pi}{6}x-\tfrac{2\pi}{3}\right)+55.8. See the graph below.

Example. The hour hand of the large clock on the wall in Union Station measures 2424 inches in length. At noon, the tip of the hour hand is 3030 inches from the ceiling. At 3 PM, the tip is 5454 inches from the ceiling, and at 6 PM, 7878 inches. At 9 PM, it is again 5454 inches from the ceiling, and at midnight, the tip of the hour hand returns to its original position 3030 inches from the ceiling. Let yy equal the distance from the tip of the hour hand to the ceiling xx hours after noon. Find the equation that models the motion of the clock and sketch the graph.

Solution. Begin by making a table of values as shown below.

xxyyPoints to plot
Noon3030 in(0,30)(0,30)
3 PM5454 in(3,54)(3,54)
6 PM7878 in(6,78)(6,78)
9 PM5454 in(9,54)(9,54)
Midnight3030 in(12,30)(12,30)

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

A=78302=24 \begin{array}{lrcl} & |A| &=& \left|\tfrac{78-30}{2}\right| \\[4pt] & &=& 24 \end{array}

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

B=2π12=π6 \begin{array}{lrcl} & B &=& \tfrac{2\pi}{12} \\[4pt] & &=& \tfrac{\pi}{6} \end{array}

The vertical shift is

D=78+302=54 \begin{array}{lrcl} & D &=& \tfrac{78+30}{2} \\[4pt] & &=& 54 \end{array}

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

y=24cos(π6x)+54y=-24\cos\left(\tfrac{\pi}{6}x\right)+54

See the graph below.

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

Solution. As the water level varies from 77 ft to 1515 ft, we can calculate the amplitude as

A=1572=4 \begin{array}{lrcl} & |A| &=& \left|\tfrac{15-7}{2}\right| \\[4pt] & &=& 4 \end{array}

The cycle repeats every 1212 hours; therefore, BB is

2π12=π6\tfrac{2\pi}{12}=\tfrac{\pi}{6}

There is a vertical translation of 15+72=11\tfrac{15+7}{2}=11. Since the value of the function is at a maximum at t=0t=0, we will use the cosine function, with the positive value for AA.

y=4cos(π6t)+11y=4\cos\left(\tfrac{\pi}{6}t\right)+11

See the graph below.

The daily temperature in the month of March in a certain city varies from a low of24F24^\circ\text{F}to a high of40F40^\circ\text{F}. Lettingt=0t=0correspond to noon and taking the daily high to occur at 6 PM, write a sinusoidal functiony=Asin(Bt)+Dy=A\sin(Bt)+D, withB>0B>0andttin hours, inF^\circ\text{F}, that models the daily temperature.

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

Solution. The period is given by

2πω=2π160π=180 \begin{array}{lrcl} & \tfrac{2\pi}{\omega} &=& \tfrac{2\pi}{160\pi} \\[4pt] & &=& \tfrac{1}{80} \end{array}

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 \begin{array}{lrcl} & \tfrac{\omega}{2\pi} &=& \tfrac{160\pi}{2\pi} \\[4pt] & &=& 80 \end{array}

See the graph below.

Analysis. Blood pressure of 12080\tfrac{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 120120 and a minimum of 8080.

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=0t=0, d=0d=0.

Simple Harmonic Motion. We see that simple harmonic motion equations are given in terms of displacement:

d=acos(ωt)ord=asin(ωt)d=a\cos(\omega t)\quad\text{or}\quad d=a\sin(\omega t)

where a|a| is the amplitude, 2πω\tfrac{2\pi}{\omega} is the period, and ω2π\tfrac{\omega}{2\pi} is the frequency, or the number of cycles per unit of time.

Example. 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.

y=5sin(3t)y=5\sin(3t)y=6cos(πt)y=6\cos(\pi t)y=5cos(π2t)y=5\cos\left(\tfrac{\pi}{2}t\right)

Solution.y=5sin(3t)y=5\sin(3t)

  1. The maximum displacement is equal to the amplitude, a|a|, which is 55.
  2. The period is 2πω=2π3\tfrac{2\pi}{\omega}=\tfrac{2\pi}{3}.
  3. The frequency is given as ω2π=32π\tfrac{\omega}{2\pi}=\tfrac{3}{2\pi}.
  4. See the graph below. The graph indicates the five key points.

y=6cos(πt)y=6\cos(\pi t)

  1. The maximum displacement is 66.
  2. The period is 2πω=2ππ=2\tfrac{2\pi}{\omega}=\tfrac{2\pi}{\pi}=2.
  3. The frequency is ω2π=π2π=12\tfrac{\omega}{2\pi}=\tfrac{\pi}{2\pi}=\tfrac12.
  4. See the graph below.

y=5cos(π2t)y=5\cos\left(\tfrac{\pi}{2}t\right)

  1. The maximum displacement is 55.
  2. The period is 2πω=2ππ2=4\tfrac{2\pi}{\omega}=\tfrac{2\pi}{\tfrac{\pi}{2}}=4.
  3. The frequency is 14\tfrac14.
  4. See the graph below.

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 tt is given as

f(t)=aectsin(ωt)orf(t)=aectcos(ωt)f(t)=ae^{-ct}\sin(\omega t)\quad\text{or}\quad f(t)=ae^{-ct}\cos(\omega t)

where cc is a damping factor, a|a| is the initial displacement and 2πω\tfrac{2\pi}{\omega} is the period.

Example. 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.50.5 cycles per second. Both have an initial displacement of 1010 cm. The first has a damping factor of 0.50.5 and the second has a damping factor of 0.10.1.

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

We are given the frequency f=ω2πf=\tfrac{\omega}{2\pi} of 0.50.5 cycles per second. Thus,

ω2π=0.5ω=(0.5)2π=π \begin{array}{lrcl} & \tfrac{\omega}{2\pi} &=& 0.5 \\[4pt] & \omega &=& (0.5)2\pi \\[4pt] & &=& \pi \end{array}

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

f(t)=10e0.5tcos(πt)f(t)=10e^{-0.5t}\cos(\pi t)

models the motion of the first spring system. The graph below models the motion of the first spring system.

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

f(t)=10e0.1tcos(πt)f(t)=10e^{-0.1t}\cos(\pi t)

The graph below models the motion of the second spring system.

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

The equationf(t)=5e6tcos(4t)f(t)=5e^{-6t}\cos(4t)represents damped harmonic motion. Using the modelf(t)=aectcos(ωt)f(t)=ae^{-ct}\cos(\omega t), findaa,cc, and the frequencyω2π\tfrac{\omega}{2\pi}, in that order, separated by commas.

Example. Find and graph a function of the form y=aectcos(ωt)y=ae^{-ct}\cos(\omega t) that models the information given.

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

Solution. Substitute the given values into the model. Recall that period is 2πω\tfrac{2\pi}{\omega} and frequency is ω2π\tfrac{\omega}{2\pi}.

y=20e0.05tcos(π2t)y=20e^{-0.05t}\cos\left(\tfrac{\pi}{2}t\right). See the graph below.

y=2e1.5tcos(6πt)y=2e^{-1.5t}\cos(6\pi t). See the graph below.

Example. Find and graph a function of the form y=aectsin(ωt)y=ae^{-ct}\sin(\omega t) that models the information given.

a=7a=7, c=10c=10, p=π6p=\tfrac{\pi}{6}a=0.3a=0.3, c=0.2c=0.2, f=20f=20

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

ⓐ As period is 2πω\tfrac{2\pi}{\omega}, we have

π6=2πωωπ=6(2π)ω=12 \begin{array}{lrcl} & \tfrac{\pi}{6} &=& \tfrac{2\pi}{\omega} \\[4pt] & \omega\pi &=& 6(2\pi) \\[4pt] & \omega &=& 12 \end{array}

The damping factor is given as 1010 and the amplitude is 77. Thus, the model is y=7e10tsin(12t)y=7e^{-10t}\sin(12t). See the graph below.

ⓑ As frequency is ω2π\tfrac{\omega}{2\pi}, we have

20=ω2πω=40π \begin{array}{lrcl} & 20 &=& \tfrac{\omega}{2\pi} \\[4pt] & \omega &=& 40\pi \end{array}

The damping factor is given as 0.20.2 and the amplitude is 0.30.3. The model is y=0.3e0.2tsin(40πt)y=0.3e^{-0.2t}\sin(40\pi t). Because the oscillations at this frequency are so tightly packed, the curve reads at ordinary scale as the two bounding envelope curves y=±0.3e0.2ty=\pm0.3e^{-0.2t} closing in on the axis, a rapid decay within the first couple of seconds; the source’s own printed figure additionally shows a magnified inset of a short window revealing the individual sinusoidal cycles hidden inside that envelope.

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=0t=0, and the sine function is at the equilibrium point when t=0t=0. For example, consider the equation y=20e0.05tcos(π2t)y=20e^{-0.05t}\cos\left(\tfrac{\pi}{2}t\right) from the previous example. We can see from the graph that when t=0t=0, y=20y=20, which is the initial amplitude. Check this by setting t=0t=0 in the cosine equation:

y=20e0.05(0)cos(π2(0))=20(1)(1)=20 \begin{array}{lrcl} & y &=& 20e^{-0.05(0)}\cos\left(\tfrac{\pi}{2}(0)\right) \\[4pt] & &=& 20(1)(1) \\[4pt] & &=& 20 \end{array}

Using the sine function yields

y=20e0.05(0)sin(π2(0))=20(1)(0)=0 \begin{array}{lrcl} & y &=& 20e^{-0.05(0)}\sin\left(\tfrac{\pi}{2}(0)\right) \\[4pt] & &=& 20(1)(0) \\[4pt] & &=& 0 \end{array}

Thus, cosine is the correct function.

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

Example. A spring measuring 1010 inches in natural length is compressed by 55 inches and released. It oscillates once every 33 seconds, and its amplitude decreases by 30%30\% every second. Find an equation that models the position of the spring tt seconds after being released.

Solution. The amplitude begins at 55 in. and decreases 30%30\% each second. Because the spring is initially compressed, we will write AA as a negative value. We can write the amplitude portion of the function as

A(t)=5(10.30)tA(t)=5(1-0.30)^{t}

We put (10.30)t(1-0.30)^{t} in the form ecte^{ct} as follows:

0.7=ecc=ln0.7=0.357 \begin{array}{lrcl} & 0.7 &=& e^{c} \\[4pt] & c &=& \ln 0.7 \\[4pt] & &=& -0.357 \end{array}

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

3=2πωω=2π3 \begin{array}{lrcl} & 3 &=& \tfrac{2\pi}{\omega} \\[4pt] & \omega &=& \tfrac{2\pi}{3} \end{array}

The natural length of 1010 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π3t)+10y=\cos\left(\tfrac{2\pi}{3}t\right)+10

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

y=5e0.357tcos(2π3t)+10y=-5e^{-0.357t}\cos\left(\tfrac{2\pi}{3}t\right)+10

See the graph below.

A mass suspended from a spring is raised55cm above its resting position and released at timet=0t=0. Assuming no damping, it is observed that the mass first returns to its highest position after13\tfrac13second. Find a function to model this motion relative to its initial resting position.

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

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

aec(t+3)=12aectae^{-c(t+3)}=\tfrac12 ae^{-ct}

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

Divide out a.ecte3c=12ectDivide out ect.e3c=12Take reciprocals.e3c=2 \begin{array}{lrcl} \text{Divide out }a. & e^{-ct}\cdot e^{-3c} &=& \tfrac12 e^{-ct} \\[4pt] \text{Divide out }e^{-ct}. & e^{-3c} &=& \tfrac12 \\[4pt] \text{Take reciprocals.} & e^{3c} &=& 2 \end{array}

Then use the laws of logarithms.

e3c=23c=ln(2)c=ln(2)3 \begin{array}{lrcl} & e^{3c} &=& 2 \\[4pt] & 3c &=& \ln(2) \\[4pt] & c &=& \tfrac{\ln(2)}{3} \end{array}

The damping constant is ln(2)3\tfrac{\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. Graph the function f(x)=cos(2πx)cos(16πx)f(x)=\cos(2\pi x)\cos(16\pi x).

Solution. The graph produced by this function will be shown in two parts. The first graph will be the exact function f(x)f(x), shown below, and the second graph is the exact function f(x)f(x) plus a bounding function, shown after it. The graphs look quite different.

Analysis. The curves y=cos(2πx)y=\cos(2\pi x) and y=cos(2πx)y=-\cos(2\pi 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.

Key equations

standard form of sinusoidal equationy=Asin(BtC)+Dy=A\sin(Bt-C)+D or y=Acos(BtC)+Dy=A\cos(Bt-C)+D
simple harmonic motiond=acos(ωt)d=a\cos(\omega t) or d=asin(ωt)d=a\sin(\omega t)
damped harmonic motionf(t)=aectsin(ωt)f(t)=ae^{-ct}\sin(\omega t) or f(t)=aectcos(ωt)f(t)=ae^{-ct}\cos(\omega t)

Key concepts

  • Sinusoidal functions are represented by the sine and cosine graphs. In standard form, we can find the amplitude, period, and horizontal and vertical shifts.
  • Use key points to graph a sinusoidal function. The five key points include the minimum and maximum values and the midline values.
  • Periodic functions can model events that reoccur in set cycles, like the phases of the moon, the hands on a clock, and the seasons in a year.
  • Harmonic motion functions are modeled from given data. Similar to periodic motion applications, harmonic motion requires a restoring force. Examples include gravitational force and spring motion activated by weight.
  • Damped harmonic motion is a form of periodic behavior affected by a damping factor. Energy dissipating factors, like friction, cause the displacement of the object to shrink.
  • Bounding curves delineate the graph of harmonic motion with variable maximum and minimum values.

Key terms

amplitude — the distance from the midline to the maximum or minimum value of a sinusoidal function. damped harmonic motion — a form of harmonic motion affected by a damping factor that dissipates energy, causing the local maximum and minimum values of the displacement to shrink toward the equilibrium value. frequency — the reciprocal of the period, ω2π\tfrac{\omega}{2\pi}, giving the number of cycles per unit of time. harmonic motion — a kind of periodic motion attributable to a restoring force such as spring tension or gravity. midline — the average value of a sinusoidal function, the vertical shift from the parent graph. periodic motion — motion that repeats itself in a fixed time period. simple harmonic motion — a periodic motion, given as d=acos(ωt)d=a\cos(\omega t) or d=asin(ωt)d=a\sin(\omega t), that involves a restoring force but assumes the motion will continue forever.

Practice

Determine the amplitude and period of sinusoidal functions

The displacementh(t)h(t), in centimeters, of a mass suspended by a spring is modeled by the functionh(t)=8sin(6πt)h(t)=8\sin(6\pi t), wherettis measured in seconds. Find the amplitude (in cm) and the period (in seconds) of this displacement, in that order, separated by a comma.

The displacementh(t)h(t), in centimeters, of a mass suspended by a spring is modeled by the functionh(t)=4cos(π2t)h(t)=4\cos\left(\tfrac{\pi}{2}t\right), wherettis measured in seconds. Find the amplitude (in cm) and the period (in seconds) of this displacement, in that order, separated by a comma.

Model equations and graph sinusoidal functions

Find a possible formula for the trigonometric function represented by the table below.

xx00336699121215151818
yy4-41-1221-14-41-122

Find a possible formulay=f(x)y=f(x)for the trigonometric function represented by the table above.

Find a possible formula for the trigonometric function represented by the table below.

xx00π4\tfrac{\pi}{4}π2\tfrac{\pi}{2}3π4\tfrac{3\pi}{4}π\pi5π4\tfrac{5\pi}{4}3π2\tfrac{3\pi}{2}
yy2277223-3227722

Find a possible formulay=f(x)y=f(x)for the trigonometric function represented by the table above.

Model periodic behavior

Outside temperatures over the course of a day can be modeled as a sinusoidal function. Suppose the high temperature of105F105^\circ\text{F}occurs at 5 PM and the average temperature for the day is85F85^\circ\text{F}. Find the temperature, to the nearest degree (inF^\circ\text{F}), at 9 AM.

Outside temperatures over the course of a day can be modeled as a sinusoidal function. Suppose the temperature varies between47F47^\circ\text{F}and63F63^\circ\text{F}during the day and the average daily temperature first occurs at 10 AM. How many hours after midnight does the temperature first reach51F51^\circ\text{F}?

Model harmonic motion functions

A spring attached to the ceiling is pulled1010cm down from equilibrium and released. The amplitude decreases by15%15\%each second. The spring oscillates1818times each second. Find a functionD(t)D(t)that models the distance, in cm, the end of the spring is from equilibriumttseconds after being released.

A spring attached to the ceiling is pulled1717cm down from equilibrium and released. After33seconds, the amplitude has decreased to1313cm. The spring oscillates1414times each second. Find a functionD(t)D(t)that models the distance, in cm, the end of the spring is from equilibriumttseconds after being released. Round the decay base to four decimal places.


This section is adapted from Precalculus 2e, Section 7.6: Modeling with Trigonometric Functions by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: omitted the decorative photograph of a clock face (Figure 1); recreated all twenty-five instructional figures as accessible spec-first SVGs built from exact coordinates rather than pasted images — the five-panel transformation sequence of Example 1 (simplified its dense every-π2\tfrac{\pi}{2} axis labels to every-π\pi, since the shape and endpoints carry the instructional content, the same simplification the section 6.3 page already applies to a comparable overlay figure); the amplitude/period graphs of Example 2; the key-point table graphs of the “Finding Equations” discussion and Example 3; the temperature, clock, and tide models of Examples 4–6 (each recreated with its labeled data points and dashed midline, omitting the source’s additional dashed guide-line grid connecting every point to both axes as a non-mathematical layout device); the blood pressure graph of Example 7; the three key-point graphs of Example 8; the six damped-harmonic-motion graphs of Examples 9–11, each drawn as a polylines trace sampled at high resolution directly from its exact printed formula (recorded here for verification: 10e0.5tcos(πt)10e^{-0.5t}\cos(\pi t); 10e0.1tcos(πt)10e^{-0.1t}\cos(\pi t); 20e0.05tcos(π2t)20e^{-0.05t}\cos\left(\tfrac{\pi}{2}t\right); 2e1.5tcos(6πt)2e^{-1.5t}\cos(6\pi t); 7e10tsin(12t)7e^{-10t}\sin(12t); 0.3e0.2tsin(40πt)0.3e^{-0.2t}\sin(40\pi t)) — the sixth (Example 11b’s 0.3e0.2tsin(40πt)0.3e^{-0.2t}\sin(40\pi t), source Figure 20) is omitted entirely and described in the adjoining prose instead, since at that frequency the un-magnified curve is visually indistinguishable from its envelope and apfigure has no primitive for the magnified callout-box inset the source relies on; the spring-oscillation graph of Example 12, similarly a polylines trace of 5e0.357tcos(2π3t)+10-5e^{-0.357t}\cos\left(\tfrac{2\pi}{3}t\right)+10; and the two oscillating-cosine graphs of Example 14 (f(x)=cos(2πx)cos(16πx)f(x)=\cos(2\pi x)\cos(16\pi x), plus its two cosine bounding curves), the first a polylines trace and the second the same trace with the two exact cosine-kind bounding curves overlaid. Omitted the “Access these online resources” media link. The March-temperature Try It adds “taking the daily high to occur at 6 PM” and “B>0B>0, tt in hours” to its question: the source states only the low and the high, which leaves the sign of AA (equivalently, whether the high falls at 6 AM or 6 PM) undetermined while its own key assumes +8+8, and the engine grades one keyed function strictly, so the constraint the key already assumes is stated rather than letting an equally valid 8sin(π12t)+32-8\sin\left(\tfrac{\pi}{12}t\right)+32 be marked wrong. Every retained Try It became a real fillin component: the two-value “amplitude and period” Try It after Example 2 and the “find aa, cc, and the frequency” Try It after Example 9 are each graded as a named-order comma-separated list, since the source itself asks for multiple values from one item; the key-points Try It after Example 3 (originally “graph y=3sin(3x)y=3\sin(3x) using its five key points”) was recast asking for the xx-value of the curve’s first maximum, the one key point a fill-in can grade without handing back the whole answer table. The source’s own printed solution to the damped-harmonic-motion Try It after Example 9 — “initial displacement =6=6, damping constant =6=-6” for f(t)=5e6tcos(4t)f(t)=5e^{-6t}\cos(4t) — contradicts the module’s own model f(t)=aectcos(ωt)f(t)=ae^{-ct}\cos(\omega t), under which the printed equation reads a=5a=5 (not 66) and, by the sign convention the module uses everywhere else it solves for cc, c=6c=6 (not 6-6); the question here was reworded to name the model explicitly and key the mathematically correct values a=5a=5, c=6c=6, frequency 2π\tfrac{2}{\pi} (frequency was already correct as printed) rather than ship an answer that would mark a correct learner wrong. Adapted eight selected end-of-section exercises — two amplitude/period reads, two table-to-formula fits, two periodic-behavior word problems, and two damped-spring word problems — into eight interactive fill-ins in a closing Practice block, one pair per objective.