Lambert's W Function


By Brad Rodgers on Sunday, August 05, 2001 - 07:16 am:

I've recently been working with the Lambert W function. I think I might have found a way to calculate the W function, but I also think the way probably contains an ommission of some sort. Anyways, here's the proof.

The definition of the W function is

y=W(z) if yey =z. Let y=ix.

ixeix =ix(cos(x)+isin(x))=-xsin(x)+ixcos(x)

Let z=a+ib,

a=-xsin(x)
b=xcos(x)

Then,

a2 +b2 =x2 sin2 (x)+x2 cos2 (x)

=x2 (sin2 (x)+cos2 (x))

=x2

Thus

x=±(a2 +b2 )1/2 =±|z|

So, y=W(z)=±i|z|. Of course this proof assumes that W(z) has a complex solution. If W(z) has a complex solution, it is given by ±i|z|, though. There are two problems I've noticed so far.

a) This doesn'T seem like it would have not been noticed.

and b) It's rather late, even here in America.

Other than these though, I don't really see a flaw. Is there one?

Thanks,

Brad


By Dan Goodman on Sunday, August 05, 2001 - 01:46 pm:
I think the problem is that although z=a+ib using your a=-xsin(x) b=xcos(x), there's no guarantee that a and b are real numbers. Given that, |z |2 a2 + b2 in general.

However, if there is a pure imaginary solution to y ey z (i.e. Re(y)=0) then your method will find it because then x will be a real number. I don't think this will happen very often though, because it requires that i|z| ei|z|=z which happens if and only if arg(z)=π/2+|z|. You could actually plot this using 2d polar coordinates as r=θ-π/2 for θ>π/2. It's just a spiral. In other words, the set of complex points for which your formula works is a spiral. Here's what it looks like:


Spiral


By Brad Rodgers on Sunday, August 05, 2001 - 05:42 pm:

I follow you on most of that, but why shouldn't a and b be real if we explicitly define a=Re(z) and b=Im(z)? Are they quaternions? Also, if the series for sine and cosine are defined for the whole complex plane, why shouldn't sin2 x+cos2 x=1 even for complex x?

Is there any other information about the W function that is known?

One more: are there 'z's such that W(z) does not exist? (Or at least is not a complex number)

Thanks,

Brad


By Dan Goodman on Sunday, August 05, 2001 - 09:40 pm:

Brad, we could explicity define a=Re(z) and b=Im(z), but then it would be wrong to say that a=-x.sin(x) and b=x.cos(x) because x need not be a real number. It is true that sin2 z+cos2 z=1 for all z in the complex plane, but this still doesn't prove what you wanted. Does that explain it? I don't know much more about the W (sometimes called product logarithm) function I'm afraid.


By Brad Rodgers on Monday, August 06, 2001 - 03:47 am:

It is easy to seperate

(x+iy)ex+iy =a+ib

into real and imaginary parts, and it comes out to be

a=xcos(y)-ysin(y)
b=xsin(y)+ycos(y)

An interesting consequence of this is that for a given y,

[(da/dx)2 +(db/dx)2 ]=1

So x is equal to the length of a curve generated by putting y at it's proper value.

I would doubt that the two equations giving values for a and b above can be solved, but could a series expansion be made out of them?


By Dan Goodman on Monday, August 06, 2001 - 03:27 pm:
I'm not sure what you mean by getting a series expansion from the equations for a and b. However, I did a bit of messing around in Mathematica, and it seems that the following gives a series for W(x) about 0:

W(x)= n=1 (-1 )n+1 nn-1 xn /n!

The radius of convergence seems to be 1/e (Mathematica gives correct numerical evaluations for |z|<1/e but for z=1/e diverges). However, all that is conjecture based on numerical approximations.

Hope that helps.