Derivative of Lambert W function.

Nowhere. But note that $$ \exp W(x) = \frac{W(x)\exp W(x)}{W(x)} = \frac{x}{W(x)}$$ Now use this in your expression to get the other expression.


You arrived correctly at

$$W'(x)=\frac{1}{x+e^{W(x)}}$$

Now, recalling that $x=W(x)e^{W(x)}$, then clearly $e^{W(x)}=x/W(x)$. Therefore,

$$\begin{align} W'(x)&=\frac{1}{x+e^{W(x)}}\\\\ &=\frac{1}{x+x/W(x)}\\\\ &=\frac{W(x)}{xW(x)+x}\\\\ &=\frac{W(x)}{x(W(x)+1)} \end{align}$$

as expected!


Another way to find the derivative of the Lambert function:

1) recall that W(x) is the inverse of $f(x) = xe^x$.

2) recall that if g(x) is the inverse of f(x), then $$g'(x)= \frac{1}{f'(g(x))}$$

For $f(x) = xe^x$, $f'(x) = xe^x + e^x = e^x(x+1)$

So, if $f(x) = xe^x$, and $g(x) = W(x)$ is its inverse, then $$g'(x) = \frac{1}{e^{W(x)}(W(x)+1)}$$

3) recall that $$e^{W(x)} = \frac{x}{W(x)}$$

Therefore, $$g'(x) = \frac{1}{\frac{x}{W(x)}(W(x)+1)}$$ $$= \frac{W(x)}{x(1+W(x))}$$

Tags:

Calculus