Skip to main content

Section 8.5 Families of Sine and Cosine Functions, Modeling

The examples of transforming the sine and cosine functions in the last section are illuminating, but they do not give us a systematic and clear way of matching a transformed sine or cosine formula with a given periodic functionβ€”a periodic function that might have arisen in real-life applications.
Here are specific rules for transforming the sine and cosine functions through vertical scaling and shifting and horizontal scaling. Note that we will not consider horizontal shifting in this section.
Since constants \(A\text{,}\) \(B\text{,}\) \(C\) are arbitrary and take all possible values giving us many functions, we have what is called a family of functions \(y = A\sin(Bt) + C\) and another family of functions \(y = A\cos(Bt) + C\text{.}\) The constants \(A\text{,}\) \(B\text{,}\) \(C\) are often called parameters of these families of functions.
Here are some important observations which will make it easier to match a given periodic function with a formula \(y = A\cos(Bt) + C\) or \(y = A\sin(Bt) + C\) and find the right values for the parameters \(A\text{,}\) \(B\text{,}\) and \(C\text{.}\)
Every function in the family \(y = A\cos(Bt) + C\) has its maximum or minimum value at \(t = 0\text{.}\) Namely, it has a minimum value at \(t = 0\) if \(A \lt 0\text{,}\) and a maximum value at \(t=0\) if \(A \gt 0\text{.}\)
Every function in the family \(y = A\sin(Bt) + C\) has its equilibrium value at \(t = 0\text{.}\) If \(A \gt 0\text{,}\) the peakβ€”the maximum valueβ€”comes first when we move toward the positive \(t\) direction. Conversely, when \(A \lt 0\text{,}\) the minimum value comes first when we move toward the positive \(t\) direction.
These are important observations. Suppose that we want to match a given periodic function \(f(t)\) with a formula in the family of sines \(y = A\sin(Bt) + C\) or with a formula in the family of cosines \(y = A\cos(Bt) + C\text{.}\) To decide which family to use, we will look at the value \(f(0)\) at \(t = 0\text{.}\) If this value is a minimum or a maximum of \(f(t)\text{,}\) we will look for a match in the family \(y = A\cos(Bt) + C\text{.}\) If the value \(f(0)\) is at the equilibrium, we try to match \(f(t)\) with a function in the family \(y = A\sin(Bt) + C\text{.}\) Also, after we find the amplitude, we will have to decide if the constant \(A\) is positive or negative; that is, if we do or do not have the reflection over the \(t\)-axis.

Example 8.5.2.

Find the period, amplitude, and midline of the following functions:
  1. \(\displaystyle y = 4\sin\left(\frac{1}{3}t\right)\)
  2. \(\displaystyle y = -2\cos\left(\frac{\pi}{3}t\right) + 5\)
  3. \(\displaystyle y = 3\cos(\pi t) - 1\)
  4. \(\displaystyle y = -3\sin(2t) - 3\)
Solution.
  1. This function has \(A = 4\text{,}\) \(B = \frac{1}{3}\text{,}\) and \(C = 0\text{.}\) Therefore, the amplitude is \(\abs{4} = 4\text{,}\) the midline is \(y = 0\text{,}\) and the period is \(\frac{2\pi}{\frac{1}{3}} = 6\pi\text{.}\)
  2. This function has \(A = -2\text{,}\) \(B = \frac{\pi}{3}\text{,}\) and \(C = 5\text{.}\) Therefore, the amplitude is \(\abs{-2} = 2\text{,}\) the midline is \(y = 5\text{,}\) and the period is \(\frac{2\pi}{\frac{\pi}{3}} = 6\text{.}\)
  3. For this function, \(A = 3\text{,}\) \(B = \pi\text{,}\) and \(C = -1\text{.}\) So the amplitude is \(3\text{,}\) the midline is \(y = -1\text{,}\) and the period is \(\frac{2\pi}{\pi} = 2\text{.}\)
  4. Here, \(A = -3\text{,}\) \(B = 2\text{,}\) and \(C = -3\text{.}\) Therefore, the amplitude is \(\abs{-3} = 3\text{,}\) the midline is \(y = -3\text{,}\) and the period is \(\frac{2\pi}{2} = \pi\text{.}\)

Example 8.5.3.

Each graph below contains one or two periods of a periodic function. For each of the functions, find a formula in the form \(y = A\sin(Bt) + C\) or \(y = A\cos(Bt) + C\) that represents the graph.

(a)

