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:

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.

x y midline y = d |a| period 2π/b (peak → peak) trough: d − |a| peak: d + |a|
Four numbers, all four visible in the picture. The midline is the equilibrium level $y=d$; the amplitude $|a|$ is the vertical segment from the midline up to a peak (not the whole peak-to-trough range); the period is measured horizontally from a peak to the next peak. AP gives a graph like this and asks in reverse: write the formula. The safe order is $d$ first, $|a|$ second, the period gives $b$, and only at the end do you choose sin or cos according to the starting point.

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.

Common mistake

Two errors account for more than half the wrong answers on this topic: (1) reading the phase shift before $b$ has been factored out: for $\sin(3x+\frac{\pi}{2})$, answering "shifted left $\frac{\pi}{2}$" is the classic trap; (2) taking $\max-\min$ as the amplitude and forgetting to divide by $2$. One more subtle trap: the minus sign in front of $a$ swaps the places of the max and min within a period but does not change the amplitude or the period.

Key takeaway

$d=\frac{\max+\min}{2}$, $|a|=\frac{\max-\min}{2}$, period $=\frac{2\pi}{b}$, and read the phase only after factoring out $b$. Cosine starts at a peak, sine starts at the midline, and a minus sign flips the starting point.

← Sine and Cosine on the Unit Circle · All AP Precalculus lessons · Practice AP Precalculus questions (free, instant scoring) · Sinusoidal Function Modeling →