Dynamics

A solvable chaos of every degree

The logistic map at four is chaotic and, through a change of coordinates, completely solvable: its orbits are cosines of doubling angles. The trick is not a one-off. For every whole number n there is a polynomial of degree n that multiplies angles by n instead of 2, and every one of them is exactly as solvable, has exactly nᵏ points of period k, and preserves the same distribution — and any two of them commute, which almost no two polynomials do.

Worth reading first: Almost every orbit is fair · The same map in different coordinates.

The same map in different coordinates found that the logistic map at four, the tent map and the doubling map are one map seen three ways. In the right coordinate an orbit of the logistic map is nothing but an angle doubling, round and round a circle, and the chaos is entirely the chaos of binary digits being shifted. That essay also noted the identity underneath it, 2cos2θ1=cos2θ2\cos^2\theta - 1 = \cos 2\theta, and named the family it belongs to as deserving a treatment of its own: one solvable map of every degree.

The family is the Chebyshev polynomials. For every whole number nn there is a polynomial TnT_n with the defining property

Tn(cosθ)=cos(nθ).T_n(\cos\theta) = \cos(n\theta).

Read as a map of the interval from 1-1 to 11 to itself, TnT_n multiplies angles by nn. The logistic map at four is T2T_2 in disguise; T3T_3, T4T_4, T5T_5 are the same idea with a larger multiplier, and everything that was true of the logistic map because of the doubling is true of each of them because of the multiplication.

The Chebyshev maps T₂, T₃, T₄ and T₅. Four small square plots of the Chebyshev polynomials of degrees two to five on the interval from minus one to one, each with the diagonal drawn; the graph of degree n sweeps between the bottom and top of the square n times.
Fig. 1 The Chebyshev maps T2T_2 to T5T_5 on the square from 1-1 to 11, each with the diagonal. TnT_n is the polynomial with Tn(cosθ)=cosnθT_n(\cos\theta) = \cos n\theta, so its graph runs between 1-1 and 11 exactly nn times, folding the interval nn-fold.

Why each one is a polynomial

It is not obvious that cos(nθ)\cos(n\theta) is a polynomial in cosθ\cos\theta at all. The reason is a recurrence. Adding the formulas for cos((n+1)θ)\cos((n+1)\theta) and cos((n1)θ)\cos((n-1)\theta) gives

cos((n+1)θ)=2cosθcos(nθ)cos((n1)θ),\cos((n+1)\theta) = 2\cos\theta\,\cos(n\theta) - \cos((n-1)\theta),

so Tn+1(x)=2xTn(x)Tn1(x)T_{n+1}(x) = 2x\,T_n(x) - T_{n-1}(x), starting from T0=1T_0 = 1 and T1=xT_1 = x. Each step multiplies by 2x2x and subtracts, which raises the degree by one and keeps whole-number coefficients. So T2=2x21T_2 = 2x^2 - 1, T3=4x33xT_3 = 4x^3 - 3x, T4=8x48x2+1T_4 = 8x^4 - 8x^2 + 1, and so on, with leading coefficient 2n12^{n-1}.

The graphs show what the defining property means geometrically. As θ\theta runs from 00 to π\pi, x=cosθx = \cos\theta runs once from 11 down to 1-1, while cos(nθ)\cos(n\theta) runs back and forth between 11 and 1-1 exactly nn times. So the graph of TnT_n over the interval has nn monotone laps, each sweeping the full height of the square. The map folds the interval onto itself nn times, and every point of the interval has nn preimages. The doubling map’s two-to-one fold is the case n=2n = 2.

The same curves turn up in a place that has nothing to do with iteration. A point moving round two circles at once, one nn times as fast as the other, traces x=costx = \cos t, y=cos(nt)y = \cos(nt) — a Lissajous figure, the subject of when two circular motions come home. With the two motions in step, the Lissajous figure is exactly the graph of TnT_n, traced back and forth: the Chebyshev polynomials are what a frequency ratio of 1:n1 : n draws.

The logistic map is the first of them

The claim that the logistic map at four is T2T_2 is a claim about a change of coordinates, and it is worth seeing done rather than taken on trust.

The tent map and the logistic map, joined by a change of coordinate. Two cobweb diagrams side by side — the tent map at slope two and the logistic map at four — with the orbit of one carried to the orbit of the other by a curve drawn between them.
Fig. 2 The tent map and the logistic map at four, side by side, with the orbit of one carried point by point to the orbit of the other by the change of coordinate h(y)=sin2(πy/2)h(y) = \sin^2(\pi y/2). The identity holds at every one of 401 sampled points to twelve decimal places, so every orbit of one map is an orbit of the other.

