This set practises the chapter on chaos and nonlinear dynamics. Problem 1 uses fixed points in two dimensions (Section 7.3). Problem 2 takes the bead on a rotating hoop of bifurcations in one dimension (Section 7.2) into two dimensions, with the tools of Section 7.3. Problem 3 is a numerical experiment on the driven pendulum of phase space and Poincaré sections (Section 7.1). Problem 4 uses limit cycles and Hopf bifurcations (Section 7.4), and Problem 5 the logistic map (Section 7.5). The problems follow MIT's Problem Set 10, in our own words and in MIT's order. MIT publishes no solutions for the problem sets of this course, so the hints and the solutions here are our own.
A few things to know about the source. The sheet has printed page numbers; the problems are on pp. 2 to 5, cited below as "p. 2" and so on. The notes are cited by their printed page and equation number. The sheet's reading list (sections of two textbooks) is left out. Problems 3 and 5 ask you to use MIT's Mathematica notebooks from the course website (for the driven pendulum and for the logistic map); here you may use any tool that integrates differential equations or iterates a map, and our own numbers were computed with Python (NumPy, SciPy and mpmath). The sheet shows a bifurcation plot of the logistic map (marked as in the public domain); it is not reproduced here, and the start of the same plot is drawn below from exact formulas instead. The sheet writes the angular velocity as , and this page keeps that letter. Several parts ask for a plot or a sketch: those parts are marked by you from the solution, and where we could, we added a box that checks one number you can read off your plot.
Some choices are ours, each marked where it appears:
- in Problem 2, the start at the stable position for the numbers of (c) and (d), and "over the top" meaning that the bead reaches ;
- in Problem 3, the start , , , the strobe times, the use of the largest Lyapunov exponent as the test for chaos, and the values of that the boxes offer;
- in Problem 5, the values and and the start in (a), and the ranges of in (d);
- the split of Problem 1's 8 points into three parts.
Some boxes are our additions, each marked where it appears: an angular frequency and the slopes of the eigenvectors in Problem 1, the damping at which a spiral turns into a node in Problem 2(b), the starting speeds and the shape of a trajectory in Problem 2(c) and (d), the window in Problem 3(a), the value of at which the type of the fixed point changes in Problem 4(b), the larger point of the 2-cycle and the third root in Problem 5(c), and the first period doublings in Problem 5(d).
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A number box accepts any value within the tolerance written next to it, in the unit named in the question. A formula box takes plain typing, for example a*omega0^2/g, and accepts every correct way of writing the answer. It treats its letters as independent, so each question says which letters to type: for example theta for , gamma for , beta for , omega0 for .
Give a number answer to 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. Where a box needs more digits, its label says so.
The points per problem are MIT's, and so is their split between the parts of Problems 2 to 5. Problem 1 has no parts on the sheet; its split into three parts is ours. Several parts ask you to show or sketch something. Those parts have no box, or only a small one: open the solution and mark yourself. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
All five problems use the language of Section 7.3. A flow has fixed points where . Near one, the small displacement obeys a linear system whose matrix holds the derivatives of there:
In words
u vector dot equals capital M vector u, capital M sub i j equals partial f sub i over partial x sub j evaluated at vector x equals vector x star
In two dimensions the eigenvalues of follow from its trace and determinant :
In words
lambda plus or minus equals the quantity tau plus or minus the square root of tau squared minus 4 capital delta, end of root, all over 2
gives a saddle. For : a node if , a spiral if , stable when and unstable when , and a centre when (pp. 166–168). An overdot is .
Problem 1#
Classifying fixed points
A flow in the plane is
In words
x dot equals x the quantity 4 plus y minus x squared, y dot equals y the quantity x minus 1
Find all its fixed points, their stability and type, and the eigenvectors where they help; then sketch the trajectories. The sheet gives this as one task; we split it into three parts (our choice).
(a)2 points
Find all the fixed points. Give their number in the first box. Exactly one of them lies off both axes: give its coordinate in the second box.
Hint
needs or . Take each case into .
Solution
The idea. Both right-hand sides are products, so each vanishes when one of its factors does.
The cases
If , then gives or . If , then gives . So
In words
(0, 0), (2, 0), (-2, 0), (1, minus 3)
four fixed points, and is the one off the axes.
Check the result
At : and . The case needs nothing new: then gives the origin again.
(b)4 points
Linearize about each fixed point and give its stability and type, one box for each. Then (our addition) give the angular frequency, the imaginary part of the eigenvalues, at each fixed point whose eigenvalues are complex, as a decimal (in units of 1/time).
Hint
The matrix is . Put in each fixed point, then use and .
Hint
At three of the points is triangular, so its eigenvalues are the numbers on its diagonal.
Solution
The idea. Evaluate the matrix of derivatives at each fixed point and read off its eigenvalues, or its trace and determinant.
The matrix
With and :
In words
capital M equals 4 plus y minus 3 x squared x; y x minus 1
The four points
- : . Eigenvalues and , of opposite sign: a saddle (unstable).
- : . Eigenvalues and : a saddle.
- : . Eigenvalues and , both negative: a stable node.
- : , with , . Since the eigenvalues are complex, , with negative real part: a stable spiral.
The spiral decays at the rate 1 and turns at the angular frequency .
Check the result
For each point the eigenvalues add up to and multiply to : for example at , and at . None of the four points is a borderline case (, or ), so the linear classification holds for the full nonlinear flow (p. 169).
(c)2 points
Find the eigenvectors that help the sketch, and sketch the trajectories in the plane. As checks (our additions), give the slope of the unstable direction at the saddle , and the slope of the slow direction (the eigenvalue ) at the node , both as decimals.
Hint
The axis and the axis are both made of whole trajectories: on the flow has , and on it has . So one eigenvector of each point on an axis lies along that axis.
Hint
For the other eigenvector of with eigenvalue , the first row gives .
Solution
The idea. The axes carry trajectories of their own, which fixes one eigenvector at each point on an axis; the other comes from the first row of .
The eigenvectors
- : the unstable direction is the axis (eigenvalue 4), the stable one the axis (eigenvalue ).
- : eigenvalue along the axis; for the eigenvalue 1, gives , the direction , slope .
- : eigenvalue along the axis; for , gives , the direction , slope . Since , trajectories approach this node along , tangent to that line, after the fast part along has died.
- : complex eigenvectors, so no special straight directions: trajectories spiral in.
In words
(2, 0): lambda equals 1 along (2, 9), (-2, 0): lambda equals minus 3 along (2, minus 5)
The sketch
On the axis the flow runs away from the origin, towards from both sides, and away from on both sides. On the axis it runs into the origin. In the upper half plane () points with move up and those with move down, and on the parabola . Trajectories leave the saddle along : one branch rises up and to the right without bound, the other goes down into the lower half plane and spirals into . Since both axes are trajectories, no trajectory crosses them, and each quadrant has its own fate. Points to the left of the axis end at the node . Points with , end in the spiral, and points with , run off to infinity (in our numerical check every start we tried in these quadrants did so).
Check the result
at , and at . Both are eigenvectors with the stated eigenvalues.
Problem 2#
Bead on a rotating hoop
A bead of mass slides on a hoop of radius , with friction coefficient . The hoop stands vertically and turns about its vertical diameter (the axis) at the constant angular velocity . With the angle of the bead from the bottom of the hoop, its equation of motion is
In words
m a theta double dot equals minus beta theta dot plus m a omega nought squared sine theta the quantity cos theta minus g over the quantity a omega nought squared
The notes study the same equation (eq. (7.35), p. 162) in the overdamped limit, where is dropped. Here you keep it, so the motion lives in the two-dimensional phase space .
(a)2 points
Show that new variables bring the equation to the dimensionless form
In words
theta dot equals w, w dot equals sine theta the quantity cos theta minus 1 over gamma, all minus b w
with and , where the overdot now means the derivative with respect to the dimensionless time . Type with a, omega0 and g, and with beta, m, a and omega0. Then choose, in the third box, a symmetry of the system that involves both variables.
Hint
Divide the equation by . Which time unit then makes the coefficient of equal to 1?
Solution
The idea. Divide by and measure time in units of .
The change of variables
Dividing by :
.
With , and , so with :
In words
gamma equals a omega nought squared over g, b equals beta over the quantity m a omega nought
The symmetry
Replace and . The first equation becomes , the same. In the second, changes sign and does not, so the right-hand side changes sign, as does the left. It is the mirror image of the bead in the axis of rotation: a bead on the left side moving left behaves as one on the right moving right.
Check the result
Units: is an acceleration over an acceleration, and has the units of , kg·m/s, so is a pure number too. The other choices fail: alone flips the sign of but not of in .
(b)5 points
Find the fixed points for and for , and classify the stability and type of each with a linear analysis only. Type the positive angle of the fixed point that exists only for , with gamma. Choose what is for , and what are when . Then (our addition) type the value of , with gamma, below which are spirals and above which they are nodes.
Hint
A fixed point has and . Damping only enters through , so it does not move the fixed points.
Hint
The matrix is with and . So and .
Solution
The idea. The fixed points do not depend on ; their types do, through the trace .
The fixed points
and or . So (bottom) and (top) for every , and for also with
In words
theta star equals arc cos 1 over gamma ( gamma greater than 1)
as in the notes' overdamped analysis (which writes for ). The same points hold for and .
The determinant at each point
:
- bottom, : , positive for and negative for ;
- top, : always;
- sides, : .
The types
In words
tau equals minus b, capital delta (0) equals 1 over gamma minus 1, capital delta ( pi ) equals minus 1 minus 1 over gamma, capital delta ( plus or minus theta star ) equals 1 minus 1 over gamma squared
- : a saddle for every and .
- , : a saddle. For : a centre if ; if a stable spiral when and a stable node when .
- (): centres if ; if stable, spirals for and nodes above that.
(At the bottom has , a borderline case where linear analysis says nothing: this is the pitchfork of the notes.)
Check the result
For : , , and the change from spiral to node is at . So for in part (d) the side points are stable spirals. The centres for are a linear verdict; part (c) confirms them with a conserved quantity.
(c)5 points
Take . Show that the system is conservative and find a conserved quantity . Type it in the form with , using theta, w and gamma. Is the energy? Choose in the second box. Then draw the phase portrait from curves of constant and label the fixed points. Finally (our addition), take and the bead starting at its stable position (our choice): give the smallest that takes it over the top, to , as a decimal (in units of ).
Hint
Multiply by : then both sides are time derivatives.
Hint
In the lab frame the bead's kinetic energy is : it moves along the hoop and is carried round with it. Compare the sign of the term with your .
Hint
The bead gets over the top when its exceeds the value of at the top fixed point.
Solution
The idea. With the equation is , a particle in a potential; the potential includes the centrifugal term of the rotating hoop.
A conserved quantity
The divergence of the flow is , so the flow keeps phase-space areas: it is conservative, and in two dimensions it has a Hamiltonian (Section 7.3.2, p. 172). Directly: with ,
In words
H( theta, w) equals one half w squared minus one half sine squared theta plus the quantity 1 minus cos theta, all over gamma, theta dot equals partial H over partial w, w dot equals minus partial H over partial theta
and .
Is it the energy?
In physical units, . The lab energy is , with a plus sign on the motion carried round by the hoop. The two differ by , which changes as the bead moves, so the lab energy is not conserved: the hoop pushes the bead sideways and the motor that keeps fixed does work on it. is the energy in the frame that rotates with the hoop, where is the centrifugal potential energy (the Jacobi integral of a Lagrangian that does not depend on time).
The phase portrait
For the potential has minima at (closed orbits round centres), a small hump at with , and its largest value at the top. The level curves and pass through the saddles and are separatrices: inside , two families of loops, one round each centre; between the two, loops that swing through the bottom and round both centres; above , curves that run along the whole axis, the bead going over the top again and again. For there is only a centre at the bottom and a saddle at the top, like a pendulum.
The number
For : , and the top has . Over the top needs , so .
Check the result
The stationary points of are the fixed points: and . Minima of () are centres and saddle points of ( and for ) are saddles, as part (b) found. For () the centrifugal term drops out and becomes the pendulum's energy plus a kinetic term.
(d)3 points
Now take and . Sketch a trajectory that starts near each stable fixed point, and one with an initial large enough for the bead to go over the top of the hoop. Choose, in the first box (our addition), what a trajectory near a stable fixed point does. Then (our addition, solved numerically) give the smallest that takes the bead from over the top, to , as a decimal (in units of ). The sheet suggests too if you solve numerically.
Hint
Part (b) gives the type of the side points for : compare with .
Hint
With friction, the bead loses on the way, , so it needs more than the 1.5 of part (c). Integrate the equations from and bisect on : does ever reach ?
Solution
The idea. With friction the centres of part (c) become stable spirals, and decreases along every moving trajectory, so each bead ends at rest at one of the two side points (or, exceptionally, on a saddle).
Near the stable points
At : , , so . Since , the points are stable spirals: a nearby trajectory turns round the point once every units of time while its distance shrinks as . Because of the symmetry of (a), the spiral round is the mirror image of the one round .
Over the top
: friction removes . Starting at with , the bead must arrive at the top with . Our numbers (SciPy, DOP853, relative tolerance , bisection on ):
In words
b equals 1: w nought equals 3.056, b equals one half : w nought equals 2.238, b equals 0: w nought equals 1.500
A trajectory that starts a little faster passes , comes down on the far side ( beyond is the same as the left half of the hoop, near ) and spirals into the fixed point at , the same bead position as . One just below the threshold falls back and spirals into .
Check the result
The undamped value from the solver matches part (c) exactly, a test of the method. The damped values are larger, more so for larger , as they should be. In the phase plane, the boundary between the two outcomes is the stable direction of the saddle at the top: starting exactly at , the bead creeps up to and stops there.
Problem 3#
Chaos in an undamped nonlinear oscillator
Is damping needed for chaos in the driven pendulum? In the notes the damped driven pendulum is the flow
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
Take away the damping (), and write for the angular velocity as the sheet does:
In words
theta dot equals w, w dot equals minus sine theta minus a cos phi, phi dot equals omega D
with . (The sign of the drive differs from the notes; it only shifts the drive's phase by half a period.) The sheet asks you to switch off the damping in MIT's Mathematica notebook for the driven pendulum; any tool that integrates the equations will do. Our numbers come from a fourth-order Runge-Kutta method with 256 steps per drive period, checked at several values of with SciPy's DOP853 method (relative tolerance ). Our start is , , at (our choice), and the Poincaré section records at the strobe times (our choice). Without damping nothing dies away, so there is no transient to discard, and the section depends on the start. As the test of chaos we use the largest Lyapunov exponent (Section 7.5, p. 186, and Section 7.6), estimated over 400 drive periods from the growth of a small displacement that is followed with the linearized equations: chaos has , while regular motion gives an estimate that shrinks towards zero as the run gets longer (our choice of test).
(a)4 points
Make a bifurcation plot of at the strobe times against , for at least , with about 300 steps in . Find a value of in a periodic window between chaotic regions, and show Poincaré sections that prove it. As a check (our addition), choose in the box which of the listed values lies in such a window, from our start.
Hint
In the bifurcation plot, chaos fills a vertical band with scattered points; regular motion gives a few points or a thin line at each . Look for a gap of thin lines between two bands.
Solution
The idea. Chaos shows in the bifurcation plot as a wide band and in a Poincaré section as a scatter of points; regular motion as a few points or a smooth closed curve.
Our sweep
From our start, the largest Lyapunov exponent over 400 drive periods:
| Largest size of at the strobe times | Motion | ||
|---|---|---|---|
| 0.10 | 0.0008 | 0.20 | regular |
| 0.25 | 0.0017 | 0.51 | regular |
| 0.30 | 0.11 | 2.3 | chaos |
| 0.60 | 0.15 | 2.9 | chaos |
| 1.00 | 0.17 | 3.3 | chaos |
| 1.25 | 0.17 | 3.9 | chaos |
| 1.40 | 0.0002 | 3.04 | regular |
| 1.50 | 0.17 | 4.1 | chaos |
| 1.90 | 0.17 | 4.7 | chaos |
The motion is chaotic over almost the whole range from to 2, with a regular window from about to , itself broken by thin chaotic slivers (at 1.33 to 1.34 and at 1.38 in our sweep with steps of 0.01).
The sections
At the strobe points fall, in turn, into three small clusters, near , and (with taken between and ): the orbit circles a periodic orbit that repeats every three drive periods, and each cluster is a small closed curve round one of its three points. In the bifurcation plot this shows as three thin lines at each . At the strobe points instead scatter over a wide region of the plane without any order: chaos. A section at 1.25 or 1.50, on either side of the window, looks like the one at 1.00.
Check the result
The flow has divergence : it keeps phase-space volumes, so there are no attractors and a bifurcation plot shows the orbit of one start, not a limit. That is why our window is a property of the start: another start at can land in the chaotic sea. The DOP853 runs at , 1.0 and 1.5 gave Lyapunov exponents 0.10, 0.17 and 0.18, and at 0.1 and 0.2 regular motion, in agreement with the table.
(b)6 points
Look closely at small drives. Make a bifurcation plot for , and other plots of your choice. Is there chaos there? For which value in does chaos first appear? Test and justify your answer. Choose in the first box what the motion from our start does for , and give in the second box, from our start, the smallest at which the motion is chaotic, to three decimals.
Hint
For a small drive the pendulum barely leaves the bottom, so : what does a driven harmonic oscillator without damping do?
Hint
Scan in small steps from 0.2 upwards and watch the largest size of and your test for chaos together. Something sudden happens.
Solution
The idea. For a small drive the motion stays near the bottom, where the pendulum is nearly linear; chaos needs the motion to reach the region near the top, where the nonlinearity is strong.
Small drives
With the equation is . From rest at its solution is
In words
theta (t) equals a over the quantity 1 minus omega D squared, times the quantity cos t minus cos ( omega D t)
a sum of the free oscillation (frequency 1) and the forced one (frequency ). The ratio of the two frequencies is not a simple fraction for this motion, so the strobe points fill a smooth closed curve: regular, quasi-periodic motion, which never repeats exactly but is not chaotic. Its size is about , so for the pendulum swings less than rad. Our Lyapunov estimates there are below 0.001 and shrink as the run gets longer: no chaos.
The onset
Scanning in steps of 0.0005 over 2000 drive periods, the motion stays regular up to , with between and . At it suddenly becomes chaotic: and reaches , the pendulum now going over the top at irregular times. So from our start chaos first appears at
In words
a is approximately 0.287
This answer belongs to our start. Started near the top instead, at or with , the motion is chaotic even for (our Lyapunov estimates 0.04 to 0.08 over 1500 drive periods, for , 0.05 and 0.1): close to the separatrix of the pendulum, where a swing takes a long time, the smallest drive decides whether the pendulum goes over the top or falls back. Without damping such a thin chaotic layer round the separatrix exists for every , so chaos is present at small too, just not for starts near the bottom.
Check the result
The jump is sudden because the start is not on an attractor: at the closed curve on which our orbit lies is still intact, and just above it the curve has broken up and the orbit escapes into the chaotic region round the separatrix of the pendulum. A longer run cannot move the onset down: our runs over 400 and 2000 periods agree that every value below 0.2870 is regular.
Problem 4#
Bifurcation of a limit cycle and a fixed point
A system obeys
In words
x double dot plus a x dot the quantity x squared plus x dot squared minus 1, all plus x equals 0
with a real constant . Write .
(a)4 points
Form the first-order equations; type with x, w and a. Show that for the system has a circular limit cycle, and give its amplitude (in units of ) and its period, both as decimals (in the dimensionless time of the equation). That it is isolated follows from part (c).
Hint
On the circle the bracket vanishes. What is left?
Solution
The idea. On the unit circle in the plane the nonlinear term vanishes, and the motion is that of a harmonic oscillator, which stays on the circle.
The equations
In words
x dot equals w, w dot equals minus x minus a w the quantity x squared plus w squared minus 1
The circle
Try , . Then , the bracket vanishes, and holds. So the unit circle is a closed trajectory: an oscillation of amplitude 1 and period , run clockwise in the plane.
Check the result
Along any trajectory , which vanishes on the circle: a trajectory that starts on it stays on it. Off the circle it is not zero (except where ), so neighbouring circles are not trajectories when : the cycle is isolated, a limit cycle. For the system is the harmonic oscillator and every circle is a closed orbit.
(b)4 points
Find and classify all the fixed points for , and , with their stability (linear analysis only for borderline cases). Choose the type for in the first box, and (our addition) give in the second box the positive value of at which the type changes again. Then, from the stability of the fixed point and the behaviour of outside the cycle, propose when the limit cycle is stable, unstable or half-stable: choose for in the third box.
Hint
The only fixed point is the origin. Linearize: the cubic terms drop out, and .
Hint
Outside the circle, , so for the term always opposes : it acts as friction.
Solution
The idea. The origin is the only fixed point; its linear matrix has trace . Inside the circle the nonlinear term pumps energy in for , outside it takes energy out.
The fixed point
gives ; then . So only the origin. Linearized:
In words
capital M equals 0 1; minus 1 a, tau equals a, capital delta equals 1, lambda plus or minus equals the quantity a plus or minus the square root of a squared minus 4, end of root, all over 2
The types
- : unstable; an unstable spiral for , an unstable degenerate node at (), an unstable node for .
- : stable; a stable spiral for , a stable node for .
- : a centre (a borderline case for the linear analysis, but here the full system is the harmonic oscillator, whose orbits are exactly circles).
A proposal for the cycle
For trajectories leave the origin, so they must end somewhere; outside the circle the term is a friction, which pulls them inwards. Both sides are pushed towards the circle: the cycle should be stable. For everything reverses: the origin attracts, outside the circle the term pumps energy in, and the cycle is unstable. Nothing makes it half-stable, which would need the same sign of motion on both sides.
Check the result
and . At the root vanishes: twice.
(c)4 points
Change to polar coordinates, and . Derive the first-order equation for and type it with a, r and theta. Use it to prove your proposal from (b), find the bifurcation point, and choose in the second box a reasonable name for the bifurcation.
Hint
Differentiate : .
Solution
The idea. In polar coordinates the distance from the origin has its own equation, and its sign shows directly which way trajectories cross each circle.
The radial equation
, so with :
In words
r dot equals minus a r sine squared theta the quantity r squared minus 1, theta dot equals minus 1 minus a sine theta cos theta the quantity r squared minus 1
(the second from ).
The proof
Take . For , , and for , , with equality only where . Near the circle , so a trajectory passes those two points quickly and keeps moving towards on average: averaged over one turn, . The cycle is stable, approached from both sides. For the signs flip and the cycle is unstable. This proves the proposal of (b), and also shows the cycle is isolated: no other circle is a trajectory.
The bifurcation
At the fixed point changes from a stable spiral to an unstable one, its eigenvalues crossing the imaginary axis, and the limit cycle changes from unstable to stable at the same moment. That is the signature of a Hopf bifurcation (Section 7.4.2, p. 178), but here the cycle does not grow from zero size: it sits at for every , and at the whole plane is filled with circles. A reasonable name is a degenerate Hopf bifurcation: the fixed point and the cycle exchange their stability, somewhat like the two fixed points of a transcritical bifurcation.
Check the result
Compare the supercritical Hopf normal form of the notes,
In words
r dot equals mu r minus r cubed, theta dot equals omega plus b r squared
whose cycle has radius and shrinks to the fixed point as . Here the averaged equation has its cycle at for every , and the rate in front sets only how fast trajectories approach it. For the averaged equation is the system of the notes' eq. (7.57) (p. 174).
Problem 5#
Chaos in maps
Chaos in a flow of first-order differential equations needs three variables and nonlinearity. A map, , which gives a discrete sequence of points, can be chaotic with a single variable. (The Poincaré section of the driven pendulum is a hint of this: it, too, is a sequence of points.) The simplest example is the logistic map,
In words
x sub n plus 1 equals r x sub n the quantity 1 minus x sub n
with a fixed control parameter . The sheet shows its bifurcation plot, made by discarding the first 300 values of and plotting the next 301 for many values of : after the transients have died the points lie on an attractor that does not depend on , and as grows the attractor goes through a sequence of period doublings into chaos, as the driven damped pendulum does. The sheet suggests MIT's Mathematica notebook for the map; any tool will do. The start of the plot, where it has simple formulas, is drawn here:
(a)3 points
Test the sensitivity to initial conditions: compute and from two nearby starts and , once for a value of where the map is periodic and once where it is chaotic, and plot to large enough . Take and , with and (our choices). For , how small must be to make sure that at ? Give the largest such (for small the difference grows in proportion to ), typed for example as 2.5e-9.
Hint
For a small , , and by the chain rule is the product of the factors along the orbit, for to .
Hint
. Multiply the fifteen factors on a computer, or iterate both starts and shrink until the condition holds.
Solution
The idea. In chaotic motion a small difference is multiplied at every step by the size of , on average by with the Lyapunov exponent; in periodic motion it shrinks.
The periodic case
At the attractor is the 2-cycle (). With our difference is at (the orbit first passes near the unstable fixed point), at and at : every two steps it is multiplied by the multiplier of the 2-cycle, (the product of eq. (7.77), p. 185), so it shrinks by a factor of about 6 every two steps: no sensitivity.
The chaotic case
At , the product of the fifteen factors along the orbit from is
In words
d x sub n over d x nought equals the product over j equals 0 of to the power n minus 1, end of power, f prime ( x sub j ) equals minus 2.729 times 10 to the power 4 (n equals 15), delta less than 10 to the power minus 6 over the quantity 2.729 times 10 to the power 4, equals 3.66 times 10 to the power minus 11
Iterating both starts directly agrees: gives at , and gives . To control 15 steps you need about eleven digits.
Check the result
At the substitution turns the map into the doubling , so the Lyapunov exponent is and a difference grows on average by in 15 steps; it gives , close to but not the same as the exact value for this start, which the box checks. The same substitution gives the derivative exactly, with , and for it has the same value.
(b)4 points
By zooming into the bifurcation plot, find the first four values of at which period doublings occur (the sheet calls them a₁ to a₄; we write to , as the notes do). Two are and . Give and to four decimals, and the two ratios and , which should agree to about two significant figures.
Hint
The branches split slowly near a doubling, so a bifurcation plot gives the doubling points only to about three decimals. For better values, find where the multiplier of the -cycle, the product of over the cycle, reaches .
Solution
The idea. A -cycle turns unstable when its multiplier passes ; the spacing between successive doublings shrinks by a nearly constant factor.
The doubling points
Solving together with over the cycle (Newton's method in mpmath), we find
In words
r one equals 3, r two equals 3.449490, r sub 3 equals 3.544090, r four equals 3.564407
The ratios
and . They agree to two significant figures, 4.7, and approach the Feigenbaum number
In words
delta F equals the limit as alpha goes to infinity of the quantity r sub alpha minus r sub alpha minus 1, all over the quantity r sub alpha plus 1 minus r sub alpha, is approximately 4.669201
(the next ratio, with the fifth doubling at , is 4.668).
Check the result
The first two values are exact: the fixed point has multiplier (notes, eq. (7.74), p. 184), which is at , and the 2-cycle's multiplier is at . With the spacings shrinking by , the doublings accumulate near (eq. (7.83)), close to the true onset of chaos, 3.5699.
(c)3 points
Show that between the first and the second bifurcation, the two values of on the attractor satisfy
In words
r cubed x squared the quantity 2 minus x, all minus r squared the quantity r plus 1, x plus the quantity r squared minus 1, equals 0
The cubic has a third root. As checks (our additions), type the larger of the two attractor values and the third root, with r.
Hint
The two values are each a fixed point of , but not of . Write out and remove the root you already know.
Solution
The idea. A point of the 2-cycle returns after two steps: . That equation also holds for the fixed points, and ; removing the root leaves the cubic.
The cubic
with . For , divide by :
In words
r squared the quantity 1 minus x, the quantity 1 minus r x the quantity 1 minus x, all minus 1 equals the quantity r squared minus 1, all minus r squared the quantity r plus 1, x plus r cubed x squared the quantity 2 minus x, equals 0
which is the sheet's cubic. Expanding: , and .
Its three roots
The fixed point also satisfies , so is a factor:
.
The quadratic gives the two points of the cycle,
In words
x equals the quantity r plus 1 plus or minus the square root of the quantity r minus 3, the quantity r plus 1, all over the quantity 2 r
real for . Between and they form the attractor, and the third root, , is the unstable fixed point.
Check the result
At the square root vanishes and both points equal : the cycle is born out of the fixed point, as a period doubling should. At : and , and .
(d)5 points
Make bifurcation plots for three more maps:
In words
(i) x sub n plus 1 equals r cos x sub n, (ii) x sub n plus 1 equals r x sub n minus x sub n cubed, (iii) x sub n plus 1 equals e to the power minus r x sub n
All three show period doubling; two of them are chaotic, and for those choose a range of that shows both chaotic and regular regions. Choose the map that is not chaotic in the first box. Then (our additions) give the value of of the first period doubling of each map, to three decimals.
Hint
A fixed point of a map period-doubles where its multiplier passes . For (i) that means and together.
Hint
Map (iii) is decreasing in . What does that imply for , and for the cycles it can have?
Solution
The idea. Find the fixed point whose multiplier reaches first; then run the map to see what follows.
(i) r cos x
and give , so and . Our runs (start , 1000 steps discarded, Lyapunov exponent over 4000 steps): a 2-cycle at to 1.8, a 4-cycle at 1.9, chaos from about (exponent 0.16 at , 0.36 at 2.2), with a periodic window at 2.6 and a stable fixed point again near from . A range such as shows it all.
(ii) r x − x³
The fixed points are (multiplier ) and for , with multiplier , which is at . Our runs: a 2-cycle at 2.05 to 2.2, a 4-cycle at 2.25, chaos from about , a window near 2.7, and chaos up to , beyond which orbits escape to infinity. The map is odd, , so every attractor below about has a mirror twin at negative ; the two bands merge into one near . A range shows it.
(iii) exp(−r x)
The fixed point has multiplier , which is when : then and . Beyond that, a 2-cycle, and nothing more: our runs up to show the 2-cycle with negative Lyapunov exponents. The reason is that is decreasing, so is increasing, and an increasing map of a line moves every point monotonically towards a fixed point of it. So the orbit of settles on a fixed point or a 2-cycle, and never on anything longer or chaotic.
In words
(i) r equals 1.319, (ii) r equals 2, (iii) r equals e equals 2.718
Check the result
At each doubling the multiplier is exactly : for (i), ; for (ii), ; for (iii), . Map (iii) does show one period doubling, as the sheet says, which is why "all three show period doubling" and "two are chaotic" fit together.