# 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}}} \)

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.

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\pi .$ In other words, for any value of $x,$

$$\mathrm{sin}\left(x\pm 2\pi k\right)=\mathrm{sin}\phantom{\rule{0.3em}{0ex}}x\text{and}\mathrm{cos}\left(x\pm 2\pi k\right)=\mathrm{cos}\phantom{\rule{0.3em}{0ex}}x\text{where}k\text{is an integer}$$

### Standard Form of Sinusoidal Equations

The general forms of a sinusoidal equation are given as

$$y=A\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(Bt-C\right)+D\text{or}y=A\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(Bt-C\right)+D$$

where $\text{amplitude}=\left|A\right|,B$ is related to period such that the $\text{period}=\frac{2\pi}{B},C$ is the phase shift such that $\frac{C}{B}$ denotes the horizontal shift, and $D$ represents the vertical shift from the graph’s parent graph.

Note that the models are sometimes written as $y=a\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\omega \phantom{\rule{0.3em}{0ex}}t\pm C\right)+D$ or $y=a\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\omega \phantom{\rule{0.3em}{0ex}}t\pm C\right)+D,$ and period is given as $\frac{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 1

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

Show the transformation of the graph of $y=\mathrm{sin}\phantom{\rule{0.3em}{0ex}}x$ into the graph of $y=2\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(4x-\frac{\pi}{2}\right)+2.$

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

### Example 2

#### Finding the Amplitude and Period of a Function

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

- ⓐⓐ $y=2\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{1}{4}x\right)$
- ⓑⓑ $y=\mathrm{-3}\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(2x+\frac{\pi}{2}\right)$
- ⓒⓒ $y=\mathrm{cos}\phantom{\rule{0.3em}{0ex}}x+3$

**Answer**We will solve these problems according to the models.

- ⓐ $y=2\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{1}{4}x\right)$ involves sine, so we use the form
$$y=A\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(Bt+C\right)+D$$

We know that $\left|A\right|$ is the amplitude, so the amplitude is 2. Period is $\frac{2\pi}{B},$ so the period is

$$\begin{array}{l}\frac{2\pi}{B}=\frac{2\pi}{\frac{1}{4}}\hfill \\ \text{}=8\pi \hfill \end{array}$$

See the graph in Figure 3.

- ⓐ $y=2\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{1}{4}x\right)$ involves sine, so we use the form

$$y=A\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(Bt-C\right)+D$$

Amplitude is $\left|A\right|,$ so the amplitude is $\left|-3\right|=3.$ Since $A$ is negative, the graph is reflected over the *x*-axis. Period is $\frac{2\pi}{B},$ so the period is

$$\frac{2\pi}{B}=\frac{2\pi}{2}=\pi $$

The graph is shifted to the left by $\frac{C}{B}=\frac{\frac{\pi}{2}}{2}=\frac{\pi}{4}$ units. See Figure 4.

$$y=A\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(Bt\pm C\right)+D$$

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

### Try It #1

