Simple harmonic motion is the solution to the differential equation:
$$\frac{\partial^2}{\partial t^2} x = − \omega^2 x$$
Interested in chaos I wanted to make the angular frequency $\omega$ be cross-coupled in a pair of oscillators, and I came up with this differential equation:
$$ \frac{\partial^2}{\partial t^2} x = − e^{y^2} x \\ \frac{\partial^2}{\partial t^2} y = − e^{x^2} y \\ $$
with initial conditions:
$$ \begin{aligned} x_0 &= 0 & y_0 &= 1 \\ \frac{\partial}{\partial t} x_0 &= 1 & \frac{\partial}{\partial t} y_0 &= 1 \end{aligned} $$
First I experimented with Runge-Kutta 4th/5th order integration (GNU Octave's ode45(), ported to C for speed), but found it exploded after some time with ever-increasing frequencies. Then I tried Velocity Verlet integration, which gave a stable result.
Changing the initial conditions to ones with higher energy (approximated by the energy computations for simple harmonic motion) resulted in explosions even with the Velocity Verlet method.
So my questions are:
- Are the explosions (or stability) an artifact of numeric integration techniques or a true behaviour of the differential equations at the given initial conditions?
- Is the explosivity of the equations dependant on the initial conditions?
- Is there a simple function of the initial conditions (for example, an energy threshold) that reveals whether an explosion is inevitable or the system is stable?