AP Precalculus · Topic 3.5 · Reading guide, about 4 min

Period, amplitude and midline of sinusoids

Read and set the period, frequency, amplitude, midline and phase shift of sine and cosine transformations.

In one minute

A sinusoidal function is a sine or cosine graph that has been stretched, squeezed, shifted or flipped. Tides, sound waves and a spinning wheel's height are all sinusoids with different numbers attached. Four numbers describe any of them: how tall the wave is, where it is centered, how long a cycle takes, and where the cycle starts.

This topic is about those numbers: what each means and how to read it from a graph or an equation.

Key terms

Sinusoidal function
A function whose graph is a transformation of y=sin⁡θy=\sin\theta or y=cos⁡θy=\cos\theta, such as f(θ)=asin⁡(bθ+c)+df(\theta)=a\sin(b\theta+c)+d with a,b≠0a,b\ne0.
Amplitude
Half the distance from minimum to maximum, max⁡−min⁡2\frac{\max-\min}{2}. For asin⁡(bθ)a\sin(b\theta) it is ∣a∣|a|.
Midline
The horizontal line y=max⁡+min⁡2y=\frac{\max+\min}{2}. In asin⁡(bθ)+da\sin(b\theta)+d it is y=dy=d.
Period
The horizontal length of one full cycle. For a graph with factor bb on the angle, the period is 2π∣b∣\frac{2\pi}{|b|}.
Frequency
The number of cycles per unit of input, the reciprocal of the period: ∣b∣2π\frac{|b|}{2\pi}.
Phase shift
The horizontal shift of the graph compared with the basic sine or cosine. In sin⁡(θ−h)\sin(\theta-h) the graph moves right by hh.
Maximum and minimum values
A sinusoid's largest and smallest outputs are midline plus amplitude and midline minus amplitude.

The four features

Start from y=sin⁡θy=\sin\theta, which has amplitude 1, midline y=0y=0 and period 2π2\pi. A vertical stretch by factor aa multiplies the amplitude: y=asin⁡θy=a\sin\theta swings between −∣a∣-|a| and ∣a∣|a|. A vertical shift by dd moves the whole wave, so the midline becomes y=dy=d and the extreme values are d+∣a∣d+|a| and d−∣a∣d-|a|.

A horizontal change affects the period. In y=sin⁡(bθ)y=\sin(b\theta) the wave finishes a cycle when bθb\theta reaches 2π2\pi, that is at θ=2πb\theta=\frac{2\pi}{b}. If b=2b=2 the cycle takes π\pi, twice as fast, so the graph is squeezed. If b=12b=\frac{1}{2} the period is 4π4\pi and the graph is stretched. The frequency, how many cycles fit in one unit of input, is ∣b∣2π\frac{|b|}{2\pi}.

A horizontal shift slides the graph left or right. In y=sin⁡(θ−h)y=\sin(\theta-h) every point moves right by hh. That shift is the phase shift. When the equation looks like sin⁡(bθ−k)\sin(b\theta-k), factor out bb first: sin⁡(b(θ−kb))\sin\left(b\left(\theta-\frac{k}{b}\right)\right), so the shift is kb\frac{k}{b}, not kk.

What each parameter does in f(θ)=asin⁡(bθ)+df(\theta)=a\sin(b\theta)+d
ParameterControlsValue
aaamplitude∣a∣|a| (negative aa also reflects)
bbperiod and frequencyperiod 2π∣b∣\frac{2\pi}{|b|}, frequency ∣b∣2π\frac{|b|}{2\pi}
ddmidliney=dy=d
shift hh in θ−h\theta-hphase shiftright by hh (left if h<0h<0)

Reading features from a graph

Identify the largest and smallest outputs first. Their average is the midline, and half their difference is the amplitude. Then measure the horizontal distance between two consecutive maxima, or two consecutive minima. That distance is the period, and b=2πperiodb=\frac{2\pi}{\text{period}}.

