Questions tagged [lambert-w]

For questions related to the Lambert W or product log function, the inverse of $f(z)=ze^z$.

Equations involving exponentials multiplied to linear terms, such as $x+2=e^x$, cannot be solved using elementary functions in general. However, they may be solved in closed form using the Lambert W function, the inverse of $f(z)=ze^z$. In the given example: $$x+2=e^x$$ $$(-x-2)e^{-x-2}=-e^{-2}$$ $$-x-2=W(-e^{-2})$$ $$x=-W(-e^{-2})-2$$ There are two real branches of the Lambert W: $$W_0(z)\text{ for }z\in[-1/e,\infty)$$ $$W_{-1}(z)\text{ for }z\in[-1/e,0)$$

There are also branches $W_n(z)$, with $n\in\mathbb{Z}$, which are defined only on the complex plane, but which still respect the property of solving $W_n(z)e^{W_n(z)}=z$.

The regions of the complex plane where the inverse relationship occurs are bounded by the curve $x=-y\cot(y)$.

As discussed in the Corless et al. reference, the use of $W$ follows early Maple usage. Exact solutions to some mathematical models in the natural sciences, such as Michaelis–Menten kinetics, use this function.

784 questions
20
votes
5 answers

How to derive the Lambert W function series expansion?

How do you use the Lagrange inversion theorem to derive the Taylor Series expansion of W(x)? How else can you derive a series expansion?
Carpenter
  • 399
8
votes
1 answer

Is there a relation between the branches of the Lambert function?

Is it possible to express $W_{-1}(z)$ exactly by a closed-form expression, allowing the principal branch function $W_0$ ? Update: I found this related post: https://mathoverflow.net/a/196321.
user65203
7
votes
2 answers

Closed form solution to $x\log_2(1+\frac{a}{x}) = b$ using Lambert W.

Is there an expression for the solution to \begin{equation} x\log_2(1+\frac{a}{x}) = b \end{equation} where $a$ and $b$ are constants, and $x$ is the variable? I am aware that there are no solutions that can be expressed in terms of elementary…
user173690
7
votes
1 answer

Can $x^{x^x}=k$ be solved using the W function?

The lambert W function is defined to be the inverse of $f(x)=xe^x$, and the equation $x^x=k$ can be solved fairly easily using the…
ASKASK
  • 9,000
  • 4
  • 28
  • 49
6
votes
2 answers

Integration of Lambert W function

I am interested in the integration of Lambert W function. Differentiation is ok but I am unable to integrate it. How to perform it?
6
votes
2 answers

Confusion regarding usage of Lambert function

I stumbled upon an equation that goes like: $$e^{\pi x} - \frac{x}{k} = -1$$ I learnt that Lambert function is useful when dealing with such equations where it can take the form $f(x) = xe^x$. So, the equation essentially becomes: $$ x =…
mnuizhre
  • 281
6
votes
2 answers

Solution of $W_0(x)-W_{-1}(x)=1$

In my answer to this question, $W(.)$ being Lambert function, I indirectly showed that $$W_0(x)-W_{-1}(x)=1 \implies x=-\frac {1} {e-1}\, \exp \left( \frac {-1} {e-1}\right)$$ Is there any way to prove it directly ? Edit after Szeto's answer Back…
5
votes
0 answers

Solve analytically an equation with Lambert function

Can this equation be solved analytically, maybe using Lambert $W$ function? $$(1-x)^{1-x}(1+x)^{1+x}=k$$ The problem is that I can't reformulate the equation in a way that lets me use Lambert's $W$ function: $f(x)e^{f(x)}$. Thank you for your time…
Lorenzo
  • 2,581
3
votes
1 answer

Finding Principal Branch Value of Lambert W function

I have this negative number $x<-1$ (thus in the lower branch of the Lambert W function). Is it possible to find $W_{0}(xe^x)$ in terms of $x$ in a useful/non-trivial form?
resgh
  • 303
3
votes
1 answer

Why does Lambert W not "like" addition?

I am trying to solve the following Equation for $p$: $$p=1-e^{\frac{n}{\Omega}-\frac{S}{p\Omega}}$$ My initial idea was to use the Lambert $W$ function, but a colleague told me that this Equation does not have a solution in terms of $W$ because the…
mto_19
  • 272
3
votes
2 answers

Is there a way to solve: $\space x - a = b\cdot x \cdot e^x$ in terms of the Lambert-W function?

Is there a way to solve the following equation in terms of the Lambert-W function? I'm unable to cast it into a form suitable for using the Lambert-W. $$x - a = bxe^x$$ I'm intentionally not looking for a solution in terms of infinite series of…
3
votes
2 answers

Where did I make a mistake in simplifying this?

So I found general solution to $x^y=y^x$ for positive values on the Internet via Lambert $W$ function and it goes like this: $$y=\frac{-x\cdot W\left(\frac{-\log(x)}{x}\right)}{\log(x)}.$$ Now there is an identity for Lambert $W$ function…
3
votes
1 answer

Lambert W function: limits and inverse relation

I'm looking for a specific limit of a function containing The lambert W function. for the most simplified case, my function looks as follows: $y=W(-rxe^x)$ this is the plot of the function for $r=0.1$: As you can see from the figure, $y\rightarrow…
jarhead
  • 272
  • 2
  • 10
3
votes
1 answer

Lambert W function example

I need to solve a function for $x$ $k+\frac{1}{2}=-\log{x}+\frac{x^2}{2}$ I know the solution(s) should be expressed using Lambert W function because the above function can also be expressed…
ck1987pd
  • 1,104
3
votes
1 answer

Explicit Representation of $x^{x^y}=y^{y^x}$.

How do you explicitly represent $x^{x^y}=y^{y^x}$ using the Lambert $W$ function? I started using logarithms to split it up and manipulate it to a form like xe^x. I do this semi-successfully. I go through the steps and get $e^{xln(y)} *ln(y) =…
Carpenter
  • 399
1
2 3 4 5 6 7