Math Core

Lesson 4.5 · Graphs of Trigonometric Functions

Modeling periodic behavior

A seat on a Ferris wheel, the water level at a pier, the number of daylight hours in a city: each rises and falls in a regular cycle. Sine and cosine are the natural tools for describing them. In this lesson you'll turn a description of a repeating situation into an equation you can use to make predictions.

From a story to four numbers

A sinusoidal model has the form

y=Acos⁡(B(t−C))+Dory=Asin⁡(B(t−C))+D,y = A\cos\big(B(t - C)\big) + D \qquad \text{or} \qquad y = A\sin\big(B(t - C)\big) + D,

where tt is usually time. You already know what each letter does. In a word problem, you find them from the highest value, the lowest value, and the timing of the cycle.

Building a sinusoidal model

  1. Midline: D=max+min2D = \dfrac{\text{max} + \text{min}}{2}, the average level.
  2. Amplitude: ∣A∣=max−min2|A| = \dfrac{\text{max} - \text{min}}{2}, how far it swings from average.
  3. Period: the time for one full cycle. Then B=2πperiodB = \dfrac{2\pi}{\text{period}}.
  4. Starting point: pick the function that starts where your data does.
    • Starts at a maximum: use Acos⁡A\cos, with CC = time of the maximum.
    • Starts at a minimum: use −Acos⁡-A\cos (negative coefficient), with CC = time of the minimum.
    • Starts at the midline, rising: use Asin⁡A\sin, with CC = that time.

There is always more than one correct equation for the same situation, because you can start the cycle at a different point. Cosine models starting at a maximum or minimum are usually the easiest, because maxima and minima are the easiest moments to identify.

A Ferris wheel

Worked example: Height on a Ferris wheel

A Ferris wheel has a diameter of 4040 meters, and its center is 2525 meters above the ground. It makes one full revolution every 88 minutes. You board at the lowest point at time t=0t = 0. Write a model for your height hh (in meters) after tt minutes, and find your height at t=2t = 2 and t=4t = 4.

Solution.

  • The radius is 2020 m, so the highest point is 25+20=4525 + 20 = 45 m and the lowest is 25−20=525 - 20 = 5 m.
  • Midline: D=45+52=25D = \dfrac{45 + 5}{2} = 25. Amplitude: 45−52=20\dfrac{45 - 5}{2} = 20.
  • Period 88 minutes, so B=2π8=π4B = \dfrac{2\pi}{8} = \dfrac{\pi}{4}.
  • You start at the minimum at t=0t = 0, so use a negative cosine with C=0C = 0.
h(t)=−20cos⁡(π4t)+25h(t) = -20\cos\left(\frac{\pi}{4}t\right) + 25

At t=2t = 2: h(2)=−20cos⁡(π2)+25=0+25=25h(2) = -20\cos\left(\dfrac{\pi}{2}\right) + 25 = 0 + 25 = 25 m. A quarter turn in, you are level with the center.

At t=4t = 4: h(4)=−20cos⁡(π)+25=20+25=45h(4) = -20\cos(\pi) + 25 = 20 + 25 = 45 m. Halfway around, you are at the top.

Height (m) against time (min). The rider starts at 5 m, peaks at 45 m after 4 minutes, and repeats every 8 minutes. The midline y = 25 is dashed.Open in grapher →

Tides

Worked example: Water depth at a pier

At a pier, high tide of 1010 feet occurs at 22 a.m., and the next low tide of 22 feet occurs at 88 a.m. Model the depth dd in feet tt hours after midnight, and predict the depth at 44 a.m.

Solution.

  • Midline D=10+22=6D = \dfrac{10 + 2}{2} = 6. Amplitude 10−22=4\dfrac{10 - 2}{2} = 4.
  • High tide to low tide is half a cycle: 8−2=68 - 2 = 6 hours. So the period is 1212 hours and B=2π12=π6B = \dfrac{2\pi}{12} = \dfrac{\pi}{6}.
  • A maximum occurs at t=2t = 2, so use cosine with C=2C = 2.
d(t)=4cos⁡(π6(t−2))+6d(t) = 4\cos\left(\frac{\pi}{6}(t - 2)\right) + 6

At 44 a.m., t=4t = 4: d(4)=4cos⁡(π6⋅2)+6=4cos⁡(π3)+6=4⋅12+6=8d(4) = 4\cos\left(\dfrac{\pi}{6} \cdot 2\right) + 6 = 4\cos\left(\dfrac{\pi}{3}\right) + 6 = 4 \cdot \dfrac{1}{2} + 6 = 8 feet.

