Duffing equation (chaos)

This simulation explores the Duffing equation, which reads (in dimensionless variables) as follows:
x'' + 2 γ x' - x (1-x2) = f cos ωt
where each ' denotes a time derivative.



Activities

  1. Set γ = 0 and f = 0 and solve the system for different initial conditions to see non-linear periodic oscillations.
  2. With the default settings (press Reset to recover them) you can see how the initially small distance between solutions grows in this non-chaotic case
  3. Set γ = 0.1 and f = 0.3 and two very close initial conditions: say x1 = 1.5, x2 = 0.500001, v1 = v2 = 0. You will see the very definition of deterministic chaos: sensitive dependence on initial conditions.
  4. By changing f, would you be able to find the onset of chaos for a given γ?
  5. The sensitive dependence on initial conditions is also shown in the example Duffing5 of Dynamics Solver.



This is an English translation of the Basque original for a course on mechanics, oscillations and waves.
It requires Java 1.5 or newer and was created by Juan M. Aguirregabiria with Easy Java Simulations (Ejs) by Francisco Esquembre. I thank Wolfgang Christian and Francisco Esquembre for their help.