Solving for t in Lambert W Function: a=bt+e^(ct)

  • Thread starter Thread starter fisico
  • Start date Start date
  • Tags Tags
    Function
fisico
Messages
28
Reaction score
0
How can I use the W function to solve for t?

a = bt + e^(ct),

where a,b,c,e are known constants. e is Euler's number. t is the unknown?

I have only seen examples where a = 0. Thanks.
 
Physics news on Phys.org
Do a little thinking and a little algebra to get it into the right form.
Lambert's W function is the inverse function to f(x)= xex so you have to change variables to get your equation into that form. From
a= bt+ ect, a- bt= ect. Okay, let u= a- bt. Then t= -(u-a)/b so
e^{ct}= e^{\frac{-cu}{b}}e^{\frac{a}{b}}= u
so
e^{\frac{a}{b}}= ue^{\frac{cu}{b}}
Now let x= \frac{cu}{b} so u= \frac{b}{c}x and
e^{\frac{a}{b}}= \frac{b}{c}xe^x
Finally,
\frac{c}{b}e^{\frac{a}{b}}= xe^x
so that
x= W(\frac{c}{b}e^{\rac{a}{b}})
 
Thanks a lot. That's cool!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top