Solution.
Note first that at \(t = 0\text{,}\) \(f(t)\) is at its maximum, \(f(0) = 1\text{.}\) Hence, we will be looking for a formula for \(f(t)\) in the family of functions \(A\cos(Bt) + C\text{.}\) To find values for the constants \(A\text{,}\) \(B\) and \(C\text{,}\) we have to find the period, amplitude, and midline.
We see the same cycle repeating between \(0 \lt t \lt 1\) and \(1 \lt t \lt 2\text{.}\) This means the period of \(f(t)\) is \(1\) and so
\begin{equation*} B = \frac{2\pi}{1} = 2 \pi. \end{equation*}
From the graph, we know
\begin{equation*} f_\text{max} = 1, \quad f_\text{min} = -1. \end{equation*}
Therefore, the amplitude is \(\frac{f_\text{max} - f_\text{min}}{2} = \frac{1 - (-1)}{2} = 1\text{,}\) which implies \(\abs{A} = 1\text{.}\) To determine if \(A = 1\) or \(A = -1\text{,}\) notice that \(f(t)\) is at its maximum at \(t = 0\) just as cosine is, meaning we do not have a reflection over the \(t\)-axis. This tells us that \(A = 1\text{.}\) We now know that \(f(t)\) is of the form
\begin{equation*} f(t) = \cos(2\pi t) + C. \end{equation*}
To find \(C\text{,}\) note that the equilibrium of \(f(t)\) is \(\frac{f_\text{max} + f_\text{min}}{2} = \frac{1 + (-1)}{2} = 0\) and the midline is \(y = 0\text{.}\) Hence, \(C = 0\) and the final formula that corresponds to the graph \(y = f(t)\) is:
\begin{equation*} f(t) = \cos(2\pi t). \end{equation*}

(b)

Solution.
The shape of the graph looks like that of the sine function reflected over the \(t\)-axis so we will look for a formula in the family \(y = A\sin(Bt) + C\text{.}\) From the graph, the period is \(12\pi\) and therefore
\begin{equation*} B = \frac{2\pi}{12\pi} = \frac{1}{6}. \end{equation*}
To find \(A\) and \(C\text{,}\) observe that
\begin{equation*} m_\text{max} = 3, \quad m_\text{min} = -3. \end{equation*}
This means the amplitude is \(\frac{m_\text{max} - m_\text{min}}{2} = \frac{3 - (-3)}{2} = 3\text{,}\) the equilibrium is \(\frac{m_\text{max} + m_\text{min}}{2} = \frac{3 + (-3)}{2} = 0\text{,}\) and the midline is \(y = 0\text{.}\) Hence, \(C = 0\text{.}\) Is \(A = 3\) or \(A = -3\text{?}\) Since there is a reflection over the \(t\)-axis, then \(A = -3\) and so the formula we are looking for is
\begin{equation*} m(t) = -3\sin\left(\frac{1}{6}t\right). \end{equation*}

(c)

Solution.
At \(t = 0\text{,}\) \(g(t)\) is at its minimum, so we will be looking for a formula for \(g(t)\) in the family of functions \(A\cos(Bt) + C\text{.}\) To find values for the constants \(A\text{,}\) \(B\) and \(C\text{,}\) we have to find the period, amplitude, and midline.
The period of \(g(t)\) is \(1\) by looking at its graph. Therefore,
\begin{equation*} B = \frac{2\pi}{1} = 2 \pi. \end{equation*}
The graph of the function also reveals that
\begin{equation*} g_\text{max} = 4, \quad g_\text{min} = 2. \end{equation*}
Hence, the amplitude is \(\frac{g_\text{max} - g_\text{min}}{2} = \frac{4 - 2}{2} = 1\) and so \(\abs{A} = 1\text{.}\) Since \(g(t)\) has its minimum at \(t = 0\text{,}\) whereas \(\cos(t)\) has its maximum at \(t=0\text{,}\) then there is a reflection over the \(t\)-axis and so \(A = -1\text{.}\)
Lastly, we need to find \(C\text{,}\) which is given by \(\frac{g_\text{max} + g_\text{min}}{2} = \frac{4 + 2}{2} = 3\text{.}\) That is, \(C = 3\) and the midline is \(y = 3\text{.}\) The formula for \(g(t)\) is:
\begin{equation*} g(t) = -\cos(2\pi t) + 3. \end{equation*}

(d)

Solution.
Because \(h(0)\) is not at a maximum or a minimum, the function must be in the family \(y = A\sin(Bt) + C\text{.}\)
The period is \(12\text{,}\) and so \(B\) is given by
\begin{equation*} B = \frac{2\pi}{12} = \frac{\pi}{6}. \end{equation*}
To find \(A\) and \(C\text{,}\) observe that
\begin{equation*} h_\text{max} = 3, \quad h_\text{min} = -1. \end{equation*}
Hence, the amplitude is:
\begin{equation*} \frac{h_\text{max} - h_\text{min}}{2} = \frac{3 - (-1)}{2} = 2. \end{equation*}
Since there is no reflection over the \(t\)-axis, \(A = 2\text{.}\)
The value of \(C\) is found by computing
\begin{equation*} \frac{h_\text{max} + h_\text{min}}{2} = \frac{3 + (-1)}{2} = 1. \end{equation*}
So \(C = 1\text{,}\) the midline is \(y = 1\text{,}\) and therefore the formula for \(h(t)\) is
\begin{equation*} h(t) = 2\sin\left( \frac{\pi}{6} t\right)+1 \end{equation*}

