Phase Difference Between Two Oscillators

April 12, 2026

Problem

Two SHM oscillators with phase difference π/2. Show their motion side by side and on a single graph.

Explanation

Two oscillators of the same frequency can be in phase, out of phase, or anywhere in between. The phase difference φ\varphi tells you how much one is "ahead of" the other in time. A phase difference of π/2\pi/2 (90°) is particularly common — it's the offset between the position and velocity of a single oscillator.

The Math

If two oscillators have positions:

x1(t)=Asin(ωt)x2(t)=Asin(ωt+φ)x_1(t) = A\sin(\omega t) \qquad x_2(t) = A\sin(\omega t + \varphi)

The phase difference is φ\varphi. When φ=0\varphi = 0, they move identically. When φ=π\varphi = \pi, they move oppositely (one at peak when the other is at trough). When φ=π/2\varphi = \pi/2, they're "quarter-cycle" offset — one is at the center when the other is at an extreme.

Step-by-Step Solution

Given: Two oscillators x1=sin(t)x_1 = \sin(t) and x2=sin(t+π/2)=cos(t)x_2 = \sin(t + \pi/2) = \cos(t).

Find: Tabulate their values at t=0,π/4,π/2,3π/4,πt = 0,\, \pi/4,\, \pi/2,\, 3\pi/4,\, \pi and describe the relationship.


Step 1 — Tabulate the values.

| tt | x1=sintx_1 = \sin t | x2=costx_2 = \cos t | |---|---|---| | 00 | 00 | 11 (at peak) | | π/4\pi/4 | 2/20.707\sqrt{2}/2 \approx 0.707 | 2/20.707\sqrt{2}/2 \approx 0.707 | | π/2\pi/2 | 11 (at peak) | 00 | | 3π/43\pi/4 | 2/2\sqrt{2}/2 | 2/2-\sqrt{2}/2 | | π\pi | 00 | 1-1 (at trough) |

(Tables aren't supported in the renderer; converted to a list above.)

  • At t=0t = 0: x1x_1 is at the center going up; x2x_2 is already at its peak.
  • At t=π/2t = \pi/2: x1x_1 has just reached the peak; x2x_2 has dropped back to the center.

x2x_2 is always one quarter cycle ahead of x1x_1. Equivalently, x2=sin(t+π/2)=costx_2 = \sin(t + \pi/2) = \cos t.

Step 2 — Identify the geometric pattern.

If you plot (x1,x2)(x_1, x_2) in 2D as tt varies, you trace out a circle. That's because:

x12+x22=sin2t+cos2t=1x_1^{2} + x_2^{2} = \sin^{2} t + \cos^{2} t = 1

So a π/2\pi/2 phase difference is the most "circular" pairing — it's how you get circular motion from two perpendicular SHM oscillators (this is called a Lissajous figure).

Step 3 — Other phase differences.

  • φ=0\varphi = 0: x1=x2x_1 = x_2 — both trace the same line in the (x1,x2)(x_1, x_2) plane.
  • φ=π\varphi = \pi: x1=x2x_1 = -x_2 — they trace the opposite line.
  • φ=π/2\varphi = \pi/2: they trace a circle.
  • Anything else: they trace an ellipse with axes tilted 45° from the coordinate axes.

These tilted ellipses are the famous Lissajous figures and were used by oscilloscope users in the analog era to measure phase relationships visually.


Answer: Two oscillators with a π/2\pi/2 phase difference are a quarter cycle apart: one is at the peak when the other is at the center, and vice versa. Their parametric trajectory is a perfect circle in the (x1,x2)(x_1, x_2) plane:

x12+x22=A2x_1^{2} + x_2^{2} = A^{2}

For other phase differences, the trajectory is a Lissajous ellipse — a line for φ=0\varphi = 0 or π\pi, a perfect circle for φ=π/2\varphi = \pi/2.

Try It

  • Adjust the phase φ\varphi from 0 to 2π2\pi.
  • The two waves shift relative to each other.
  • The bottom panel plots the parametric trajectory (x1,x2)(x_1, x_2) — it morphs through ellipses, lines, and circles depending on φ\varphi.

Interactive Visualization

Parameters

1.57
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 Difference Between Two Oscillators | MathSpin