Driven Damped Pendulum III: Log Separation and Lyapunov
As in the previous applet II , we follow two trajectories for a damped driven system. The trajectories have all parameters except the initial angle identical.
We plot the logarithm to base 10 of the absolute angular difference as a function of time (following Taylor).
For small driving force, the behavior is close to that for the driven damped linear oscillator discussed in a previous applet: the separation of the two trajectories as a function of time is a damped oscillation, close to Keλtsinωt with negative λ. Taking the log of the absolute value will give a bumpy curve: at each zero, the log curve of course goes to minus infinity. However, just focus on the peaks: they lie on a straight line (well, approximately). The slope of this line, λ, is the Lyapunov exponent. (Note, though, that our graph, following Taylor, plots log to base 10 and time in cycles, so our slope is a constant factor times the usual Lyapunov exponent.)
The Lyapunov exponent is negative if the behavior is nonchaotic, but becomes positive with the onset of chaos, and in that regime, unsurprisingly, the curves become more noisy—but nevertheless the exponent is often clear.
Press Play: the preset values : 2.25 1 0.75 1.07 0.0005 5 -90 -97.5, vertical axis 0.2 are chosen to reproduce Taylor’s fig 12.12.
Measure the slope by moving the red line around.
If you want to get the slope more quickly, up the play speed: this doesn’t affect accuracy, just the number of dots displayed.
Setting the drive strength at gamma = 0.9 and initial separation of 90 degrees, we can see the exponential decay over 12 orders of magnitude, at which point the accuracy of our calculation breaks down.
To get Taylor's fig 12.13, gamma = 1.105, initial angles -1.5708, -1.5709. vert scale 0.5, horiz scale 1, dt = 0.00005, speed = 50, say.