The Omega Constant has the approximate value
More to the point, it is defined, using the W-Function to be the principle solution to the equation
It is not easily solvable or invertible – no satisfying way to isolate w at least. My question is, given the above definition of w, how best to calculate it? And, in the process, we find a nice solution to a problem that’s bothered me for years.
One approach would be to re-write the equation in the form
Then, defining , we could use something akin to Newton’s Method to find the zeroes of the function. Defining
to some appropriate initial guess, Newton’s Method gives
Or, perhaps more simply,
Calculating successive values of will converge on the value of w. But I don’t find this very satisfying. Aside from being correct, the above formula doesn’t really relate to what’s going on. At least, it doesn’t seem to have any relationship to the problem at hand, except through the related calculus. Can we do better? Or at least, more interesting?
Consider taking the original equation, , and dividing each side by the exponential.
This immediately suggests the interesting substitution,
And this, in turn, suggests a possible solution. Define however you like. Say,
. (I only chose -1 for aesthetic reasons). Then define the sequence
Thus, for example,
Calculating successive values of will then construct that power tower, approaching it in the limit. So, at least we imagine,
will converge on w. Jumping into Mathematica, we find
And our belief seems justified. is very close to w, differing in the last few digits presented.
But at this point, you should notice that it took 100 steps to gain 24 correct digits. This is really quite slow.
This leads naturally to the question – just how slow?
Let’s define an error sequence, measuring the difference between our approximation and the real thing.
As converges to w, clearly
will go to zero. But, how fast? Rearranging, we have
Substituting in, becomes
Not the most enlightening of formulae. Rearranging,
But recall that w is defined such that . Note too, the Taylor approximation for
when x is very very close to zero,
Making both these substitutions, we have
So at each step, the sign of the error term changes, and the error is multiplied by a factor of w, effectively halving it at each step. This is why convergence is so slow. If w were closer to 1/10th, we would effectively be gaining a correct digit at every step. But w is only about 1/2. Much slower. For comparison, the earlier formula I gave approximately doubles the number of correct digits with every step.
But, while the performance of the formula is perhaps less than satisfying, I appreciate the structure and form of it much more than Newton’s solution.
It also suggests an interesting way of solving a problem that’s bothered me for a long time. Consider the equation
The above has three solutions for x, at x = 2, x = 4, and
This third solution has always puzzled me. I guess it’s not really sensible to ask what it’s doing there. But at the very least, what is it? How can I calculate it? The solution can be expressed nicely in closed form as
Where W(x) is the previously discussed W-function. But the previous calculation suggests another way of expressing the solution. Consider re-writing the original equation as
Again, this immediately suggests the power tower construction, which suggests that we apply a similar calculation as before.
Doing the appropriate calculations, we find
Which has good agreement with the previously stated value. But again, slow convergence. This sequence actually converges a little faster than the previous, because the coefficient on the error term is closer to 0.2 than 0.5, but they both converge in the same way. Slowly.
All very interesting.
Great math this time ’round. I like your step where you inferred e^(-e^(-e^…)). Clever, bro.
You should consider numbering your equations every so often. It makes it easier to discuss your proofs. It’s a habit my profs got me into that has served me well in the deceding years.
Comment by Ben — January 7, 2009 @ 4:52 pm
Thanks! Glad you liked it. ProductLog and the W function had popped up in a number of problems I’d been working on lately, so I thought it was worth a post.
As to equation numbering, you wouldn’t happen to know how to do that in LaTeX, would you? As is usual with these things, I generally know just enough to get myself into trouble, and little more.
- Fox
Comment by Fox — January 7, 2009 @ 6:07 pm
I haven’t used LaTeX since I graduated, 4 years ago.
You could have asked me then, but now I forget.
Comment by Ben — January 8, 2009 @ 1:21 am
[...] trig. Foxmaths seems preoccupied with calculating values that exist, and some that don’t. The value of omega: exists, but it takes so long to find! The solutions to (when we ignore the leftmost digits of [...]
Pingback by Carnival of Mathematics 47, where no, well… « JD2718 — January 17, 2009 @ 10:41 pm