Spring and damping forces, and the wells without forcing
These are the unforced potential minima. A driven mass can move between the wells; the separate potential plot shows their shape.
Why can the same forcing frequency produce different responses? A nonlinear spring can support more than one stable response to the same drive. Which one you get depends on how the motion started, and in a frequency sweep on whether you came from below or from above. Sweep up and then down, and the response jumps at different places, leaving a band where either response can appear.
A nonlinear spring can sustain two amplitudes under the same drive. Explore hysteresis, phase portraits and motion that repeats every second drive cycle.
BackgroundA cubic stiffness term makes the frequency depend on the amplitude. With damping and forcing, the same settings can settle into different bounded responses, depending on the history.
Why it mattersBrown University’s Duffing tutorial and York University’s computational physics notes cover cubic restoring forces, phase portraits and forcing. This Lab adds an explicit harmonic projection of the simulated motion, escape from a local well, and a finite frequency sweep in which each run starts from the end state of the previous one.
These are the unforced potential minima. A driven mass can move between the wells; the separate potential plot shows their shape.
The sign of the linear stiffness and the cubic stiffness together decide whether the spring hardens, softens locally or forms a double well.
The model uses the full potential, not its quadratic approximation near a minimum.
This approximation assumes motion centered on zero and ignores the mean and higher harmonics. It does not say which solutions are stable.
Outside this local well the potential falls without limit, so recording stops at the saddle.
The drive work, which can be positive or negative, and the heat, which is nonnegative, are integrated along with the motion.
Typical misconceptionEvery solution of the harmonic-balance equation is a stable response you will measure.
Better mental modelThe approximation drops higher harmonics. A simulated release lands in one particular basin and still carries transients.
Typical misconceptionA gap between sweep directions proves an adiabatic bifurcation.
Better mental modelEach point uses only 48 cycles, so the frequency spacing and the settling time can change the result.
Typical misconceptionA scattered Poincaré record proves chaos.
Better mental modelA finite record that may still contain transients cannot, by sampling alone, establish a positive long-term exponent.
Choose Linear resonance and compare the loaded harmonic amplitude with the linear formula. Open Potential, work and dissipation to inspect work and heat.
What to observe: With the cubic term at zero, the response settles onto the linear result, which is known independently.Choose Two sustained amplitudes. Compare the independent carriages and the automatically calculated upward and downward sweeps.
What to observe: Each run starts from the end state of the previous one, at the same drive phase, so the history carries over.Compare Softening spring with Stay in one well, then drag the carriage to change its release.
What to observe: The softening spring has an edge the cart can escape over, while the quartic double well keeps it confined.Choose Alternate every cycle. The retained strobes form two groups; compare this finite repetition with Across both wells and its residuals.
What to observe: The mean, the fundamental and the retained fixed-phase points each describe a different part of the signal.