Lambert W function

The product logarithm Lambert W function plotted in the complex plane from −2 − 2i to 2 + 2i
The product logarithm Lambert W function plotted in the complex plane from −2 − 2i to 2 + 2i
The graph of y = W(x) for real x < 6 and y > −4. The upper branch (blue) with y ≥ −1 is the graph of the function W0 (principal branch), the lower branch (magenta) with y ≤ −1 is the graph of the function W−1. The minimum value of x is at {−1/e, −1}

In mathematics, the Lambert W function, also called the omega function or product logarithm,[1] is a multivalued function, namely the branches of the converse relation of the function f(w) = wew, where w is any complex number and ew is the exponential function. The function is named after Johann Lambert, who considered a related problem in 1758. Building on Lambert's work, Leonhard Euler described the W function per se in 1783.[citation needed]

For each integer k there is one branch, denoted by Wk(z), which is a complex-valued function of one complex argument. W0 is known as the principal branch. These functions have the following property: if z and w are any complex numbers, then

holds if and only if

When dealing with real numbers only, the two branches W0 and W−1 suffice: for real numbers x and y the equation

can be solved for y only if x ≥ −1/e; yields y = W0(x) if x ≥ 0 and the two values y = W0(x) and y = W−1(x) if 1/ex < 0.

The Lambert W function's branches cannot be expressed in terms of elementary functions.[2] It is useful in combinatorics, for instance, in the enumeration of trees. It can be used to solve various equations involving exponentials (e.g. the maxima of the Planck, Bose–Einstein, and Fermi–Dirac distributions) and also occurs in the solution of delay differential equations, such as y′(t) = a y(t − 1). In biochemistry, and in particular enzyme kinetics, an opened-form solution for the time-course kinetics analysis of Michaelis–Menten kinetics is described in terms of the Lambert W function.

Main branch of the Lambert W function in the complex plane, plotted with domain coloring. Note the branch cut along the negative real axis, ending at 1/e.
The modulus of the principal branch of the Lambert W function, colored according to arg W(z)
  1. ^ Lehtonen, Jussi (April 2016), Rees, Mark (ed.), "The Lambert W function in ecological and evolutionary models", Methods in Ecology and Evolution, 7 (9): 1110–1118, Bibcode:2016MEcEv...7.1110L, doi:10.1111/2041-210x.12568, S2CID 124111881
  2. ^ Chow, Timothy Y. (1999), "What is a closed-form number?", American Mathematical Monthly, 106 (5): 440–448, arXiv:math/9805045, doi:10.2307/2589148, JSTOR 2589148, MR 1699262.