Misplaced Pages

Lambert W function

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Lambert's W function) Multivalued function in mathematics

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, is a multivalued function, namely the branches of the converse relation of the function f(w) = we, where w is any complex number and e 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.

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

w e w = z {\displaystyle we^{w}=z}

holds if and only if

w = W k ( z )      for some integer  k . {\displaystyle w=W_{k}(z)\ \ {\text{ for some integer }}k.}

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

y e y = x {\displaystyle ye^{y}=x}

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/e⁠ ≤ x < 0.

The Lambert W function's branches cannot be expressed in terms of elementary functions. 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)

Terminology

The notation convention chosen here (with W0 and W−1) follows the canonical reference on the Lambert W function by Corless, Gonnet, Hare, Jeffrey and Knuth.

The name "product logarithm" can be understood as this: Since the inverse function of f(w) = e is called the logarithm, it makes sense to call the inverse "function" of the product we as "product logarithm". (Technical note: like the complex logarithm, it is multivalued and thus W is described as the converse relation rather than inverse function.) It is related to the omega constant, which is equal to W0(1).

History

Lambert first considered the related Lambert's Transcendental Equation in 1758, which led to an article by Leonhard Euler in 1783 that discussed the special case of we.

The equation Lambert considered was

x = x m + q . {\displaystyle x=x^{m}+q.}

Euler transformed this equation into the form

x a x b = ( a b ) c x a + b . {\displaystyle x^{a}-x^{b}=(a-b)cx^{a+b}.}

Both authors derived a series solution for their equations.

Once Euler had solved this equation, he considered the case ⁠ a = b {\displaystyle a=b} ⁠. Taking limits, he derived the equation

ln x = c x a . {\displaystyle \ln x=cx^{a}.}

He then put ⁠ a = 1 {\displaystyle a=1} ⁠ and obtained a convergent series solution for the resulting equation, expressing ⁠ x {\displaystyle x} ⁠ in terms of ⁠ c {\displaystyle c} ⁠.

After taking derivatives with respect to ⁠ x {\displaystyle x} ⁠ and some manipulation, the standard form of the Lambert function is obtained.

In 1993, it was reported that the Lambert ⁠ W {\displaystyle W} ⁠ function provides an exact solution to the quantum-mechanical double-well Dirac delta function model for equal charges—a fundamental problem in physics. Prompted by this, Rob Corless and developers of the Maple computer algebra system realized that "the Lambert W function has been widely used in many fields, but because of differing notation and the absence of a standard name, awareness of the function was not as high as it should have been."

Another example where this function is found is in Michaelis–Menten kinetics.

Although it was widely believed that the Lambert ⁠ W {\displaystyle W} ⁠ function cannot be expressed in terms of elementary (Liouvillian) functions, the first published proof did not appear until 2008.

Elementary properties, branches and range

The range of the W function, showing all branches. The black curves (including the real axis) form the image of the real axis, the orange curves are the image of the imaginary axis. The purple curve and circle are the image of a small circle around the point z = 0; the red curves are the image of a small circle around the point z = −1/e.
Plot of the imaginary part of Wn(x + iy) for branches n = −2, −1, 0, 1, 2. The plot is similar to that of the multivalued complex logarithm function except that the spacing between sheets is not constant and the connection of the principal sheet is different

There are countably many branches of the W function, denoted by Wk(z), for integer k; W0(z) being the main (or principal) branch. W0(z) is defined for all complex numbers z while Wk(z) with k ≠ 0 is defined for all non-zero z. With W0(0) = 0 and limz→0 Wk(z) = −∞ for all k ≠ 0.

The branch point for the principal branch is at z = −⁠1/e⁠, with a branch cut that extends to −∞ along the negative real axis. This branch cut separates the principal branch from the two branches W−1 and W1. In all branches Wk with k ≠ 0, there is a branch point at z = 0 and a branch cut along the entire negative real axis.

The functions Wk(z), kZ are all injective and their ranges are disjoint. The range of the entire multivalued function W is the complex plane. The image of the real axis is the union of the real axis and the quadratrix of Hippias, the parametric curve w = −t cot t + it.

Inverse

Regions of the complex plane for which W(n, ze) = z, where z = x + iy. The darker boundaries of a particular region are included in the lighter region of the same color. The point at {−1, 0} is included in both the n = −1 (blue) region and the n = 0 (gray) region. Horizontal grid lines are in multiples of π.

The range plot above also delineates the regions in the complex plane where the simple inverse relationship ⁠ W ( n , z e z ) = z {\displaystyle W(n,ze^{z})=z} ⁠ is true. ⁠ f = z e z {\displaystyle f=ze^{z}} ⁠ implies that there exists an ⁠ n {\displaystyle n} ⁠ such that ⁠ z = W ( n , f ) = W ( n , z e z ) {\displaystyle z=W(n,f)=W(n,ze^{z})} ⁠, where ⁠ n {\displaystyle n} ⁠ depends upon the value of ⁠ z {\displaystyle z} ⁠. The value of the integer ⁠ n {\displaystyle n} ⁠ changes abruptly when ⁠ z e z {\displaystyle ze^{z}} ⁠ is at the branch cut of ⁠ W ( n , z e z ) {\displaystyle W(n,ze^{z})} ⁠, which means that ⁠ z e z {\displaystyle ze^{z}} ⁠ ≤ 0, except for ⁠ n = 0 {\displaystyle n=0} ⁠ where it is ⁠ z e z {\displaystyle ze^{z}} ⁠ ≤ −1/⁠ e {\displaystyle e} ⁠.

Defining ⁠ z = x + i y {\displaystyle z=x+iy} ⁠, where ⁠ x {\displaystyle x} ⁠ and ⁠ y {\displaystyle y} ⁠ are real, and expressing ⁠ e z {\displaystyle e^{z}} ⁠ in polar coordinates, it is seen that

z e z = ( x + i y ) e x ( cos y + i sin y ) = e x ( x cos y y sin y ) + i e x ( x sin y + y cos y ) {\displaystyle {\begin{aligned}ze^{z}&=(x+iy)e^{x}(\cos y+i\sin y)\\&=e^{x}(x\cos y-y\sin y)+ie^{x}(x\sin y+y\cos y)\\\end{aligned}}}

For n 0 {\displaystyle n\neq 0} , the branch cut for ⁠ W ( n , z e z ) {\displaystyle W(n,ze^{z})} ⁠ is the non-positive real axis, so that

x sin y + y cos y = 0 x = y / tan ( y ) , {\displaystyle x\sin y+y\cos y=0\Rightarrow x=-y/\tan(y),}

and

( x cos y y sin y ) e x 0. {\displaystyle (x\cos y-y\sin y)e^{x}\leq 0.}

For n = 0 {\displaystyle n=0} , the branch cut for ⁠ W [ n , z e z ] {\displaystyle W} ⁠ is the real axis with < z 1 / e {\displaystyle -\infty <z\leq -1/e} , so that the inequality becomes

( x cos y y sin y ) e x 1 / e . {\displaystyle (x\cos y-y\sin y)e^{x}\leq -1/e.}

Inside the regions bounded by the above, there are no discontinuous changes in ⁠ W ( n , z e z ) {\displaystyle W(n,ze^{z})} ⁠, and those regions specify where the ⁠ W {\displaystyle W} ⁠ function is simply invertible, i.e. ⁠ W ( n , z e z ) = z {\displaystyle W(n,ze^{z})=z} ⁠.

Calculus

Derivative

By implicit differentiation, one can show that all branches of W satisfy the differential equation

z ( 1 + W ) d W d z = W for  z 1 e . {\displaystyle z(1+W){\frac {dW}{dz}}=W\quad {\text{for }}z\neq -{\frac {1}{e}}.}

(W is not differentiable for z = −⁠1/e⁠.) As a consequence, that gets the following formula for the derivative of W:

d W d z = W ( z ) z ( 1 + W ( z ) ) for  z { 0 , 1 e } . {\displaystyle {\frac {dW}{dz}}={\frac {W(z)}{z(1+W(z))}}\quad {\text{for }}z\not \in \left\{0,-{\frac {1}{e}}\right\}.}

Using the identity e = ⁠z/W(z)⁠, gives the following equivalent formula:

d W d z = 1 z + e W ( z ) for  z 1 e . {\displaystyle {\frac {dW}{dz}}={\frac {1}{z+e^{W(z)}}}\quad {\text{for }}z\neq -{\frac {1}{e}}.}

At the origin we have