The figure carries the tent map to the logistic map through a sine squared. One more linear change of variable, u=12xu = 1 - 2x, turns the logistic map 4x(1x)4x(1-x) into 2u212u^2 - 1, which is T2T_2: expanding, 124x(1x)=2(12x)211 - 2 \cdot 4x(1 - x) = 2(1 - 2x)^2 - 1. So the three maps — tent, logistic, Chebyshev — are one map, and the angle θ\theta with u=cosθu = \cos\theta is the coordinate in which it becomes angle doubling.

The same chain works at every degree. TnT_n is carried by u=cosθu = \cos\theta to multiplication of the angle by nn, and by the tent-like change of variable to a zigzag map with nn straight pieces of slope ±n\pm n. Every solvable map of this family is a straight-line zigzag bent into a polynomial, and every one of them shares the logistic map’s special status at a single parameter value.

Chebyshev’s own reason for them

Chebyshev did not meet these polynomials through iteration. In 1854 he was designing linkages that turn circular motion into nearly straight motion, and asked which polynomial of a given degree, with leading coefficient one, stays closest to zero over the whole interval from 1-1 to 11. The answer is 21nTn2^{1-n}T_n, whose largest value on the interval is 21n2^{1-n} and cannot be beaten by any other monic polynomial of degree nn.

The reason it wins is the same shape the graphs show. TnT_n touches the top and bottom of the square alternately, n+1n + 1 times. Any monic polynomial that stayed strictly smaller would differ from it by a polynomial of lower degree that changes sign at each of those n+1n + 1 points, and a polynomial of degree less than nn cannot change sign nn times. The alternating touches that make TnT_n the best approximation are exactly the full-height folds that make it an nn-fold chaotic map. One property, equioscillation, does both jobs.

That is why the same polynomials run through numerical analysis: the points where TnT_n reaches ±1\pm1, and the points where it vanishes, are the best places to sample a function for interpolation, because they spread the error evenly instead of letting it pile up at the ends. The arcsine density that every Chebyshev orbit follows is the same crowding towards the ends that those sample points show.

An orbit that is a formula

Because TnT_n multiplies the angle by nn, iterating it multiplies by nn again and again. Starting from x0=cosθx_0 = \cos\theta,

xk=cos(nkθ),x_k = \cos(n^k \theta),

and the whole future of the orbit is written down at once.

A cobweb of T₃, whose every step is known in advance. A cobweb diagram of a Chebyshev map, with the staircase of an orbit drawn from a starting point, every corner of which is the cosine of the starting angle multiplied by a power of the degree.
Fig. 3 T3T_3 iterated twelve times from cos1=0.5403\cos 1 = 0.5403. Every corner of the staircase is cos(3k)\cos(3^k), the angle tripled at each step, and each was checked against that formula. The orbit looks as disordered as any chaotic orbit and is given by a formula: the chaos is in the angle, multiplied round and round a circle, and the cosine only folds it onto the interval.

The staircase looks exactly like the staircase that shows the whole orbit of any chaotic map: it jumps unpredictably across the square, never settling. It is also completely known in advance, twelve cosines of twelve powers of three. There is no contradiction. Solvable and chaotic are not opposites; the formula says exactly where the orbit goes, and what it says is that the orbit’s position depends on the digits of the starting angle in base nn, which are as unpredictable as the digits of a number usually are.

The rate at which nearby orbits separate follows from the formula too. Two starting angles a distance ε\varepsilon apart are nkεn^k\varepsilon apart after kk steps, so the separation grows by a factor nn per step and the map’s Lyapunov exponent is logn\log nthe number that measures how fast two orbits part, here found exactly. The number of laps of the kk-th iterate is nkn^k, so its topological entropy, which the folds that measure chaos defined as the growth rate of laps, is logn\log n as well. For these maps the two measures of chaos agree, and both are the logarithm of the multiplier.

Counting the periodic points exactly

For most maps the number of periodic points of each period can only be found by searching. For the Chebyshev maps it is a formula.

Every Chebyshev map has exactly nᵏ points of period dividing k. A table of the number of points returning after k steps of the Chebyshev map of degree n, for degrees two to five and up to four steps; every entry is n to the power k.
Fig. 4 The number of points xx in [1,1][-1, 1] returned to themselves by kk applications of TnT_n, for n=2n = 2 to 55 and k=1k = 1 to 44: always exactly nkn^k. TnT_n applied kk times is the Chebyshev polynomial of index nkn^k, and the count comes from the angle.

Applying TnT_n kk times multiplies the angle by nkn^k, so it is the Chebyshev polynomial TnkT_{n^k}. Its fixed points are the x=cosθx = \cos\theta with cos(Nθ)=cosθ\cos(N\theta) = \cos\theta, where N=nkN = n^k — which happens exactly when Nθ=±θN\theta = \pm\theta plus a whole number of turns. That gives the angles 2πj/(N1)2\pi j/(N-1) and 2πj/(N+1)2\pi j/(N+1), and on the half-turn [0,π][0, \pi] they number exactly NN, once the two shared endpoints are counted once. So TnT_n has exactly nkn^k points of period dividing kk, all real, all in the interval, and each is a cosine of a rational multiple of π\pi. The figure checks the count and the composition identity for every entry of the table.

