# Lyapunov Exponent
Quantifying (strange) attraction and chaos.
The Lyapunov spectrum can be defined for higher dimensional systems, but this page focusses on 2D maps.
# 1 Definitions
As defined in OU MS327:
# 1.1 2D Real Map
# 1.2 Jacobian Matrix
# 1.3 First Lyapunov Exponent
# 1.4 Second Lyapunov Exponent
# 2 Properties
Assuming the orbit is bounded and not asymptotically periodic:
- means chaotic
- means attractor
- chaotic and attractor means strange attractor
# 2.1 Lyapunov Dimension
For strange attractors:
Otherwise if , then , and if then .
# 3 Calculation
Using the Burning Ship as an example in the C programming language:
// initial coordinates
double a = ...;
double b = ...;
double x = 0;
double y = 0;
// generic unit vector
double t = 2 * M_PI * rand() / (double) RAND_MAX;
double u = cos(t);
double v = sin(t);
// Lyapunov exponent accumulators
double h1 = 0;
double h1h2 = 0;
int escaped = 0;
for (int n = 1; n < N; ++n)
{
// check orbit remains bounded
double x2 = x * x;
double y2 = y * y;
if (x2 + y2 > 4)
{
escaped = 1;
break;
}
// Burning Ship iteration
double xn = x2 - y2 + a;
double xy = 2 * x * y;
double yn = (xy >= 0 ? xy : -xy) + b;
// Burning Ship Jacobian matrix
double Jxx = 2 * xn;
double Jxy = -2 * yn;
double Jyx = 2 * (xy >= 0 ? yn : -yn);
double Jyy = 2 * (xy >= 0 ? xn : -xn);
// accumulate h1
double un = Jxx * u + Jxy * v;
double vn = Jyx * u + Jyy * v;
double l2 = un * un + vn * vn;
double l = sqrt(l2);
h1 += log(l);
u = un / l;
v = vn / l;
// accumulate h1+h2
double det = Jxx * Jyy - Jxy * Jyx;
h1h2 += log(det >= 0 ? det : -det);
x = xn;
y = yn;
}
// finish
if (escaped == 0)
{
h1 /= N;
h1h2 /= N;
...
}# 4 No Strange Attractors
# 4.1 The Mandelbrot Set
The Mandelbrot set map is complex :
That is, , so they have the same sign.
But strange attractors require them to have opposite signs.
Therefore there are no strange attractors in the Mandelbrot set map.
# 4.2 Complex-Analytic
The Cauchy-Riemann equations mean the Jacobian has the form
So and the same argument as above applies.
Therefore there are no strange attractors in 1D complex-analytic maps considered as 2D real maps.
# 4.3 The Burning Ship
Case , as Mandelbrot set:
Case :
In both cases, , and the same argument as the Mandelbrot set applies.
Therefore there are no strange attractors in the Burning Ship map, even though it is not complex-analytic.
# 5 References
- Handbook, MS327 Deterministic and Stochastic Dynamics, Third Edition, 2021, The Open University (United Kingdom).