3
$\begingroup$

I am looking for a good approximation for the $W_0$ branch of the Lambert $W$ function. I am looking for values $0 < x < e$ only, so I expect something simpler than the general Taylor expansion. Thanks.

  • 1
    I'm extremely amused that we posted very similar questions about the same special function (albeit at different ends): http://math.stackexchange.com/q/27355/17782011-03-16

1 Answers 1

1

I don't know how simple you need it, and since you never said anything on how accurate you want your approximant to be (i.e., to how many correct decimal places should the approximant match the Lambert function?),

$W_0(z)\approx\ln(1+z)\frac{1+\frac{123}{40}z+\frac{21}{10}z^2}{1+\frac{143}{40}z+\frac{713}{240}z^2}$

should be good enough, which has a maximum error of around $1.6\times 10^{-4}$ for $z\in[0,e]$.

The rational portion here is a Padé approximant; probably one might do better with a minimax rational approximation, but I don't have the patience and inclination to derive it since your question's rather vague to begin with.

  • 0
    @Eelvex: It seems I am not so smart that I can solve the problem. So I made a new question [here](http://math.stackexchange.com/questions/27$0$29/system-of-equations-with-lambert-w-function) :)2011-03-14