What are the amplitude and period of the function $y=3\phantom{\rule{0.3em}{0ex}}\mathrm{cos}(3\pi 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 $\frac{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=\mathrm{cos}\phantom{\rule{0.3em}{0ex}}\theta .$ We know that the period is $2\pi ,$ so we find the interval between key points as follows.

$$\frac{2\pi}{4}=\frac{\pi}{2}$$

Starting with $\theta =0,$ we calculate the first *y-*value, add the length of the interval $\frac{\pi}{2}$ to 0, and calculate the second *y*-value. We then add $\frac{\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 Table 1, we can see these key points clearly on the graph shown in Figure 6.

$\theta $ |
$0$ | $\frac{\pi}{2}$ | $\pi $ | $\frac{3\pi}{2}$ | $2\pi $ |

$y=\mathrm{cos}\phantom{\rule{0.3em}{0ex}}\theta $ |
$1$ | $0$ | $\mathrm{-1}$ | $0$ | $1$ |

### Example 3

#### Graphing Sinusoidal Functions Using Key Points

Graph the function $y=\mathrm{-4}\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\pi x\right)$ using amplitude, period, and key points.

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

**$x$**$0$ $\frac{1}{2}$ $1$ $\frac{3}{2}$ $2$ **$y=\mathrm{-4}\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\pi x\right)$**$\mathrm{-4}$ $0$ $4$ $0$ $\mathrm{-4}$

### Try It #2

Graph the function $y=3\phantom{\rule{0.3em}{0ex}}\mathrm{sin}(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=A\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(Bt-C\right)+D$ that fits the data (round to the nearest tenth) and sketch the graph.

Month | Temperature, ${}^{\text{o}}\text{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 |

**Answer**Recall that amplitude is found using the formula

$$A=\frac{\text{largest value}-\text{smallest value}}{2}$$

Thus, the amplitude is

$$\begin{array}{l}\left|A\right|=\frac{69-42.5}{2}\hfill \\ \text{}=13.25\hfill \end{array}$$

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

The vertical shift is found using the following equation.

$$D=\frac{\text{highest value}+\text{lowest value}}{2}$$

Thus, the vertical shift is$$\begin{array}{l}\begin{array}{l}D=\frac{69+42.5}{2}\hfill \\ \text{}=55.8\hfill \end{array}\end{array}$$

So far, we have the equation $y=13.3\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{\pi}{6}x-C\right)+\mathrm{55.8.}$

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

$$\begin{array}{ll}\text{}42.5=13.3\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{\pi}{6}(1)-C\right)+55.8\hfill & \hfill \\ -13.3=13.3\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{\pi}{6}-C\right)\hfill & \hfill \\ \text{}-1=\mathrm{sin}\left(\frac{\pi}{6}-C\right)\hfill & \mathrm{sin}\theta =-1\to \theta =-\frac{\pi}{2}\hfill \\ \frac{\pi}{6}-C=-\frac{\pi}{2}\hfill & \hfill \\ \frac{\pi}{6}+\frac{\pi}{2}=C\hfill & \hfill \\ \text{}=\frac{2\pi}{3}\hfill & \hfill \end{array}$$

We have the equation $y=13.3\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{\pi}{6}x-\frac{2\pi}{3}\right)+\mathrm{55.8.}$ See the graph in 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$ equal the distance from the tip of the hour hand to the ceiling $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$ $y$ Points to plot Noon 30 in $\left(0,30\right)$ 3 PM 54 in $\left(3,54\right)$ 6 PM 78 in $\left(6,78\right)$ 9 PM 54 in $\left(9,54\right)$ Midnight 30 in $\left(12,30\right)$

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

$$\begin{array}{l}\hfill \\ \begin{array}{l}\left|A\right|=\left|\frac{78-30}{2}\right|\hfill \\ \text{}=24\hfill \end{array}\hfill \end{array}$$

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

$$\begin{array}{l}\\ \begin{array}{l}B=\frac{2\pi}{12}\hfill \\ \text{}=\frac{\pi}{6}\hfill \end{array}\end{array}$$

The vertical shift is

$$\begin{array}{l}\\ \begin{array}{l}D=\frac{78+30}{2}\hfill \\ \text{}=54\hfill \end{array}\end{array}$$

There is no horizontal shift, so $C=0.$ Since the function begins with the minimum value of $y$ when $x=0$ (as opposed to the maximum value), we will use the cosine function with the negative value for $A.$ In the form $y=A\phantom{\rule{0.3em}{0ex}}\mathrm{cos}(Bx\pm C)+D,$ the equation is

$$y=\mathrm{-24}\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\frac{\pi}{6}x\right)+54$$

See 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

$$\begin{array}{l}\hfill \\ \begin{array}{l}\left|A\right|=\left|\frac{(15-7)}{2}\right|\hfill \\ \text{}=4\hfill \end{array}\hfill \end{array}$$

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

$$\frac{2\pi}{12}=\frac{\pi}{6}$$

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

$$y=4\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\frac{\pi}{6}\right)\phantom{\rule{0.8em}{0ex}}t+11$$

See Figure 10.

### Try It #3

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

### Example 7

#### Interpreting the Periodic Behavior Equation

The average person’s blood pressure is modeled by the function $f\left(t\right)=20\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(160\pi t\right)+100,$ where $f\left(t\right)$ represents the blood pressure at time $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

$$\begin{array}{l}\begin{array}{l}\frac{2\pi}{\omega}=\frac{2\pi}{160\pi}\hfill \\ \text{}=\frac{1}{80}\hfill \end{array}\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

$$\begin{array}{c}\frac{\omega}{2\pi}=\frac{160\pi}{2\pi}\\ =80\end{array}$$

See the graph in Figure 11.

#### Analysis

Blood pressure of $\frac{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.$

### Simple Harmonic Motion

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

$$d=a\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\omega t\right)\text{or}d=a\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\omega t\right)$$

