Complex functions
For real variables, a function is a rule assigning a real number to an element of the domain of . A function of a complex variable (a complex function) assigns a complex number given by to a complex number .
Complex polynomials
A complex polynomial of degree is an expression of the form,
here, and are complex constants and is a complex variable. The Fundamental Theorem of Algebra asserts that every nonconstant, singlevariable polynomial with complex coefficients, has at least one root. Note that this includes real polynomials since every real number is a complex number with imaginary part equal to 0 . In general, an degree polynomial will have roots (in some cases these are repeated roots so that the number of solutions is less than ). Moreover, any polynomial can be factorised as follows
where are the (complex) roots. Even if the coefficients in Eq. (7.13) are real, the roots can still be complex. However, in this case, the roots occur in complex pairs, i.e. if is complex, will also be a root. A simple example is
where the roots and are complex conjugates. It follows that if is a polynomial with real coefficients of degree and is odd, that there will be at least one real root.
Proof: the roots of complex polynomials with real coefficients occur in complex conjugate pairs
Suppose that is a root of as defined in Eq. (7.13) with real coefficients . Then,
Taking the complex conjugate of the above equation yields
Since the coefficients are assumed to be real then
Therefore, Eq. (7.16) can be written as
comparing Eqs. (7.15) and (7.17), we see that is also a root of .
For the case of a polynomial with real coefficients therefore, any root is real or one of a complex conjugate pair of roots. And so if is a complex root, then another root, say is equal to . Then
gives a real quadratic. For example, the quartic is factorised as follows (see Example 7.3 for the factorisation),
The first two factors of Eq. (7.18) are complex conjugates of each other so their product is a real quadratic,
Similarly, , therefore
In general, any real polynomial can be factorised into a product of real linear and real quadratic terms. The linear factors are associated with real roots and the quadratic factors with complex conjugate pairs of roots.
Example 7.2 Find the cube roots of 1.
Solution We are looking for roots with the property
Note that there are more than one ways to go about solving for the roots. Here, we choose to use DeMoivre's theorem [Eq. (7.10)]. We first express the RHS of (7.19) in polar form, where and where ; this yields
Taking the cube roots of both sides
where we have used DeMoivre's theorem. In Eq. (7.21), can take any integer value (including 0). Here, we expect at most 3 roots and so it is customary to choose 3 consecutive values of , e.g. 0,1 , and 2 . Any other value of yields a root that repeats one of the ones already determined. And so, for ,
for ,
and for ,
Example 7.3 Factorise the complex polynomial .
Solution Quartic polynomials can be difficult to solve, however, in this case can be recast as quadratic equation for ,
This can be solved via the standard formula for the roots of a quadratic,
It is convenient to rewrite this in terms of complex exponentials,
Next, we want to solve
an obvious solution is . Another solution is . To see this,
Similarly, and are solutions to . Accordingly, the four roots of are
has the factorised form
or
where the complex exponentials have been converted into Cartesian form (the roots are shown in the Argand diagram in Fig. 7.1).
Complex power series
As with real numbers, powers of complex numbers are defined through multiplication,
For example, if ,
Negative powers can be defined by the reciprocal,
Figure 7.1: The roots from Example 7.3 shown on the Argand diagram.
Complex power series can be defined in the same way as for real numbers
where is an infinite list of complex numbers. The notion of absolute convergence and the ratio test carry through - here absolute values are replaced with the complex modulus. Such a series converges absolutely for and diverges for where is the radius of convergence given by a positive constant. Recall that if a power series is expanded around the point and the radius of convergence is , then the set of all points such that is a circle called the boundary of the disk of convergence (refer to Subsec. 6.2.3). We look at some examples next.
Example 1: Consider a complex series example which corresponds to the real example given in Eq. (6.49) in Chapter 6. The power series for the function , expanded around , is simply
and has radius of convergence 1 (use the ratio test). The series diverges at every point on the boundary with as is never zero.
Example 2: Recall the power series for given by Eq. (6.50) in Chapter 6. The power series for , expanded around is
and has radius of convergence 1 (use the ratio test) and diverges for (as can be seen by inspection) but converges for all other points on the boundary. This is non-trivial to see. For any in the unit circle, with . Let us apply the Dirichlet test (refer to Subsec. 6.2.2) which can be extended to complex numbers in the following form:
Theorem (Dirichlet test)
If is a sequence of real numbers satisfying as and a sequence of complex numbers that has bounded partial sums, then the series converges.
Here and . Clearly the first condition is satisfied. For the second one we need to have
for all . But,
which is satisfied for every in the circle!
In conclusion, the series converges for every with other than , and it diverges for .
Example 3: The power series
has radius of convergence 1 (use ratio test) and converges everywhere on the boundary absolutely.
Complex exponential
Recall that the Maclaurin series for the exponential [see Eq. (6.20)] is valid for all real , i.e. . Define the exponential of a complex number via the complex series,
It follows that defines a complex function. This converges for any complex , i.e. . Writing gives
using Euler's formula. Note also that the exponential obeys the addition property
as for real numbers. And as for real numbers, we will use and interchangeably. The exponential is a periodic function with period ; from the periodicity of trigonometric functions, and using Eq. (7.26), we find
It follows that the complex exponential, in sharp contrast with the real exponential, is not 1 - 1. It also follows from the definition of the exponential function
The periodicity of the exponential function results in the complex logarithm (see below) being multivalued.
Complex sine and cosine
We have already seen in Eqs. (7.11) and (7.12) how the cosine and sine functions can be expressed in terms of exponentials. In Eqs. (7.11) and (7.12), is taken to be real. The definitions can be extended to any complex number :
On the multivaluedness of the complex logarithm
We have seen that for real numbers, the natural logarithm is the inverse function of the exponential so that . In contrast with the real logarithm function which is only defined for positive real numbers, the complex logarithm is defined for all nonzero complex numbers, but at a price: the function is not single-valued. This has to do with the periodicity (7.27) or, equivalently, with the multivaluedness of the (recall that unlike which is single-valued, is not because for a given complex number , the number represents an infinite number of possible values).
By analogy with the real natural logarithm, we define the complex logarithm as an inverse to the complex exponential function, . In other words, we say that a logarithm of a nonzero complex number , is any complex number such that . We define the function by
From the periodicity (7.27) of the exponential function it follows that if so is
for any integer , i.e. if we also have . Therefore we see that is a multivalued function .
Consider now the polar form . This can be rewritten as by direct substitution in Eq. (7.29) which gives,
Taking logarithms on both sides
Be careful here as there could be a misconception: we keep on adding to and we get the same so if we were to view as a function of it appears to be single-valued, much like is single-valued: we can add to and we come back to the same . The problem with this reasoning is viewing as a function of . We have to look at as a function of . This function maps to , much like to . Let us try again: is single-valued and behaves like , i.e. adding to gives the same . But precisely for this reason, the inverse function is not single-valued. Now for the same we have infinite many 's! So let us now look at . If we view as a function of it would appear that is single-valued. But in fact we have to look at as a function of . Adding to brings us back to the same in the complex plane (after all is not affected by adding to ), but it changes the value of : for the same we have infinitely many possible values of ! The function is multivalued. where and are real. As is ambiguous (adding to does not change ), so is . Using the modulus and argument of , the complex logarithm can also be written in the form
where the ambiguity in the imaginary part is manifest. Clearly if then so is for any integer . From (7.31), we now see that is multivalued because its imaginary part is multivalued . As with , the ambiguity may be removed by restricting the range of . One can also define the principal value of the logarithm (denoted by Ln) by
with as we saw in Subsec. 7.1.1. Note that Ln 0 is left undefined since there is no complex number satisfying . Further, the function is discontinuous on the negative real axis; such discontinuities are called branch cuts. A branch cut is a curve in the complex plane across which a multivalued function is discontinuous. We explain the notion of branch cuts next by considering the complex logarithm.
Going back to Eq. (7.30), we note that the definition is fine for every point except 0 since the ln function has a singularity at that point. This is not the main concern here though. Consider going in a loop around the origin as in the unit circle below.
We see that,
Now, we start coming back around the circle toward -1 . If we get very close to -1 , the complex logarithm gets very close to
and so the function, as defined, is not continuous. Indeed, any time we go in a loop around the origin, anticlockwise, we change the value by (going in a loop around the origin clockwise, we change the value by ). To deal with this, we cut the plane along a line starting at the origin (this can be the negative real axis as shown with the red line in the figure below). The origin is known as the branch point.
Recall the point we made earlier: the multivaluedness of has to do with the periodicity the exponential or, equivalently, with the multivaluedness of the argument.
We can then define the complex logarithm everywhere else apart from the points on that line; this is known as a branch cut. With branch cuts, we can now define the complex logarithm on any suitably cut plane. The definition is unique up to a factor of . For two functions and we have
i.e. they are inverses of the exponential function where . For different integer , we obtain various functions , known as the branches of the complex logarithm. It follows that we can make the logarithm function single-valued in various regions of the complex plane by choosing a different branch of the argument function. For instance, we may choose as the principal value of the argument of instead of chosen in Subsec. 7.1.1. Again, the principal argument is single-valued but it is now discontinuous along the positive real axis. With this definition, the branch cut for the complex logarithm is along the real positive axis and, again, the origin is a branch point.
The multivaluedness discussed above raises of course some questions. In particular, whether or not earlier examples of complex functions we have seen involved multivaluedness and hence there is a need for branch cuts too. The answer is: they did not. As representative, consider . In the absence of a cut it is true that is multivalued. But the crucial point is that this does not lead to multivaluedness of the function, since
for all 's as seen earlier in this section. The same is true for , and so on. The only cases that we encounter where the function is multivalued, and hence a branch cut is needed, are , non-integer powers of (see below), and inverse complex trigonometric functions.
Powers
If we have which is defined up to integer values of . Therefore,
where we have used Eq. (7.30). For integer , the ambiguity in drops out since
Now, suppose where is not an integer; then
but like itself, this is ambiguous. The ambiguity in can be removed by fixing the ambiguity in . For example, choose
This, like is discontinuous on the negative real axis.