Differentiating and Integrating the Lambert W function

Click For Summary
The discussion centers on the differentiation and integration of the Lambert W function. The initial differentiation attempt using the chain and product rules is identified as incorrect, with the correct derivative expressed as w'(x) = 1/(e^w(x) + w(x)e^w(x)). The conversation highlights the ambiguity in the notation used for the derivative, emphasizing the distinction between dW(xe^x)/dx and dW(x)/dx. For integration, a method involving separation of variables is suggested, leading to the integral expression ∫W dx = ∫(W + 1)W e^W dW. Overall, the thread explores the complexities of working with the Lambert W function in calculus.
pierce15
Messages
313
Reaction score
2
Here was my thinking for differentiation (which, by the way, is wrong):

By the definition of the function, the following equations are equal:

$$W(xe^x)=x$$

By the chain rule and product rule:

$$\frac{dW}{dx}( e^x+xe^x ) =1$$
$$\frac{dW}{dx}=(e^x+xe^x)^{-1}$$

What is the error here? What is the correct way to differentiate it? Also, how would I integrate it?

P.S. Why is the fraction bar in the third equation bolder than in the second equation? They are typesetted the same way...
 
Physics news on Phys.org
Hey piercebeatz.

Basically you use the chain rule: d/dx f(g(x)) = g'(x)f'(g(x)).

Note that W(x) in this case is W(x*e^x) or W(g(x)) where g(x) = x*e^x.
 
you have found

w'(e^x+x e^x)=1/(e^x+x e^x)

you might want to start with

w(x) e^w(x)=x

to find

w'(x)=1/(e^w(x)+w(x) e^w(x))
 
The expression :
$$\frac{dW}{dx}=(e^x+xe^x)^{-1}$$ is true, but ambiguous.

Do not confuse :
$$\frac{dW(xe^x)}{dx}=(e^x+xe^x)^{-1}$$
and
$$\frac{dW(x)}{dx}=\frac{W(x)}{x(W(x)+1)}$$
 
JJacquelin said:
The expression :
$$\frac{dW}{dx}=(e^x+xe^x)^{-1}$$ is true, but ambiguous.

Do not confuse :
$$\frac{dW(xe^x)}{dx}=(e^x+xe^x)^{-1}$$
and
$$\frac{dW(x)}{dx}=\frac{W(x)}{x(W(x)+1)}$$

Looking back at the top, that was a pretty lousy use of the chain rule. I see what I should have done now.

Do you have any idea how to integrate it?
 
Have you tried using separation of variables?
 
^right very nice

\int W \text{ dx}=\int W \text{ d}(We^W)=\int (W+1)W e^W\text{ dW}
 
Last edited:
lurflurf said:
^right very nice

\int W \text{ dx}=\int W \text{ d}(We^W)=\int (W+1)W e^W\text{ dW}

Sorry what did you do there?
 
^As chiro suggested separation of variables, which is equivalent to the substitution

x=W(x)e^W(x)
 
  • #10
The LambertW integral :
 

Attachments

  • Wintegral.JPG
    Wintegral.JPG
    3.5 KB · Views: 420

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
5K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K