Analysis

Root two, raised to itself for ever

Stack √2 to the power √2 to the power √2 without end and the tower settles at exactly 2. Solve the equation for a tower equal to 4 and √2 appears again, and that answer is false. The bases that give a limit run from e^(−e) to e^(1/e), the slope at the crossing decides everything, and a sum over labelled trees turns out to be the same number.
20 min read 5 figures Small cases lieThe same thing twice

Worth reading first: The curve that is its own slope · The staircase that shows the whole orbit.

Here is a calculation that goes wrong in a way worth remembering. Suppose xxx⋯x^{x^{x^{\cdots}}} equals 2, with the tower running up for ever. Since the whole tower is the exponent of its bottom xx, the tower can be replaced by its value, which gives x2=2x^2 = 2 and x=2x = \sqrt 2. Now suppose instead that the same tower equals 4. The same step gives x4=4x^4 = 4, so x=2x = \sqrt 2 again. A single tower has apparently produced two different values.

Exactly one of those statements is true, and the tower on 2\sqrt 2 settles on 2. Nothing is wrong with either piece of algebra, in that both 2 and 4 are solutions of y=(2)yy = (\sqrt 2)^y. What the algebra assumes without saying so is that the tower has a value at all, and if it has, that the value is the solution being looked for. Those are questions about iteration and not about equations. Answering them means treating the tower as what it is: a map applied over and over, and the question becomes which bases allow the limit and which solution the orbit picks. The answer has two exact endpoints, and these are stranger than anybody would guess.

Root two, raised to itself for ever. The cobweb of x to the power of root two from 1: 1.00000, 1.41421, 1.63253, 1.76084, 1.84091, 1.89271, 1.92700, settling on 2; the other solution 4 repels, with slope ln 4.
Fig. 1 The map x↦(2)xx \mapsto (\sqrt 2)^x and its staircase from x=1x = 1, climbing to the crossing at 2; the other crossing, at 4, has a slope steeper than the diagonal and pushes orbits away.

A tower is an orbit

A tower is naturally read from the top down, and there it has no first step. To make sense of it, build it from the bottom of the stack upward by heights: y1=ay_1 = a, y2=aay_2 = a^a, y3=aaay_3 = a^{a^a}, and in general yn+1=ayny_{n+1} = a^{y_n}. So a tower of height nn is the nn-th point on an orbit of the single map f(x)=axf(x) = a^x. The infinite tower means the limit of this orbit, if there is one. Now everything from the staircase that shows the whole orbit is available, including the cobweb diagram, where an orbit bounces between the curve and the diagonal.

For a=2a = \sqrt 2 the first few heights are 1, 1.414214, 1.632527, 1.760840, 1.840911, 1.892713 and 1.927. They climb, and the staircase in the figure shows why they must stop at 2. The curve y=(2)xy = (\sqrt 2)^x crosses the diagonal at 2 and again at 4. Starting anywhere below 2, each step moves right and stays under the crossing, so the orbit is increasing and bounded and has a limit. The orbit can never reach 4 because it cannot get past 2.

There is a simple test for the crossing itself. An orbit near a fixed point yy has its error multiplied each step by the slope f′(y)f'(y), and for this map

f′(y)=ayln⁡a=yln⁡a=ln⁡y,f'(y) = a^y \ln a = y \ln a = \ln y,

where the last step uses ay=ya^y = y and hence ln⁡a=(ln⁡y)/y\ln a = (\ln y)/y. So the slope at a crossing depends only on the height of the crossing. At 2 it is ln⁡2=0.693\ln 2 = 0.693, which is less than one, so 2 attracts. At 4 it is ln⁡4=1.386\ln 4 = 1.386, greater than one, so 4 repels. That single formula, the slope equals the logarithm of the value, is what the whole problem depends on, and it could not be simpler.

The two ends of the range

A fixed point attracts when its slope has size less than one, which means ∣ln⁡y∣<1|\ln y| < 1, that is 1/e<y<e1/e < y < e. Translate those into the base by a=y1/ya = y^{1/y}. The top end, y=ey = e, gives a=e1/e=1.444668a = e^{1/e} = 1.444668. The bottom end, y=1/ey = 1/e, gives a=(1/e)e=e−e=0.065988a = (1/e)^e = e^{-e} = 0.065988. These numbers are the whole answer: the tower has a limit exactly for

e−e≤a≤e1/e.e^{-e} \le a \le e^{1/e}.

This was known to Euler in 1778, at least for the top and the general picture, and the endpoints were worked on through the nineteenth century by Gotthold Eisenstein and others, with a full treatment by David Barrow in 1936. There is a good deal of folklore about who proved what. The picture is what the curve below draws.

