Section 7.4 Modeling Changing Amplitude and Midline

While sinusoidal functions can model a variety of behaviors, it is often necessary to combine sinusoidal functions with linear and exponential curves to model real applications and behaviors. We begin this section by looking at changes to the midline of a sinusoidal function. Recall that the midline describes the middle, or average value, of the sinusoidal function.

Changing Midlines

Example \(\PageIndex{1}\)

Add text here. For the automatic number to work, you need to add the "AutoNum" template (preferably at the end) to the page.

1

A population of elk currently averages 2000 elk, and that average has been growing by 4% each year. Due to seasonal fluctuation, the population oscillates from 50 below average in the winter up to 50 above average in the summer. Find a function that models the number of elk after t years, starting in the winter.

There are two components to the behavior of the elk population: the changing average, and the oscillation. The average is an exponential growth, starting at 2000 and growing by 4% each year. Writing a formula for this: \[average=initial(1+r)^{t} =2000(1+0.04)^{t}\]

For the oscillation, since the population oscillates 50 above and below average, the amplitude will be 50. Since it takes one year for the population to cycle, the period is 1. We find the value of the horizontal stretch coefficient \(B=\frac

The function starts in winter, so the shape of the function will be a negative cosine, since it starts at the lowest value.

Putting it all together, the equation would be: \[P(t)=-50\cos (2\pi {\kern 1pt} t)+midline\]

Since the midline represents the average population, we substitute in the exponential function into the population equation to find our final equation: \[P(t)=-50\cos (2\pi {\kern 1pt} t)+2000(1+0.04)^{t}\]

This is an example of changing midline – in this case an exponentially changing midline.

Changing Midline

A function of the form \(f(t)=A\sin (Bt)+g(t)\) will oscillate above and below the average given by the function g(t).

Changing midlines can be exponential, linear, or any other type of function. Here are some examples:

Since the sine function is at the midline at the beginning of a cycle and halfway through a cycle, we would expect this function to be at the midline at t = 0 and t = 2, since 2 is half the full period of 4. Based on this, we expect the points (0, 5) and (2, 9) to be points on the midline. We can clearly see that this is not a constant function and so we use the two points to calculate a linear function: \(midline=mt+b\). From these two points we can calculate a slope: \[m=\frac{9-5}{2-0} =\frac{4}{2} =2\]

Combining this with the initial value of 5, we have the midline: \(midline=2t+5\).

The full function will have form \(f(t)=A\sin \left(\frac{\pi }{2} t\right)+2t+5\). To find the amplitude, we can plug in a point we haven’t already used, such as (1, 10).

\(9=A\sin \left(\frac{\pi }{2} (2)\right)+m\eqref{GrindEQ__2_}+5\) Evaluate the sine and simplify \[9=2m+5\]\[4=2m\] \(m=2\), as we found above. Now we can proceed to find A the same way we did before.

Example \(\PageIndex{1}\)

Add text here. For the automatic number to work, you need to add the "AutoNum" template (preferably at the end) to the page.

3

The number of tourists visiting a ski and hiking resort averages 4000 people annually and oscillates seasonally, 1000 above and below the average. Due to a marketing campaign, the average number of tourists has been increasing by 200 each year. Write an equation for the number of tourists after t years, beginning at the peak season.

Again there are two components to this problem: the oscillation and the average. For the oscillation, the number of tourists oscillates 1000 above and below average, giving an amplitude of 1000. Since the oscillation is seasonal, it has a period of 1 year. Since we are given a starting point of “peak season”, we will model this scenario with a cosine function.

So far, this gives an equation in the form \(N(t)=1000\cos (2\pi {\kern 1pt} t)+midline\).

The average is currently 4000, and is increasing by 200 each year. This is a constant rate of change, so this is linear growth, \(average=4000+200t\). This function will act as the midline.

Combining these two pieces gives a function for the number of tourists: \[N(t)=1000\cos (2\pi {\kern 1pt} t)+4000+200t\]

Try it Now

Given the function \(g(x)=(x^{2} -1)+8\cos (x)\), describe the midline and amplitude using words.

Changing Amplitude

There are also situations in which the amplitude of a sinusoidal function does not stay constant. Back in Chapter 6, we modeled the motion of a spring using a sinusoidal function, but had to ignore friction in doing so. If there were friction in the system, we would expect the amplitude of the oscillation to decrease over time. In the equation \(f(t)=A\sin (Bt)+k\), A gives the amplitude of the oscillation, we can allow the amplitude to change by replacing this constant A with a function A(t).

Changing Amplitude

A function of the form \(f(t)=A(t)\sin (Bt)+k\) will oscillate above and below the midline with an amplitude given by A(t).

When thinking about a spring with amplitude decreasing over time, it is tempting to use the simplest tool for the job – a linear function. But if we attempt to model the amplitude with a decreasing linear function, such as \(A(t)=10-t\), we quickly see the problem when we graph the equation \(f(t)=(10-t)\sin (4t)\).

While the amplitude decreases at first as intended, the amplitude hits zero at t = 10, then continues past the intercept, increasing in absolute value, which is not the expected behavior. This behavior and function may model the situation on a restricted domain and we might try to chalk the rest of it up to model breakdown, but in fact springs just don’t behave like this.

A better model, as you will learn later in physics and calculus, would show the amplitude decreasing by a fixed percentage each second, leading to an exponential decay model for the amplitude.

Damped Harmonic Motion

Damped harmonic motionDamped Harmonic MotionSinusoidal Functions:Damped Harmonic Motion, exhibited by springs subject to friction, follows a model of the form

\(f(t)=ab^{t} \sin (Bt)+k\) or \(f(t)=ae^{rt} \sin (Bt)+k\).

Example \(\PageIndex{1}\)

Add text here. For the automatic number to work, you need to add the "AutoNum" template (preferably at the end) to the page.

4

A spring with natural length of feet inches is pulled back 6 feet and released. It oscillates once every 2 seconds. Its amplitude decreases by 20% each second. Find a function that models the position of the spring t seconds after being released.

Since the spring will oscillate on either side of the natural length, the midline will be at 20 feet. The oscillation has a period of 2 seconds, and so the horizontal compression coefficient is \(B=\pi\). Additionally, it begins at the furthest distance from the wall, indicating a cosine model.

Meanwhile, the amplitude begins at 6 feet, and decreases by 20% each second, giving an amplitude function of \(A(t)=6(1-0.20)^{t}\).

Combining this with the sinusoidal information gives a function for the position of the spring: \[f(t)=6(0.80)^{t} \cos (\pi {\kern 1pt} t)+20\]

Example \(\PageIndex{1}\)

Add text here. For the automatic number to work, you need to add the "AutoNum" template (preferably at the end) to the page.

5

A spring with natural length of 30 cm is pulled out 10 cm and released. It oscillates 4 times per second. After 2 seconds, the amplitude has decreased to 5 cm. Find a function that models the position of the spring.

The oscillation has a period of \(\frac{1}{4}\) second, so \(B=\frac{2\pi }{{\raise0.7ex\hbox{\) 1 \(}\!\mathord{\left/{\vphantom{1 4}}\right.\kern-\nulldelimiterspace}\!\lower0.7ex\hbox{\) 4 \(}} } =8\pi\). Since the spring will oscillate on either side of the natural length, the midline will be at 30 cm. It begins at the furthest distance from the wall, suggesting a cosine model. Together, this gives \[f(t)=A(t)\cos (8\pi {\kern 1pt} t)+30.\]

For the amplitude function, we notice that the amplitude starts at 10 cm, and decreases to 5 cm after 2 seconds. This gives two points (0, 10) and (2, 5) that must be satisfied by an exponential function: \(A(0)=10\) and \(A\eqref{GrindEQ__2_}=5\). Since the function is exponential, we can use the form \(A(t)=ab^{t}\). Substituting the first point, \(10=ab^{0}\), so a = 10. Substituting in the second point,

This gives an amplitude function of \(A(t)=10\eqref{GrindEQ__0_707_}^{t}\). Combining this with the oscillation, \[f(t)=10(0.707)^{t} \cos (8\pi t)+30\]

Try it Now

2. A certain stock started at a high value of $7 per share, oscillating monthly above and below the average value, with the oscillation decreasing by 2% per year. However, the average value started at $4 per share and has grown linearly by 50 cents per year.

a. Find a formula for the midline and the amplitude.

b. Find a function S(t) that models the value of the stock after t years.

Example \(\PageIndex{1}\)

Add text here. For the automatic number to work, you need to add the "AutoNum" template (preferably at the end) to the page.

6

In AM (Amplitude Modulated) radio, a carrier wave with a high frequency is used to transmit music or other signals by applying the to-be-transmitted signal as the amplitude of the carrier signal. A musical note with frequency 110 Hz (Hertz = cycles per second) is to be carried on a wave with frequency of 2 KHz (KiloHertz = thousands of cycles per second). If the musical wave has an amplitude of 3, write a function describing the broadcast wave.

The carrier wave, with a frequency of 2000 cycles per second, would have period \(\frac{1}{2000}\) of a second, giving an equation of the form \(\sin (4000\pi {\kern 1pt} t)\). Our choice of a sine function here was arbitrary – it would have worked just was well to use a cosine.

The musical tone, with a frequency of 110 cycles per second, would have a period of \(\frac{1}{110}\) of a second. With an amplitude of 3, this would correspond to a function of the form \(3\sin (220\pi {\kern 1pt} t)\). Again our choice of using a sine function is arbitrary.

The musical wave is acting as the amplitude of the carrier wave, so we will multiply the musical tone’s function by the carrier wave function, resulting in the function \[f(t)=3\sin (220\pi {\kern 1pt} t)\sin (4000\pi {\kern 1pt} t)\]

Important Topics of This Section

Changing midline

Changing amplitude

Linear Changes

Exponential Changes

Damped Harmonic Motion

Try it Now Answers

The midline follows the path of the quadratic \(x^{2} -1\)and the amplitude is a constant value of 8.

The LibreTexts libraries are Powered by MindTouch®and are supported by the Department of Education Open Textbook Pilot Project, the UC Davis Office of the Provost, the UC Davis Library, the California State University Affordable Learning Solutions Program, and Merlot. We also acknowledge previous National Science Foundation support under grant numbers 1246120, 1525057, and 1413739. Unless otherwise noted, LibreTexts content is licensed by CC BY-NC-SA 3.0. Have questions or comments? For more information contact us at info@libretexts.org or check out our status page at https://status.libretexts.org.