AP® Precalculus · Unit 3 · Topic 3.6

Reading a Wave's Equation Off Its Graph

Every wave graph hides four numbers: a midline, an amplitude, a period, and a shift. Read the highest and lowest points and the spacing between peaks, and you can rebuild the whole equation.

A sine or cosine graph is built from the same unwrapped circle idea, but stretched and slid. The max and min tell you two things at once: how far the wave sits from the x-axis (midline d) and how far it swings above and below that line (amplitude a). The midline is the average of the max and min, d = (max+min)/2. The amplitude is half the total vertical distance, a = (max-min)/2. These two numbers alone fix the top-to-bottom shape of the wave.

The side-to-side shape comes from the period, the horizontal distance between two consecutive peaks (or two consecutive troughs). Since period = 2pi/b, you solve for b by b = 2pi/period. A shorter period means a larger b, meaning the wave repeats faster. Once you know where a peak actually sits, you can line up sine or cosine's own peak with it to find the phase shift c, since sine naturally peaks a quarter-period after it crosses the midline going up, while cosine peaks right at x = 0 before any shift.

This topic is the reverse of graphing from an equation: here you start from the picture and recover a, b, c, d. It sits right before combining these features with the unit circle's exact values, and before switching between sine and cosine descriptions of the same wave, which is really just a horizontal shift in disguise.

Key terms

amplitude
half the distance between the maximum and minimum values of the wave.
midline
the horizontal line exactly halfway between the maximum and minimum, about which the wave oscillates.
period
the horizontal distance after which the wave's pattern repeats, measured peak to peak.
phase shift
the horizontal slide needed to move a basic sine or cosine graph onto the given wave.

Watch it explained

  1. How it worksHow do the maximum, the minimum, and the distance between peaks give you a, d, and b?
  2. Worked exampleFind an equation for a wave with maximum 9, minimum 1, period 6, and a peak at x = 2.
  3. Going furtherWhat changes if you decide to write that same wave using cosine instead of sine?

Check yourself

Your turn1 of 2
A wave has maximum 24, minimum 6, and period 11. Write its equation in the form y = A·sin(Bx) + D (no phase shift).

End of topic.