The smallest cases can be done by hand. T2=2x21T_2 = 2x^2 - 1 has the two fixed points x=1x = 1 and x=12x = -\tfrac12, the cosines of 00 and 2π/32\pi/3, and 2141=122 \cdot \tfrac14 - 1 = -\tfrac12 confirms the second. Its four points of period dividing two add the pair cos72°0.309\cos 72° \approx 0.309 and cos144°0.809\cos 144° \approx -0.809, which T2T_2 swaps: doubling 72°72° gives 144°144°, and doubling 144°144° gives 288°288°, whose cosine is that of 72°72° again. Those two numbers are (51)/4(\sqrt5 - 1)/4 and (5+1)/4-(\sqrt5 + 1)/4, so the first two-cycle of the logistic map’s chaos is the golden ratio in disguise — the pentagon’s angles, halved and folded onto an interval.

The periodic points are therefore close relatives of the roots of unity: cos(2πj/(N±1))\cos(2\pi j/(N \pm 1)) is the real part of a root of unity of order N±1N \pm 1. The whole periodic structure of a chaotic map is written in the arithmetic of the circle — how many points of each period, where they are, which ones are primitive — and a question about the map is a question about which fractions of a turn stay fractions when multiplied by nn.

One distribution for the whole family

The histogram of a long orbit of the logistic map settles on the arcsine density, piled up at the ends of the interval. In the Chebyshev coordinate that density is 1/(π1x2)1/(\pi\sqrt{1 - x^2}), and it is exactly the distribution of cosθ\cos\theta when θ\theta is uniform — which is why it is preserved: multiplying a uniformly distributed angle by nn leaves it uniformly distributed round the circle.

Three Chebyshev maps, one invariant density. Histograms of long orbits of three Chebyshev maps over the interval from minus one to one, drawn as outlines over the shaded arcsine distribution; all three follow the same U-shaped profile.
Fig. 5 Forty thousand steps of each of T2T_2, T3T_3 and T5T_5 in thirty bins, drawn as three outlines over the exact share the arcsine density 1/(π1x2)1/(\pi\sqrt{1 - x^2}) predicts for each bin, shaded. All three maps pile their orbits up at the ends in the same proportions, and every bin matches its predicted share.

The three histograms lie on top of one another and on the shaded prediction. Every Chebyshev map preserves the same distribution, because multiplying a uniform angle by any whole number leaves it uniform. And almost every orbit is fair applies to each of them unchanged: the map of angles is θnθ\theta \mapsto n\theta, which in base nn is the shift of digits, and its ergodicity is proved by the same argument about Fourier coefficients being pushed to frequency nmnm. Almost every orbit of every Chebyshev map is distributed by the arcsine density.

The histograms are computed by iterating the polynomials in floating point, which, unlike the doubling map’s, does not collapse — the rounding at each step is absorbed by the fold rather than discarding digits. The orbit drawn is then not the true orbit of its starting point but, as the orbit a computer draws explained, a true orbit of some nearby point, which is enough for a histogram.

Maps that commute

The last property is the rarest, and it is what makes the family special among all polynomials. Multiplying an angle by 2 and then by 3 is the same as multiplying by 3 and then by 2, so

T2T3=T3T2=T6,T_2 \circ T_3 = T_3 \circ T_2 = T_6,

and in general TmTn=TmnT_m \circ T_n = T_{mn} for every mm and nn. The Chebyshev maps commute with one another.

Chebyshev maps commute; almost no other polynomials do. Two square plots. On the left, two orders of composing the Chebyshev maps of degrees two and three lie exactly on top of each other. On the right, two orders of composing x squared and x squared minus one give visibly different curves.
Fig. 6 Left: T2T_2 applied after T3T_3 and T3T_3 applied after T2T_2 are the same curve, T6T_6. Right: x2x^2 and x21x^2 - 1, composed in the two orders, give (x21)2(x^2 - 1)^2 and x41x^4 - 1, which differ by up to 11. Ritt showed in 1923 that commuting pairs of polynomials are essentially only powers of xx, Chebyshev maps, and iterates of a single polynomial.

