Skip to main content
Sandbox Physics

M088 · One spring, two kinds of motion

Swinging Spring & Internal Resonance

Can a bounce lend its energy to a swing? Yes, when the bounce frequency is close to twice the swing frequency. Then a tiny sideways nudge grows: energy flows from stretching into swinging, then back again, over and over. The total energy stays nearly constant through the exchange.

Stretch the spring, give the bob a small nudge and let go. Tune the ratio of the two small-amplitude frequencies and watch energy pass back and forth between stretching and swinging. Add a sideways launch to see the bob move in three dimensions.

Interactive modelSwinging Spring & Internal Resonance
Model timeReady\text{Ready}
Stretch energyReady\text{Ready}
Swing energyReady\text{Ready}
Total energy above equilibriumReady\text{Ready}
Relative energy errorReady\text{Ready}
Vertical angular momentumReady\text{Ready}

Physics tutorial

The bounce that lends its energy to a swing

BackgroundA mass hanging on a spring can bounce along the spring and swing in two sideways directions. Once the displacement is no longer tiny, gravity couples these motions.

Why it mattersYou can watch energy move from one motion to another with no motor driving it and no damping.

Start with the essentials

Focus question
Why can a mostly vertical release grow into a large swing?
One-sentence intuition
When the small-amplitude bounce frequency is close to twice the swing frequency, a tiny sideways seed can draw energy out of the bounce.

Core mathematical model

Equation of motion in Cartesian coordinates

r¨=−k(r−ℓ0)rr−y^\ddot{\mathbf r}=-k(r-\ell_0)\frac{\mathbf r}{r}-\hat{\mathbf y}

Units are chosen so that the mass and gravity both equal one. The vertical coordinate points up, and the spring force always points along the line to the pivot.

Small-amplitude bounce and swing frequencies

ωr=k,ωs=1,ℓ0=1−1k\omega_r=\sqrt{k},\quad\omega_s=1,\quad\ell_0=1-\frac1k

The equilibrium length with the mass hanging is fixed at one. These frequencies come from the linearized equations; they are not measured from the nonlinear motion.

Energy of the bounce

Er=r˙22+k(r−1)22E_r=\frac{\dot r^2}{2}+\frac{k(r-1)^2}{2}

The spring potential is written about the loaded equilibrium, so it already includes the part of gravity that acts along the spring.

Energy of the swing

Es=∣r˙∣2−r˙22+r+y,E=Er+EsE_s=\frac{|\dot{\mathbf r}|^2-\dot r^2}{2}+r+y,\quad E=E_r+E_s

This split of the total energy is exact and never negative. The swing part holds the sideways kinetic energy and the gravity term that depends on the spring's direction. Neither part is conserved on its own.

Angular momentum about the vertical axis

Ly=zx˙−xz˙=constantL_y=z\dot x-x\dot z=\mathrm{constant}

It stays constant because the spring force is central and gravity exerts no torque about the vertical axis.

Common difficulties

A swing needs a seed

Typical misconceptionIf I release it exactly vertically, it will start swinging sooner or later.

Better mental modelA motion that starts exactly vertical stays exactly vertical, because nothing in it breaks the symmetry. Use the tilt or sideways control to give it a small sideways start.

Internal resonance needs no drive

Typical misconceptionWhen the swing grows, energy is being added to the system.

Better mental modelThe energy comes from the bounce. This model is free and conservative, with no motor and nothing that varies the stiffness in time.

Run the experiment

  1. 01

    Release near resonance

    Choose Resonant exchange and press Play. Scrub through the whole record.

    What to observe: The orange stretch bar shrinks while the blue swing bar grows. Then the energy flows back.
  2. 02

    Detune and compare

    Choose Detune the spring. It starts with the same stretch and tilt.

    What to observe: The sideways motion grows much less. The loaded equilibrium length stays the same.
  3. 03

    Remove the seed

    Choose Perfectly vertical.

    What to observe: The bob bounces straight up and down in exact simple harmonic motion, and the swing energy stays at zero.
  4. 04

    Open the third direction

    Choose Spatial launch and compare the front and top views.

    What to observe: The trail leaves the starting plane, and the angular momentum about the vertical axis stays constant.
  5. 05

    Check the numerical accuracy

    Turn on Use half timestep and compare the largest recorded energy error.

    What to observe: The second-order integrator gives a smaller energy error, and the physical starting state does not change.
FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy