Jump to content

Lorenz system

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 128.153.215.3 (talk) at 13:26, 30 November 2022 (Overview). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A sample solution in the Lorenz attractor when ρ = 28, σ = 10, and β = 8/3

The Lorenz system is a system of ordinary differential equations first studied by mathematician and meteorologist Edward Lorenz. It is notable for having chaotic solutions for certain parameter values and initial conditions. In particular, the Lorenz attractor is a set of chaotic solutions of the Lorenz system. In popular media the "butterfly effect" stems from the real-world implications of the Lorenz attractor, namely that in a chaotic physical system, in the absence of perfect knowledge of the initial conditions (even the minuscule disturbance of the air due to a butterfly flapping its wings), our ability to predict its future course will always fail. This underscores that physical systems can be completely deterministic and yet still be inherently unpredictable. The shape of the Lorenz attractor itself, when plotted in phase space, may also be seen to resemble a butterfly.

Overview

In 1963, Edward Lorenz, with the help of Ellen Fetter who was responsible for the numerical simulations and figures,[1] and Margaret Hamilton who helped in the initial, numerical computations leading up to the findings of the Lorenz model,[2] developed a simplified mathematical model for atmospheric convection.[1] The model is a system of three ordinary differential equations now known as the Lorenz equations:

The equations relate the properties of a two-dimensional fluid layer uniformly warmed from below and cooled from above. In particular, the equations describe the rate of change of three quantities with respect to time: x is proportional to the rate of convection, y to the horizontal temperature variation, and z to the vertical temperature variation.[3] The constants σ, ρ, and β are system parameters proportional to the Prandtl number, Rayleigh number, and certain physical dimensions of the layer itself.[3]

The Lorenz equations can arise in simplified models for lasers,[4] dynamos,[5] thermosyphons,[6] brushless DC motors,[7] electric circuits,[8] chemical reactions[9] and forward osmosis.[10] The Lorenz equations are also the governing equations in Fourier space for the Malkus waterwheel.[11][12] The Malkus waterwheel exhibits chaotic motion where instead of spinning in one direction at a constant speed, its rotation will speed up, slow down, stop, change directions, and oscillate back and forth between combinations of such behaviors in an unpredictable manner.

From a technical standpoint, the Lorenz system is nonlinear, aperiodic, three-dimensional and deterministic. The Lorenz equations have been the subject of hundreds of research articles, and at least one book-length study.[3]

Analysis

One normally assumes that the parameters σ, ρ, and β are positive. Lorenz used the values σ = 10, β = 8/3 and ρ = 28. The system exhibits chaotic behavior for these (and nearby) values.[13]

If ρ < 1 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 ρ < 1.[14]

A pitchfork bifurcation occurs at ρ = 1, and for ρ > 1 two additional critical points appear at

These correspond to steady convection. This pair of equilibrium points is stable only if

which can hold only for positive ρ if σ > β + 1. At the critical value, both equilibrium points lose stability through a subcritical Hopf bifurcation.[15]

When ρ = 28, σ = 10, and β = 8/3, the Lorenz system has chaotic solutions (but not all solutions are chaotic). 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 2.06±0.01,[16] and the correlation dimension is estimated to be 2.05±0.01.[17] The exact Lyapunov dimension formula of the global attractor can be found analytically under classical restrictions on the parameters:[18][16][19]

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.[20] 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.[21]

For other values of ρ, the system displays knotted periodic orbits. For example, with ρ = 99.96 it becomes a T(3,2) torus knot.

Example solutions of the Lorenz system for different values of ρ
ρ = 14, σ = 10, β = 8/3 (Enlarge) ρ = 13, σ = 10, β = 8/3 (Enlarge)
ρ = 15, σ = 10, β = 8/3 (Enlarge) ρ = 28, σ = 10, β = 8/3 (Enlarge)
For small values of ρ, the system is stable and evolves to one of two fixed point attractors. When ρ > 24.74, the fixed points become repulsors and the trajectory is repelled by them in a very complex way.
Sensitive dependence on the initial condition
Time t = 1 (Enlarge) Time t = 2 (Enlarge) Time t = 3 (Enlarge)
These figures — made using ρ = 28, σ = 10 and β = 8/3 — show three time segments of the 3-D evolution of two trajectories (one in blue, the other in yellow) in the Lorenz attractor starting at two initial points that differ only by 10−5 in the x-coordinate. Initially, the two trajectories seem coincident (only the yellow one can be seen, as it is drawn over the blue one) but, after some time, the divergence is obvious.

Connection to tent map

A recreation of Lorenz's results created on Mathematica. Points above the red line correspond to the system switching lobes.