Common mistake

The time from a maximum to the next minimum is half a period, not a full period. Doubling it is one of the most common steps students forget. A full period goes from one maximum to the next maximum.

Using a model to answer "when" questions

Sometimes you are asked how long a quantity stays above or below a level. Set up an inequality with the model and use the unit circle.

Worked example: Time spent near the top

For the Ferris wheel h(t)=−20cos⁡(π4t)+25h(t) = -20\cos\left(\dfrac{\pi}{4}t\right) + 25, during the first revolution (0≤t≤80 \le t \le 8), how many minutes is the rider at least 3535 meters high?

Solution. Solve h(t)≥35h(t) \ge 35:

−20cos⁡(π4t)+25≥35−20cos⁡(π4t)≥10cos⁡(π4t)≤−12\begin{aligned} -20\cos\left(\tfrac{\pi}{4}t\right) + 25 &\ge 35 \\ -20\cos\left(\tfrac{\pi}{4}t\right) &\ge 10 \\ \cos\left(\tfrac{\pi}{4}t\right) &\le -\tfrac{1}{2} \end{aligned}

(Dividing by −20-20 flips the inequality.) On one cycle, cos⁡θ≤−12\cos\theta \le -\dfrac{1}{2} when 2π3≤θ≤4π3\dfrac{2\pi}{3} \le \theta \le \dfrac{4\pi}{3}. With θ=π4t\theta = \dfrac{\pi}{4}t, multiply by 4π\dfrac{4}{\pi}: 83≤t≤163\dfrac{8}{3} \le t \le \dfrac{16}{3}. That is 163−83=83≈2.67\dfrac{16}{3} - \dfrac{8}{3} = \dfrac{8}{3} \approx 2.67 minutes.

Daylight over a year

Worked example: Hours of daylight

In one city, the longest day of the year has 1515 hours of daylight (day 172172) and the shortest has 99 hours. Model the hours of daylight LL on day tt of the year, using a period of 365365 days.

Solution. Midline D=15+92=12D = \dfrac{15 + 9}{2} = 12, amplitude 15−92=3\dfrac{15 - 9}{2} = 3, B=2π365B = \dfrac{2\pi}{365}, and a maximum at t=172t = 172:

L(t)=3cos⁡(2π365(t−172))+12.L(t) = 3\cos\left(\frac{2\pi}{365}(t - 172)\right) + 12.

The model predicts about 1212 hours of daylight a quarter year from the longest day, near t=172+91.25≈263t = 172 + 91.25 \approx 263, which is close to the autumn equinox.

Tip

Check a model at a moment you know. In the tide model, t=8t = 8 gives 4cos⁡(π)+6=24\cos(\pi) + 6 = 2, the low tide. If a check fails, the most likely culprits are the period and the sign of AA.

Practice

Practice 1

Over one day, the temperature in a city varies sinusoidally between a low of 58∘58^\circF and a high of 82∘82^\circF. What is the amplitude of the model, in degrees?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

For the same temperature model (low 58∘58^\circF, high 82∘82^\circF), what is DD, the value of the midline?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

The temperature pattern repeats every 2424 hours. If tt is measured in hours, what is the value of BB in the model? (Assume BB is positive.)

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

A Ferris wheel has radius 1515 meters, its center is 1818 meters above the ground, and it turns once every 66 minutes. A rider boards at the lowest point at t=0t = 0. How high, in meters, is the rider at t=3t = 3 minutes?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

The same rider's height is modeled by h(t)=18−15cos⁡(π3t)h(t) = 18 - 15\cos\left(\dfrac{\pi}{3}t\right). Find h(1)h(1) in meters.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

At a harbor, the water is 1212 feet deep at high tide at t=0t = 0 hours, and the next low tide, 44 feet, is at t=6t = 6 hours. Which model fits?

Practice 7

The hours of daylight in a town are modeled by L(t)=12+2.5sin⁡(2π365(t−80))L(t) = 12 + 2.5\sin\left(\dfrac{2\pi}{365}(t - 80)\right), where tt is the day of the year. According to the model, what is the greatest number of hours of daylight in a day?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

For h(t)=18−15cos⁡(π3t)h(t) = 18 - 15\cos\left(\dfrac{\pi}{3}t\right) (height in meters, tt in minutes), how many minutes during the first revolution, 0≤t≤60 \le t \le 6, is the rider at least 25.525.5 meters high?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.