Lorenz system
The Lorenz system is a set of three ordinary differential equations, first developed by the meteorologist Edward Lorenz while studying atmospheric convection. It is a classic example of a system that can exhibit chaotic behavior, meaning its output can be highly sensitive to small changes in its starting conditions.
For certain values of its parameters, the system's solutions form a complex, looping pattern known as the Lorenz attractor. The shape of this attractor, when graphed, is famously said to resemble a butterfly. The system's extreme sensitivity to initial conditions gave rise to the popular concept of the butterfly effect—the idea that a small event, like the flap of a butterfly's wings, could ultimately alter large-scale weather patterns. While the system is deterministic—its future behavior is fully determined by its initial conditions—its chaotic nature makes long-term prediction practically impossible.
The behavior of the system depends on the choice of parameters. For some ranges of parameters, the system is predictable: trajectories settle into fixed points or simple periodic orbits, making the long-term behavior easy to describe. For example, when, all solutions converge to the origin, and for certain moderate values of,, and, solutions converge to symmetric steady states.
In contrast, for other parameter ranges, the system becomes chaotic. With the well-known parameters,, and, the solutions never settle down but instead trace out the butterfly-shaped Lorenz attractor. In this regime, small differences in initial conditions grow exponentially.
Overview
In 1963, Edward Lorenz developed the system as a simplified mathematical model for atmospheric convection. He was attempting to model the way air moves when heated from below and cooled from above. The model describes how three key properties of this system change over time:- is proportional to the intensity of the convection.
- is proportional to the temperature difference between the rising and falling air currents.
- is proportional to the distortion of the vertical temperature profile from a linear one.
The constants,, and are parameters representing physical properties of the system: is the Prandtl number, is the Rayleigh number, and relates to the physical dimensions of the fluid layer itself.
From a technical standpoint, the Lorenz system is nonlinear, aperiodic, three-dimensional, and deterministic. While originally for weather, the equations have since been found to model behavior in a wide variety of systems, including lasers, dynamos, electric circuits, and even some chemical reactions. The Lorenz equations have been the subject of hundreds of research articles and at least one book-length study.
Analysis
One normally assumes that the parameters,, and are positive. Lorenz used the values,, and. The system exhibits chaotic behavior for these values.If then there is only one equilibrium point, which is at the origin. This point corresponds to no convection. All orbits converge to the origin, which is a global attractor, when.
A pitchfork bifurcation occurs at, and for two additional equilibrium points appear at
These correspond to steady convection. This pair of equilibrium points is stable only if
which can hold only for positive if. At the critical value, both equilibrium points lose stability through a subcritical Hopf bifurcation.
When,, and, the Lorenz system has chaotic solutions. Almost all initial points will tend to an invariant set – the Lorenz attractor – a strange attractor, a fractal, and a self-excited attractor with respect to all three equilibria. Its Hausdorff dimension is estimated from above by the Lyapunov dimension (Kaplan-Yorke dimension) as, and the correlation dimension is estimated to be. The exact Lyapunov dimension formula of the global attractor can be found analytically under classical restrictions on the parameters:
The Lorenz attractor is difficult to analyze, but the action of the differential equation on the attractor is described by a fairly simple geometric model. Proving that this is indeed the case is the fourteenth problem on the list of Smale's problems. This problem was the first one to be resolved, by Warwick Tucker in 2002.
For other values of, the system displays knotted periodic orbits. For example, with it becomes a torus knot.
| Divergence of nearby trajectories. |
| Evolution of three initially nearby trajectories of the Lorenz system. In this animation the equation is numerically integrated using a Runge–Kutta routine — made using starting from three initial conditions, and . Produced with WxMaxima. |
| The parameters are:,, and. Significant divergence is seen at around, beyond which the trajectories become uncorrelated. The full-sized graphic can be accessed . |
Connection to the tent map
In Figure 4 of his paper, Lorenz plotted the relative maximum value in the direction achieved by the system against the previous relative maximum in the direction. This procedure later became known as a Lorenz map. The resulting plot has a shape very similar to the tent map. Lorenz also found that when the maximum value is above a certain cut-off, the system will switch to the next lobe. Combining this with the chaos known to be exhibited by the tent map, he showed that the system switches between the two lobes chaotically.Simulations
Julia">Julia (programming language)">Julia simulation
using Plots
- define the Lorenz attractor
dt::Float64 = 0.02
σ::Float64 = 10
ρ::Float64 = 28
β::Float64 = 8/3
x::Float64 = 2
y::Float64 = 1
z::Float64 = 1
end
function step!
dx = l.σ *
dy = l.x * - l.y
dz = l.x * l.y - l.β * l.z
l.x += l.dt * dx
l.y += l.dt * dy
l.z += l.dt * dz
end
attractor = Lorenz
- initialize a 3D plot with 1 empty series
ylim =,
zlim =,
title = "Lorenz Attractor",
marker = 2,
- build an animated gif by pushing new points to the plot, saving every 10th frame
step!
push!
end every 10
Maple">Maple (software)">Maple simulation
with:
DEplot3d;
Maxima">Maxima (software)">Maxima simulation
: $
eq: $
sol: rk$
len: length$
x: makelist$
y: makelist$
z: makelist$
draw3d$
[MATLAB] simulation
% f is set of differential equations
% a is array containing x, y, and z variables
% t is time variable
sigma = 10;
beta = 8/3;
rho = 28;
f = @ ;
= ode45; % Runge-Kutta 4th/5th order ODE solver
plot3,a,a)
Mathematica">Wolfram Mathematica">Mathematica simulation
Standard way:tend = 50;
eq = ;
init = ;
pars = ;
=
NDSolveValue;
ParametricPlot3D
Less verbose:
lorenz = NonlinearStateSpaceModel;
soln = StateResponse;
ParametricPlot3D, ]
R">R (programming language)">R simulation
library
library
- parameters
- initial values
times <- seq
- call ODE solver
- to assign color to points
dout <- as.data.frame
dout$color <- gfill, nrow)
- Graphics production with Plotly:
[SageMath] simulation
- we solve the Lorenz system of differential equations with initial conditions y_1 = 0, y_2 = 0.5, y_3 = 0.
- Runge-Kutta's method y_= y_n + h*/6; x_=x_n+h
- k_1=f, k_2=f, k_3=f, k_4=f
- differential equation
tlist =
y = 0,0,0] for _ in range]
# Taking length of f.
m=len
# Number of variables in v.
vm=len
if m!=vm:
return
for r in range:
y=b
# making a vector and component will be a list
# main part of the algorithm
k1=
k2=
k3=
k4=
for i in range: # for each t_i, i=1,..., n
# k1=h*f,...,x_m)
for j in range: # for each f_, j=0,..., m-1
k1=f.subs
for r in range:
k1=k1.subs
k1=h*k1
for j in range: # k2=h*f+k1/2,...,x_m)
k2=f.subs
for r in range:
k2=k2.subs
k2=h*k2
for j in range: # k3=h*f+k2/2,...,x_m
k3=f.subs
for r in range:
k3=k3.subs
k3=h*k3
for j in range: # k4=h*f+k3,...,x_m
k4=f.subs
for r in range:
k4=k4.subs
k4=h*k4
for j in range: # Now x_j=x_j+/6
y=y+/6
return
- Here, we plot the solutions of the Lorenz ODE system.
b= # x_1,..., x_m
t=var
x = var
v= for ii in range]
f= ;
n=1600
h=0.0125
tlist,y=Runge_Kutta
S=line3d
show
- Here, we plot every y1, y2, and y3 in terms of time.
b= # x_1,..., x_m
t=var
x = var
v= for ii in range]
Lorenz= ;
n=100
h=0.1
tlist,y=Runge_Kutta
- Runge_Kutta
P2=list_plot;
P3=list_plot;
show
- Here, we plot the y and x or equivalently y2 and y1
b= # x_1,..., x_m
t=var
x = var
v= for ii in range]
f= ;
n=800
h=0.025
tlist,y=Runge_Kutta
vv=y,y;
S=line
show
- Here, we plot the z and x or equivalently y3 and y1
b= # x_1,..., x_m
t=var
x = var
v= for ii in range]
f= ;
n=800
h=0.025
tlist,y=Runge_Kutta
vv=y,y;
S=line
show
- Here, we plot the z and x or equivalently y3 and y2
b= # x_1,..., x_m
t=var
x = var
v= for ii in range]
f= ;
n=800
h=0.025
tlist,y=Runge_Kutta
vv=y,y;
S=line
show
Applications
Model for atmospheric convection
As shown in Lorenz's original paper, the Lorenz system is a reduced version of a larger system studied earlier by Barry Saltzman. The Lorenz equations are derived from the Oberbeck–Boussinesq approximation to the equations describing fluid circulation in a shallow layer of fluid, heated uniformly from below and cooled uniformly from above. This fluid circulation is known as Rayleigh–Bénard convection. The fluid is assumed to circulate in two dimensions with periodic rectangular boundary conditions.The partial differential equations modeling the system's stream function and temperature are subjected to a spectral Galerkin approximation: the hydrodynamic fields are expanded in Fourier series, which are then severely truncated to a single term for the stream function and two terms for the temperature. This reduces the model equations to a set of three coupled, nonlinear ordinary differential equations. A detailed derivation may be found, for example, in nonlinear dynamics texts from, Appendix C;, Appendix D; or Shen, Supplementary Materials.
Model for the nature of chaos and order in the atmosphere
The scientific community accepts that the chaotic features found in low-dimensional Lorenz models could represent features of the Earth's atmosphere, yielding the statement of “weather is chaotic.” By comparison, based on the concept of attractor coexistence within the generalized Lorenz model and the original Lorenz model, Shen and his co-authors proposed a revised view that “weather possesses both chaos and order with distinct predictability”. The revised view, which is a build-up of the conventional view, is used to suggest that “the chaotic and regular features found in theoretical Lorenz models could better represent features of the Earth's atmosphere”.Resolution of Smale's 14th problem
Smale's 14th problem asks, "Do the properties of the Lorenz attractor exhibit that of a strange attractor?". The problem was answered affirmatively by Warwick Tucker in 2002. To prove this result, Tucker used rigorous numerics methods like interval arithmetic and normal forms. First, Tucker defined a cross section that is cut transversely by the flow trajectories. From this, one can define the first-return map, which assigns to each the point where the trajectory of first intersects.Then the proof is split in three main points that are proved and imply the existence of a strange attractor. The three points are:
- There exists a region invariant under the first-return map, meaning.
- The return map admits a forward invariant cone field.
- Vectors inside this invariant cone field are uniformly expanded by the derivative of the return map.