Skip to main content
Sandbox Physics

M068 · A spring with changing stiffness

Parametric Resonance Playground

Can changing stiffness add energy without an applied drive force? It can, if the stiffness changes at the right rhythm. Stiffening and softening the spring at about twice its natural frequency does positive work on the motion, so a small wobble grows. If each modulation cycle multiplies the motion by a factor larger than one, it keeps growing. A cart at exact rest stays at rest, because there is no motion to pump.

A three-dimensional cart is tied to a fixed anchor by a spring whose stiffness varies, and a bar shows the current stiffness. Set the depth, frequency and phase of the modulation, release the cart and follow the pump work, which can be positive or negative. Run two independent starting states for one period to measure the Floquet multipliers, then build a stability map and select any cell in it.

Interactive modelParametric Resonance Playground
Acquired time0 s0\,\mathrm{s}
Primary displacement0 m0\,\mathrm{m}
Primary velocity0 m s−10\,\mathrm{m\,s^{-1}}
Mechanical energy0 J0\,\mathrm{J}
Integrated signed actuator work0 J0\,\mathrm{J}
Independent viscous dissipation0 J0\,\mathrm{J}
Independent energy balance defect0 J0\,\mathrm{J}
Position change with half step · first four cycles0 m0\,\mathrm{m}
Actual integration step0 ms0\,\mathrm{ms}
Model domain / record statusReady\text{Ready}
Primary spring force0 N0\,N
Primary acceleration0 m/s20\,\mathrm{m/s^2}
Stiffness pump power0 W0\,W
Total viscous power0 W0\,W
Current stiffness00
Largest Floquet multiplier magnitude00
Asymptotic linear growth rate00
Numerical linear stability00
Monodromy determinant defect00
Multiplier change with half step00
Computed map points00
Map acquisition status00

Physics tutorial

A pump changes the rule of the spring

BackgroundA spring whose stiffness changes in time can feed energy into the motion, even though no separate force pushes the mass. For a given release, how much the motion grows in a finite time depends on the phase of that change.

Why it mattersSection 28.29 of the NIST DLMF defines the one-period (monodromy) matrix of Hill equations and its Floquet eigenvalues. The version here includes damping, adds an exact identity for the determinant and integrates the work separately.

Start with the essentials

Focus question
How can measuring a single period predict long-term growth in a linear system?
One-sentence intuition
Run two independent starting states through one period to build the one-period map, then check whether its eigenvalues are larger or smaller than one in magnitude.

Core mathematical model

Equation of motion with a modulated spring

mx¨+2mζω0x˙+k0[1+hcos⁡(Ωt+ϕ)]x=0,ω0=k0/mm\ddot x+2m\zeta\omega_0\dot x+k_0[1+h\cos(\Omega t+\phi)]x=0,\quad \omega_0=\sqrt{k_0/m}

The modulation depth stays below one, so the stiffness is positive at every instant.

Power delivered by the pump

Ppump=12k˙(t)x2,E=12mx˙2+12k(t)x2P_{\mathrm{pump}}=\tfrac12\dot k(t)x^2,\quad E=\tfrac12m\dot x^2+\tfrac12k(t)x^2

The pump can add or remove energy. Its work is integrated separately from the heat lost to viscous damping.

One-period map

[x(T)x˙(T)/ω0]=Φ(T)[x(0)x˙(0)/ω0],T=2π/Ω\begin{bmatrix}x(T)\\\dot x(T)/\omega_0\end{bmatrix}=\Phi(T)\begin{bmatrix}x(0)\\\dot x(0)/\omega_0\end{bmatrix},\quad T=2\pi/\Omega

Each column of the matrix comes from one of two independent, normalized starting states.

Growth rate and determinant

γ=T−1ln⁡ρ(Φ),det⁡Φ=e−2ζω0T\gamma=T^{-1}\ln\rho(\Phi),\quad \det\Phi=e^{-2\zeta\omega_0T}

A positive growth rate means the linear system is unstable. The determinant gives a separate numerical check.

Threshold of the main instability at small depth

Ω≃2ω0,hcrit≃4ζ\Omega\simeq2\omega_0,\quad h_{\mathrm{crit}}\simeq4\zeta

This approximate relation holds for weak modulation and weak damping; it is not how the stability map is computed.

Common difficulties

Zero is still a solution

Typical misconceptionIf a multiplier is unstable, every starting state has to grow.

Better mental modelA mass that starts exactly at zero with no velocity stays there, and some specially aligned starting states shrink at first.

Phase changes the start, not the stability

Typical misconceptionChanging the starting phase moves the stability tongue.

Better mental modelThe phase changes how much of the starting state lies along the growing solution. The eigenvalues of the one-period matrix stay the same when the phase shifts.

Linear growth does not saturate

Typical misconceptionWhen the recording stops, the motion has physically saturated.

Better mental modelThe model has no nonlinear saturation, so the growth continues past the end of the displayed record.

Run the experiment

  1. 01

    Find an instability tongue

    Acquire the principal-tongue release and the detuned release.

    What to observe: Where the Floquet growth rate is positive, the motion grows over the long run.
  2. 02

    Compare pumping with damping

    Look at the spring and dashpot arrows in the three camera views. Open Energy & power, increase damping, then fine-step through moments of positive and negative pump power.

    What to observe: The net change in energy matches the separately integrated pump work and damping loss.
  3. 03

    Test the phase and the zero state

    Change the modulation phase, then select the exact zero release.

    What to observe: The growth over the record changes, but the multiplier magnitude does not, and the zero state stays still.
  4. 04

    Build the stability map

    Generate the map, select a cell, then halve the time step.

    What to observe: The one-period calculation for the selected cell comes with a determinant check and a half-step refinement check.
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