Subsection Modeling Periodic Processes

In this section we apply the skills of matching sine and cosine functions to modeling real-life periodic processes.

Example 8.5.4.

We revisit the first example of this chapter, ExampleΒ 8.1.1, about a population of hares, \(H(t)\text{,}\) in a national park. The population follows a 12-month cycle. It is at its minimum of \(1000\) hares at \(t = 0\) which corresponds to January, and at its maximum of \(5000\) hares in July which corresponds to \(t = 6\text{.}\) Here again is the graph of \(H(t)\text{:}\)
Find a formula for the function \(H(t)\text{.}\)
Solution.
We know already that the period of the function is \(12\text{,}\) the amplitude is \(2000\text{,}\) and the midline is \(H = 3000\) since \(h_\text{max} = 5000\) and \(h_\text{min} = 1000\text{.}\)
Because \(H(t)\) is at a minimum at \(t=0\text{,}\) we look for a formula of the form \(H(t) = A\cos(Bt) + C\) with \(A \lt 0\) since there is a reflection about the \(t\)-axis. Since \(\abs{A}\) is equal to the amplitude and \(C\) is equal to the equilibrium, then
\begin{equation*} A = -2000, \quad C = 3000. \end{equation*}
The period is \(12\text{,}\) which gives us
\begin{equation*} B = \frac{2\pi}{12} = \frac{\pi}{6}. \end{equation*}
Thus, the population of hares is modeled by the formula:
\begin{equation*} H(t) = -2000 \cos\left(\frac{\pi}{6} t \right) + 3000. \end{equation*}
You can use your graphing calculator to graph the transformed cosine function to check that this is the function we were looking for.

Example 8.5.5.

An average-sized man takes \(5\) seconds to breathe in and out when at rest. The volume of the air in his lungs changes as he breathes. The so-called functional residual capacity of the lungs
 1 
https://en.wikipedia.org/wiki/Functional_residual_capacity, accessed: 6/9/2020
is about \(2.5\) liters. That is the volume of air that is always present in the lungs. The typical volume of inspiration, the tidal volume, is about \(0.5\) liters and so is the volume of expiration. Assume that at \(t = 0\) the man finished exhaling and is about to inhale. Let \(V(t)\) be the volume of air in his lungs, in liters, at time \(t\) in seconds.
  1. Sketch a rough graph of \(V(t)\) in the interval \(0 \leq t \leq 20\text{.}\)
  2. Find the period, amplitude, midline of \(V(t)\text{.}\) Find a possible formula for \(V(t)\text{.}\)
Solution.
  1. The graph of \(V(t)\) looks approximately as follows:
    At \(t = 0\text{,}\) the man just exhaled and is about to inhale, so the volume in his lungs is at the functional residual capacity of \(2.5\) liters. As \(t\) increases, the man is inhaling and the volume of air in his lungs increases. The volume reaches its maximum of \(3\) liters mid-cycle at \(t = 2.5\) seconds. Now the man begins exhaling and completes the cycle at \(t = 5\) when the volume is again \(2.5\) liters. We are assuming here that inhaling takes the same time as exhaling, so the maximum volume happens exactly in the middle of the cycle at \(t = 2.5\) seconds. The same cycle repeats on every interval of the length \(5\) seconds.
    Note: Do not confuse \(2.5\) liters, which is the minimum volume in the man’s lungs, with \(2.5\) seconds which is the time needed to inhale or to exhale.
  2. The periodβ€”the time needed for one full cycle to be executedβ€”is \(5\) seconds. Because
    \begin{equation*} V_\text{max} = 3, \quad V_\text{min} = 2.5, \end{equation*}
    then the amplitude is \(\frac{V_\text{max} - V_\text{min}}{2} = \frac{3 - 2.5}{2} = 0.25\text{,}\) the equilibrium is \(\frac{V_\text{max} + V_\text{min}}{2} = \frac{3 + 2.5}{2} = 2.75\text{,}\) and the midline is \(V = 2.75\text{.}\)
    To find a formula for \(V(t)\text{,}\) note that \(V(t)\) is at its minimum at \(t = 0\text{.}\) Hence, \(V(t)\) is of the form \(V(t) = A\cos(Bt) + C\) with \(A \lt 0\text{.}\) After finding the amplitude and midline, then we know \(A = -0.25\) and \(C = 2.75\text{.}\) Lastly,
    \begin{equation*} B = \frac{2\pi}{\text{period}} = \frac{2\pi}{5}. \end{equation*}
    The formula of \(V(t)\) is given by
    \begin{equation*} V(t) = -0.25\cos\left(\frac{2\pi}{5}t\right) + 2.75. \end{equation*}

