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

  • Thread starter Thread starter fisico
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
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
[tex]e^{ct}= e^{\frac{-cu}{b}}e^{\frac{a}{b}}= u[/tex]
so
[tex]e^{\frac{a}{b}}= ue^{\frac{cu}{b}}[/tex]
Now let [itex]x= \frac{cu}{b}[/itex] so [itex]u= \frac{b}{c}x[/itex] and
[tex]e^{\frac{a}{b}}= \frac{b}{c}xe^x[/tex]
Finally,
[tex]\frac{c}{b}e^{\frac{a}{b}}= xe^x[/tex]
so that
[tex]x= W(\frac{c}{b}e^{\rac{a}{b}})[/tex]
 
Thanks a lot. That's cool!