W 0 ( 0 ) = 1. {\displaystyle W'_{0}(0)=1.}

Integral

The function W(x), and many other expressions involving W(x), can be integrated using the substitution w = W(x), i.e. x = we:

W ( x ) d x = x W ( x ) x + e W ( x ) + C = x ( W ( x ) 1 + 1 W ( x ) ) + C . {\displaystyle {\begin{aligned}\int W(x)\,dx&=xW(x)-x+e^{W(x)}+C\\&=x\left(W(x)-1+{\frac {1}{W(x)}}\right)+C.\end{aligned}}}

(The last equation is more common in the literature but is undefined at x = 0). One consequence of this (using the fact that W0(e) = 1) is the identity

0 e W 0 ( x ) d x = e 1. {\displaystyle \int _{0}^{e}W_{0}(x)\,dx=e-1.}

Asymptotic expansions

The Taylor series of W0 around 0 can be found using the Lagrange inversion theorem and is given by

W 0 ( x ) = n = 1 ( n ) n 1 n ! x n = x x 2 + 3 2 x 3 16 6 x 4 + 125 24 x 5 . {\displaystyle W_{0}(x)=\sum _{n=1}^{\infty }{\frac {(-n)^{n-1}}{n!}}x^{n}=x-x^{2}+{\tfrac {3}{2}}x^{3}-{\tfrac {16}{6}}x^{4}+{\tfrac {125}{24}}x^{5}-\cdots .}

The radius of convergence is ⁠1/e⁠, as may be seen by the ratio test. The function defined by this series can be extended to a holomorphic function defined on all complex numbers with a branch cut along the interval (−∞, −⁠1/e⁠]; this holomorphic function defines the principal branch of the Lambert W function.

For large values of x, W0 is asymptotic to

W 0 ( x ) = L 1 L 2 + L 2 L 1 + L 2 ( 2 + L 2 ) 2 L 1 2 + L 2 ( 6 9 L 2 + 2 L 2 2 ) 6 L 1 3 + L 2 ( 12 + 36 L 2 22 L 2 2 + 3 L 2 3 ) 12 L 1 4 + = L 1 L 2 + l = 0 m = 1 ( 1 ) l [ l + m l + 1 ] m ! L 1 l m L 2 m , {\displaystyle {\begin{aligned}W_{0}(x)&=L_{1}-L_{2}+{\frac {L_{2}}{L_{1}}}+{\frac {L_{2}\left(-2+L_{2}\right)}{2L_{1}^{2}}}+{\frac {L_{2}\left(6-9L_{2}+2L_{2}^{2}\right)}{6L_{1}^{3}}}+{\frac {L_{2}\left(-12+36L_{2}-22L_{2}^{2}+3L_{2}^{3}\right)}{12L_{1}^{4}}}+\cdots \\&=L_{1}-L_{2}+\sum _{l=0}^{\infty }\sum _{m=1}^{\infty }{\frac {(-1)^{l}\left}{m!}}L_{1}^{-l-m}L_{2}^{m},\end{aligned}}}

where L1 = ln x, L2 = ln ln x, and is a non-negative Stirling number of the first kind. Keeping only the first two terms of the expansion,

W 0 ( x ) = ln x ln ln x + o ( 1 ) . {\displaystyle W_{0}(x)=\ln x-\ln \ln x+{\mathcal {o}}(1).}

The other real branch, W−1, defined in the interval [−⁠1/e⁠, 0), has an approximation of the same form as x approaches zero, with in this case L1 = ln(−x) and L2 = ln(−ln(−x)).

Integer and complex powers

Integer powers of W0 also admit simple Taylor (or Laurent) series expansions at zero:

W 0 ( x ) 2 = n = 2 2 ( n ) n 3 ( n 2 ) ! x n = x 2 2 x 3 + 4 x 4 25 3 x 5 + 18 x 6 . {\displaystyle W_{0}(x)^{2}=\sum _{n=2}^{\infty }{\frac {-2\left(-n\right)^{n-3}}{(n-2)!}}x^{n}=x^{2}-2x^{3}+4x^{4}-{\tfrac {25}{3}}x^{5}+18x^{6}-\cdots .}

More generally, for rZ, the Lagrange inversion formula gives

W 0 ( x ) r = n = r r ( n ) n r 1 ( n r ) ! x n , {\displaystyle W_{0}(x)^{r}=\sum _{n=r}^{\infty }{\frac {-r\left(-n\right)^{n-r-1}}{(n-r)!}}x^{n},}

which is, in general, a Laurent series of order r. Equivalently, the latter can be written in the form of a Taylor expansion of powers of W0(x) / x:

( W 0 ( x ) x ) r = e r W 0 ( x ) = n = 0 r ( n + r ) n 1 n ! ( x ) n , {\displaystyle \left({\frac {W_{0}(x)}{x}}\right)^{r}=e^{-rW_{0}(x)}=\sum _{n=0}^{\infty }{\frac {r\left(n+r\right)^{n-1}}{n!}}\left(-x\right)^{n},}

which holds for any rC and |x| < ⁠1/e⁠.

Bounds and inequalities

A number of non-asymptotic bounds are known for the Lambert function.

Hoorfar and Hassani showed that the following bound holds for xe:

ln x ln ln x + ln ln x 2 ln x W 0 ( x ) ln x ln ln x + e e 1 ln ln x ln x . {\displaystyle \ln x-\ln \ln x+{\frac {\ln \ln x}{2\ln x}}\leq W_{0}(x)\leq \ln x-\ln \ln x+{\frac {e}{e-1}}{\frac {\ln \ln x}{\ln x}}.}

They also showed the general bound

W 0 ( x ) ln ( x + y 1 + ln ( y ) ) , {\displaystyle W_{0}(x)\leq \ln \left({\frac {x+y}{1+\ln(y)}}\right),}

for every y > 1 / e {\displaystyle y>1/e} and x 1 / e {\displaystyle x\geq -1/e} , with equality only for x = y ln ( y ) {\displaystyle x=y\ln(y)} . The bound allows many other bounds to be made, such as taking y = x + 1 {\displaystyle y=x+1} which gives the bound

W 0 ( x ) ln ( 2 x + 1 1 + ln ( x + 1 ) ) . {\displaystyle W_{0}(x)\leq \ln \left({\frac {2x+1}{1+\ln(x+1)}}\right).}

In 2013 it was proven that the branch W−1 can be bounded as follows:

1 2 u u < W 1 ( e u 1 ) < 1 2 u 2 3 u for  u > 0. {\displaystyle -1-{\sqrt {2u}}-u<W_{-1}\left(-e^{-u-1}\right)<-1-{\sqrt {2u}}-{\tfrac {2}{3}}u\quad {\text{for }}u>0.}

Roberto Iacono and John P. Boyd enhanced the bounds as follows:

ln ( x ln x ) ln ( x ln x ) 1 + ln ( x ln x ) ln ( 1 ln ln x ln x ) W 0 ( x ) ln ( x ln x ) ln ( ( 1 ln ln x ln x ) ( 1 ln ( 1 ln ln x ln x ) 1 + ln ( x ln x ) ) ) . {\displaystyle \ln \left({\frac {x}{\ln x}}\right)-{\frac {\ln \left({\frac {x}{\ln x}}\right)}{1+\ln \left({\frac {x}{\ln x}}\right)}}\ln \left(1-{\frac {\ln \ln x}{\ln x}}\right)\leq W_{0}(x)\leq \ln \left({\frac {x}{\ln x}}\right)-\ln \left(\left(1-{\frac {\ln \ln x}{\ln x}}\right)\left(1-{\frac {\ln \left(1-{\frac {\ln \ln x}{\ln x}}\right)}{1+\ln \left({\frac {x}{\ln x}}\right)}}\right)\right).}

Identities

A plot of Wj(xe) where blue is for j = 0 and red is for j = −1. The diagonal line represents the intervals where Wj(xe) = x.
The product logarithm Lambert W function W 2(z) plotted in the complex plane from -2-2i to 2+2i
The product logarithm Lambert W function W2(z) plotted in the complex plane from −2 − 2i to 2 + 2i

A few identities follow from the definition:

W 0 ( x e x ) = x for  x 1 , W 1 ( x e x ) = x for  x 1. {\displaystyle {\begin{aligned}W_{0}(xe^{x})&=x&{\text{for }}x&\geq -1,\\W_{-1}(xe^{x})&=x&{\text{for }}x&\leq -1.\end{aligned}}}

Note that, since f(x) = xe is not injective, it does not always hold that W(f(x)) = x, much like with the inverse trigonometric functions. For fixed x < 0 and x ≠ −1, the equation xe = ye has two real solutions in y, one of which is of course y = x. Then, for i = 0 and x < −1, as well as for i = −1 and x ∈ (−1, 0), y = Wi(xe) is the other solution.

Some other identities:

W ( x ) e W ( x ) = x , therefore: e W ( x ) = x W ( x ) , e W ( x ) = W ( x ) x , e n W ( x ) = ( x W ( x ) ) n . {\displaystyle {\begin{aligned}&W(x)e^{W(x)}=x,\quad {\text{therefore:}}\\&e^{W(x)}={\frac {x}{W(x)}},\qquad e^{-W(x)}={\frac {W(x)}{x}},\qquad e^{nW(x)}=\left({\frac {x}{W(x)}}\right)^{n}.\end{aligned}}}
ln W 0 ( x ) = ln x W 0 ( x ) for  x > 0. {\displaystyle \ln W_{0}(x)=\ln x-W_{0}(x)\quad {\text{for }}x>0.}
W 0 ( x ln x ) = ln x and e W 0 ( x ln x ) = x for  1 e x . {\displaystyle W_{0}\left(x\ln x\right)=\ln x\quad {\text{and}}\quad e^{W_{0}\left(x\ln x\right)}=x\quad {\text{for }}{\frac {1}{e}}\leq x.}
W 1 ( x ln x ) = ln x and e W 1 ( x ln x ) = x for  0 < x 1 e . {\displaystyle W_{-1}\left(x\ln x\right)=\ln x\quad {\text{and}}\quad e^{W_{-1}\left(x\ln x\right)}=x\quad {\text{for }}0<x\leq {\frac {1}{e}}.}
W ( x ) = ln x W ( x ) for  x 1 e , W ( n x n W ( x ) n 1 ) = n W ( x ) for  n , x > 0 {\displaystyle {\begin{aligned}&W(x)=\ln {\frac {x}{W(x)}}&&{\text{for }}x\geq -{\frac {1}{e}},\\&W\left({\frac {nx^{n}}{W\left(x\right)^{n-1}}}\right)=nW(x)&&{\text{for }}n,x>0\end{aligned}}}
(which can be extended to other n and x if the correct branch is chosen).
W ( x ) + W ( y ) = W ( x y ( 1 W ( x ) + 1 W ( y ) ) ) for  x , y > 0. {\displaystyle W(x)+W(y)=W\left(xy\left({\frac {1}{W(x)}}+{\frac {1}{W(y)}}\right)\right)\quad {\text{for }}x,y>0.}

Substituting −ln x in the definition:

W 0 ( ln x x ) = ln x for  0 < x e , W 1 ( ln x x ) = ln x for  x > e . {\displaystyle {\begin{aligned}W_{0}\left(-{\frac {\ln x}{x}}\right)&=-\ln x&{\text{for }}0&<x\leq e,\\W_{-1}\left(-{\frac {\ln x}{x}}\right)&=-\ln x&{\text{for }}x&>e.\end{aligned}}}

With Euler's iterated exponential h(x):

h ( x ) = e W ( ln x ) = W ( ln x ) ln x for  x 1. {\displaystyle {\begin{aligned}h(x)&=e^{-W(-\ln x)}\\&={\frac {W(-\ln x)}{-\ln x}}\quad {\text{for }}x\neq 1.\end{aligned}}}

Special values

The following are special values of the principal branch: W 0 ( π 2 ) = i π 2 {\displaystyle W_{0}\left(-{\frac {\pi }{2}}\right)={\frac {i\pi }{2}}} W 0 ( 1 e ) = 1 {\displaystyle W_{0}\left(-{\frac {1}{e}}\right)=-1} W 0 ( 2 ln 2 ) = ln 2 {\displaystyle W_{0}\left(2\ln 2\right)=\ln 2} W 0 ( x ln x ) = ln x ( x 1 e 0.36788 ) {\displaystyle W_{0}\left(x\ln x\right)=\ln x\quad \left(x\geqslant {\tfrac {1}{e}}\approx 0.36788\right)} W 0 ( x x + 1 ln x ) = x ln x ( x > 0 ) {\displaystyle W_{0}\left(x^{x+1}\ln x\right)=x\ln x\quad \left(x>0\right)} W 0 ( 0 ) = 0 {\displaystyle W_{0}(0)=0}

W 0 ( 1 ) = Ω = ( d t ( e t t ) 2 + π 2 ) 1 1 0.56714329 {\displaystyle W_{0}(1)=\Omega =\left(\int _{-\infty }^{\infty }{\frac {dt}{\left(e^{t}-t\right)^{2}+\pi ^{2}}}\right)^{\!-1}\!\!\!\!-\,1\approx 0.56714329\quad } (the omega constant)

W 0 ( 1 ) = e W 0 ( 1 ) = ln 1 W 0 ( 1 ) = ln W 0 ( 1 ) {\displaystyle W_{0}(1)=e^{-W_{0}(1)}=\ln {\frac {1}{W_{0}(1)}}=-\ln W_{0}(1)} W 0 ( e ) = 1 {\displaystyle W_{0}(e)=1} W 0 ( e 1 + e ) = e {\displaystyle W_{0}\left(e^{1+e}\right)=e} W 0 ( e 2 ) = 1 2 {\displaystyle W_{0}\left({\frac {\sqrt {e}}{2}}\right)={\frac {1}{2}}} W 0 ( e n n ) = 1 n {\displaystyle W_{0}\left({\frac {\sqrt{e}}{n}}\right)={\frac {1}{n}}} W 0 ( 1 ) 0.31813 + 1.33723 i {\displaystyle W_{0}(-1)\approx -0.31813+1.33723i}

Special values of the branch W−1: W 1 ( ln 2 2 ) = ln 4 {\displaystyle W_{-1}\left(-{\frac {\ln 2}{2}}\right)=-\ln 4}

Representations

The principal branch of the Lambert function can be represented by a proper integral, due to Poisson:

π 2 W 0 ( x ) = 0 π sin ( 3 2 t ) x e cos t sin ( 5 2 t sin t ) 1 2 x e cos t cos ( t sin t ) + x 2 e 2 cos t sin ( 1 2 t ) d t for  | x | < 1 e . {\displaystyle -{\frac {\pi }{2}}W_{0}(-x)=\int _{0}^{\pi }{\frac {\sin \left({\tfrac {3}{2}}t\right)-xe^{\cos t}\sin \left({\tfrac {5}{2}}t-\sin t\right)}{1-2xe^{\cos t}\cos(t-\sin t)+x^{2}e^{2\cos t}}}\sin \left({\tfrac {1}{2}}t\right)\,dt\quad {\text{for }}|x|<{\frac {1}{e}}.}

Another representation of the principal branch was found by Kalugin–Jeffrey–Corless:

W 0 ( x ) = 1 π 0 π ln ( 1 + x sin t t e t cot t ) d t . {\displaystyle W_{0}(x)={\frac {1}{\pi }}\int _{0}^{\pi }\ln \left(1+x{\frac {\sin t}{t}}e^{t\cot t}\right)dt.}

The following continued fraction representation also holds for the principal branch:

W 0 ( x ) = x 1 + x 1 + x 2 + 5 x 3 + 17 x 10 + 133 x 17 + 1927 x 190 + 13582711 x 94423 + . {\displaystyle W_{0}(x)={\cfrac {x}{1+{\cfrac {x}{1+{\cfrac {x}{2+{\cfrac {5x}{3+{\cfrac {17x}{10+{\cfrac {133x}{17+{\cfrac {1927x}{190+{\cfrac {13582711x}{94423+\ddots }}}}}}}}}}}}}}}}.}

Also, if |W0(x)| < 1:

W 0 ( x ) = x exp x exp x . {\displaystyle W_{0}(x)={\cfrac {x}{\exp {\cfrac {x}{\exp {\cfrac {x}{\ddots }}}}}}.}

In turn, if |W0(x)| > e, then

W 0 ( x ) = ln x ln x ln x . {\displaystyle W_{0}(x)=\ln {\cfrac {x}{\ln {\cfrac {x}{\ln {\cfrac {x}{\ddots }}}}}}.}

Other formulas

Definite integrals

There are several useful definite integral formulas involving the principal branch of the W function, including the following:

0 π W 0 ( 2 cot 2 x ) sec 2 x d x = 4 π . 0 W 0 ( x ) x x d x = 2 2 π . 0 W 0 ( 1 x 2 ) d x = 2 π . {\displaystyle {\begin{aligned}&\int _{0}^{\pi }W_{0}\left(2\cot ^{2}x\right)\sec ^{2}x\,dx=4{\sqrt {\pi }}.\\&\int _{0}^{\infty }{\frac {W_{0}(x)}{x{\sqrt {x}}}}\,dx=2{\sqrt {2\pi }}.\\&\int _{0}^{\infty }W_{0}\left({\frac {1}{x^{2}}}\right)\,dx={\sqrt {2\pi }}.\end{aligned}}}

The first identity can be found by writing the Gaussian integral in polar coordinates.

The second identity can be derived by making the substitution u = W0(x), which gives

x = u e u , d x d u = ( u + 1 ) e u . {\displaystyle {\begin{aligned}x&=ue^{u},\\{\frac {dx}{du}}&=(u+1)e^{u}.\end{aligned}}}

Thus

0 W 0 ( x ) x x d x = 0 u u e u u e u ( u + 1 ) e u d u = 0 u + 1 u e u d u = 0 u + 1 u 1 e u d u = 0 u 1 2 e u 2 d u + 0 u 1 2 e u 2 d u = 2 0 ( 2 w ) 1 2 e w d w + 2 0 ( 2 w ) 1 2 e w d w ( u = 2 w ) = 2 2 0 w 1 2 e w d w + 2 0 w 1 2 e w d w = 2 2 Γ ( 3 2 ) + 2 Γ ( 1 2 ) = 2 2 ( 1 2 π ) + 2 ( π ) = 2 2 π . {\displaystyle {\begin{aligned}\int _{0}^{\infty }{\frac {W_{0}(x)}{x{\sqrt {x}}}}\,dx&=\int _{0}^{\infty }{\frac {u}{ue^{u}{\sqrt {ue^{u}}}}}(u+1)e^{u}\,du\\&=\int _{0}^{\infty }{\frac {u+1}{\sqrt {ue^{u}}}}du\\&=\int _{0}^{\infty }{\frac {u+1}{\sqrt {u}}}{\frac {1}{\sqrt {e^{u}}}}du\\&=\int _{0}^{\infty }u^{\tfrac {1}{2}}e^{-{\frac {u}{2}}}du+\int _{0}^{\infty }u^{-{\tfrac {1}{2}}}e^{-{\frac {u}{2}}}du\\&=2\int _{0}^{\infty }(2w)^{\tfrac {1}{2}}e^{-w}\,dw+2\int _{0}^{\infty }(2w)^{-{\tfrac {1}{2}}}e^{-w}\,dw&&\quad (u=2w)\\&=2{\sqrt {2}}\int _{0}^{\infty }w^{\tfrac {1}{2}}e^{-w}\,dw+{\sqrt {2}}\int _{0}^{\infty }w^{-{\tfrac {1}{2}}}e^{-w}\,dw\\&=2{\sqrt {2}}\cdot \Gamma \left({\tfrac {3}{2}}\right)+{\sqrt {2}}\cdot \Gamma \left({\tfrac {1}{2}}\right)\\&=2{\sqrt {2}}\left({\tfrac {1}{2}}{\sqrt {\pi }}\right)+{\sqrt {2}}\left({\sqrt {\pi }}\right)\\&=2{\sqrt {2\pi }}.\end{aligned}}}

The third identity may be derived from the second by making the substitution u = x and the first can also be derived from the third by the substitution z = ⁠1/√2⁠ tan x.

Except for z along the branch cut (−∞, −⁠1/e⁠] (where the integral does not converge), the principal branch of the Lambert W function can be computed by the following integral:

W 0 ( z ) = z 2 π π π ( 1 ν cot ν ) 2 + ν 2 z + ν csc ( ν ) e ν cot ν d ν = z π 0 π ( 1 ν cot ν ) 2 + ν 2 z + ν csc ( ν ) e ν cot ν d ν , {\displaystyle {\begin{aligned}W_{0}(z)&={\frac {z}{2\pi }}\int _{-\pi }^{\pi }{\frac {\left(1-\nu \cot \nu \right)^{2}+\nu ^{2}}{z+\nu \csc \left(\nu \right)e^{-\nu \cot \nu }}}\,d\nu \\&={\frac {z}{\pi }}\int _{0}^{\pi }{\frac {\left(1-\nu \cot \nu \right)^{2}+\nu ^{2}}{z+\nu \csc \left(\nu \right)e^{-\nu \cot \nu }}}\,d\nu ,\end{aligned}}}

where the two integral expressions are equivalent due to the symmetry of the integrand.

Indefinite integrals

W ( x ) x d x = W ( x ) 2 2 + W ( x ) + C {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;{\frac {W(x)^{2}}{2}}+W(x)+C}

1st proof

Introduce substitution variable u = W ( x ) u e u = x d d u u e u = ( u + 1 ) e u {\displaystyle u=W(x)\rightarrow ue^{u}=x\;\;\;\;{\frac {d}{du}}ue^{u}=(u+1)e^{u}}

W ( x ) x d x = u u e u ( u + 1 ) e u d u {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;\int {\frac {u}{ue^{u}}}(u+1)e^{u}\,du}
W ( x ) x d x = u u e u ( u + 1 ) e u d u {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;\int {\frac {\cancel {\color {OliveGreen}{u}}}{{\cancel {\color {OliveGreen}{u}}}{\cancel {\color {BrickRed}{e^{u}}}}}}\left(u+1\right){\cancel {\color {BrickRed}{e^{u}}}}\,du}
W ( x ) x d x = ( u + 1 ) d u {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;\int (u+1)\,du}
W ( x ) x d x = u 2 2 + u + C {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;{\frac {u^{2}}{2}}+u+C}
u = W ( x ) {\displaystyle u=W(x)}
W ( x ) x d x = W ( x ) 2 2 + W ( x ) + C {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;{\frac {W(x)^{2}}{2}}+W(x)+C}
2nd proof

W ( x ) e W ( x ) = x W ( x ) x = e W ( x ) {\displaystyle W(x)e^{W(x)}=x\rightarrow {\frac {W(x)}{x}}=e^{-W(x)}}

W ( x ) x d x = e W ( x ) d x {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;\int e^{-W(x)}\,dx}

u = W ( x ) u e u = x d d u u e u = ( u + 1 ) e u {\displaystyle u=W(x)\rightarrow ue^{u}=x\;\;\;\;{\frac {d}{\,du}}ue^{u}=\left(u+1\right)e^{u}}

W ( x ) x d x = e u ( u + 1 ) e u d u {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;\int e^{-u}(u+1)e^{u}\,du}

W ( x ) x d x = e u ( u + 1 ) e u d u {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;\int {\cancel {\color {OliveGreen}{e^{-u}}}}\left(u+1\right){\cancel {\color {OliveGreen}{e^{u}}}}\,du}

W ( x ) x d x = ( u + 1 ) d u {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;\int (u+1)\,du}

W ( x ) x d x = u 2 2 + u + C {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;{\frac {u^{2}}{2}}+u+C}

u = W ( x ) {\displaystyle u=W(x)}

W ( x ) x d x = W ( x ) 2 2 + W ( x ) + C {\displaystyle \int {\frac {W(x)}{x}}\,dx\;=\;{\frac {W(x)^{2}}{2}}+W(x)+C}

W ( A e B x ) d x = W ( A e B x ) 2 2 B + W ( A e B x ) B + C {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {W\left(Ae^{Bx}\right)^{2}}{2B}}+{\frac {W\left(Ae^{Bx}\right)}{B}}+C}