Exercises Exercises

1.

Find the amplitude, period, and midline of each of the following functions.

(f)

\(y=\frac{1}{3}\cos\left(\frac{2}{\pi}t\right)+\frac{2}{5}\)
Solution.
amplitude: \(\frac{1}{3}\text{;}\) period: \(\pi^2\text{;}\) midline: \(y=\frac{2}{5}\)

2.

For each of the periodic functions graphed below, find a formula in the form \(y=A\sin(Bt)+C\) or \(y=A\cos(Bt)+C\) that represents the graph.

3.

The average number of daylight hours \(H\) that Kingston, Rhode Island experiences is a periodic function \(H=f(t)\text{,}\) where \(t=0\) corresponds to the month of December. A graph modeling \(f(t)\) is given below.

(a)

Identify the amplitude, midline, and period for the periodic function modeling the average number of daylight hours in Kingston.
Solution.
amplitude: \(3\text{;}\) midline: \(y=12\text{;}\) period: \(12\)

(b)

Give a possible formula for the periodic function modeling the average number of daylight hours in Kingston.
Solution.
\(f(t)=-3\cos\left(\frac{\pi}{6}t\right)+12\)

4.

The average number of daylight hours \(H\) that Anchorage, Alaska experiences is a periodic function \(H=f(t)\text{,}\) where \(t=0\) corresponds to the month of June. The graph of \(f(t)\) is given below.

(a)

Identify the amplitude, midline, and period for the periodic function modeling the average number of daylight hours in Anchorage.
Solution.
amplitude: \(7\text{;}\) midline: \(y=12\text{;}\) period: \(12\)

(b)

Give a possible formula for the periodic function modeling the average number of daylight hours in Anchorage.
Solution.
\(f(t)=7\cos\left(\frac{\pi}{6}t\right)+12\)

(c)

What is the average number of daylight hours in Anchorage during the month of November?
Solution.
approximately \(6\) hours

5.

The number of bird species in a Rhode Island preserve oscillates between a high of \(38\) in June and a low of \(12\) in December. Write a formula for the number of bird species, \(N\text{,}\) as a function of the number of months \(t\) since December. Your answer should be of the form \(N(t) = A\cos(Bt)+C\) or \(N(t) = A\sin(Bt)+C\text{.}\)
Solution.
\(N(t)=-13\cos\left(\frac{\pi}{6}t\right)+25\)

6.

The volume of air in the lungs of a woman at rest at certain times is shown in the following table. Assuming that the maximum volume of air in her lungs occurs at time \(t=0\) seconds and the minimum volume of air in her lungs occurs at time \(t=3\) seconds, give the formula for a periodic function \(V(t)\) modeling the volume of air in the woman’s lungs at any given time. Your answer should be of the form \(V(t) = A\cos(Bt)+C\) or \(V(t) = A\sin(Bt)+C\text{.}\)
time (seconds) \(0\) \(3\) \(6\) \(9\) \(12\)
volume (liters) \(2.4\) \(1.9\) \(2.4\) \(1.9\) \(2.4\)
Solution.
\(V(t)=0.25\cos\left(\frac{\pi}{3}t\right)+2.15\)

7.

Each day, the tide in a harbor continuously goes in and out, raising and lowering a boat anchored there. At low tide, the boat is only \(2\) meters above the ocean floor. Six hours later, at peak high tide, the boat is \(20\) meters above the ocean floor. Six hours after peak high tide, it is low tide again. Suppose the boat is at high tide at midnight. Give a formula for a periodic function \(D(t)\) modeling the boat’s distance above the ocean floor as a function of time \(t\) hours since midnight. Your answer should be of the form \(D(t) = A\cos(Bt)+C\) or \(D(t) = A\sin(Bt)+C\text{.}\)
Solution.
\(D(t)=9\cos\left(\frac{\pi}{6}t\right)+11\)

8.

You decide to ride the Ferris wheel at the local carnival. You are \(3\) feet above the ground at the bottom of the Ferris wheel and \(28\) feet above the ground at the top. It takes \(8\) seconds for you to reach the maximum height from the minimum height and \(8\) seconds to reach the minimum height from the maximum height. Suppose you are at the bottom of the ride at time \(t=0\) seconds. Give a formula for a periodic function \(H(t)\) modeling your height above the ground \(t\) seconds into your Ferris wheel ride. Your answer should be of the form \(H(t) = A\cos(Bt)+C\) or \(H(t) = A\sin(Bt)+C\text{.}\)
Solution.
\(H(t)=-12.5\cos\left(\frac{\pi}{8}t\right)+15.5\)
You have attempted of activities on this page.