Worked example. A sinusoid has maximum value 7 and minimum value −1-1. Consecutive maxima occur at θ=π6\theta=\frac{\pi}{6} and θ=7π6\theta=\frac{7\pi}{6}. Midline: 7+(−1)2=3\frac{7+(-1)}{2}=3. Amplitude: 7−(−1)2=4\frac{7-(-1)}{2}=4. Period: 7π6−π6=π\frac{7\pi}{6}-\frac{\pi}{6}=\pi, so b=2ππ=2b=\frac{2\pi}{\pi}=2. A cosine starts at a maximum, so the graph of 4cos⁡(2(θ−π6))+34\cos(2(\theta-\frac{\pi}{6}))+3 has its maximum at θ=π6\theta=\frac{\pi}{6}. Check the maximum: at θ=π6\theta=\frac{\pi}{6} the cosine factor is cos⁡0=1\cos0=1, giving 4⋅1+3=74\cdot1+3=7. Check the next one: at θ=7π6\theta=\frac{7\pi}{6}, 2(7π6−π6)=2π2\left(\frac{7\pi}{6}-\frac{\pi}{6}\right)=2\pi, and cos⁡2π=1\cos2\pi=1, again 7. Check a minimum: at θ=π6+π2=2π3\theta=\frac{\pi}{6}+\frac{\pi}{2}=\frac{2\pi}{3}, the inside is π\pi, and 4cos⁡π+3=−14\cos\pi+3=-1.

Notice that the phase shift of that equation is π6\frac{\pi}{6}. If you expanded it as 4cos⁡(2θ−π3)+34\cos\left(2\theta-\frac{\pi}{3}\right)+3, the number π3\frac{\pi}{3} is not the shift. You must divide by 2.

Sine as a shifted cosine

Because the graphs of sine and cosine have the same shape, either can describe the same wave. Sliding cosine right by π2\frac{\pi}{2} gives sine: sin⁡θ=cos⁡(θ−π2)\sin\theta=\cos\left(\theta-\frac{\pi}{2}\right). Equivalently, sliding sine left by π2\frac{\pi}{2} gives cosine: cos⁡θ=sin⁡(θ+π2)\cos\theta=\sin\left(\theta+\frac{\pi}{2}\right). So one wave has many correct equations, with different shifts or a different choice of sine versus cosine.

Example: f(θ)=3cos⁡(2θ)+1f(\theta)=3\cos(2\theta)+1 has amplitude 3, midline y=1y=1, period 2π2=π\frac{2\pi}{2}=\pi, maximum 4 and minimum −2-2. It can also be written 3sin⁡(2(θ+π4))+13\sin\left(2\left(\theta+\frac{\pi}{4}\right)\right)+1, because shifting a sine left by a quarter period, which is π4\frac{\pi}{4} here, turns it into a cosine.

Negative values of aa flip the graph over the midline. For example −2cos⁡θ-2\cos\theta has a minimum at θ=0\theta=0 instead of a maximum, and its amplitude is still 2. Graphing technology confirms these features quickly, but you should be able to reach them from the equation by reasoning.

How it connects

  • Back to 1.12: shifting, stretching and reflecting graphs. Sinusoids use exactly those moves on sine and cosine.
  • Back to 3.4: the graphs of sine and cosine have amplitude 1, midline y=0y=0 and period 2π2\pi, the base case we now transform.
  • Forward to 3.6: we write the form asin⁡(b(θ+c))+da\sin(b(\theta+c))+d systematically and sketch graphs from equations.
  • Forward to 3.7: models of tides, wheels and temperatures use these four numbers with units.

Common mistakes

  • **Using aa itself as the amplitude.** Amplitude is ∣a∣|a|, never negative. A negative aa reflects the graph.
  • **Using bb as the period.** The period is 2π∣b∣\frac{2\pi}{|b|}. A larger bb makes a shorter period.
  • **Reading the shift from bθ−kb\theta-k as kk.** Factor out bb first, so the shift is kb\frac{k}{b}.
  • Treating the midline as the minimum or the amplitude. The midline is the average of the maximum and the minimum.

How it shows up on the exam

  • Reading the period, amplitude and midline from a graph or from an equation, and writing an equation that matches a graph.
  • Questions that give two equivalent forms, one with sine and one with cosine, and ask you to explain or choose the matching shift.
  • Interpreting what one parameter means in a short context, such as what changing the period would do to the graph.

Check yourself

  1. What are the period and frequency of f(θ)=5sin⁡(3θ)−2f(\theta)=5\sin(3\theta)-2?
  2. A sinusoid has maximum 10 and minimum −4-4. What are its midline and amplitude?
  3. How far and in which direction is y=cos⁡(2θ−π)y=\cos\left(2\theta-\pi\right) shifted from y=cos⁡(2θ)y=\cos(2\theta)?
  4. Name two different equations, one with sine and one with cosine, that could describe the same wave.

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.