In Figure 4 of his paper,[1] Lorenz plotted the relative maximum value in the z direction achieved by the system against the previous relative maximum in the z direction. This procedure later became known as a Lorenz map (not to be confused with a Poincaré plot, which plots the intersections of a trajectory with a prescribed surface). The resulting plot has a shape very similar to the tent map. Lorenz also found that when the maximum z 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.

A Generalized Lorenz System

Over the past several years, a series of papers regarding high-dimensional Lorenz models have yielded a generalized Lorenz model,[22] which can be simplified into the classical Lorenz model for three state variables or the following five-dimensional Lorenz model for five state variables:[23]

A choice of the parameter d0 = 19/3 has been applied to be consistent with the choice of the other parameters. See details in.[22][23]

Simulations

Julia simulation

using DifferentialEquations, Plots
function lorenz!(du,u,p,t)
    du[1] = 10.0*(u[2]-u[1])
    du[2] = u[1]*(28.0-u[3]) - u[2]
    du[3] = u[1]*u[2] - (8/3)*u[3]
end
u0 = [1.0;0.0;0.0]
tspan = (0.0,100.0)
prob = ODEProblem(lorenz!,u0,tspan)
sol = solve(prob)
plot(sol,vars=(1,2,3))

MATLAB simulation

% Solve over time interval [0,100] with initial conditions [1,1,1]
% ''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 = @(t,a) [-sigma*a(1) + sigma*a(2); rho*a(1) - a(2) - a(1)*a(3); -beta*a(3) + a(1)*a(2)];
[t,a] = ode45(f,[0 100],[1 1 1]);     % Runge-Kutta 4th/5th order ODE solver
plot3(a(:,1),a(:,2),a(:,3))

Mathematica simulation

Standard way:

