Skip to content
LoveToCalc

Definition — what does that mean?

Simple harmonic motion

The amplitude says how far, the angular frequency how fast, and the phase constant where it started. The sine ties them together — in radians.

In Swedish: Harmonisk svängning

x=A sin(ωt+φ)

A
Amplitude
ω
Angular frequency
t
Time
φ
Phase constant (rad)
x
Displacement

The equation

x is the displacement from equilibrium in metres and A the amplitude, the largest displacement. ω is the angular frequency in rad/s, t the time in seconds and φ the phase constant in radians — where in the cycle the mass was at t = 0.

Holds for an undamped oscillation in which the restoring force is proportional to the displacement.

A mass on a spring oscillates with A = 0.10 m and ω = 2 rad/s, starting at equilibrium (φ = 0). After 0.5 s: x = 0.10 · sin(2 · 0.5) = 0.10 · sin(1) ≈ 0.084 m, 8.4 cm above equilibrium.

Your calculator has to be in radians

ωt + φ is an angle in radians, because ω is in radians per second. In degree mode a calculator works out sin(1°) instead of sin(1 rad):

Mode sin(1) x
Radians (right) 0.841 0.084 m
Degrees (wrong) 0.0175 0.0017 m

The wrong answer, 1.7 mm, looks like a perfectly reasonable displacement. Nothing warns you. Switch modes before you start.

A second example: released from the top

A mass released from its highest point has x = A at t = 0, so φ = π/2 ≈ 1.571 rad. With A = 0.05 m and ω = 4 rad/s, after 1.0 s: x = 0.05 · sin(4 + 1.571) = 0.05 · sin(5.571) ≈ −0.033 m. The minus sign means it is below equilibrium.

The same motion is often written x = A · cos(ωt): the same curve, shifted a quarter of a period.

Where next

Common mistakes

Common questions

Sine or cosine? Both are used. x = A · cos(ωt) is the same motion as x = A · sin(ωt + π/2); pick the one that makes φ = 0 for where your mass starts.

Why can’t I solve for the time? The sine repeats. The mass is at the same place twice every period, so “when is x = 2 cm” has infinitely many answers. That is why there is no card for t, ω or φ.

Last reviewed October 6, 2026 ·How pages are reviewed

Waves and opticsAll formulas