where $\left|a\right|$ is the amplitude, $\frac{2\pi}{\omega}$ is the period, and $\frac{\omega}{2\pi}$ 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,

- Find the maximum displacement of an object.
- Find the period or the time required for one vibration.
- Find the frequency.
- Sketch the graph.

- ⓐ $y=5\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(3t\right)$
- ⓑ $y=6\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\pi t\right)$
- ⓒ $y=5\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\frac{\pi}{2}t\right)$

**Answer**- ⓐ $y=5\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(3t\right)$
- The maximum displacement is equal to the amplitude, $\left|a\right|,$ which is 5.
- The period is $\frac{2\pi}{\omega}=\frac{2\pi}{3}.$
- The frequency is given as $\frac{\omega}{2\pi}=\frac{3}{2\pi}.$
- See Figure 12. The graph indicates the five key points.

- ⓐ $y=5\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(3t\right)$

- The maximum displacement is $6.$
- The period is $\frac{2\pi}{\omega}=\frac{2\pi}{\pi}=2.$
- The frequency is $\frac{\omega}{2\pi}=\frac{\pi}{2\pi}=\frac{1}{2}.$
- See Figure 13.

- The maximum displacement is $5.$
- The period is $\frac{2\pi}{\omega}=\frac{2\pi}{\frac{\pi}{2}}=4.$
- The frequency is $\frac{1}{4}.$
- See 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$ is given as

$$f(t)=a{e}^{-ct}\mathrm{sin}(\omega t)\phantom{\rule{0.8em}{0ex}}\text{or}\phantom{\rule{0.8em}{0ex}}f(t)=a{e}^{-ct}\mathrm{cos}(\omega t)$$

where $c$ is a damping factor, $\left|a\right|$ is the initial displacement and $\frac{2\pi}{\omega}$ 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$ cycles per second. Both have an initial displacement of 10 cm. The first has a damping factor of $0.5$ and the second has a damping factor of $\mathrm{0.1.}$

**Answer**At time $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=\frac{\omega}{2\pi}$ of 0.5 cycles per second. Thus,

$$\begin{array}{l}\text{}\frac{\omega}{2\pi}=0.5\hfill \\ \text{}\omega =(0.5)2\pi \hfill \\ \text{}=\pi \hfill \end{array}$$

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

$$f\left(t\right)=10{e}^{-0.5t}\mathrm{cos}\left(\pi t\right)$$

Figure 15 models the motion of the first spring system.

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

$$f\left(t\right)=10{e}^{-0.1t}\mathrm{cos}\left(\pi t\right)$$

Figure 16 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.5$ decreases much more rapidly than that of the function with $c=\mathrm{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}\mathrm{cos}\left(\omega t\right)$ that models the information given.

- ⓐ $a=20,c=0.05,p=4$
- ⓑ $a=2,c=1.5,f=3$

**Answer**Substitute the given values into the model. Recall that period is $\frac{2\pi}{\omega}$ and frequency is $\frac{\omega}{2\pi}.$

- ⓐ $y=20{e}^{-0.05t}\mathrm{cos}\left(\frac{\pi}{2}t\right).$ See Figure 17.

- ⓐ $y=20{e}^{-0.05t}\mathrm{cos}\left(\frac{\pi}{2}t\right).$ See Figure 17.

### Try It #4

The following equation represents a damped harmonic motion model: $f\left(t\right)=5{e}^{-6t}\mathrm{cos}\left(4t\right)$ 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}\mathrm{sin}\left(\omega t\right)$ that models the information given.

- ⓐ $a=7,c=10,p=\frac{\pi}{6}$
- ⓑ $a=0.3,c=0.2,f=20$

**Answer**Calculate the value of $\omega $ and substitute the known values into the model.

- ⓐ As period is $\frac{2\pi}{\omega},$ we have
$$\begin{array}{l}\text{}\frac{\pi}{6}=\frac{2\pi}{\omega}\hfill \\ \omega \pi =6(2\pi )\hfill \\ \text{}\omega =12\hfill \end{array}$$

The damping factor is given as 10 and the amplitude is 7. Thus, the model is $y=7{e}^{-10t}\mathrm{sin}\left(12t\right).$ See Figure 19.

- ⓐ As period is $\frac{2\pi}{\omega},$ we have

$$\begin{array}{l}\text{}20=\frac{\omega}{2\pi}\hfill \\ 40\pi =\omega \hfill \end{array}$$