tend = 50;
eq = {x'[t] == σ (y[t] - x[t]), 
      y'[t] == x[t] (ρ - z[t]) - y[t], 
      z'[t] == x[t] y[t] - β z[t]};
init = {x[0] == 10, y[0] == 10, z[0] == 10};
pars = {σ->10, ρ->28, β->8/3};
{xs, ys, zs} = 
  NDSolveValue[{eq /. pars, init}, {x, y, z}, {t, 0, tend}];
ParametricPlot3D[{xs[t], ys[t], zs[t]}, {t, 0, tend}]

Less verbose:

lorenz = NonlinearStateSpaceModel[{{σ (y - x), x (ρ - z) - y, x y - β z}, {}}, {x, y, z}, {σ, ρ, β}];
soln[t_] = StateResponse[{lorenz, {10, 10, 10}}, {10, 28, 8/3}, {t, 0, 50}];
ParametricPlot3D[soln[t], {t, 0, 50}]

Python simulation

import numpy as np
import matplotlib.pyplot as plt
from scipy.integrate import odeint
from mpl_toolkits.mplot3d import Axes3D

rho = 28.0
sigma = 10.0
beta = 8.0 / 3.0

def f(state, t):
    x, y, z = state  # Unpack the state vector
    return sigma * (y - x), x * (rho - z) - y, x * y - beta * z  # Derivatives

state0 = [1.0, 1.0, 1.0]
t = np.arange(0.0, 40.0, 0.01)

states = odeint(f, state0, t)

fig = plt.figure()
ax = fig.add_subplot(projection='3d')
ax.plot(states[:, 0], states[:, 1], states[:, 2])
plt.draw()
plt.show()

Python code for the five-dimensional Lorenz system

import numpy as np
import matplotlib.pyplot as plt
from scipy.integrate import odeint
from mpl_toolkits.mplot3d import Axes3D

rho = 43.5
sigma = 10.0
beta = 8.0 / 3.0
d0 = 19.0 / 3.0 

def f(state, t):
    x, y, z, y1, z1 = state  # Unpack the state vector
    return sigma * (y - x), x * (rho - z) - y, x * y - x * y1 - beta * z, x * z - 2 * x * z1 - d0 * y1, 2 * x * y1 - 4 * beta * z1  # Derivatives

state0 = [1.0, 1.0, 1.0, 1.0, 1.0]
t = np.arange(0.0, 40.0, 0.01)

states = odeint(f, state0, t)

fig, ax = plt.subplots(subplot_kw=dict(projection='3d'))
ax.plot(states[:, 0], states[:, 1], states[:, 2])
plt.draw()
plt.show()

Applications

Model for atmospheric convection

As shown in Lorenz's original paper,[24] the Lorenz system is a reduced version of a larger system studied earlier by Barry Saltzman.[25] 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.[26] This fluid circulation is known as Rayleigh–Bénard convection. The fluid is assumed to circulate in two dimensions (vertical and horizontal) with periodic rectangular boundary conditions.[27]

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 Hilborn (2000), Appendix C; 1984 Bergé, Pomeau & Vidal (1984), Appendix D; or Shen (2016),[28] Supplementary Materials.

Resolution of Smale's 14th problem

Smale's 14th problem says, 'Do the properties of the Lorenz attractor exhibit that of a strange attractor?'. The problem was answered affirmatively by Warwick Tucker in 2002.[21] 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.[29] 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.

To prove the first point, we notice that the cross section is cut by two arcs formed by .[29] Tucker covers the location of these two arcs by small rectangles , the union of these rectangles gives . Now, the goal is to prove that for all points in , the flow will bring back the points in , in . To do that, we take a plan below at a distance small, then by taking the center of and using Euler integration method, one can estimate where the flow will bring in which gives us a new point . Then, one can estimate where the points in will be mapped in using Taylor expansion, this gives us a new rectangle centered on . Thus we know that all points in will be mapped in . The goal is to do this method recursively until the flow comes back to and we obtain a rectangle in such that we know that . The problem is that our estimation may become imprecise after several iterations, thus what Tucker does is to split into smaller rectangles and then apply the process recursively. Another problem is that as we are applying this algorithm, the flow becomes more 'horizontal',[29] leading to a dramatic increase in imprecision. To prevent this, the algorithm changes the orientation of the cross sections, becoming either horizontal or vertical.

See also

Notes

  1. ^ a b c Lorenz (1963)
  2. ^ Lorenz (1960)
  3. ^ a b c Sparrow (1982)
  4. ^ Haken (1975)
  5. ^ Knobloch (1981)
  6. ^ Gorman, Widmann & Robbins (1986)
  7. ^ Hemati (1994)
  8. ^ Cuomo & Oppenheim (1993)
  9. ^ Poland (1993)
  10. ^ Tzenov (2014)[citation needed]
  11. ^ Kolář & Gumbs (1992)
  12. ^ Mishra & Sanghi (2006)
  13. ^ Hirsch, Smale & Devaney (2003), pp. 303–305
  14. ^ Hirsch, Smale & Devaney (2003), pp. 306+307
  15. ^ Hirsch, Smale & Devaney (2003), pp. 307–308
  16. ^ a b Kuznetsov, N.V.; Mokaev, T.N.; Kuznetsova, O.A.; Kudryashova, E.V. (2020). "The Lorenz system: hidden boundary of practical stability and the Lyapunov dimension". Nonlinear Dynamics. 102 (2): 713–732. doi:10.1007/s11071-020-05856-4.
  17. ^ Grassberger & Procaccia (1983)
  18. ^ Leonov et al. (2016)
  19. ^ Kuznetsov, Nikolay; Reitmann, Volker (2020). Attractor Dimension Estimates for Dynamical Systems: Theory and Computation. Cham: Springer.
  20. ^ Guckenheimer, John; Williams, R. F. (1979-12-01). "Structural stability of Lorenz attractors". Publications Mathématiques de l'Institut des Hautes Études Scientifiques. 50 (1): 59–72. doi:10.1007/BF02684769. ISSN 0073-8301. S2CID 55218285.
  21. ^ a b Tucker (2002)
  22. ^ a b Shen, Bo-Wen (2019-03-01). "Aggregated Negative Feedback in a Generalized Lorenz Model". International Journal of Bifurcation and Chaos. 29 (03): 1950037. doi:10.1142/S0218127419500378. ISSN 0218-1274.
  23. ^ a b Shen, Bo-Wen (2014-04-28). "Nonlinear Feedback in a Five-Dimensional Lorenz Model". Journal of the Atmospheric Sciences. 71 (5): 1701–1723. doi:10.1175/jas-d-13-0223.1. ISSN 0022-4928.
  24. ^ Lorenz (1963)
  25. ^ Saltzman (1962)
  26. ^ Lorenz (1963)
  27. ^ Lorenz (1963)
  28. ^ Shen, B.-W. (2015-12-21). "Nonlinear feedback in a six-dimensional Lorenz model: impact of an additional heating term". Nonlinear Processes in Geophysics. 22 (6): 749–764. doi:10.5194/npg-22-749-2015. ISSN 1607-7946.{{cite journal}}: CS1 maint: unflagged free DOI (link)
  29. ^ a b c Viana (2000)
  30. ^ Heitmann, S., Breakspear, M (2017-2022) Brain Dynamics Toolbox. bdtoolbox.org doi.org/10.5281/zenodo.5625923

References

Further reading