Two polynomials chosen almost at random do not commute, as the right-hand panel shows: squaring and then subtracting one is not the same as subtracting one and then squaring. Joseph Ritt proved in 1923 that commuting is extraordinarily rare. If two polynomials of degree at least two commute, then either both are iterates of a single polynomial, or, after a linear change of coordinates, they are both power maps xmx^m and xnx^n, or both Chebyshev maps TmT_m and TnT_n — up to the sign of the Chebyshev maps. The power maps are the Chebyshev maps’ counterpart on the circle, zznz \mapsto z^n being angle multiplication in its native form, as in multiplying is turning. Angle multiplication is the only source of commuting polynomials.

Ritt’s work came out of the study of polynomial dynamics begun by Pierre Fatou and Gaston Julia, and in their terms the Chebyshev maps are the extreme cases. The map zz22z \mapsto z^2 - 2 is T2T_2 in the coordinate z=2cosθz = 2\cos\theta, and its Julia set — the boundary between points that escape to infinity and points that do not — is the segment from 2-2 to 22, the thinnest a Julia set can be. The parameter 2-2 is the leftmost tip of the Mandelbrot set, and the Chebyshev map sits there as the one point where the whole complicated structure collapses to a line.

The same polynomials over a finite field

The recurrence Tn+1=2xTnTn1T_{n+1} = 2xT_n - T_{n-1} has whole-number coefficients, so it makes sense in arithmetic modulo a prime pp, where there are no angles and no interval, only the numbers 00 to p1p - 1. The commuting identity TmTn=TmnT_m \circ T_n = T_{mn} survives, because it is an identity between polynomials and holds in any arithmetic. What becomes interesting is whether TnT_n shuffles the numbers modulo pp — whether every number is hit exactly once.

It does exactly when nn shares no factor with p21p^2 - 1. Modulo 77, where p21=48p^2 - 1 = 48, the maps T2T_2 and T3T_3 fail and T5T_5 and T7T_7 succeed; modulo 1313, where p21=168p^2 - 1 = 168, it is T5T_5 that succeeds and T7T_7 that fails. The rule comes from the same picture as the real case: the role of the circle of angles is played by the multiplicative group of a finite field with p2p^2 elements, whose size is p21p^2 - 1, and multiplying “angles” by nn is a shuffle exactly when nn is invertible there. These shuffles are the Dickson permutation polynomials, and a collision that finds a factor iterates a squaring map in the same modular arithmetic for a different purpose — to find repetitions, which angle multiplication modulo pp must eventually produce.

What the curves cannot show

The Julia set and the complex picture. Every figure here is on the real interval. The Chebyshev maps are polynomials of a complex variable too, and their commuting, their periodic points and their invariant distribution all have complex versions that explain the real ones. None of that appears; the real interval is the shadow of a picture in the plane.

Why commuting forces the family. The right-hand panel shows one non-commuting pair; Ritt’s theorem says that every commuting pair is of one of three kinds. The proof is long, uses the dynamics of the maps in the complex plane, and has no drawing in it that would convince anyone. The figure illustrates that commuting is rare and cannot show that it is this rare.

What a floating-point orbit is. The density figure iterates in floating point for forty thousand steps. The formula xk=cos(nkθ)x_k = \cos(n^k\theta) would need klog10nk \log_{10} n extra digits of θ\theta to evaluate at step kk, so the computed orbit and the true orbit of the stated starting point part company within a few dozen steps. What is drawn is honest about the distribution and not about any one orbit.

Still open: whether this orbit is a fair one

The staircase figure started at cos1\cos 1, and under T2T_2 the same starting point has the orbit cos(2k)\cos(2^k) — the cosines of the powers of two, measured in radians. Whether those numbers are distributed by the arcsine density, as almost every orbit is, depends on whether the angles 2k2^k are spread evenly round the circle, which is the question of whether the binary digits of 1/(2π)1/(2\pi) are normal.

That is not known. Almost every starting angle gives a fair orbit, and the angle 11 radian gives one that has been computed far out and looks perfectly fair; there is no proof. The same is true for every Chebyshev map and every starting angle anyone can name that is not a rational multiple of π\pi. The family is solvable in every sense a formula can give, and whether a particular orbit of it is typical is exactly as open as the normality of a particular constant.

Multiplying angles, in every degree

The Chebyshev polynomials turn angle multiplication into maps of an interval. For each whole number nn the map TnT_n folds the interval nn times, sends cosθ\cos\theta to cosnθ\cos n\theta, and so has orbits given by a formula, nkn^k periodic points of each period listed by that formula, a Lyapunov exponent and an entropy both equal to logn\log n, and the arcsine distribution preserved by all of them at once.

They commute, because multiplying angles commutes, and Ritt proved that polynomials almost never do otherwise. The logistic map at four is the first of them, and the solvable chaos that seemed a lucky accident of degree two is the first member of a family with one member for every degree — with the question of whether any particular orbit is fair left exactly as open as it was for the doubling map.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

ChaosChebyshev polynomialConjugacyInvariant measureLogistic mapPeriodic orbitTopological entropy