The bases at which a tower has a limit. The limit of the tower against the base: it converges from 0.065988 to 1.444668, with limits from 0.36788 to 2.71828; below the lower end it alternates on a two-cycle.
Fig. 2 The value the tower settles on for each base, from e−ee^{-e} to e1/ee^{1/e}, with the limits running from 1/e1/e to ee; below the lower end, two separate values appear and the single fixed point continues dashed.

The upper end has a simple geometric meaning. For large bases the curve axa^x lies entirely above the diagonal, and the staircase climbs for ever. As aa falls, the curve eventually touches the diagonal at a single point. That happens when the curve is tangent to the diagonal, with slope exactly one, at y=ey = e. Every smaller base then has two crossings, of which the lower attracts. That moment, a=e1/ea = e^{1/e}, is also the base at which the curve ln⁡x/x\ln x / x has its peak, the same calculation that shows ee maximises x1/xx^{1/x} and so makes 31/33^{1/3} larger than 21/22^{1/2} and 41/44^{1/4}. So the top of the tower range is a familiar fact in a new setting. A base of 1.44 towers up to 2.47 or so. A base of 1.45 runs away, past any number whatever.

The lower end is the surprise. Most people’s guess, seeing a formula involving xxx^x, is that something goes wrong at the minimum of xxx^x, at x=1/ex = 1/e, where xx=0.6922x^x = 0.6922. Nothing does. The tower has a perfectly good limit well below that, down to a base of about a fifteenth. The curve is steep and decreasing there, and the slope only reaches −1-1 when yy has fallen to 1/e1/e.

What happens below the bottom

For a<1a < 1 the map is decreasing, and an orbit alternates. Odd heights are above the crossing and even heights are below. So y1>y3>y5>…y_1 > y_3 > y_5 > \ldots and y2<y4<y6<…y_2 < y_4 < y_6 < \ldots, and two separate limits exist, one for each side. Whether they coincide is the question. They coincide while the slope at the fixed point has size less than one, and once it passes −1-1 the two limits part.

One limit splits into two. For base 0.02: the fixed point 0.304205 has slope -1.19006 and repels, and the orbit settles on the two-cycle 0.031462, 0.884194.
Fig. 3 Base 0.020.02: the fixed point repels with slope −1.19-1.19, the cobweb winds outward onto a rectangle, and the square of the map has three crossings where it used to have one.

At base 0.02, the fixed point is at 0.304205, with slope −1.190-1.190, and it repels. The orbit settles on a two-cycle, alternating between 0.031462 and 0.884194. So tall towers of 0.02 are near 0.03 when their height is even and near 0.88 when it is odd, and the difference is far from small. The infinite tower has no value. It is a clean failure, and one that a naive use of the fixed-point equation would never catch, since the fixed point is still there, and it continues as the dashed curve in the previous figure.

This looks exactly like the first period doubling of the logistic map, with a slope passing −1-1 and a cycle of two being born. For real bases it also stops there. A decreasing map has an increasing square, and an increasing map of the line moves every orbit monotonically, so all orbits of f∘ff \circ f go to fixed points. The real tower can have no 3-cycle, no 4-cycle and no chaos, and no cascade can ever follow the first split. A short monotonicity argument controls the whole picture, and the theorem about the order of periods never gets a start. The cycle’s two values continue as the base goes to nought, and they tend to 0 and 1, so a tiny base gives even towers near nought and odd ones near one.

How the limit is approached

Within the range the error shrinks like the slope to the power of the height, so the speed depends only on where the limit is. This is the ordinary arithmetic of how fast a staircase arrives, with one unusual feature: the slope and the value are tied together by a logarithm.

The ends of the range converge slowly. Distance from the limit by height for five bases: a=1.20000 slope 0.22931 at 300 0.00e+0; a=1.40000 slope 0.63481 at 300 2.22e-16; a=1.44467 slope 1.00000 at 300 1.78e-2; a=0.10000 slope -0.91876 at 300 2.73e-12; a=0.06599 slope -1.00000 at 300 5.33e-2.
Fig. 4 Distance from the limit against height for five bases: steady geometric decay inside the range, at rates set by the slope, and much slower decay at the two ends where the slope reaches size one.

