Spring Oscillation & Resonance
Switch between horizontal, vertical, and inclined springs. Compare release at natural length, damping, and resonance using equilibrium markers and force directions. A free physics simulation in your browser (Simple harmonic motion, Damping, Resonance).
How it works and what to look for
m x″ = mg∥ − kx − cx′ + F₀cos(ωt), xeq = mg∥/k, q = x − xeq
Positive points away from the support along the spring. x is extension from natural length; q is displacement from equilibrium. g∥ is 0 horizontally, g vertically, and g sinθ on a frictionless slope. Gray and yellow dashed markers distinguish natural length and equilibrium. Force arrows are schematic; compare magnitudes in the readouts.
Gravity extends a hanging spring by mg/k, but its period about equilibrium is the same 2π√(m/k) as a horizontal spring. Mechanical energy combines elastic, gravitational, and kinetic energy, with zero potential at equilibrium. Changing parameters during motion also changes the energy reference, so compare intervals with fixed conditions.
With no driving force (F₀ = 0) and no damping (c = 0) it's simple harmonic motion with period T₀ = 2π√(m/k). Check that 4 times the mass doubles the period.
If the damping ratio ζ = c / (2√(mk)) is below 1 it oscillates while decaying; at 1 or more it returns without oscillating (critical damping, overdamping).
Driving near the natural angular frequency produces resonance and a larger amplitude. Switch to Resonance curve to see the yellow marker for the current driving frequency. Measured amplitude covers at least one full cycle, with a minimum window of 3 seconds. Changing conditions restarts measurement; wait for transients to settle before comparing.
Today's question: How does a stiffer spring change the time for one oscillation?
- Set driving force and damping to 0, mass to 1 kg, and spring constant to 20 N/m.
- Reset and find the time between successive peaks on the graph.
- Change only the spring constant to 80 N/m. Reset and compare.
Read the explanation and model assumptions
With no driving or damping, T = 2π√(m/k). Multiplying k by four halves the period and doubles the natural angular frequency. Amplitude and period are different quantities.
This relation describes free oscillation of an ideal spring obeying Hooke's law. Include the driving and damping conditions when exploring other cases.
Everyday examples
- A car's suspension combines springs and dampers so the bounce from a bump dies out quickly.
- Bathroom scales and spring balances measure weight with Hooke's law: the stretch is proportional to the force.
- Tuned mass dampers in tall buildings use a mass on springs whose natural frequency is chosen to counter the building's sway.
Common misconceptions
- Misconception: The bigger the swing, the longer each oscillation takes.
- In fact: For an ideal spring the period T = 2π√(m/k) does not depend on the amplitude.
- Misconception: Damping changes the frequency a lot.
- In fact: Light damping mostly shrinks the amplitude; the frequency barely changes. Strong damping stops the oscillation altogether.