The damping factor is given as $0.2$ and the amplitude is $\mathrm{0.3.}$ The model is $y=0.3{e}^{-0.2t}\mathrm{sin}\left(40\pi t\right).$ See 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,$ and the sine function is at the equilibrium point when $t=0.$ For example, consider the equation $y=20{e}^{-0.05t}\mathrm{cos}\left(\frac{\pi}{2}t\right)$ from Example 10. We can see from the graph that when $t=0,y=20,$ which is the initial amplitude. Check this by setting $t=0$ in the cosine equation:

$$\begin{array}{l}\\ \begin{array}{l}y=20{e}^{-0.05(0)}\mathrm{cos}\left(\frac{\pi}{2}\right)(0)\hfill \\ \phantom{\rule{0.8em}{0ex}}=20(1)(1)\hfill \\ \phantom{\rule{0.8em}{0ex}}=20\hfill \end{array}\end{array}$$

Using the sine function yields

$$\begin{array}{l}y=20{e}^{-0.05(0)}\mathrm{sin}\left(\frac{\pi}{2}\right)(0)\hfill \\ =20(1)(0)\hfill \\ =0\hfill \end{array}$$

Thus, cosine is the correct function.

### Try It #5

Write the equation for damped harmonic motion given $a=10,c=0.5,$ and $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$ 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\left(t\right)=5{\left(1-0.30\right)}^{t}$$

We put ${\left(1-0.30\right)}^{t}$ in the form ${e}^{ct}$ as follows:

$$\begin{array}{l}0.7={e}^{c}\hfill \\ \text{}c=\mathrm{ln}.7\hfill \\ \text{}c=-0.357\hfill \end{array}$$

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.

$$\begin{array}{l}\hfill \\ 3=\frac{2\pi}{\omega}\hfill \\ \omega =\frac{2\pi}{3}\hfill \end{array}$$

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=\mathrm{cos}\left(\frac{2\pi}{3}t\right)+10$$

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

$$y=-5{e}^{-0.357t}\mathrm{cos}\left(\frac{2\pi}{3}t\right)+10$$

See the graph in 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$ and allowed to oscillate. After $\frac{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}$ in the model for damped harmonic motion. The damping constant is included in the term ${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)}=\frac{1}{2}\phantom{\rule{0.8em}{0ex}}a{e}^{-ct}$$

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

$$\begin{array}{ll}a{e}^{-c(t+3)}=\frac{1}{2}a{e}^{-ct}\hfill & \hfill \\ {e}^{-ct}\cdot {e}^{-3c}=\frac{1}{2}{e}^{-ct}\begin{array}{cccc}& & & \end{array}\hfill & \text{Divide out}a.\hfill \\ {e}^{-3c}=\frac{1}{2}\hfill & \text{Divide out}{e}^{-ct}.\hfill \\ {e}^{3c}=2\hfill & \text{Take reciprocals}.\hfill \end{array}$$

Then use the laws of logarithms.

$$\begin{array}{l}{e}^{3c}=2\hfill \\ 3c=\mathrm{ln}\phantom{\rule{0.8em}{0ex}}\left(2\right)\hfill \\ \text{}c=\frac{\mathrm{ln}\phantom{\rule{0.8em}{0ex}}\left(2\right)}{3}\hfill \end{array}$$