Proof

W ( A e B x ) d x = W ( A e B x ) d x {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;\int W\left(Ae^{Bx}\right)\,dx}

u = B x u B = x d d u u B = 1 B {\displaystyle u=Bx\rightarrow {\frac {u}{B}}=x\;\;\;\;{\frac {d}{du}}{\frac {u}{B}}={\frac {1}{B}}}

W ( A e B x ) d x = W ( A e u ) 1 B d u {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;\int W\left(Ae^{u}\right){\frac {1}{B}}du}

v = e u ln ( v ) = u d d v ln ( v ) = 1 v {\displaystyle v=e^{u}\rightarrow \ln \left(v\right)=u\;\;\;\;{\frac {d}{dv}}\ln \left(v\right)={\frac {1}{v}}}

W ( A e B x ) d x = 1 B W ( A v ) v d v {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {1}{B}}\int {\frac {W\left(Av\right)}{v}}dv}

w = A v w A = v d d w w A = 1 A {\displaystyle w=Av\rightarrow {\frac {w}{A}}=v\;\;\;\;{\frac {d}{dw}}{\frac {w}{A}}={\frac {1}{A}}}

W ( A e B x ) d x = 1 B A W ( w ) w 1 A d w {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {1}{B}}\int {\frac {{\cancel {\color {OliveGreen}{A}}}W(w)}{w}}{\cancel {\color {OliveGreen}{\frac {1}{A}}}}dw}

