Academy
PhysicsOscillationsShmPhase and Initial Conditions

Phase and Initial Conditions

What the phase constant means physically, how initial position and velocity determine it, and how to read phase from a graph.

The general solution of SHM is:

x(t)=Acos(ωt+ϕ)x(t) = A\cos(\omega t + \phi)

ϕ\phi is the phase constant — it encodes where in the cycle the oscillator starts at t=0t = 0.

Starting at maximum: ϕ=0\phi = 0

Released from rest at x=+Ax = +A. This is the simplest case — pure cosine:

SpringMass amplitude 80 k 100 m 1 phase 0
Show spring block wall displacement-arrow graph-x
Hide energy readouts velocity-arrow acceleration-arrow equilibrium

At t=0t=0: x=Ax = A, v=0v = 0. Graph starts at the peak.

Starting at negative extreme: ϕ=π\phi = \pi

Released from rest at x=Ax = -A:

SpringMass amplitude 80 k 100 m 1 phase 3.14159
Show spring block wall displacement-arrow graph-x
Hide energy readouts velocity-arrow acceleration-arrow equilibrium

At t=0t=0: x=Ax = -A, v=0v = 0. Graph starts at the trough. This is antiphase with ϕ=0\phi=0.

Starting at centre moving right: ϕ=π/2\phi = -\pi/2

Pushed through equilibrium with maximum velocity:

SpringMass amplitude 80 k 100 m 1 phase -1.5708
Show spring block wall velocity-arrow graph-x
Hide energy readouts displacement-arrow acceleration-arrow equilibrium

At t=0t=0: x=0x = 0, v=+Aωv = +A\omega (maximum positive). Graph starts as a sine, not a cosine.

Starting at centre moving left: ϕ=+π/2\phi = +\pi/2

SpringMass amplitude 80 k 100 m 1 phase 1.5708
Show spring block wall velocity-arrow graph-x
Hide energy readouts displacement-arrow acceleration-arrow equilibrium

At t=0t=0: x=0x = 0, v=Aωv = -A\omega (maximum negative). Graph is a negative sine.

Finding ϕ\phi from initial conditions

Given x0=x(0)x_0 = x(0) and v0=v(0)v_0 = v(0):

A=x02+(v0ω)2A = \sqrt{x_0^2 + \left(\frac{v_0}{\omega}\right)^2}

cosϕ=x0A,sinϕ=v0Aω\cos\phi = \frac{x_0}{A}, \quad \sin\phi = \frac{-v_0}{A\omega}

Use both equations together to determine the correct quadrant of ϕ\phi.

Reading phase from a graph

Graph at t=0t=0Slope at t=0t=0ϕ\phi
Starts at +A+Azero00
Starts at 00positiveπ/2-\pi/2
Starts at 00negative+π/2+\pi/2
Starts at A-Azeroπ\pi