In this chapter, we make precise some sloppy “symbolic” calculations of the first chapter. It turns out that identities like
Second, it will be shown through an example, how to find all solutions of some equations from the first chapter. The Wright ω function, which is of independent interest, will be of great help in doing this.
In the last part of this chapter, we study the branch difference function
When solving logarithmic equations in high school, we frequently used identities like
or
While these both are true when x and y are real, they fail to be true in general. Indeed, let us take
but
This shows that the second identity also fails, because it is a generalized version of the first one; but it can be seen otherwise. Take
On the other hand (by making use of (3.1)),
What goes wrong? We can see it by carefully analyzing the proof of the non-identity
While it is true, that
It is therefore very useful to find the exact form of the difference
We do not need to use the logarithm to see some confusing aspects of the “usual high school algebra” when extended to complex numbers.
It is seemingly okay to do the following calculation:
Using this “identity”, we infer, by putting
On the left-hand side, we might argue that
We have a sign mismatch here. Should we, instead, do the following?
This gives the answer which matches with (3.3). What is going on here? The problem is that at several points in the above calculations we used non-permitted branch choices. For example, if we had used
If we want to do the calculations correctly, we must recall that, by definition,
Here the principal branches are used for both the square root and the logarithm. Then
Thus
Again, we can see more closely where the problem appears by trying to do the proof:
We saw in the last subsection that
We therefore now start to study the function
It is not always true that
Let
Notice that
Thus the difference between z and
Hence
On the other hand, from the usual definition of the logarithm (see (2.3)) it is immediate that
Indeed, notice that if
With this function we have the universally true expression
The
Let us see how the unwinding number corrects the wrong identities we dealt with previously.
Until the end of this chapter, we will not need the notion of w- and z-planes; the arguments will be denoted by
Correcting
The non-identity
We should not be afraid; it is always true that
Here is the point where the unwinding number comes into the picture: the log of an exp must be corrected by
whence
Applying this to our example on p. 71, we get that
It can similarly be seen that
in particular,
Correcting
We saw that
The following chain of reasoning results in the correct answer:
Since the unwinding number is integer, and
After seeing elementary examples which show that care must be taken when proving formulas with complex functions, we turn to the Lambert function. In the first chapter we saw numerous identities satisfied by W. While they are true for the principal branch at positive real argument (where everything is real and even positive), there are troubles when we try to extend those identities to other branches and complex arguments. In this section we clarify this issue, and the unwinding number will be very handy in doing so.
Before we start, let us prove a simple identity which will be needed:
By the definition (3.6),
To find the form of (1.21) which would be valid on the whole plane, we take the logarithm of
Now, applying (3.7) for the second term, we have that
The term
Since
With this, (3.11) simplifies to
It turns out that the unwinding number of
and if k≠1, then
Let us prove these identities.
Notice that
This equals k when
Divide the first equation by the second one (given that
These equalities hold for arbitrary r, and, in particular, also when
Consequently,
This is so, because the image of R by the branches of Wk approach the horizontal lines of
so now
Using (3.13)-(3.14) with (3.12), we get that
The neat formula (1.23) holds only for real values, but in this section we extend it to the whole complex plane. Our statement is the following.
For all
where the branch index k must be chosen as follows. Let
If
if
if
if
if
if
if
if
if
if
if
Moreover, if
if
if
if
if
if
if
The proof
We look for an expression for
The solution of this equation is, by definition,
For the moment, we have that
We rewrite s as
Recall that
which is a particular case of the more general identity
see [25].
Now we therefore have that
and, similarly,
Upon substituting these into the expression of s, we see that
This and (3.16) yield the formula in our statement.
We still need to find the proper branch index k. Since the determination of k is elementary but laborious, we will consider only three particular, but representative, cases.
Let us suppose that
Next, let us suppose that
We now pick a case when
The rest of the cases can be seen similarly.
Some neat examples
To see how the theorem is applied, we deduce several special values for the Lambert function.
For example, the following special value for
Choose
Since
which confirms our result.
To see a complex special value, we present the following corollary.
To see this, substitute
The branch index is given by using case 3:
so
Similarly,
but then a jump on the branch comes:
Indeed,
thus
The reader has seen a large number of examples on the previous pages where the usual high school algebra was shown to be failing. Suspicion therefore arises whether the solutions presented for the equations in Section 1.1 are indeed correct. If we are interested in real solutions (and this is the case in most of the applications), we can still do the usual algebraic manipulations to get a correct answer – as it was done in Section 1.1. However, a careful analysis is necessary if we want to find all the solutions of a given equation. In this section we scrutinize equation (1.13) (for
We saw on p. 7 that
it does not hold true that
It turns out that the branch index depends on z. To find the most elegant way of solving (3.17), we introduce the Wright ω function.
The Wright omega function was introduced in 2002 by Robert M. Corless and David J. Jeffrey [43]:
Notice that this function takes real values on ℝ (see Figure 26). Because
FIGURE 26 The plot of
Moreover, ω is single-valued: for any fixed
ω solves
To see how to solve (3.17), we first take the exponential of both sides of (3.17):
and therefore
Firstly, recall (3.15). Replace z with ez in the second part of this formula:
We are well aware that
except when
In the exceptional case, we instead have that
so
there is no solution of (3.17) at all.
Hence,
Notice, that for any such z,
Because of this fact, the line L2 is called doubling line. For an illustration of L0 and L2, see Figure 27.
FIGURE 27 The lines L0 and L2.
The two solutions on L2 are
Let us collect what we have deduced: the equation
Expressing W in terms of ω
The omega function is defined in terms of W, but this relation can be reversed: the Lambert W can be calculated from ω in a nice and simple way. This is advantageous because the ω function is single-valued, while W is multi-valued. So, a simple parameterization of ω gives the value of W on an arbitrary branch.
We will prove the following statement:
Here
In fact, our presentation for the solutions of (3.17) already demonstrates the validity of our statement. If z is a non-zero complex number not belonging to L0 and L2, it comes that, as we saw,
In the last step, we used the fact that log refers to the principal branch, so
There are some subtleties in the mapping properties of ω which are good to see in detail. The following facts are easy to see:
This means that every horizontal strip of Figure 4 is mapped onto the corresponding area of Figure 13 (with the closures respected). In particular, ω maps ℂ onto ℂ*. Zero is excluded, because
The images of
We shall show now, that there is a value, which is taken twice by omega. In order to see this, we check the image of L0 and L2 by ω. On all the points of L2, the unwinding number is zero,; therefore
by (1.56). In particular,
Next, we determine
This is seen from (1.55). It follows that
For a visual illustration of
FIGURE 28 The plot of
The existence of the doubling line causes that ω is not the straight functional inverse of
The proof of this fact is elementary, although a bit tedious because of the discontinuity of omega on the L0 and L2 lines. Regarding the continuity, we have the following result:
ω is analytic except at
For
(a)
(b)
We refer to [43] for the proofs. In the same paper, we can find the following table of special values of omega.
The difference between two branches of the logarithm at the same point is a multiple of
This observation leads to the question about the branch difference of the Lambert W function2. We define
As the Lambert function satisfies the equation
Let
This equation has infinitely many solutions
Let us see why the branch difference function solves this equation. First, observe that
for all
From here, we can proceed in two ways. Either we substitute
Then these equations can be solved for
and
Take the exponential of both sides of the individual equations, and use the fact that
We still have to show that if x is a solution, then
If we want to show that
and try to show that
Substitute this and (3.24) into (3.23). It turns out that the resulting equation is solvable in terms of the W function:
This is what we wanted to prove.
There is another special equation which can be solved by the branch difference function, but now we only need the parameters
The equation
has a real solution for
In the equation coth is the hyperbolic cotangent:
and csch is the hyperbolic cosecant:
The proof is as follows. An inspection of Figure 29 shows that the function on the left-hand side of (3.25) is even in x, thus it suffices to consider only the set
FIGURE 29 The plot of
If z is from the interval
Since the left-hand side is strictly decreasing over the positive axis, it is enough to show that
By (3.22), the right-hand-side is rewritten as
(Care needs to be taken when manipulating the square roots.) We thus get that
With the same approach, substituting (3.26) into
Multiplying what we have got for
Finally, we remark that, upon substituting
equation (3.25) can be put in another form:
and the solution is then
The range of
In [91] the range of the function
was determined. This function maps ℂ onto the region of ℂ surrounded by the positive real and imaginary axes, and by the two curves
See Figure 30 where this region is depicted.
FIGURE 30 The range of the branch difference function
Computer algebra. We saw in this chapter that it is often suggested to unlearn our high-school routine when doing calculations with complex numbers, because usual identities might fail. At the dawn of computer programming, even professional programmers wrote erroneous codes. N. Higham [81] notes that it took five papers and three years to get the complex logarithm in the Algol 60 language right. H. Aslaksen [10] gave tests for users of mathematical software to check the capabilities of their systems. The introduction of the unwinding number and agreement on branch cuts of the usual inverse functions (
About the implementation of the Lambert function in Maple, see [89].
A physical application of equation (3.27). Although (3.27) seems to be rather artificial, it does have applications: it occurs in the study of dispersion equations for damped plasma oscillations. See [5] for details, especially around equation (15) there.