Sinusoidal Function Modeling

AP Precalculus · Trigonometric Functions and Sinusoids

A fixed workflow

Every modeling context — tides, Ferris wheels, daylight hours, temperature — hands you the same four unknowns. Extract them in this order:

  1. Midline $d=\dfrac{\max+\min}{2}$ (Ferris wheel: height of the center);
  2. Amplitude $|a|=\dfrac{\max-\min}{2}$ (Ferris wheel: the radius, not the diameter);
  3. Period from the context — one full rotation, one full tidal cycle. Careful: the gap from a high tide to the next low tide is only half a period. Then $b=\dfrac{2\pi}{\text{period}}$;
  4. Template and sign from the starting state: at a maximum use $+a\cos$, at a minimum use $-a\cos$, at the midline moving up use $+a\sin$. Choosing the template to match the data point at $t=0$ (or shifting with $c$) is the last step, never the first.

Check the finished model by substituting one known data point that you did not use in the construction.

t (s) h (m) center: h = 25 40 80 5 45 t = 0: seat at the bottom → use −cos
The graph of the Ferris wheel seat's height gives away all four numbers. The bottom at $5$ m and the top at $45$ m give the midline $d=\frac{45+5}{2}=25$ (the height of the center) and amplitude $20$ (the radius). One revolution of $80$ seconds is the period, so $b=\frac{2\pi}{80}=\frac{\pi}{40}$. Starting at the bottom ⇒ the $-\cos$ template: $h(t)=25-20\cos\bigl(\frac{\pi}{40}t\bigr)$. Four steps, none requiring "inspiration".

Worked example: tides from two data points

At a harbor, high tide is $5.6$ m at $3$ a.m. and the next low tide is $1.2$ m at $9$ a.m. Treat the depth $h(t)$ as a sinusoid in the hour $t$ measured from midnight. Build $h(t)$ and compute the depth at $7$ a.m.

Solution

Four steps in order. Midline $d=\frac{5.6+1.2}{2}=3.4$. Amplitude $|a|=\frac{5.6-1.2}{2}=2.2$.

Period: from the peak ($t=3$) to the next trough ($t=9$) is $6$ hours, which is half a period, so the full period is $12$ hours and $b=\frac{2\pi}{12}=\frac{\pi}{6}$.

Template: at $t=3$ the function reaches a peak ⇒ use cosine shifted right by $3$:

$$h(t)=2.2\cos\!\Bigl(\frac{\pi}{6}(t-3)\Bigr)+3.4$$

Check with a point not yet fully used: $h(9)=2.2\cos(\pi)+3.4=1.2$ ✓.

At $7$ o'clock: $h(7)=2.2\cos\bigl(\frac{4\pi}{6}\bigr)+3.4=2.2\cdot\left(-\frac12\right)+3.4=2.3$ m.

Common mistake

Three places where points are lost: (1) taking the peak-to-trough distance ($6$ hours) as the whole period, which makes $b$ wrong by a factor of two, and that option is always among the four choices; (2) for a Ferris wheel, taking the diameter as the amplitude; (3) starting by choosing sin or cos and only then looking for the numbers, a reversed order that tangles up the sign and phase. Choose the template last, according to the state at $t=0$.

Key takeaway

Midline → amplitude → period → template, in exactly that order. Peak-to-trough is half a period. Starting at the bottom: $-\cos$; at the peak: $+\cos$; at the midline and rising: $+\sin$. When you finish building, you must test with a point.

← Graphs of Sine and Cosine; Sinusoidal Features · All AP Precalculus lessons · Practice AP Precalculus questions (free, instant scoring) · Tangent, Secant, Cosecant, and Cotangent →