Sine wave (amplitude, period and phase)
The general sine wave: A stretches it vertically, B sets how often it repeats, C slides it sideways and D lifts it.
Calculator
The live calculator needs JavaScript. The worked example below shows the same steps it would.
See it move
- Amplitude |A| = 3, period 360°/B = 180°
- Phase shift C = 15° (a cycle starts there), midline y = 1
- Range: −2 ≤ y ≤ 4
What the symbols mean
- the height of the wave at x
- the amplitude: half the distance from trough to peak (a negative A flips the wave)
- the frequency factor: one cycle takes 360°/|B| (or 2π/|B| radians)
- the phase shift: the wave is moved C to the right
- the vertical shift: the midline is y = D
- the input (an angle, or time)
When to use it
Use it to model anything periodic: tides, daylight hours over a year, sound and alternating current, a point on a turning wheel. Read off the amplitude, period, phase shift and midline to sketch the graph, or fit them to data (D is the average of the highest and lowest values, |A| half their difference). Solving for x gives two answers in each cycle, and more in every later cycle.
Worked example
For y = 3 sin(2(x − 15°)) + 1, find y when x = 60°.
Start from the formula.
Substitute = , = , = , = , = and work it out.
The wave has amplitude |A| = 3, period 180°, is shifted 15° horizontally, and swings between −2 and 4 about the midline y = 1.
Answer y = 4, the wave's maximum
Why it works
It is transformed: multiplying by A stretches it vertically, replacing x by Bx squeezes it horizontally by a factor of B, replacing x by x − C shifts it right by C, and adding D moves it up.
Common mistakes
- Reading the period as B. The period is 360°/B: B = 2 means the wave repeats twice as often (every 180°).
- Getting the phase shift's direction wrong: shifts right by 15°; shifts right by only 7.5°.
- Forgetting that a negative A turns the wave upside down rather than changing its size.