The damping constant is $\frac{\mathrm{ln}\phantom{\rule{0.8em}{0ex}}\left(2\right)}{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\left(x\right)=\mathrm{cos}(2\pi x)\mathrm{cos}(16\pi x).$

#### Analysis

The curves $y=\mathrm{cos}(2\pi x)$ and $y=-\mathrm{cos}\left(2\pi x\right)$ 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

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

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.

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?

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.

$x$ |
$y$ |

$0$ | $-4$ |

$3$ | $-1$ |

$6$ | $2$ |

$9$ | $-1$ |

$12$ | $-4$ |

$15$ | $-1$ |

$18$ | $2$ |

$x$ |
$y$ |

$0$ | $5$ |

$2$ | $1$ |

$4$ | $-3$ |

$6$ | $1$ |

$8$ | $5$ |

$10$ | $1$ |

$12$ | $-3$ |

$x$ |
$y$ |

$0$ | $2$ |

$\frac{\pi}{4}$ | $7$ |

$\frac{\pi}{2}$ | $2$ |

$\frac{3\pi}{4}$ | $-3$ |

$\pi $ | $2$ |

$\frac{5\pi}{4}$ | $7$ |

$\frac{3\pi}{2}$ | $2$ |

$x$ |
$y$ |

$0$ | $1$ |

$1$ | $-3$ |

$2$ | $-7$ |

$3$ | $-3$ |

$4$ | $1$ |

$5$ | $-3$ |

$6$ | $-7$ |

$x$ |
$y$ |

$0$ | $-2$ |

$1$ | $4$ |

$2$ | $10$ |

$3$ | $4$ |

$4$ | $-2$ |

$5$ | $4$ |

$6$ | $10$ |

$x$ |
$y$ |

$0$ | $5$ |

$1$ | $-3$ |

$2$ | $5$ |

$3$ | $13$ |

$4$ | $5$ |

$5$ | $-3$ |

$6$ | $5$ |

$x$ |
$y$ |

$-3$ | $-1-\sqrt{2}$ |

$-2$ | $-1$ |

$-1$ | $1-\sqrt{2}$ |

$0$ | $0$ |

$1$ | $\sqrt{2}-1$ |

$2$ | $1$ |

$3$ | $\sqrt{2}+1$ |

$x$ |
$y$ |

$-1$ | $\sqrt{3}-2$ |

$0$ | $0$ |

$1$ | $2-\sqrt{3}$ |

$2$ | $\frac{\sqrt{3}}{3}$ |

$3$ | $1$ |

$4$ | $\sqrt{3}$ |

$5$ | $2+\sqrt{3}$ |

#### Graphical

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

$f(x)=-30\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\frac{x\pi}{6}\right)-20\phantom{\rule{0.8em}{0ex}}{\mathrm{cos}}^{2}\left(\frac{x\pi}{6}\right)+80\phantom{\rule{0.8em}{0ex}}[0,12]$

$f(x)=-18\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(\frac{x\pi}{12}\right)-5\phantom{\rule{0.3em}{0ex}}\mathrm{sin}\left(\frac{x\pi}{12}\right)+100$ on the interval $[0,24]$

$f(x)=10-\mathrm{sin}\left(\frac{x\pi}{6}\right)+24\phantom{\rule{0.3em}{0ex}}\mathrm{tan}\left(\frac{x\pi}{240}\right)$ on the interval $[0,80]$

#### Technology

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

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.

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

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

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

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

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?

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

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.

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.

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?

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?

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.

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.

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

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

The displacement $h(t)$ in centimeters of a mass suspended by a spring is modeled by the function $h(t)=4\mathrm{cos}\left(\frac{\pi}{2}t\right),$ where $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.

The displacement $h(t),$ in centimeters, of a mass suspended by a spring is modeled by the function $h(t)=\mathrm{-5}\phantom{\rule{0.3em}{0ex}}\mathrm{cos}\left(60\pi t\right),$ where $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.

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,$ in terms of months since January, $t.$

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,$ in terms of months since January, $t.$

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,$ in terms of months since January, $t.$

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,$ in terms of months since January, $t.$

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,$ the end of the spring is from equilibrium in terms of seconds, $t,$ since the spring was released.

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,$ the end of the spring is from equilibrium in terms of seconds, $t,$ since the spring was released.

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,$ the end of the spring is from equilibrium in terms of seconds, $t,$ since the spring was released.

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,$ the end of the spring is from equilibrium in terms of seconds, $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.

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?

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?

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$ and $0.1\text{cm,}$ effectively at rest.

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$ and $0.1\text{cm,}$ effectively at rest.

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\text{cm}\text{.}$

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\text{cm}\text{.}$

#### Extensions

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

A plane flies 2 hours at 200 mph at a bearing of ${60}^{\circ},$ then continues to fly for 1.5 hours at the same speed, this time at a bearing of ${150}^{\circ}.$ 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}+c\mathrm{sin}\left(\frac{\pi}{2}x\right)$ that fits the given data.

$x$ |
0 | 1 | 2 | 3 |

$y$ |
6 | 29 | 96 | 379 |

$x$ |
0 | 1 | 2 | 3 |

$y$ |
6 | 34 | 150 | 746 |

$x$ |
0 | 1 | 2 | 3 |

$y$ |
4 | 0 | 16 | -40 |

For the following exercises, find a function of the form $y=a{b}^{x}\mathrm{cos}\left(\frac{\pi}{2}x\right)+c$ that fits the given data.

$x$ |
0 | 1 | 2 | 3 |

$y$ |
11 | 3 | 1 | 3 |

$x$ |
0 | 1 | 2 | 3 |

$y$ |
4 | 1 | −11 | 1 |