For base 1.2 the slope is 0.229, and the tower is correct to machine rounding by height 20 or so. For base 1.4 it is 0.635, and it takes about seventy steps. Base 0.1 has slope −0.919-0.919 and at height 300 is still 2.7×10−122.7 \times 10^{-12} away. These are straight lines on the logarithmic scale, and the slopes of those lines are the logarithms of these numbers. There is a slow zone near each end of the range, and exactly at the ends the decay is no longer geometric at all. Exactly at the top, with slope one, the orbit’s approach has the form yn+1−e≈(yn−e)+(yn−e)2/(2e)y_{n+1} - e \approx (y_n - e) + (y_n - e)^2/(2e), the slow tangency familiar from a window that opens with a stutter, and it makes the error about 2e/n2e/n. At height 300 that predicts 0.0181, and the computation gives 0.0178. At the bottom end the slope is −1-1, the second-order term cancels when the map is applied twice, and the error is reduced at the much slower rate of 1/n1/\sqrt n. At height 300 it is 0.053.

The picture therefore has a third feature that a table of limits misses. A tower near either end of the range has a limit, but anyone evaluating it numerically would see a slow drift, and a calculation stopped at any fixed height would give a wrong answer to several digits. The tower can be right at infinity and wrong at a million.

The trees inside the tower

The limit has a formula. Put L=ln⁡aL = \ln a and y=ayy = a^y, so that y=eLyy = e^{Ly}, and write T=LyT = Ly; then T=LeTT = L e^{T}. This is the functional equation of the generating function of rooted labelled trees. Cayley’s formula says that nn−1n^{n-1} rooted trees exist on nn labelled points, and if T(z)=∑nn−1zn/n!T(z) = \sum n^{n-1} z^n/n! then T=zeTT = z e^{T}, since a rooted tree is a root with a set of rooted trees attached. So the tower is

y=T(ln⁡a)ln⁡a=∑n≥1nn−1n!(ln⁡a)n−1.y = \frac{T(\ln a)}{\ln a} = \sum_{n \ge 1} \frac{n^{n-1}}{n!} (\ln a)^{n-1}.

This is the series Eisenstein studied in 1844, and it is what is called Lambert’s WW function, with the sign changed, in modern notation. For a=2a = \sqrt 2, adding the terms of this series gives 2 to nine digits. The tower of 2\sqrt 2 is therefore counting labelled trees, weighted by powers of half a logarithm. That is about as unexpected a connection as a formula gets. Nothing about stacking exponents suggests a tree, and yet the recursion that defines a tree, a root and its subtrees, is the same as the recursion of a tower, a base and its exponent. The same equation lies behind the map from functions to trees and the expected size of a tree’s leaves.

The series has a radius of convergence that gives a second reading of one endpoint. Stirling’s formula says the coefficients behave like ene^n, so the radius is ∣ln⁡a∣=1/e|\ln a| = 1/e. The top of the range is exactly ln⁡a=1/e\ln a = 1/e, and the singularity of the tree function explains why the tower stops there. The bottom is a different matter. The series converges only down to ln⁡a=−1/e\ln a = -1/e, which is the base e−1/e=0.692e^{-1/e} = 0.692, yet the tower converges all the way to 0.066. So the tower outlives its own series, by a long way, on the side where the terms alternate. The tree function has a perfectly good analytic continuation along the negative axis, and yy is defined and correct there, even though adding up the terms would no longer work. The base 0.692 is that xxx^x minimum again, so the naive guess about that number does have something behind it after all.

Towers on complex bases

Nothing stops the base from being complex. Pick a logarithm, the choice that a matrix or a number may not make uniquely, and the iteration z↦azz \mapsto a^z makes sense. It may have a limit or an orbit of some other period, or run off. Now a fixed point’s slope is the complex number ln⁡y\ln y, and it attracts if that number has size less than one. Writing t=ln⁡yt = \ln y gives ln⁡a=te−t\ln a = t e^{-t}, and so a base with an attracting fixed point has the form

a=exp⁡ ⁣(te−t),∣t∣<1.a = \exp\!\left(t e^{-t}\right), \qquad |t| < 1.

Towers on complex bases. Long-run period of the tower at 14560 complex bases: escape: 1086, other: 1656, period 1: 6848, period 2: 14, period 3: 2700, period 4: 638, period 5: 448, period 6: 550, period 7: 338, period 8: 282; the curve a = exp(t e^(−t)) with |t| = 1 bounds the period-one region.
Fig. 5 Each cell is a complex base, coloured by the tower’s long-run behaviour after 3,000 steps; the dark curve is exp⁡(te−t)\exp(t e^{-t}) with ∣t∣=1|t| = 1, drawn from the formula and not from the cells.

