AP Precalculus · Study guide

Sinusoidal Function Context and Data Modeling

AP® Precalculus · Unit 3 · Trigonometric and Polar Functions

Sinusoidal Models

Wheels, tides, seasons and sound waves are all modeled with sinusoids. This guide turns a description or a data set into a model, using the maximum, minimum, timing of peaks and a known point, and then uses the model in both directions.

The idea in one paragraph

The context gives the numbers. The time between repeating maximums (or minimums) gives the period and so \(b = \frac{2\pi}{\text{period}}\). The maximum and minimum give the amplitude \(\frac{\max - \min}{2}\) and the midline \(\frac{\max + \min}{2}\). One actual input-output pair, such as when a maximum occurs, fixes the phase shift. With data, technology can estimate these values or run a sinusoidal regression. A model is only trustworthy over its contextual domain, and it can be solved for an input as well as evaluated for an output.

1Reading the context

InformationGives
Time for one full repeat (peak to peak)Period, so \(b = \frac{2\pi}{\text{period}}\)
Peak to the next valleyHalf a period
Maximum and minimumAmplitude and midline
When a maximum, minimum or midline crossing happensPhase shift; choose sine or cosine to match
Worked Example 1 Period from a high and the next low

High tide, 3.4 m, is at 2:00. The next low tide, 0.6 m, is at 8:15. Find the period, amplitude and midline.

  1. 1
    A high and the next low are half a period apart: 6 h 15 min = 6.25 h. Period \(= 12.5\) hours.
  2. 2
    Amplitude \(\frac{3.4 - 0.6}{2} = 1.4\) m; midline \(\frac{3.4 + 0.6}{2} = 2.0\) m.
Answer: Period 12.5 h, amplitude 1.4 m, midline 2.0 m.

2Building a model

Figure 1. The geometry of the wheel supplies every number in the model. Starting at the lowest point calls for a flipped cosine.
Worked Example 2 Building a model from a description

A Ferris wheel 40 m across has its center 25 m above the ground and turns once every 60 s. A rider boards at the bottom at \(t = 0\). Model the rider’s height, find it at \(t = 10\), and find when the rider first reaches 35 m.

  1. 1
    Midline: the center, 25. Amplitude: the radius, 20. Period 60, so \(b = \frac{2\pi}{60} = \frac{\pi}{30}\).
  2. 2
    At \(t = 0\) the rider is at the minimum, which matches \(-\cos\): \(h(t) = 25 - 20\cos\left(\frac{\pi t}{30}\right)\).
  3. 3
    \(h(10) = 25 - 20\cos\frac{\pi}{3} = 25 - 10 = 15\) m.
  4. 4
    \(h(t) = 35\) means \(\cos\frac{\pi t}{30} = -\frac12\). The first time is \(\frac{\pi t}{30} = \frac{2\pi}{3}\), so \(t = 20\) s.
Answer: \(h(t) = 25 - 20\cos\left(\frac{\pi t}{30}\right)\); 15 m at 10 s; first at 35 m after 20 s (Figure 1).
Worked Example 3 From the extremes and their timing

In one city the longest day has 15.2 hours of daylight (day 172) and the shortest has 9.1 hours. Model daylight over a 365-day year and estimate day 80.

  1. 1
    Amplitude \(\frac{15.2 - 9.1}{2} = 3.05\); midline \(\frac{15.2 + 9.1}{2} = 12.15\).
  2. 2
    Period 365, so \(b = \frac{2\pi}{365}\). The maximum is at day 172, so use cosine shifted to 172.
  3. 3
    \(D(t) = 3.05\cos\left(\frac{2\pi}{365}(t - 172)\right) + 12.15\). \(D(80) \approx 12.11\) hours.
Answer: About 12.11 hours on day 80, close to the midline, as expected near the spring equinox.
Write it like this

“The rider is at the minimum height when \(t = 0\), so the model uses \(-\cos\): \(h(t) = 25 - 20\cos\left(\frac{\pi t}{30}\right)\).”

Common Mistake 1 · Using the diameter as the amplitude

The wheel is 40 m across, but the rider only rises 20 m above the center. Amplitude is half the total change, the radius here.

Common Mistake 2 · Taking a high-to-low time as the period

From high tide at 2:00 to low tide at 8:15 is only half a cycle. The full period is twice that, 12.5 hours.

3Regression with technology

When data only roughly follow a sinusoid, a calculator’s sinusoidal regression finds the best values of \(a\), \(b\), \(c\) and \(d\). Check the result against the context: a yearly cycle should have a period close to 12 months.

Figure 2. The regression fits the year it was built from. Open dots repeat that year’s values a year later; the dashed curve runs late against them because its period is a little too long.
Worked Example 4 A regression and its limits

Monthly average temperatures (°F) for one year are below. Fit a sinusoidal model, find when the model reaches 60 °F in spring, and comment on predicting two years ahead.

month123456789101112
°F313544556574797769574635
  1. 1
    Sinusoidal regression gives \(y \approx 23.80\sin(0.5055(t - 4.009)) + 54.76\). Every residual is under 1.3 °F.
  2. 2
    Solve \(23.80\sin(0.5055(t - 4.009)) + 54.76 = 60\): \(\sin(\ldots) \approx 0.220\), so \(t \approx 4.45\), mid-April.
  3. 3
    The model’s period is \(\frac{2\pi}{0.5055} \approx 12.43\) months, not 12. Two years out (month 25, a January) it predicts about 32.7 °F, and the error keeps growing each year.
Answer: About \(t \approx 4.45\) (mid-April); use the model within the year it describes (Figure 2).

4Using a model, and its limits

A model answers “what output at this input?” by evaluating, and “when does the output reach this value?” by solving, usually with a graph and technology. A sinusoid repeats forever, but the situation may not: a ride ends, a season’s pattern shifts. Keep predictions inside the domain the context supports.

Common Mistake 3 · Reporting only one solution

Over a whole ride, the rider is at 35 m twice per turn (at \(t = 20\) and \(t = 40\), then again every 60 s). Read the question: “first time” wants one answer; “all times” wants the whole list.

Quick reference

StepWhat to do
PeriodTime between matching points (peak to peak)
b\(\frac{2\pi}{\text{period}}\)
Amplitude, midline\(\frac{\max - \min}{2}\), \(\frac{\max + \min}{2}\)
Start at a maximum\(a\cos\) shifted to that time
Start at a minimum\(-a\cos\) shifted to that time
Start on the midline going up\(a\sin\) shifted to that time
DomainOnly where the context supports the pattern