Graphs of Sine and Cosine; Sinusoidal Features
AP Precalculus · Trigonometric Functions and Sinusoids
Four numbers describe every sinusoid
Write the function as $y=a\sin\bigl(b(x-c)\bigr)+d$ (or with cosine). Then:
- Midline $y=d$ — the horizontal average $\dfrac{\max+\min}{2}$;
- Amplitude $|a|=\dfrac{\max-\min}{2}$ — distance from midline to an extreme, never max minus min;
- Period $\dfrac{2\pi}{b}$ — so $b$ is not the period, it counts how many cycles fit in $2\pi$;
- Phase shift $c$ — read only after factoring $b$ out: $\sin(3x+\tfrac{\pi}{2})=\sin\bigl(3(x+\tfrac{\pi}{6})\bigr)$, a shift of $\tfrac{\pi}{6}$ left, not $\tfrac{\pi}{2}$.
A negative $a$ reflects across the midline; it does not change the amplitude.
Anchor points
Within one period, a sinusoid visits five equally spaced anchors: midline–max–midline–min–midline for $+\sin$, max–midline–min–midline–max for $+\cos$. Cosine starts at a maximum, sine starts at the midline going up — this is what decides which template fits a given graph or data set.
Worked example: dissecting a sinusoid given by a formula
Let $y=-3\cos\bigl(2\bigl(x-\tfrac{\pi}{6}\bigr)\bigr)+1$. Find the amplitude, midline, period, phase shift, maximum and minimum values, and the smallest positive x-value at which the maximum is attained.
Solution
Read the four numbers: amplitude $|-3|=3$; midline $y=1$; period $\frac{2\pi}{2}=\pi$; shifted right by $\frac{\pi}{6}$.
Maximum value $1+3=4$, minimum $1-3=-2$.
Because the coefficient is $-3$ (the cosine is flipped), the function attains its max when $\cos\bigl(2(x-\frac{\pi}{6})\bigr)=-1$, that is, $2\bigl(x-\frac{\pi}{6}\bigr)=\pi+2\pi n$, giving $x=\frac{\pi}{6}+\frac{\pi}{2}+\pi n=\frac{2\pi}{3}+\pi n$.
The smallest positive x-value: $x=\frac{2\pi}{3}$. Note: if you forget the minus sign and look for where $\cos=1$, you get $x=\frac{\pi}{6}$, which is where the function attains its min, and of course that is a planted distractor.