**Follow on twitter: @thatsmaths**

In a recent post ( The Power Tower ) we described a function defined by iterated exponentiation:

It would seem that when this must blow up. Surprisingly, it has finite values for a range of *x*>1.

Below, we show that the power tower function may be expressed in terms of a function called the Lambert W-Function.

The W-function has applications in a wide range of areas in pure and applied mathematics. Thus, in addition to being *a source of innocent merriment*, the power tower function is connected with many important practical problems.

**Johann Heinrich Lambert**

Johann Heinrich Lambert (1728–1777) was a Swiss mathematician, physicist and astronomer. Lambert was born about twenty years later than Euler. In one of his papers, Euler referred to his younger compatriot as “The ingenious engineer Lambert”.

Lambert is remembered as the first person to prove the irrationality of . Euler had earlier proved that *e* is irrational. Lambert conjectured that *e* and were both transcendental numbers. But the proof of this was not found for about another century. The transcendence of was shown in 1873 by Charles Hermite and, in 1882, Ferdinand von Lindemann published a proof that is transcendental.

Lambert had very wide scientific interests. He introduced the hyperbolic functions into spherical geometry and proved some key results for hyperbolic triangles. He also devised several map projections that are still in use today.

** The Lambert W-Function **

In studying the solutions of a family of algebraic equations, Lambert introduced a power series related to a function that has proved to be of wide value and importance. The Lambert W-function is defined as the inverse of the function . Thus

A plot of is presented here.

We confine attention to real values of , which means that . The W-function is single-valued for and double-valued for . The constraint defines a single-valued function on . This is the principal branch, denoted when appropriate as (shown in blue above). The other branch, real on , is denoted (shown in red).

**Applications of the W-Function**

The Lambert W-function occurs frequently in mathematics and physics. Indeed, it has been “re-discovered’ several times in various contexts. In pure mathematics, the W-function is valuable in solving transcendental and differential equations, in combinatorics (as the Tree function), for delay differential equations and for iterated epxonentials (which is the context in which we have introduced it).

In theoretical computer science, the W-function is used in the analysis of algorithms. Physical applications include water waves, combustion problems, population growth, eigenstates of the hydrogen molecule and, recently, quantum gravity.

The W-function also serves as a pedagogical aid. It is a useful example in introducing implicit functions. It is also a valuable test case for numerical solution methods. In the context of complex variable theory, it is a simple example of a function with both algebraic and logarithmic singularities.

Finally, *W*(*z*)* * has a range of interesting asymptotic behaviours. For further references on this, see the technical note linked at the end of this post.

** The Power Tower Function and W**

For the power tower function defined at the top of this post, we consider the iterative sequence of successive approximations:

Through numerical experiments, we find that the sequence converges for . In fact,* this result was first proved by Euler! * When this sequence converges, we have an explicit expression for as a function of :

Defining , it follows that . We can write this as

We now define and and have . But, by the definition of the Lambert W-function, this means that .

Returning to variables and , we conclude that

which is the expression for the Power Tower function in terms of the Lambert W-function.

**Further Information**

- Technical Note with more detail:
*The Power Tower Function.*Peter Lynch, UCD, 2013 (PDF).

- The canonical reference on the Lambert W-Function: Corless, R. M., Gonnet, G. H., Hare, D. E. G., Jeffrey, D. J. and Knuth, D. E. (1996). On the Lambert W function.
*Adv. Comp. Math.***5**, 329–359 (Preprint (Postscript) ) - A lighthearted introduction to the Lambert W-function: Hayes, Brian, 2005: Why W? American Scientist,
**93**, 104-108 ( PDF ).