The Physics of the Universe
Home › Simulations › Damped & Driven Harmonic Oscillator (Phase Portrait & Resonance)

Damped & Driven Harmonic Oscillator (Phase Portrait & Resonance)

Observe exact closed-form damped and driven harmonic motion alongside its live phase-space portrait (x, v/ω₀)—guaranteed unconditionally stable even at heavy overdamping ζ = 2.5.

Presets:
Remember: damped resonance amplitude peaks at ω_peak = ω₀√(1 − 2ζ²), slightly below ω₀—and disappears completely once ζ ≥ 1/√2 ≈ 0.707!

Key Equations & Physics Model

Driven Damped Equation of Motion: m x'' + 2 ζ m ω₀ x' + k x = F₀ cos(ω_d t)
Resonance Amplitude Peak (ζ < 1/√2): ω_peak = ω₀ √(1 − 2 ζ²) (ω₀ = √(k / m))

Evaluates the exact analytical homogeneous & steady-state closed forms, eliminating stiff RK4 integration error at high ζ.

How the Physics Works

Every elastic spring-mass system naturally oscillates at angular frequency ω₀ = √(k/m). Friction proportional to velocity drains energy cleanly according to dimensionless damping ratio ζ = c / (2√(mk)).

Below ζ = 1 (underdamped), displacement spirals inward on the phase portrait; at ζ = 1 (critically damped), the block settles fastest without ever overshooting zero—ideal for shock absorbers and door closers!

Damping & Resonance Regimes Compared

RegimeDamping ζPhase Portrait ShapePhysical Behavior
Undamped SHMζ = 0Closed circle/ellipsePerpetual oscillation at fixed energy
Underdamped0 < ζ < 1Inward logarithmic spiralDecay envelope exp(−ζω₀t)
Critically Dampedζ = 1Direct non-oscillating arcFastest possible return to equilibrium
Overdampedζ > 1Slow sluggish curveResists motion so hard recovery slows

What separates underdamped ringing, critical damping, and resonance?

A 38-second animation: damping ratio ζ, phase-space spirals, critical door-closer return, and peak resonance shift.

Experiments to Try

Watch Undamped vs Critical Settling

Compare Underdamped Ringing against Critically Damped Door Closer: ζ = 1 brings the mass straight to rest in one smooth sweep.

Verify True Resonance Peak Shift

Select Driven Resonance Spike (F₀ = 6 N, ζ = 0.12): note the HUD shows peak occurs slightly below ω₀ at 0.985 ω₀.

Frequently Asked Questions

Why doesn't damped resonance peak at exact ω₀?

Velocity friction shifts maximum steady-state displacement downward to ω₀√(1 − 2ζ²); beyond ζ = 0.707 amplitude decreases monotonically with drive frequency.

Related Topics & Tools