Oscillations

An oscillation is motion that repeats around an equilibrium point. Pull a mass on a spring, pluck a string, or nudge a pendulum and the system does not simply return once and stop. Inertia carries it past equilibrium, the restoring force pulls it back, and the cycle repeats. The cleanest version of that story is simple harmonic motion, where the restoring force is proportional to displacement.

Equilibrium and Restoring Force

A stable equilibrium is a point the system naturally returns to after a small disturbance. For a spring, Hooke’s law says

F=kx.F = -kx.

In this case, x=0x=0 is the equilibrium point of the system.
If the mass is displaced by xx, the spring pulls back with a force proportional to how far it has been stretched or compressed. The minus sign matters: it reminds us that the force points back toward equilibrium. This type of force is called a restoring force.

Period and Frequency

The period TT is the interval of time it takes to complete one full oscillation, or cycle, of the system. For an ideal mass-spring oscillator,

T=2πmk.T = 2\pi \sqrt{\frac{m}{k}}.

A stiffer spring makes the oscillation quicker, while a larger mass makes it slower. For small swings, a pendulum follows the same basic timing idea with

Tpendulum2πLg,T_{\text{pendulum}} \approx 2\pi \sqrt{\frac{L}{g}},

so a longer pendulum swings more slowly than a shorter one. It’s also convenient to define frequency ff and angular frequency ω\omega as

f=1T,ω=2πT.f = \frac{1}{T}, \qquad \omega = \frac{2\pi}{T}.

These measure cycles per second and radians per second, respectively (where each cycle corresponds to 2π2\pi radians). Note that “cycles” and “radians” are considered dimensionless.

A Sinusoidal Pattern

In ideal simple harmonic motion, position and velocity follow simple trigonometric functions. Here AA is the amplitude, ω\omega is the angular frequency, and ϕ\phi sets the starting phase. Click either equation below to open a plot and see how those three parameters reshape the curve.

Due to the restoring force, the acceleration is proportional to displacement and directed back toward equilibrium:

a(t)=ω2x(t).a(t) = -\omega^2 x(t).

Energy Exchange

An oscillator is a continual trade between kinetic energy and stored potential energy. For a spring,

Us=12kx2,K=12mv2,Emech=K+Us.U_s = \frac{1}{2}kx^2, \qquad K = \frac{1}{2}mv^2, \qquad E_{\text{mech}} = K + U_s.

If damping is negligible, the total mechanical energy stays fixed and simply shifts form over the cycle. Real systems lose some of that mechanical energy to internal friction, air resistance, or sound, so the motion gradually fades unless something keeps driving it.

One Cycle

As the system oscillates, kinetic energy is continuously exchanged with spring potential energy. It's helpful to pause and consider the energy and motion at key points in each cycle.

t = 0

Right turning point

Released from rest

Displacement +A
Speed 0

Spring potential is largest.

t = T/4

Center crossing

Moving left fastest

Displacement 0
Speed maximum

Kinetic energy is largest.

t = T/2

Left turning point

About to reverse

Displacement -A
Speed 0

Spring potential is largest.

t = 3T/4

Center crossing

Moving right fastest

Displacement 0
Speed maximum

Kinetic energy is largest.

As you explore the simulation below, try this sequence:

  1. Set damping to zero and compare how changing mm and kk changes the cycle time.
  2. Watch the energy bars at the center crossing and at the turning points.
  3. Raise the damping and notice how the amplitude envelope shrinks as mechanical energy leaves the system.

Spring-Mass Oscillator

Explore how amplitude, mass, spring stiffness, and damping shape the motion and energy flow.

What to Notice

  • In simple harmonic motion, the force and acceleration always point toward equilibrium.
  • The period is set by the system parameters mm and kk, not by how far you pull in the ideal model.
  • Position and energy are out of phase: maximum displacement coincides with minimum speed, and maximum speed occurs at equilibrium.

Oscillations Checkpoint

Question 1 of 3

A spring-mass oscillator is displaced farther from equilibrium. How does the restoring force change in ideal simple harmonic motion?

Choose an answer to get instant feedback.