The boundary is therefore an exactly known curve, the image of a unit circle, and it is what the dark line in the figure traces. The cells were not told about that line, and the limit region fills it exactly. At the real points, t=1t = 1 gives the top end and t=−1t = -1 gives the bottom. W. J. Thron and Donald Shell found this region by different means, around 1960, and I. N. Baker and P. J. Rippon proved in 1983 that it is exactly the convergence region for the tower.

Round the outside of that region, the picture has something it shares with a very famous one. Whenever the slope tt reaches a root of unity on the unit circle, a cycle of that period is born, and a region of bases with period qq is attached at the point where t=e2πip/qt = e^{2\pi i p/q}. That is the same rule as for the bulbs on the Mandelbrot set’s cardioid, with exp⁡(te−t)\exp(te^{-t}) in place of the map λ/2−λ2/4\lambda/2 - \lambda^2/4 of the quadratic family. The cells detect periods 3, 4, 5 and more. Period 2 lies on the real axis just to the right of nought, where the real base goes below e−ee^{-e}, and on this grid that region is thin: it covers only fourteen cells of the 14,560 sampled, far fewer than period 3 with its 2,700. The rest of the left-hand part, near a base of nought, is the complicated part of the picture, as the map is wildly expanding there, and the colouring is only as good as the short list of periods it looks for.

How far a drawing reaches

A cobweb is a proof for a real base when the curve can be read, and on the real axis it does the entire job. The monotonicity arguments are complete. What the figures cannot do is prove anything about the exact endpoints, where the behaviour is decided by higher-order terms, and they only show the rates there after someone has calculated them. The comparison with 2e/n2e/n was made at one height, 300, and it is good to a couple of per cent, as would be expected since that estimate carries a logarithmic correction.

The complex figure deserves more caution. Each cell was tested from the starting point 1 for 3,000 steps with the principal logarithm, with a period detected to six digits. Cells close to any boundary can converge so slowly that they are recorded as having no short period. The large “no short period” area on the left of the picture is not a claim of chaos. It may hold long periods, and it includes cells at which rounding has already mixed things up. The curve bounding the limit region is exact; the shapes of the attached regions are a sample.

What was computed and what was quoted

The real orbits were computed directly in double precision, and the bisection for fixed points was checked at both endpoints. The value 2 at 2\sqrt 2, the fixed-point equation at 4, the two-cycle at base 0.02 and the rates at height 300 were all computed and are exact to rounding, except the top-end rate, which is an asymptotic statement checked at one height. The tree series was summed numerically at 2\sqrt 2 to nine digits.

The monotonicity argument is a proof. The historical attributions, to Euler, Eisenstein and Barrow, are quoted and their dates are approximate in places, since the early history is tangled. The theorem identifying the complex region is from Baker and Rippon and was not reproved. The cells in the last figure are illustrative, and the claim about attached regions at roots of unity is the standard local bifurcation statement, which the cells merely fit.

Still open: what the outside of the region is made of

The exterior of the region has been studied mostly through the closely related exponential family z↦λezz \mapsto \lambda e^z, by Robert Devaney and others. Its parameter plane has its own bulbs, its own hairs running out to infinity, and sets of escaping points that form curves, rather than the dust of the quadratic case. Lasse Rempe and Dierk Schleicher, among others, have described it in much detail.

Is hyperbolicity dense in that family? That is, can every exponential map be perturbed into one with an attracting cycle? It is the same question as the one asked of the quadratic family, the Fatou conjecture, and it is open in both. In the exponential family it is tied up with whether the parameters with no attracting cycle can form a set with interior. Nobody knows how to rule out what is called a queer component. The picture of periods drawn here is one very coarse view of that structure, and it suggests nothing either way, since a grid of 3.4-pixel cells cannot see any of the fine features the question depends on.

Which of two solutions the tower chose

The tower of aa is the orbit of x↦axx \mapsto a^x, its slope at a limit yy is ln⁡y\ln y, and that makes the limit stable exactly for 1/e≤y≤e1/e \le y \le e, or e−e≤a≤e1/ee^{-e} \le a \le e^{1/e}. Above that range the tower runs away, and below it the tower splits into two values that never merge again. The equation y=ayy = a^y knows nothing of this: it has two solutions for 2\sqrt 2 and it does not say which is real.

That is the original paradox resolved. Both 2 and 4 solve the equation, the slope at 2 is below one and at 4 it is above, and so the tower of 2\sqrt 2 is 2. The same one-line formula gives both ends of the range, the slow convergence at each of them, and the boundary curve in the complex plane. And the tree recursion gives the value itself, so the tower has been counting something all along.

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.

ConvergenceConvergence rateExponential decayFixed pointIterationLabelled treePeriod-doublingPower series