t = W ( w ) t e t = w d d t t e t = ( t + 1 ) e t {\displaystyle t=W\left(w\right)\rightarrow te^{t}=w\;\;\;\;{\frac {d}{dt}}te^{t}=\left(t+1\right)e^{t}}

W ( A e B x ) d x = 1 B t t e t ( t + 1 ) e t d t {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {1}{B}}\int {\frac {t}{te^{t}}}\left(t+1\right)e^{t}dt}

W ( A e B x ) d x = 1 B t t e t ( t + 1 ) e t d t {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {1}{B}}\int {\frac {\cancel {\color {OliveGreen}{t}}}{{\cancel {\color {OliveGreen}{t}}}{\cancel {\color {BrickRed}{e^{t}}}}}}\left(t+1\right){\cancel {\color {BrickRed}{e^{t}}}}dt}

W ( A e B x ) d x = 1 B ( t + 1 ) d t {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {1}{B}}\int (t+1)dt}

W ( A e B x ) d x = t 2 2 B + t B + C {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {t^{2}}{2B}}+{\frac {t}{B}}+C}

t = W ( w ) {\displaystyle t=W\left(w\right)}

W ( A e B x ) d x = W ( w ) 2 2 B + W ( w ) B + C {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {W\left(w\right)^{2}}{2B}}+{\frac {W\left(w\right)}{B}}+C}

w = A v {\displaystyle w=Av}

W ( A e B x ) d x = W ( A v ) 2 2 B + W ( A v ) B + C {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {W\left(Av\right)^{2}}{2B}}+{\frac {W\left(Av\right)}{B}}+C}

v = e u {\displaystyle v=e^{u}}

W ( A e B x ) d x = W ( A e u ) 2 2 B + W ( A e u ) B + C {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {W\left(Ae^{u}\right)^{2}}{2B}}+{\frac {W\left(Ae^{u}\right)}{B}}+C}

u = B x {\displaystyle u=Bx}

W ( A e B x ) d x = W ( A e B x ) 2 2 B + W ( A e B x ) B + C {\displaystyle \int W\left(Ae^{Bx}\right)\,dx\;=\;{\frac {W\left(Ae^{Bx}\right)^{2}}{2B}}+{\frac {W\left(Ae^{Bx}\right)}{B}}+C}

W ( x ) x 2 d x = Ei ( W ( x ) ) e W ( x ) + C {\displaystyle \int {\frac {W(x)}{x^{2}}}\,dx\;=\;\operatorname {Ei} \left(-W(x)\right)-e^{-W(x)}+C}

Proof

Introduce substitution variable u = W ( x ) {\displaystyle u=W(x)} , which gives us u e u = x {\displaystyle ue^{u}=x} and d d u u e u = ( u + 1 ) e u {\displaystyle {\frac {d}{du}}ue^{u}=\left(u+1\right)e^{u}}

W ( x ) x 2 d x = u ( u e u ) 2 ( u + 1 ) e u d u = u + 1 u e u d u = u u e u d u + 1 u e u d u = e u d u + e u u d u {\displaystyle {\begin{aligned}\int {\frac {W(x)}{x^{2}}}\,dx\;&=\;\int {\frac {u}{\left(ue^{u}\right)^{2}}}\left(u+1\right)e^{u}du\\&=\;\int {\frac {u+1}{ue^{u}}}du\\&=\;\int {\frac {u}{ue^{u}}}du\;+\;\int {\frac {1}{ue^{u}}}du\\&=\;\int e^{-u}du\;+\;\int {\frac {e^{-u}}{u}}du\end{aligned}}}

v = u v = u d d v v = 1 {\displaystyle v=-u\rightarrow -v=u\;\;\;\;{\frac {d}{dv}}-v=-1}

W ( x ) x 2 d x = e v ( 1 ) d v + e u u d u {\displaystyle \int {\frac {W(x)}{x^{2}}}\,dx\;=\;\int e^{v}\left(-1\right)dv\;+\;\int {\frac {e^{-u}}{u}}du}

W ( x ) x 2 d x = e v + Ei ( u ) + C {\displaystyle \int {\frac {W(x)}{x^{2}}}\,dx\;=\;-e^{v}+\operatorname {Ei} \left(-u\right)+C}

v = u {\displaystyle v=-u}

W ( x ) x 2 d x = e u + Ei ( u ) + C {\displaystyle \int {\frac {W(x)}{x^{2}}}\,dx\;=\;-e^{-u}+\operatorname {Ei} \left(-u\right)+C}

u = W ( x ) {\displaystyle u=W(x)}

W ( x ) x 2 d x = e W ( x ) + Ei ( W ( x ) ) + C = Ei ( W ( x ) ) e W ( x ) + C {\displaystyle {\begin{aligned}\int {\frac {W(x)}{x^{2}}}\,dx\;&=\;-e^{-W(x)}+\operatorname {Ei} \left(-W(x)\right)+C\\&=\;\operatorname {Ei} \left(-W(x)\right)-e^{-W(x)}+C\end{aligned}}}

Applications

Solving equations

The Lambert W function is used to solve equations in which the unknown quantity occurs both in the base and in the exponent, or both inside and outside of a logarithm. The strategy is to convert such an equation into one of the form ze = w and then to solve for z using the W function.

For example, the equation

3 x = 2 x + 2 {\displaystyle 3^{x}=2x+2}

(where x is an unknown real number) can be solved by rewriting it as

