Phase Shift of a Sine Wave

April 12, 2026

Problem

Show how y = sin(x − π/4) is shifted compared to y = sin(x).

Explanation

A phase shift moves a wave horizontally without changing its shape, amplitude, or period. The function y=sin(xφ)y = \sin(x - \varphi) is the same wave as y=sinxy = \sin x, just shifted to the right by φ\varphi.

The Rule

Inside the sine function, subtracting φ\varphi shifts the graph to the right by φ\varphi. Adding φ\varphi shifts it to the left. (This is opposite of what your intuition might expect — "minus moves right" is one of the trickiest things to internalize in graph transformations.)

Step-by-Step Solution

Compare y1=sinxy_1 = \sin x and y2=sin(xπ/4)y_2 = \sin(x - \pi/4).


Step 1 — Find the zero crossings of y1=sinxy_1 = \sin x.

sinx=0    x=0,π,2π,3π,\sin x = 0 \;\Longrightarrow\; x = 0,\, \pi,\, 2\pi,\, 3\pi,\, \ldots

Step 2 — Find the zero crossings of y2=sin(xπ/4)y_2 = \sin(x - \pi/4).

Set the argument equal to multiples of π\pi:

xπ4=0,π,2π,x - \dfrac{\pi}{4} = 0,\, \pi,\, 2\pi,\, \ldots

x=π4,π+π4,2π+π4,x = \dfrac{\pi}{4},\, \pi + \dfrac{\pi}{4},\, 2\pi + \dfrac{\pi}{4},\, \ldots

Each zero of y2y_2 is shifted right by π/40.785\pi/4 \approx 0.785 compared to the corresponding zero of y1y_1.

Step 3 — Find the maxima of both.

y1y_1 peaks where sinx=1\sin x = 1, at x=π/2,5π/2,x = \pi/2,\, 5\pi/2,\, \ldots

y2y_2 peaks where sin(xπ/4)=1\sin(x - \pi/4) = 1, i.e. xπ/4=π/2x - \pi/4 = \pi/2, so x=π/2+π/4=3π/4x = \pi/2 + \pi/4 = 3\pi/4.

So the peak shifts from x=π/21.571x = \pi/2 \approx 1.571 to x=3π/42.356x = 3\pi/4 \approx 2.356 — a shift of exactly π/40.785\pi/4 \approx 0.785 to the right. ✓

Step 4 — Tabulate values at a few common xx values.

  • At x=0x = 0: y1=0y_1 = 0, y2=sin(π/4)=2/20.707y_2 = \sin(-\pi/4) = -\sqrt{2}/2 \approx -0.707
  • At x=π/4x = \pi/4: y1=2/20.707y_1 = \sqrt{2}/2 \approx 0.707, y2=sin(0)=0y_2 = \sin(0) = 0 (zero!)
  • At x=π/2x = \pi/2: y1=1y_1 = 1 (peak), y2=sin(π/4)=2/2y_2 = \sin(\pi/4) = \sqrt{2}/2
  • At x=3π/4x = 3\pi/4: y1=2/2y_1 = \sqrt{2}/2, y2=sin(π/2)=1y_2 = \sin(\pi/2) = 1 (peak!)

You can clearly see y2y_2 "lagging behind" y1y_1 by exactly π/4\pi/4 at every step.


Answer: The graph y=sin(xπ/4)y = \sin(x - \pi/4) is identical to y=sinxy = \sin x but shifted to the right by π/4\pi/4 (about 0.785 units). Every zero, every peak, and every trough is delayed by exactly that amount.

In general, y=sin(xφ)y = \sin(x - \varphi) shifts the wave right by φ\varphi, and y=sin(x+φ)y = \sin(x + \varphi) shifts it left by φ\varphi.

Try It

  • Slide the phase shift φ\varphi widget — watch the pink wave slide horizontally relative to the cyan reference.
  • A horizontal arrow shows the magnitude and direction of the shift.
  • At φ=π/21.571\varphi = \pi/2 \approx 1.571, the shifted wave becomes sin(xπ/2)=cosx\sin(x - \pi/2) = -\cos x.
  • At φ=π\varphi = \pi, the shifted wave is sin(xπ)=sinx\sin(x - \pi) = -\sin x — flipped upside down.

Interactive Visualization

Parameters

0.79
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Phase Shift of a Sine Wave | MathSpin