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
0
votes
1 answer

Solving $3^x = 4-x$ in terms of Lambert W function

I want to solve $3^x = 4-x$ in terms of the function W of Lambert. Wolfram gave me this answer: $x = \dfrac{4\ln3 - \operatorname{W}(81\ln3)}{\ln3}$, so I tried to find a solution working backwards. Here is my attempt: $x\ln3 -4\ln3 =…
user561334
0
votes
2 answers

How to solve x^x=2x

I dont know how to solve this equation. $$x^x=2x$$ I tried to use Lambert W fuction. But it didnt work.
Ppfl
  • 1
0
votes
1 answer

Solving equation for x, with Lambert function

today I was trying to solve an equation for the movement of a particle with air resistance, but I was unable to solve for the falling time. The equation that I need to solve is of this type $0=k+x+nxe^{(nx)} $, n and k constants , I think it is…
0
votes
0 answers

What is the symbolic solution to the equation?

I have been trying to solve this nonlinear equation for sometime now to no avail. I have tried Mathematica and matlab as well. But I believe that a solution exist in terms of x (probably using the Lambert W function). This is the equation…
Soma
  • 7
0
votes
1 answer

How to solve for third solution with Lambert W function.

The equation $2^x = x^2$ has 3 solutions $2, 4$ and $-0.767$. The lambert W function can be used to explicitly solve for 2 and 4 $$ x\ln(2) = 2\ln (x)$$ $$ \ln(\sqrt2)= \frac{1}{x}\ln (x)$$ $$ \ln(\frac{1}{\sqrt2})= \frac{1}{x}\ln…
0
votes
2 answers

Bounds on the Lamber W-function around $x \approx -(1/e)$.

I am looking for a bound on the principal branch of Lamber W-function $W(x)$ that works well when $x$ is approaching $-\frac{1}{e}$. There are several bounds like this bound \begin{align} W_{0}(x)\leq \ln x-\ln \ln x+{\frac {e}{e-1}}{\frac {\ln…
Lisa
  • 2,941
0
votes
2 answers

How to solve $x \times e^{x^2}=1$?

I wanted to solve the following equation. $$x \times e^{x^2}=1$$ I heard about the $W$ Lambert function but what I can see on Wikipedia can only solve the equations of type $x \times e^{x}=\lambda$. How can I do? Online solvers told me the solution…
xam4lor
  • 35
0
votes
1 answer

How to solve following equation $a(x-2)e^x-c x-d=0$ (Maybe using Lambert W function)

How to solve following equation $a(x-2)e^x-c x-d=0$. I know that the equation like $a(x-2)e^x-d=0$ can solve using Lambert W function, but with this equation I'm confused, and I can solve.
Bona
  • 87
0
votes
1 answer

Solving tetration equation with Lambert W Function

Does anyone know how to use the Lambert W Function to solve the equation $$x^{x^x}=2$$ for $x$? I've figured out how to solve these two similar equations: $$x^x=2$$ $$x^{x^{x+1}}=2$$
Franklin Pezzuti Dyer
  • 39,754
  • 9
  • 73
  • 166
0
votes
0 answers

What is Lambert W function?

I need to solve following equation for $w_1$: $$\mu=\frac{w_2}{w_1+w_2}\times\left(1-e^{-(w_1+w_2)t}\right)\times N$$ when i use matlab solver to solve this eqution for $w_1$, the result is as follows: $$w_1=\frac{2\times t\times w_2 +\mu \times…
0
votes
1 answer

What is the Lambert's solution of $x = q+x^m$?

In 1758, Lambert solved the trinomial equation $x = q+x^m$ by giving a series development for $x$ in powers of $q$ as stated in On the Lambert W function (2nd page). Looking for the series solution of $x = q+x^m$ and the detailed process by which…
0
votes
0 answers

Can these types of nonlinear equations be expressed in term of Lambert W function?

I have the following nonlinear equations which I wish to express in terms of Lambert W functions. $$bx^a\exp(cx)=y\tag{1}$$ $$ (1+x^c)^{-m}bx^a=y\tag{2}$$ where $x$ is the root in both equations. Is it possible to obtain closed form for the root…
0
votes
0 answers

A query involving Lambert W.

How do you solve for $x$ in $\frac{N^x}{1.2x(0.25-x)}>\log N$? It does not seen to succumb to standard techniques. Is there a good bound on $x$?
Turbo
  • 6,221
0
votes
1 answer

Is there a compendium of equations that are solvable in terms of Lambert W?

Such a compilation would list equations in the most general form possible along with their solutions using Lambert W, and a reference to the derivation. It would also mention equations for which no such solutions are possible.
Bill
  • 101
0
votes
1 answer

Solution in terms of Lambert $W$ function or infinite series

I've tried to solve $x\log x = 2(x-1)(1-ax)$ for $a\ge 0$. If $a=0$, I obtained $$x \log x = 2x-2\\ \to x(\log x-2)= -2 \\ \to x\log(xe^{-2}) = -2 \\ \to xe^{-2}\log(xe^{-2}) = -2e^{-2}\\ \to x =e^{W(-2e^{-2})+2}.$$ Similarly as in the above…