( x + 1 )   3 x = 1 2 ( multiply by  3 x / 2 )   ( x 1 )   3 x 1 = 1 6 ( multiply by  1 / 3 )   ( ln 3 ) ( x 1 )   e ( ln 3 ) ( x 1 ) = ln 3 6 ( multiply by  ln 3 ) {\displaystyle {\begin{aligned}&(x+1)\ 3^{-x}={\frac {1}{2}}&({\mbox{multiply by }}3^{-x}/2)\\\Leftrightarrow \ &(-x-1)\ 3^{-x-1}=-{\frac {1}{6}}&({\mbox{multiply by }}{-}1/3)\\\Leftrightarrow \ &(\ln 3)(-x-1)\ e^{(\ln 3)(-x-1)}=-{\frac {\ln 3}{6}}&({\mbox{multiply by }}\ln 3)\end{aligned}}}

This last equation has the desired form and the solutions for real x are:

( ln 3 ) ( x 1 ) = W 0 ( ln 3 6 )       or       ( ln 3 ) ( x 1 ) = W 1 ( ln 3 6 ) {\displaystyle (\ln 3)(-x-1)=W_{0}\left({\frac {-\ln 3}{6}}\right)\ \ \ {\textrm {or}}\ \ \ (\ln 3)(-x-1)=W_{-1}\left({\frac {-\ln 3}{6}}\right)}

and thus:

x = 1 W 0 ( ln 3 6 ) ln 3 = 0.79011     or     x = 1 W 1 ( ln 3 6 ) ln 3 = 1.44456 {\displaystyle x=-1-{\frac {W_{0}\left(-{\frac {\ln 3}{6}}\right)}{\ln 3}}=-0.79011\ldots \ \ {\textrm {or}}\ \ x=-1-{\frac {W_{-1}\left(-{\frac {\ln 3}{6}}\right)}{\ln 3}}=1.44456\ldots }

Generally, the solution to

x = a + b e c x {\displaystyle x=a+b\,e^{cx}}

is:

x = a 1 c W ( b c e a c ) {\displaystyle x=a-{\frac {1}{c}}W(-bc\,e^{ac})}

where a, b, and c are complex constants, with b and c not equal to zero, and the W function is of any integer order.

Viscous flows

Granular and debris flow fronts and deposits, and the fronts of viscous fluids in natural events and in laboratory experiments can be described by using the Lambert–Euler omega function as follows:

H ( x ) = 1 + W ( ( H ( 0 ) 1 ) e ( H ( 0 ) 1 ) x L ) , {\displaystyle H(x)=1+W\left((H(0)-1)e^{(H(0)-1)-{\frac {x}{L}}}\right),}

where H(x) is the debris flow height, x is the channel downstream position, L is the unified model parameter consisting of several physical and geometrical parameters of the flow, flow height and the hydraulic pressure gradient.

In pipe flow, the Lambert W function is part of the explicit formulation of the Colebrook equation for finding the Darcy friction factor. This factor is used to determine the pressure drop through a straight run of pipe when the flow is turbulent.

Time-dependent flow in simple branch hydraulic systems

The principal branch of the Lambert W function is employed in the field of mechanical engineering, in the study of time dependent transfer of Newtonian fluids between two reservoirs with varying free surface levels, using centrifugal pumps. The Lambert W function provided an exact solution to the flow rate of fluid in both the laminar and turbulent regimes: Q turb = Q i ζ i W 0 [ ζ i e ( ζ i + β t / b ) ] Q lam = Q i ξ i W 0 [ ξ i e ( ξ i + β t / ( b Γ 1 ) ) ] {\displaystyle {\begin{aligned}Q_{\text{turb}}&={\frac {Q_{i}}{\zeta _{i}}}W_{0}\left\\Q_{\text{lam}}&={\frac {Q_{i}}{\xi _{i}}}W_{0}\left\end{aligned}}} where Q i {\displaystyle Q_{i}} is the initial flow rate and t {\displaystyle t} is time.

Neuroimaging

The Lambert W function is employed in the field of neuroimaging for linking cerebral blood flow and oxygen consumption changes within a brain voxel, to the corresponding blood oxygenation level dependent (BOLD) signal.

Chemical engineering

The Lambert W function is employed in the field of chemical engineering for modeling the porous electrode film thickness in a glassy carbon based supercapacitor for electrochemical energy storage. The Lambert W function provides an exact solution for a gas phase thermal activation process where growth of carbon film and combustion of the same film compete with each other.

Crystal growth

In the crystal growth, the negative principal of the Lambert W-function can be used to calculate the distribution coefficient, k {\textstyle k} , and solute concentration in the melt, C L {\textstyle C_{L}} , from the Scheil equation:

k = W 0 ( Z ) ln ( 1 f s ) C L = C 0 ( 1 f s ) e W 0 ( Z ) Z = C S C 0 ( 1 f s ) ln ( 1 f s ) {\displaystyle {\begin{aligned}&k={\frac {W_{0}(Z)}{\ln(1-fs)}}\\&C_{L}={\frac {C_{0}}{(1-fs)}}e^{W_{0}(Z)}\\&Z={\frac {C_{S}}{C_{0}}}(1-fs)\ln(1-fs)\end{aligned}}}

Materials science

The Lambert W function is employed in the field of epitaxial film growth for the determination of the critical dislocation onset film thickness. This is the calculated thickness of an epitaxial film, where due to thermodynamic principles the film will develop crystallographic dislocations in order to minimise the elastic energy stored in the films. Prior to application of Lambert W for this problem, the critical thickness had to be determined via solving an implicit equation. Lambert W turns it in an explicit equation for analytical handling with ease.

Porous media

The Lambert W function has been employed in the field of fluid flow in porous media to model the tilt of an interface separating two gravitationally segregated fluids in a homogeneous tilted porous bed of constant dip and thickness where the heavier fluid, injected at the bottom end, displaces the lighter fluid that is produced at the same rate from the top end. The principal branch of the solution corresponds to stable displacements while the −1 branch applies if the displacement is unstable with the heavier fluid running underneath the lighter fluid.

Bernoulli numbers and Todd genus

The equation (linked with the generating functions of Bernoulli numbers and Todd genus):

Y = X 1 e X {\displaystyle Y={\frac {X}{1-e^{X}}}}

can be solved by means of the two real branches W0 and W−1:

X ( Y ) = { W 1 ( Y e Y ) W 0 ( Y e Y ) = Y W 0 ( Y e Y ) for  Y < 1 , W 0 ( Y e Y ) W 1 ( Y e Y ) = Y W 1 ( Y e Y ) for  1 < Y < 0. {\displaystyle X(Y)={\begin{cases}W_{-1}\left(Ye^{Y}\right)-W_{0}\left(Ye^{Y}\right)=Y-W_{0}\left(Ye^{Y}\right)&{\text{for }}Y<-1,\\W_{0}\left(Ye^{Y}\right)-W_{-1}\left(Ye^{Y}\right)=Y-W_{-1}\left(Ye^{Y}\right)&{\text{for }}-1<Y<0.\end{cases}}}

This application shows that the branch difference of the W function can be employed in order to solve other transcendental equations.

Statistics

The centroid of a set of histograms defined with respect to the symmetrized Kullback–Leibler divergence (also called the Jeffreys divergence ) has a closed form using the Lambert W function.

Pooling of tests for infectious diseases

Solving for the optimal group size to pool tests so that at least one individual is infected involves the Lambert W function.

Exact solutions of the Schrödinger equation

The Lambert W function appears in a quantum-mechanical potential, which affords the fifth – next to those of the harmonic oscillator plus centrifugal, the Coulomb plus inverse square, the Morse, and the inverse square root potential – exact solution to the stationary one-dimensional Schrödinger equation in terms of the confluent hypergeometric functions. The potential is given as

V = V 0 1 + W ( e x σ ) . {\displaystyle V={\frac {V_{0}}{1+W\left(e^{-{\frac {x}{\sigma }}}\right)}}.}

A peculiarity of the solution is that each of the two fundamental solutions that compose the general solution of the Schrödinger equation is given by a combination of two confluent hypergeometric functions of an argument proportional to

z = W ( e x σ ) . {\displaystyle z=W\left(e^{-{\frac {x}{\sigma }}}\right).}

The Lambert W function also appears in the exact solution for the bound state energy of the one dimensional Schrödinger equation with a Double Delta Potential.

Exact solution of QCD coupling constant

In Quantum chromodynamics, the quantum field theory of the Strong interaction, the coupling constant α s {\displaystyle \alpha _{\text{s}}} is computed perturbatively, the order n corresponding to Feynman diagrams including n quantum loops. The first order, n = 1, solution is exact (at that order) and analytical. At higher orders, n > 1, there is no exact and analytical solution and one typically uses an iterative method to furnish an approximate solution. However, for second order, n = 2, the Lambert function provides an exact (if non-analytical) solution.

Exact solutions of the Einstein vacuum equations

In the Schwarzschild metric solution of the Einstein vacuum equations, the W function is needed to go from the Eddington–Finkelstein coordinates to the Schwarzschild coordinates. For this reason, it also appears in the construction of the Kruskal–Szekeres coordinates.

Resonances of the delta-shell potential

The s-wave resonances of the delta-shell potential can be written exactly in terms of the Lambert W function.

Thermodynamic equilibrium

If a reaction involves reactants and products having heat capacities that are constant with temperature then the equilibrium constant K obeys

ln K = a T + b + c ln T {\displaystyle \ln K={\frac {a}{T}}+b+c\ln T}

for some constants a, b, and c. When c (equal to ⁠ΔCp/R⁠) is not zero the value or values of T can be found where K equals a given value as follows, where L can be used for ln T.

a = ( b ln K ) T + c T ln T = ( b ln K ) e L + c L e L a c = ( b ln K c + L ) e L a c e b ln K c = ( L + b ln K c ) e L + b ln K c L = W ( a c e b ln K c ) + ln K b c T = exp ( W ( a c e b ln K c ) + ln K b c ) . {\displaystyle {\begin{aligned}-a&=(b-\ln K)T+cT\ln T\\&=(b-\ln K)e^{L}+cLe^{L}\\-{\frac {a}{c}}&=\left({\frac {b-\ln K}{c}}+L\right)e^{L}\\-{\frac {a}{c}}e^{\frac {b-\ln K}{c}}&=\left(L+{\frac {b-\ln K}{c}}\right)e^{L+{\frac {b-\ln K}{c}}}\\L&=W\left(-{\frac {a}{c}}e^{\frac {b-\ln K}{c}}\right)+{\frac {\ln K-b}{c}}\\T&=\exp \left(W\left(-{\frac {a}{c}}e^{\frac {b-\ln K}{c}}\right)+{\frac {\ln K-b}{c}}\right).\end{aligned}}}

If a and c have the same sign there will be either two solutions or none (or one if the argument of W is exactly −⁠1/e⁠). (The upper solution may not be relevant.) If they have opposite signs, there will be one solution.

Phase separation of polymer mixtures

In the calculation of the phase diagram of thermodynamically incompatible polymer mixtures according to the Edmond-Ogston model, the solutions for binodal and tie-lines are formulated in terms of Lambert W functions.

Wien's displacement law in a D-dimensional universe

Wien's displacement law is expressed as ν max / T = α = c o n s t {\displaystyle \nu _{\max }/T=\alpha =\mathrm {const} } . With x = h ν max / k B T {\displaystyle x=h\nu _{\max }/k_{\mathrm {B} }T} and d ρ T ( x ) / d x = 0 {\displaystyle d\rho _{T}\left(x\right)/dx=0} , where ρ T {\displaystyle \rho _{T}} is the spectral energy energy density, one finds e x = 1 x D {\displaystyle e^{-x}=1-{\frac {x}{D}}} , where D {\displaystyle D} is the number of degrees of freedom for spatial translation. The solution x = D + W ( D e D ) {\displaystyle x=D+W\left(-De^{-D}\right)} shows that the spectral energy density is dependent on the dimensionality of the universe.

AdS/CFT correspondence

The classical finite-size corrections to the dispersion relations of giant magnons, single spikes and GKP strings can be expressed in terms of the Lambert W function.

Epidemiology

In the t → ∞ limit of the SIR model, the proportion of susceptible and recovered individuals has a solution in terms of the Lambert W function.

Determination of the time of flight of a projectile

The total time of the journey of a projectile which experiences air resistance proportional to its velocity can be determined in exact form by using the Lambert W function.

Electromagnetic surface wave propagation

The transcendental equation that appears in the determination of the propagation wave number of an electromagnetic axially symmetric surface wave (a low-attenuation single TM01 mode) propagating in a cylindrical metallic wire gives rise to an equation like u ln u = v (where u and v clump together the geometrical and physical factors of the problem), which is solved by the Lambert W function. The first solution to this problem, due to Sommerfeld circa 1898, already contained an iterative method to determine the value of the Lambert W function.

Orthogonal trajectories of real ellipses

The family of ellipses x 2 + ( 1 ε 2 ) y 2 = ε 2 {\displaystyle x^{2}+(1-\varepsilon ^{2})y^{2}=\varepsilon ^{2}} centered at ( 0 , 0 ) {\displaystyle (0,0)} is parameterized by eccentricity ε {\displaystyle \varepsilon } . The orthogonal trajectories of this family are given by the differential equation ( 1 y + y ) d y = ( 1 x x ) d x {\displaystyle \left({\frac {1}{y}}+y\right)dy=\left({\frac {1}{x}}-x\right)dx} whose general solution is the family y 2 = {\displaystyle y^{2}=} W 0 ( x 2 exp ( 2 C x 2 ) ) {\displaystyle W_{0}(x^{2}\exp(-2C-x^{2}))} .

Generalizations

The standard Lambert W function expresses exact solutions to transcendental algebraic equations (in x) of the form:

e c x = a 0 ( x r ) {\displaystyle e^{-cx}=a_{0}(x-r)} (1)

where a0, c and r are real constants. The solution is x = r + 1 c W ( c e c r a 0 ) . {\displaystyle x=r+{\frac {1}{c}}W\left({\frac {c\,e^{-cr}}{a_{0}}}\right).} Generalizations of the Lambert W function include:

  • An application to general relativity and quantum mechanics (quantum gravity) in lower dimensions, in fact a link (unknown prior to 2007) between these two areas, where the right-hand side of (1) is replaced by a quadratic polynomial in x:
    e c x = a 0 ( x r 1 ) ( x r 2 ) , {\displaystyle e^{-cx}=a_{0}\left(x-r_{1}\right)\left(x-r_{2}\right),} (2)

    where r1 and r2 are real distinct constants, the roots of the quadratic polynomial. Here, the solution is a function which has a single argument x but the terms like ri and a0 are parameters of that function. In this respect, the generalization resembles the hypergeometric function and the Meijer G function but it belongs to a different class of functions. When r1 = r2, both sides of (2) can be factored and reduced to (1) and thus the solution reduces to that of the standard W function. Equation (2) expresses the equation governing the dilaton field, from which is derived the metric of the R = T or lineal two-body gravity problem in 1 + 1 dimensions (one spatial dimension and one time dimension) for the case of unequal rest masses, as well as the eigenenergies of the quantum-mechanical double-well Dirac delta function model for unequal charges in one dimension.

  • Analytical solutions of the eigenenergies of a special case of the quantum mechanical three-body problem, namely the (three-dimensional) hydrogen molecule-ion. Here the right-hand side of (1) is replaced by a ratio of infinite order polynomials in x:
    e c x = a 0 i = 1 ( x r i ) i = 1 ( x s i ) {\displaystyle e^{-cx}=a_{0}{\frac {\displaystyle \prod _{i=1}^{\infty }(x-r_{i})}{\displaystyle \prod _{i=1}^{\infty }(x-s_{i})}}} (3)

    where ri and si are distinct real constants and x is a function of the eigenenergy and the internuclear distance R. Equation (3) with its specialized cases expressed in (1) and (2) is related to a large class of delay differential equations. G. H. Hardy's notion of a "false derivative" provides exact multiple roots to special cases of (3).

Applications of the Lambert W function in fundamental physical problems are not exhausted even for the standard case expressed in (1) as seen recently in the area of atomic, molecular, and optical physics.

Plots

  • Plots of the Lambert W function on the complex plane
  • z = Re(W0(x + iy)) z = Re(W0(x + iy))
  • z = Im(W0(x + iy)) z = Im(W0(x + iy))
  • z = |W0(x + iy)| z = |W0(x + iy)|
  • Superimposition of the previous three plots Superimposition of the previous three plots

Numerical evaluation

The W function may be approximated using Newton's method, with successive approximations to w = W(z) (so z = we) being

w j + 1 = w j w j e w j z e w j + w j e w j . {\displaystyle w_{j+1}=w_{j}-{\frac {w_{j}e^{w_{j}}-z}{e^{w_{j}}+w_{j}e^{w_{j}}}}.}

The W function may also be approximated using Halley's method,

w j + 1 = w j w j e w j z e w j ( w j + 1 ) ( w j + 2 ) ( w j e w j z ) 2 w j + 2 {\displaystyle w_{j+1}=w_{j}-{\frac {w_{j}e^{w_{j}}-z}{e^{w_{j}}\left(w_{j}+1\right)-{\dfrac {\left(w_{j}+2\right)\left(w_{j}e^{w_{j}}-z\right)}{2w_{j}+2}}}}}

given in Corless et al. to compute W.

For real x 1 / e {\displaystyle x\geq -1/e} , it may be approximated by the quadratic-rate recursive formula of R. Iacono and J.P. Boyd:

w n + 1 ( x ) = w n ( x ) 1 + w n ( x ) ( 1 + log ( x w n ( x ) ) ) . {\displaystyle w_{n+1}(x)={\frac {w_{n}(x)}{1+w_{n}(x)}}\left(1+\log \left({\frac {x}{w_{n}(x)}}\right)\right).}

Lajos Lóczi proves that by using this iteration with an appropriate starting value w 0 ( x ) {\displaystyle w_{0}(x)} ,

  • For the principal branch W 0 : {\displaystyle W_{0}:}
    • if x ( e , ) {\displaystyle x\in (e,\infty )} : w 0 ( x ) = log ( x ) log ( log ( x ) ) , {\displaystyle w_{0}(x)=\log(x)-\log(\log(x)),}
    • if x ( 0 , e ) : {\displaystyle x\in (0,e):} w 0 ( x ) = x / e , {\displaystyle w_{0}(x)=x/e,}
    • if x ( 1 / e , 0 ) : {\displaystyle x\in (-1/e,0):} w 0 ( x ) = e x log ( 1 + 1 + e x ) 1 + e x + 1 + e x , {\displaystyle w_{0}(x)={\frac {ex\log(1+{\sqrt {1+ex}})}{1+ex+{\sqrt {1+ex}}}},}
  • For the branch W 1 : {\displaystyle W_{-1}:}
    • if x ( 1 / 4 , 0 ) : {\displaystyle x\in (-1/4,0):} w 0 ( x ) = log ( x ) log ( log ( x ) ) , {\displaystyle w_{0}(x)=\log(-x)-\log(-\log(-x)),}
    • if x ( 1 / e , 1 / 4 ] : {\displaystyle x\in (-1/e,-1/4]:} w 0 ( x ) = 1 2 1 + e x , {\displaystyle w_{0}(x)=-1-{\sqrt {2}}{\sqrt {1+ex}},}

one can determine the maximum number of iteration steps in advance for any precision:

  • if x ( e , ) {\displaystyle x\in (e,\infty )} (Theorem 2.4): 0 < W 0 ( x ) w n ( x ) < ( log ( 1 + 1 / e ) ) 2 n , {\displaystyle 0<W_{0}(x)-w_{n}(x)<\left(\log(1+1/e)\right)^{2^{n}},}
  • if x ( 0 , e ) {\displaystyle x\in (0,e)} (Theorem 2.9): 0 < W 0 ( x ) w n ( x ) < ( 1 1 / e ) 2 n 1 5 , {\displaystyle 0<W_{0}(x)-w_{n}(x)<{\frac {\left(1-1/e\right)^{2^{n}-1}}{5}},}
  • if x ( 1 / e , 0 ) : {\displaystyle x\in (-1/e,0):}
    • for the principal branch W 0 {\displaystyle W_{0}} (Theorem 2.17): 0 < w n ( x ) W 0 ( x ) < ( 1 / 10 ) 2 n , {\displaystyle 0<w_{n}(x)-W_{0}(x)<\left(1/10\right)^{2^{n}},}
    • for the branch W 1 {\displaystyle W_{-1}} (Theorem 2.23): 0 < W 1 ( x ) w n ( x ) < ( 1 / 2 ) 2 n . {\displaystyle 0<W_{-1}(x)-w_{n}(x)<\left(1/2\right)^{2^{n}}.}


Toshio Fukushima has presented a fast method for approximating the real valued parts of the principal and secondary branches of the W function without using any iteration. In this method the W function is evaluated as a conditional switch of rational functions on transformed variables: W 0 ( z ) = { X k ( x ) , ( z k 1 <= z < z k , k = 1 , 2 , , 17 ) , U k ( u ) , ( z k 1 <= z < z k , k = 18 , 19 ) , {\displaystyle W_{0}(z)={\begin{cases}X_{k}(x),&(z_{k-1}<=z<z_{k},\quad k=1,2,\ldots ,17),\\U_{k}(u),&(z_{k-1}<=z<z_{k},\quad k=18,19),\end{cases}}} W 1 ( z ) = { Y k ( y ) , ( z k 1 <= z < z k , k = 1 , 2 , , 7 ) , V k ( u ) , ( z k 1 <= z < z k , k = 8 , 9 , 10 ) , {\displaystyle W_{-1}(z)={\begin{cases}Y_{k}(y),&(z_{k-1}<=z<z_{k},\quad k=-1,-2,\ldots ,-7),\\V_{k}(u),&(z_{k-1}<=z<z_{k},\quad k=-8,-9,-10),\end{cases}}} where x, u, y and v are transformations of z:

x = z + 1 / e , u = ln z , y = z / ( x + 1 / e ) , v = ln ( z ) {\displaystyle x={\sqrt {z+1/e}},\quad u=\ln {z},\quad y=-z/(x+1/{\sqrt {e}}),\quad v=\ln(-z)} .

Here X k ( x ) {\displaystyle X_{k}(x)} , U k ( u ) {\displaystyle U_{k}(u)} , Y k ( y ) {\displaystyle Y_{k}(y)} , and V k ( v ) {\displaystyle V_{k}(v)} are rational functions whose coefficients for different k-values are listed in the referenced paper together with the z k {\displaystyle z_{k}} values that determine the subdomains. With higher degree polynomials in these rational functions the method can approximate the W function more accurately.

For example, when 1 / e z 2.0082178115844727 {\displaystyle -1/e\leq z\leq 2.0082178115844727} , W 0 ( z ) {\displaystyle W_{0}(z)} can be approximated to 24 bits of accuracy on 64-bit floating point values as W 0 ( z ) X 1 ( x ) = i 4 P i x i i 3 Q i x i {\displaystyle W_{0}(z)\approx X_{1}(x)={\frac {\sum _{i}^{4}P_{i}x^{i}}{\sum _{i}^{3}Q_{i}x^{i}}}} where x is defined with the transformation above and the coefficients P i {\displaystyle P_{i}} and Q i {\displaystyle Q_{i}} are given in the table below.

Coefficients
i {\displaystyle i} P i {\displaystyle P_{i}} Q i {\displaystyle Q_{i}}
0 −0.9999999403954019 1
1 0.0557300521617778 2.275906559863465
2 2.1269732491053173 1.367597013868904
3 0.8135112367835288 0.18615823452831623
4 0.01632488014607016 0

Fukushima also offers an approximation with 50 bits of accuracy on 64-bit floats that uses 8th- and 7th-degree polynomials.

Software

The Lambert W function is implemented in many programming languages. Some of them are listed below:

Language Function name Required library
C/C++ gsl_sf_lambert_W0 and gsl_sf_lambert_Wm1 Special functions section of the GNU Scientific Library (GSL)
lambert_w0, lambert_wm1, lambert_w0_prime, and lambert_wm1_prime Boost C++ libraries
LambertW LambertW-function
GP lambertw
Maple LambertW
Mathematica ProductLog (with LambertW as a silent alias)
Matlab lambertw
Maxima lambert_w
Octave lambertw specfun
PARI glambertW, lambertWC, glambertW_i, mplambertW, lambertW
Perl LambertW ntheory
Python lambertw scipy
R lambertW0 and lambertWm1 lamW
Rust lambert_w0 and lambert_wm1 lambert_w

See also

Notes

  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.
  3. ^ Corless, R. M.; Gonnet, G. H.; Hare, D. E. G.; Jeffrey, D. J.; Knuth, D. E. (1996). "On the LambertW function" (PDF). Advances in Computational Mathematics. 5: 329–359. doi:10.1007/BF02124750. S2CID 29028411.
  4. Lambert J. H., "Observationes variae in mathesin puram", Acta Helveticae physico-mathematico-anatomico-botanico-medica, Band III, 128–168, 1758.
  5. Euler, L. "De serie Lambertina Plurimisque eius insignibus proprietatibus". Acta Acad. Scient. Petropol. 2, 29–51, 1783. Reprinted in Euler, L. Opera Omnia, Series Prima, Vol. 6: Commentationes Algebraicae. Leipzig, Germany: Teubner, pp. 350–369, 1921.
  6. Scott, TC; Babb, JF; Dalgarno, A; Morgan, John D (Aug 15, 1993). "The calculation of exchange forces: General results and specific models". J. Chem. Phys. 99 (4). American Institute of Physics: 2841–2854. Bibcode:1993JChPh..99.2841S. doi:10.1063/1.465193. ISSN 0021-9606.
  7. Corless, R. M.; Gonnet, G. H.; Hare, D. E. G.; Jeffrey, D. J. (1993). "Lambert's ⁠ W {\displaystyle W} ⁠ function in Maple". The Maple Technical Newsletter. 9: 12–22. CiteSeerX 10.1.1.33.2556.
  8. Mező, István (2022). The Lambert W Function: Its Generalizations and Applications. doi:10.1201/9781003168102. ISBN 9781003168102. S2CID 247491347.
  9. Bronstein, Manuel; Corless, Robert M.; Davenport, James H.; Jeffrey, D. J. (2008). "Algebraic properties of the Lambert ⁠ W {\displaystyle W} ⁠ function from a result of Rosenlicht and of Liouville" (PDF). Integral Transforms and Special Functions. 19 (10): 709–712. doi:10.1080/10652460802332342. S2CID 120069437. Archived (PDF) from the original on 2015-12-11.
  10. A. Hoorfar, M. Hassani, Inequalities on the Lambert W Function and Hyperpower Function, JIPAM, Theorem 2.7, page 7, volume 9, issue 2, article 51. 2008.
  11. Chatzigeorgiou, I. (2013). "Bounds on the Lambert function and their Application to the Outage Analysis of User Cooperation". IEEE Communications Letters. 17 (8): 1505–1508. arXiv:1601.04895. doi:10.1109/LCOMM.2013.070113.130972. S2CID 10062685.
  12. ^ Iacono, Roberto; Boyd, John P. (2017-12-01). "New approximations to the principal real-valued branch of the Lambert W-function". Advances in Computational Mathematics. 43 (6): 1403–1436. doi:10.1007/s10444-017-9530-3. ISSN 1572-9044. S2CID 254184098.
  13. "Lambert function: Identities (formula 01.31.17.0001)".
  14. "Lambert W-Function".
  15. https://isa-afp.org/entries/Lambert_W.html Note: although one of the assumptions of the relevant lemma states that x must be > 1/e, inspection of said lemma reveals that this assumption is unused. The lower bound is in fact x > 0. The reason for the branch switch at e is simple: for x > 1 there are always two solutions, −ln x and another one that you'd get from the x on the other side of e that would feed the same value to W; these must crossover at x = e: Wn cannot distinguish a value of ln x/x from an x < e from the same value from the other x > e, so it cannot flip the order of its return values.
  16. Finch, S. R. (2003). Mathematical constants. Cambridge University Press. p. 450.
  17. Kalugin, German A.; Jeffrey, David J.; Corless, Robert M. (2012). "Bernstein, Pick, Poisson and related integral expressions for Lambert W" (PDF). Integral Transforms and Special Functions. 23 (11): 817–829. doi:10.1080/10652469.2011.640327. MR 2989751. See Theorem 3.4, p. 821 of published version (p. 5 of preprint).
  18. Dubinov, A. E.; Dubinova, I. D.; Saǐkov, S. K. (2006). The Lambert W Function and Its Applications to Mathematical Problems of Physics (in Russian). RFNC-VNIIEF. p. 53.
  19. Robert M., Corless; David J., Jeffrey; Donald E., Knuth (1997). "A sequence of series for the Lambert W function". Proceedings of the 1997 international symposium on Symbolic and algebraic computation - ISSAC '97. pp. 197–204. doi:10.1145/258726.258783. ISBN 978-0897918756. S2CID 6274712.
  20. "The Lambert W Function". Ontario Research Centre for Computer Algebra.
  21. More, A. A. (2006). "Analytical solutions for the Colebrook and White equation and for pressure drop in ideal gas flow in pipes". Chemical Engineering Science. 61 (16): 5515–5519. Bibcode:2006ChEnS..61.5515M. doi:10.1016/j.ces.2006.04.003.
  22. Pellegrini, C. C.; Zappi, G. A.; Vilalta-Alonso, G. (2022-05-12). "An Analytical Solution for the Time-Dependent Flow in Simple Branch Hydraulic Systems with Centrifugal Pumps". Arabian Journal for Science and Engineering. 47 (12): 16273–16287. doi:10.1007/s13369-022-06864-9. ISSN 2193-567X. S2CID 248762601.
  23. Sotero, Roberto C.; Iturria-Medina, Yasser (2011). "From Blood oxygenation level dependent (BOLD) signals to brain temperature maps". Bull Math Biol (Submitted manuscript). 73 (11): 2731–47. doi:10.1007/s11538-011-9645-5. PMID 21409512. S2CID 12080132.
  24. Braun, Artur; Wokaun, Alexander; Hermanns, Heinz-Guenter (2003). "Analytical Solution to a Growth Problem with Two Moving Boundaries". Appl Math Model. 27 (1): 47–52. doi:10.1016/S0307-904X(02)00085-9.
  25. Braun, Artur; Baertsch, Martin; Schnyder, Bernhard; Koetz, Ruediger (2000). "A Model for the film growth in samples with two moving boundaries – An Application and Extension of the Unreacted-Core Model". Chem Eng Sci. 55 (22): 5273–5282. doi:10.1016/S0009-2509(00)00143-3.
  26. Asadian, M; Saeedi, H; Yadegari, M; Shojaee, M (June 2014). "Determinations of equilibrium segregation, effective segregation and diffusion coefficients for Nd+3 doped in molten YAG". Journal of Crystal Growth. 396 (15): 61–65. Bibcode:2014JCrGr.396...61A. doi:10.1016/j.jcrysgro.2014.03.028. https://doi.org/10.1016/j.jcrysgro.2014.03.028
  27. Asadian, M; Zabihi, F; Saeedi, H (March 2024). "Segregation and constitutional supercooling in Nd:YAG Czochralski crystal growth". Journal of Crystal Growth. 630: 127605. Bibcode:2024JCrGr.63027605A. doi:10.1016/j.jcrysgro.2024.127605. S2CID 267414096. https://doi.org/10.1016/j.jcrysgro.2024.127605
  28. Braun, Artur; Briggs, Keith M.; Boeni, Peter (2003). "Analytical solution to Matthews' and Blakeslee's critical dislocation formation thickness of epitaxially grown thin films". J Cryst Growth. 241 (1–2): 231–234. Bibcode:2002JCrGr.241..231B. doi:10.1016/S0022-0248(02)00941-7.
  29. Colla, Pietro (2014). "A New Analytical Method for the Motion of a Two-Phase Interface in a Tilted Porous Medium". PROCEEDINGS, Thirty-Eighth Workshop on Geothermal Reservoir Engineering, Stanford University. SGP-TR-202.()
  30. D. J. Jeffrey and J. E. Jankowski, "Branch differences and Lambert W"
  31. Flavia-Corina Mitroi-Symeonidis; Ion Anghel; Shigeru Furuichi (2019). "Encodings for the calculation of the permutation hypoentropy and their applications on full-scale compartment fire data". Acta Technica Napocensis. 62, IV: 607–616.
  32. F. Nielsen, "Jeffreys Centroids: A Closed-Form Expression for Positive Histograms and a Guaranteed Tight Approximation for Frequency Histograms"
  33. https://arxiv.org/abs/2005.03051 J. Batson et al., "A COMPARISON OF GROUP TESTING ARCHITECTURES FOR COVID-19 TESTING".
  34. A.Z. Broder, "A Note on Double Pooling Tests".
  35. Rudolf Hanel, Stefan Thurner (2020). "Boosting test-efficiency by pooled testing for SARS-CoV-2—Formula for optimal pool size". PLOS ONE. 15, 11 (11): e0240652. Bibcode:2020PLoSO..1540652H. doi:10.1371/journal.pone.0240652. PMC 7641378. PMID 33147228.
  36. A.M. Ishkhanyan, "The Lambert W barrier – an exactly solvable confluent hypergeometric potential".
  37. ^ Deur, Alexandre; Brodsky, Stanley J.; De Téramond, Guy F. (2016). "The QCD running coupling". Progress in Particle and Nuclear Physics. 90: 1–74. arXiv:1604.08082. Bibcode:2016PrPNP..90....1D. doi:10.1016/j.ppnp.2016.04.003. S2CID 118854278.
  38. de la Madrid, R. (2017). "Numerical calculation of the decay widths, the decay constants, and the decay energy spectra of the resonances of the delta-shell potential". Nucl. Phys. A. 962: 24–45. arXiv:1704.00047. Bibcode:2017NuPhA.962...24D. doi:10.1016/j.nuclphysa.2017.03.006. S2CID 119218907.
  39. Bot, A.; Dewi, B.P.C.; Venema, P. (2021). "Phase-separating binary polymer mixtures: the degeneracy of the virial coefficients and their extraction from phase diagrams". ACS Omega. 6 (11): 7862–7878. doi:10.1021/acsomega.1c00450. PMC 7992149. PMID 33778298.
  40. Cardoso, T. R.; de Castro, A. S. (2005). "The blackbody radiation in a D-dimensional universe". Rev. Bras. Ens. Fis. 27 (4): 559–563. doi:10.1590/S1806-11172005000400007. hdl:11449/211894.
  41. Floratos, Emmanuel; Georgiou, George; Linardopoulos, Georgios (2014). "Large-Spin Expansions of GKP Strings". JHEP. 2014 (3): 0180. arXiv:1311.5800. Bibcode:2014JHEP...03..018F. doi:10.1007/JHEP03(2014)018. S2CID 53355961.
  42. Floratos, Emmanuel; Linardopoulos, Georgios (2015). "Large-Spin and Large-Winding Expansions of Giant Magnons and Single Spikes". Nucl. Phys. B. 897: 229–275. arXiv:1406.0796. Bibcode:2015NuPhB.897..229F. doi:10.1016/j.nuclphysb.2015.05.021. S2CID 118526569.
  43. Wolfram Research, Inc. "Mathematica, Version 12.1". Champaign IL, 2020.
  44. Mendonça, J. R. G. (2019). "Electromagnetic surface wave propagation in a metallic wire and the Lambert W function". American Journal of Physics. 87 (6): 476–484. arXiv:1812.07456. Bibcode:2019AmJPh..87..476M. doi:10.1119/1.5100943. S2CID 119661071.
  45. Scott, T. C.; Mann, R. B.; Martinez Ii, Roberto E. (2006). "General Relativity and Quantum Mechanics: Towards a Generalization of the Lambert W Function". AAECC (Applicable Algebra in Engineering, Communication and Computing). 17 (1): 41–47. arXiv:math-ph/0607011. Bibcode:2006math.ph...7011S. doi:10.1007/s00200-006-0196-1. S2CID 14664985.
  46. Scott, T. C.; Fee, G.; Grotendorst, J. (2013). "Asymptotic series of Generalized Lambert W Function". SIGSAM (ACM Special Interest Group in Symbolic and Algebraic Manipulation). 47 (185): 75–83. doi:10.1145/2576802.2576804. S2CID 15370297.
  47. Scott, T. C.; Fee, G.; Grotendorst, J.; Zhang, W.Z. (2014). "Numerics of the Generalized Lambert W Function". SIGSAM. 48 (1/2): 42–56. doi:10.1145/2644288.2644298. S2CID 15776321.
  48. Farrugia, P. S.; Mann, R. B.; Scott, T. C. (2007). "N-body Gravity and the Schrödinger Equation". Class. Quantum Grav. 24 (18): 4647–4659. arXiv:gr-qc/0611144. Bibcode:2007CQGra..24.4647F. doi:10.1088/0264-9381/24/18/006. S2CID 119365501.
  49. Scott, T. C.; Aubert-Frécon, M.; Grotendorst, J. (2006). "New Approach for the Electronic Energies of the Hydrogen Molecular Ion". Chem. Phys. 324 (2–3): 323–338. arXiv:physics/0607081. Bibcode:2006CP....324..323S. CiteSeerX 10.1.1.261.9067. doi:10.1016/j.chemphys.2005.10.031. S2CID 623114.
  50. Maignan, Aude; Scott, T. C. (2016). "Fleshing out the Generalized Lambert W Function". SIGSAM. 50 (2): 45–60. doi:10.1145/2992274.2992275. S2CID 53222884.
  51. Scott, T. C.; Lüchow, A.; Bressanini, D.; Morgan, J. D. III (2007). "The Nodal Surfaces of Helium Atom Eigenfunctions" (PDF). Phys. Rev. A. 75 (6): 060101. Bibcode:2007PhRvA..75f0101S. doi:10.1103/PhysRevA.75.060101. hdl:11383/1679348. Archived (PDF) from the original on 2017-09-22.
  52. Lóczi, Lajos (2022-11-15). "Guaranteed- and high-precision evaluation of the Lambert W function". Applied Mathematics and Computation. 433: 127406. doi:10.1016/j.amc.2022.127406. hdl:10831/89771. ISSN 0096-3003.
  53. Fukushima, Toshio (2020-11-25). "Precise and fast computation of Lambert W function by piecewise minimax rational function approximation with variable transformation". doi:10.13140/RG.2.2.30264.37128.
  54. "Lambert W Functions - GNU Scientific Library (GSL)".
  55. "Lambert W function - Boost libraries".
  56. Mező, István (2017-12-05), LambertW-function, retrieved 2024-12-13
  57. "LambertW - Maple Help".
  58. ProductLog - Wolfram Language Reference
  59. lambertw – MATLAB
  60. Maxima, a Computer Algebra System
  61. "lambertw - specfun on Octave-Forge". Retrieved 2024-09-12.
  62. ntheory - MetaCPAN
  63. "Scipy.special.lambertw — SciPy v0.16.1 Reference Guide".
  64. Adler, Avraham (2017-04-24), lamW: Lambert W Function, retrieved 2017-12-19
  65. Sörngård, Johanna (2024-07-28), lambert_w, retrieved 2024-09-11

References

External links

Category: