This chapter of Stewart's notes leaves the exactly solvable systems of earlier chapters and asks what non-linear equations do when they cannot be solved. The first section defines chaos, sets up the language of flows in phase space (fixed points, attractors, limit cycles) and introduces the tools used to picture chaotic motion, all built around one example: a damped pendulum pushed by a periodic force. The phase-portrait method itself (critical points, linearization, the undamped and damped pendulum) is the subject of the 18.03 page on nonlinear autonomous systems; this page uses it. (Citations give the printed page numbers 142 to 152 of the Chapter 7 notes and their equation numbers.)
What chaos means#
A deterministic system is one whose equations, given initial conditions, have exactly one solution, as in classical mechanics. Stewart defines chaos in such a system as long-term behaviour that is aperiodic and depends sensitively on the initial conditions (notes p. 142):
- Aperiodic means trajectories in phase space neither settle onto a point nor onto a periodic orbit; they wander irregularly. Stewart counts topological mixing as part of this: take any open region of starting points, and in time its image overlaps every other region, so a chaotic trajectory roams over much more of phase space than a regular one (p. 143). (For a dissipative system, footnote 1 adds, the regions must be chosen with care, since some regions are left for good.)
- Sensitive dependence on initial conditions means that trajectories which start close together move apart exponentially. If is the difference between points on two such trajectories at time , then for some (p. 142; the notes write it as a proportionality, which we state as an approximate equality so that is the starting separation itself)
In words
the absolute value of delta (t) is approximately the absolute value of delta nought e to the power lambda t
The consequence is that a chaotic system, though deterministic, is usually not predictable. Every measurement of the starting point has some error , statistical or systematic, and that error is amplified exponentially until predictions far enough ahead are worthless (p. 142). Exponential growth on its own is not chaos (an inverted pendulum falling over grows exponentially too); it is the combination with aperiodic, mixing motion that matters (p. 143).
A forecast horizon
A chaotic model has per unit time. Its initial state is known to , and a prediction is useful while the error stays below . (a) How long is the prediction useful? (b) How much longer if the initial state were known a thousand times better?
(a) The horizon
Set : time units.
(b) A thousand times better data
With , : only units more. Each factor of ten in accuracy buys the same fixed extra time, units.
Flows: first-order equations and uniqueness#
Any dynamical system of interest can be written as first-order equations (notes p. 143, 7.1.1):
In words
x one dot equals f 1 ( x one, and so on, x sub n ), x two dot equals f 2 ( x one, and so on, x sub n ), and so on, x sub n dot equals f sub n ( x one, and so on, x sub n )
The may be coordinates, velocities, momenta or anything else that evolves; in this chapter they are usually made dimensionless. Hamilton's equations are of this form, with an even number of variables (p. 143). In short (p. 143):
In words
x dot equals vector f ( vector x )
Existence and uniqueness. If the and their partial derivatives are continuous in a connected region of , then for any initial point in there is one and only one solution through it, on some time interval around (p. 143). This theorem is what makes the evolution deterministic.
The damped driven pendulum#
The example for the whole chapter is a pendulum of mass and length with damping and a periodic driving torque (notes p. 144):
In words
m l squared theta double dot plus m l squared gamma theta dot plus m g l sine theta equals capital A cos ( omega D t)
where is the angle from the vertical, the damping coefficient and the drive. Three rescalings make it dimensionless (p. 144). Dividing by turns the drive strength into the number (eq. 7.4), leaving (eq. 7.5). Measuring time in units of , that is, and (eq. 7.6), removes the first factor, and the damping becomes a quality factor with (eq. 7.7). Dropping the primes (p. 144):
In words
theta double dot plus 1 over q, times theta dot plus sine theta equals a cos ( omega D t)
with three dimensionless constants , and . Time appears explicitly in the drive; to remove it, treat the drive's phase as a variable of its own, and set . The result is three first-order equations of the form (7.1), with (p. 144):
In words
theta dot equals omega, omega dot equals minus 1 over q, times omega minus sine theta plus a cos phi, phi dot equals omega D
Dimensionless numbers for a real pendulum
A pendulum of length m has damping coefficient and is driven at rad/s, with . Find the unit of time, the quality factor and the dimensionless drive frequency.
Unit of time
s. One dimensionless time unit is s; a small free swing (natural angular frequency 1 in these units) has period s.
Quality factor and drive frequency
, so : lightly damped. The drive frequency becomes , well below the natural frequency 1.
Phase space: no crossings, and volumes#
Trajectories never cross (notes p. 145, 7.1.2). Any point on a trajectory can serve as the initial condition of a new one; by uniqueness, only one trajectory passes through it. Two trajectories can come arbitrarily close but never meet or cross.
Phase-space volume. A region of phase space has volume (p. 145)
In words
script capital V equals the integral over region of the product from j equals 1 to n of d x sub j
For Hamiltonian motion this volume is constant, : time evolution is a canonical transformation (generated through the Hamilton–Jacobi equation, Chapter 4 of the notes), and canonical transformations preserve volume elements. Damping falls outside the Hamiltonian framework, and the notes answer the general case by analogy with a fluid (Chapter 6): a fluid volume moving with velocity field changes at the rate . Phase space flows with "velocity" , so (p. 145)
In words
x dot equals vector f ( vector x ) which gives d script capital V over d t equals the integral of d script capital V del dot vector f
where now differentiates with respect to the . This defines the two classes used from now on: is a conservative system, whether or not a Hamiltonian exists, and is a dissipative system, whose phase-space volumes shrink (p. 145). For the pendulum (7.9), only the middle equation depends on its own variable (p. 146):
In words
del dot vector f equals partial omega over partial theta plus partial over partial omega the quantity minus omega over q minus sine theta plus a cos phi, all plus partial omega D over partial phi equals minus 1 over q less than 0
so it is dissipative whenever is finite, and every volume shrinks by the factor (our integration of (7.11) with a constant divergence). With from the example above, a volume falls to of its size in time units, which is s.
Fixed points and attractors#
Without damping or drive (, ) the pendulum is , (notes p. 146, eq. 7.13). It conserves the energy (in units of ; our label for the curves), so its trajectories are the curves of constant :
Points where the flow stops are of special interest. A fixed point satisfies (p. 146)
In words
vector f ( vector x star ) equals 0
and a system placed there stays there forever. The behaviour of nearby trajectories sorts fixed points into three kinds (pp. 146–147): stable, if nearby trajectories approach it; unstable, if they move away; and saddle points, if they approach along some directions and leave along others. For the undamped pendulum the fixed points are , : the hanging positions are stable, the upright ones are saddles (p. 147). The trajectories that seem to meet at the top do not cross: a pendulum with exactly creeps towards the upright position and stops there, and any small perturbation decides which way it falls (p. 147; the notes' "" measures energy from the top, where our is 1).
With dissipation the picture changes qualitatively. All trajectories near a stable fixed point now converge onto it as energy is lost, so the fixed point is an attractor, and the set of starting points that flow to it is its basin of attraction (p. 147). For the damped pendulum ( finite, ) the trajectories spiral into the hanging positions, and the basins of the different hanging positions are diagonal strips across the – plane: a pendulum started with enough speed goes over the top before it is caught by one of them (p. 147, Fig. 7.4).
Two necessary conditions for chaos (pp. 147–148):
- The equations must be nonlinear. A linear system is solved completely by exponentials and sinusoids, and nothing of that kind is chaotic.
- There must be at least three variables, . The notes defer the reason to Section 7.4; in short, trajectories that cannot cross have too little room in a plane.
The undriven pendulum fails the second condition. With a drive, the phase is the third variable, and for some values of the motion is chaotic (p. 148).
The linear driven oscillator and limit cycles#
For comparison, replace by in (7.9). The middle equation becomes (notes p. 148)
In words
omega dot equals minus 1 over q, times omega minus theta plus a cos phi
the forced damped oscillator of 8.03, solved exactly. It is underdamped for , critically damped for and overdamped for (p. 148). In the underdamped case (p. 148)
In words
theta (t) equals B e to the power minus t over (2 q), end of power, cos the quantity t the square root of 1 minus 1 over the quantity 4 q squared, end of root, plus phi nought, all plus a cos of the quantity omega D t minus psi, over the quantity omega D the square root of q to the power minus 2 plus the quantity omega D to the power minus 1 minus omega D, all squared, end of root
with , and , fixed by the initial conditions. (The notes call the phase lag ; we write to keep for the separation of trajectories.) The first term is a transient that decays exponentially; the second is the steady forced motion, whose amplitude has the familiar resonance near (p. 148; the notes say "at" , which holds exactly only for very weak damping, large ).
Projected onto the – plane, every trajectory approaches the same ellipse, the steady motion. The projection may cross itself, but in the full space it does not, since keeps increasing; if is taken modulo , the motion closes into an orbit (p. 148). Stewart notes that writing the drive as , a nonlinear function of the variable , is what makes this closed orbit an isolated end point of the motion. Such an attracting closed orbit, as opposed to an attracting point, is called a limit cycle (p. 149).
Picturing chaotic trajectories#
The nonlinear pendulum (7.9) has to be solved by computer. That is no obstacle to studying chaos: the exponential separation caused by a chosen difference in initial conditions shows up long before rounding errors at machine precision do (notes p. 149). Stewart describes three ways to look at the results.
Projections (p. 149). Project the trajectory onto two of its variables, for the pendulum the – plane (dropping ). For chaotic motion the projection is a tangle that fills a large part of the plane.
Poincaré sections (pp. 149–150). Sample the state only once per period of the drive, at , and plot the points . This is what a stroboscope flashing at the drive frequency would show. The transients are allowed to die out first. Stewart's examples take and and wait 30 drive cycles; as grows, the long-term motion goes from singly periodic (, one point in the section) to doubly periodic (, two points), to chaotic (, a scattered but structured set) and back to periodic within surrounding chaos () (p. 150). (The notes' Figures 7.6 and 7.7 were made with a Mathematica demonstration by Nasser Abbasi; they are not reproduced here.)
Bifurcation diagrams (p. 152). Plot one variable from the Poincaré sections, say , against a parameter of the system, say , with the others fixed. Each value of then shows a vertical set of points: one for period-one motion, two after a period doubling, a smear where the motion is chaotic. For , the notes read off the following:
| Long-term behaviour | |
|---|---|
| 1.0 | a single value of |
| 1.07 | two values of (period doubling) |
| 1.15 to 1.28 | mostly chaos, with some periodic windows |
| 1.35 | periodic again |
Changing or moves the periodic and chaotic windows but leaves the overall look of the diagram the same, and the sampled can just as well be plotted against instead of (p. 152). The change from one point to two is a first example of a bifurcation, a qualitative change in the long-term behaviour as a parameter is varied; the next section studies the simplest ones.
Summary#
- Chaos: aperiodic, mixing long-term behaviour of a deterministic system with sensitive dependence on initial conditions, ; prediction fails after a time that grows only like .
- Any dynamical system can be written as ; existence and uniqueness make it deterministic and forbid trajectories from crossing.
- Phase-space volumes change at the rate : conservative if , dissipative if negative. The damped driven pendulum, , , , has .
- Fixed points () are stable, unstable or saddles; with dissipation stable ones are attractors with basins of attraction. An attracting closed orbit is a limit cycle, as in the linear driven oscillator.
- Chaos needs nonlinearity and at least three variables.
- Chaotic motion is pictured by projections, Poincaré sections (one point per drive period) and bifurcation diagrams; for the pendulum with , , increasing gives period doubling near 1.07 and chaos between about 1.15 and 1.28.