We now proceed to define functions such as $e^{z}$, $\sin z$, $\log z$, and so on, taking care that these definitions reduce to the conventional ones when $z$ becomes the real variable $x$.
The simplest such function is the integral power function
where $n$ is a positive integer or zero. This function is clearly defined by repeated multiplication according to the law
A polynomial is then defined as a linear combination of a finite number of such functions, where the constants of combination may he complex,
A rational function of $z$ is defined as the ratio of two polynomials.
By considering the limit of expressions of form (2.3) as $N \to \infty$ or, more generally, limits of the form
where $a$ may be real or complex, we are led to definitions of functions of a complex variable in terms of power series. The convergence of such series may be investigated by the ratio test red{(see the chapter on series in a calculus book)}, just as in the case of series of real terms. Thus, if we write
when that limit exists, the series converges when
Geometrically, this restriction is seen to require that $z$ lie inside a circle of radius $1 / L$ with center at the point $z=a$ in the complex plane. Inside this circle of convergence the series can be integrated or differentiated term by term, and the resultant series will represent the integral or derivative, respectively, of the represented function.
The exponential function $e^{z}$ is defined by the power series
This definition is acceptable, since the series converges and hence defines a function of $z$ for all real or complex values of $z$, and since this series reduces to the usual definition when $z$ is real. If we multiply the series defining $e^{z_{1}}$ and $e^{z_{2}}$ together term by term (as is permissible for convergent power series) the resultant series is found to be that defining $e^{z_{1}+z_{2}}$; that is, the relation
is true for complex values of $z_{1}$ and $z_{2}$. Consequently, if $n$ is a positive integer, we have also the relation
for all complex values of $z$.
The circular functions may be defined by the relations
together with the relations $\tan z = \sin z / \cos z$, and so on. Consequently, we have, from (2.10) and $e^{z}=\sum_{n=0}^{\infty} \frac{z^{n}}{n!}$ (2.7), the corresponding series definitions
which reduce to the proper forms when $z$ is real. From these series, or from the definitions $\sin z=\frac{e^{i z}-e^{-i z}}{2 i}$ and $\cos z=\frac{e^{i z}+e^{-i z}}{2}$ (2.10), it can be shown that the circular functions satisfy the same identities for complex values of $z$ as for real values. Equations $\sin z=\frac{e^{i z}-e^{-i z}}{2 i}$ and $\cos z=\frac{e^{i z}+e^{-i z}}{2}$ (2.10) imply the relation
which is known as Euler's formula.
With this relation equation $z=r(\cos\theta+i\sin\theta)$ (1.9) takes the form
In consequence of the (2.13) and $(e^z)^n = e^{nz}$ (2.9) we then have
But since $e^{iz} = \cos z+i\sin z$ (2.12) also implies the relation
$ e^{i n \theta}=\cos n \theta+i \sin n \theta, $ $ (\cos \theta+i \sin \theta)^{n}=\cos n \theta+i \sin n \theta, \tag{2.15} $and hence may rewrite $z^n=r^n(\cos\theta+i\sin\theta)^n$ (2.14) in the form
Geometrically, (2.16) shows that if $z$ has the absolute value $r$ and the angle $\theta$, then $z^{n}$ has the absolute value $r^{n}$ and the angle $n \theta$, if $n$ is a positive integer.
In a similar way we find that if $z_{1}=r_{1} e^{i \theta_{1}}$ and $z_{2}=r_{2} e^{i \theta_{2}}$, then
That is, if $z_{1}$ and $z_{2}$ have absolute values $r_{1}$ and $r_{2}$ and angles $\theta_{1}$ and $\theta_{2}$, respectively, then $z_{1} z_{2}$ has the absolute value $r_{1} r_{2}$ and the angle $\theta_{1}+\theta_{2}$, and $z_{2} / z_{1}$ has the absolute value $r_{2} / r_{1}$ and the angle $\theta_{2}-\theta_{1}$. In particular, we notice that since
the multiplication of any complex number $z$ by a number of the form $e^{i \alpha}$, where $\alpha$ is real, is equivalent to rotating the vector representing the number $z$ through an angle $\alpha$ in the complex plane.
The hyperbolic functions are defined, as for functions of a real variable, by the equations
and by the equations $\tanh z = \sinh z / \cosh z$, and so on. Consequently, we have also
From these definitions it can be shown that hyperbolic functions of a complex variable satisfy the same identities as the corresponding functions of a real variable. By comparing $\sin z=\frac{e^{i z}-e^{-i z}}{2 i}$ and $\cos z=\frac{e^{i z}+e^{-i z}}{2}$ (2.10) with $\sinh z=\frac{e^{z}-e^{-z}}{2}$ and $\cosh z=\frac{e^{z}+e^{-z}}{2}$ (2.19) for circular and hyperbolic functions, we obtain in particular the relations
relating the circular and hyperbolic functions.
The results so far obtained permit us to express the functions considered in terms of their real and imaginary parts as follows:
We next define the complex logarithmic function as the inverse of the exponential function. Denoting this function temporarily by $\operatorname{Log} z$, the equation
To express $\operatorname{Log} z$ in terms of its real and imaginary parts, we write
after which $z=e^w$ (2.24) gives
$ z=x+i y=e^{u+i v}=e^{u} e^{i v}=e^{u} \cos v+i e^{u} \sin v. $Hence, equating real and imaginary parts, we obtain
Solving for $u$ and $v$, there follows
$ e^{2 u}=x^{2}+y^{2}=|z|^{2}=r^{2}, \quad \tan v=\frac{y}{x}=\tan \theta, $ $ u = \log r = \log |z|, \quad v=\theta, \tag{2.27} $where $r$ represents, as usual, the absolute value of $z$ and $\log r$ is the ordinary real logarithm, whereas $\theta$ is a particular choice of the infinitely many angles (differing by integral multiples of $2\pi$) which may be associated with $z$. Thus we have obtained the result
To emphasize the fact that $\theta$ is determinate only within an integral multiple of $2 \pi$, we may here denote that particular value of $\theta$ which lies in the range $0 \leq \theta <2 \pi$ by $\theta_{P}$, and may speak of this value as the principal value of $\theta$ for the logarithm,
Then any other permissible value of $\theta$ is of the form $\theta=\theta_{P}+2 k \pi$, when $k$ is integral, and $\operatorname{Log} z=\log|z|+i\theta$ (2.28) becomes
Thus it follows that the function $\operatorname{Log} z$, defined as the inverse of $e^{z}$, is an infinitely many-valued function. For example, if $z=i$, there follows $|z|=1$ and $\theta_{P}=\pi / 2$, and hence
The value corresponding to $k=0$ is frequently called the principal value of the logarithm.
If, in a particular discussion, $z$ is restricted to real positive values, say $z=x$, there follows $|z|=x$ and $\theta_{P}=0$, and hence, from $\operatorname{Log} z=\log z+i(\theta_p+2k\pi)$ (2.30),
Thus the complex logarithm of a positive real number may differ from the usual real logarithm by an arbitrary integral multiple of $2 \pi i$. In order to conform with conventional usage, henceforth we will identify the complex logarithm $\operatorname{Log} z$ with the real logarithm $\log z$ when, throughout a given discussion, $z$ is real and positive, by taking $k=0$ in (2.32) in such a case. In the more general case it is also conventional to write $\log z$ in place of $\operatorname{Log} z$, with the understanding that unless $z$ is to take on only real positive values, $\log z$ is to be considered as multiply valued. Thus we will write
in place of $\operatorname{Log} z = \log |z|+i(\theta_{P}+2 k \pi)$ (2.30), and avoid resultant contradiction when $z$ is a positive real variable by taking $k=0$.
Suppose now that for a given point $z_{1}$ in the complex plane we choose a particular value of $k$ in $\log z=\log |z|+i(\theta_{P}+2 k \pi)$ (2.33), say $k=0$, and hence determine a particular value of $\log z_{1}$. If a point $z$ moves continuously along a path originating at $z_{1}$, the value of $\log z$ then varies continuously from the initial value $\log z_{1}$. In particular, if $z$ traverses a closed path surrounding the origin in the positive (counterclockwise) direction and returns toward the initial point, it may be seen that the angle $\theta$ increases by an amount approaching $2 \pi$; and hence as the circuit is completed the logarithm is increased by $2 \pi i$, the real part of the logarithm returning to its original value. This statement is true, however, only for a path enclosing the origin $z=0$. If now the point $z$ continues to retrace its first path, the logarithm is now given by a different function or, more precisely, by a different "branch" of the same function. That is, if we write
$ (\log z)_{k}=\log |z|+i(\theta_{P}+2 k \pi) \quad (0 \leq \theta_{P} < 2 \pi), $and if on the first circuit $\log z$ is determined (with $k=0$) by the branch $(\log z)_{0}$, then, if $\log z$ is to vary continuously, on the second circuit $\log z$ must be determined by the branch $(\log z)_{1}$, corresponding to $k=1$. The point $z=0$, which must be enclosed by the circuit if transition from one branch to another occurs, is known as a branch point. We may say that the function $\log z$ has infinitely many branches with a single finite branch point at $z=0$.
The generalized power function $f(z)=z^{a}$, where $a$ may be real or complex, is now defined in terms of the logarithm by the equation
If $z$ is considered to be real and positive and $a$ is real, this definition is clearly in accord with the usual definition if the logarithm of a positive real number is taken to be real. If $a$ is a positive integer, this definition must be consistent with $z^n = r^n e^{i \theta n}$ (2.14). To see that this is so, we write $a = n$, where $n$ is an integer, and obtain from (2.34)
$ z^{n}=e^{n\big(\log r+i(\theta_{P}+2 k \pi)\big)}=e^{n \log r} e^{i n \theta_{P}} e^{2 k \pi n i} \quad (k=0, \pm 1, \pm 2, \ldots). $But since $k$ and $n$ are integers, we have
$ e^{2 k n \pi i}=\cos (2 k n \pi)+i \sin (2 k n \pi)=1, $and hence there follows, in this case,
This result is in accordance with $z^n=r^n e^{in\theta}$ (2.14), since
$ e^{i n \theta}=e^{i n(\theta_P +2 k \pi)}=e^{i n \theta_P}. $More generally, if $a$ is a real rational number, we can write
$ a=\frac{m}{n}, $where $m$ and $n$ are integers having no common factor. Then $z^a=e^{a\log z}$ (2.34) takes the form
$ z^{\frac{m}{n}} = e^{\frac{m}{n} \log r} e^{i \frac{m}{n} \theta_P} e^{2 k \frac{m}{n} \pi i} \quad (k=0, \pm 1, \pm 2, \ldots) $or
$ z^{\frac{m}{n}} = \big(r^{\frac{m}{n}} e^{i \frac{m}{n} \theta_P}\big) e^{2 k \frac{m}{n} \pi i} \quad (k=0, \pm 1, \pm 2, \ldots). $If we remember that $m$ and $n$ are given integers, whereas $k$ is an arbitrary integer, we can easily see that as $k$ takes on any $n$ successive integral values, say $(k=0,1,2, \ldots, n-1)$, the factor $e^{2 k \frac{m}{n} \pi i}$ will take on $n$ corresponding different values, but that if further values of $k$ are taken the $n$ values so obtained are merely repeated periodically. Hence it follows that for any nonzero value of $z$ the function $z^{m / n}$ has exactly $n$ different values given by
It may be seen also that the function $z^{m / n}$ can be considered as having exactly $n$ branches, such that if we restrict $\theta_{P}$ between $0$ and $2 \pi$, and if a point traverses a closed contour including the origin (so that $\theta$ changes by $2 \pi$), then a continuous variation of $z^{m / n}$ is obtained only through transition from one branch to another. We may verify further that if such a closed contour is traversed exactly $n$ times, starting initially with a certain branch, the transition from the $n^\text{th}$ branch is back to the initial branch. The point $z=0$ is again a branch point.
As an example, suppose that $m / n = 2/3$, and that a point $z$ traverses the unit circle in the positive (counterclockwise) direction, starting at the point $z=1$. If we arbitrarily start out on the branch $k=0$ and note that for $z=1$ there follows $r=1$, $\theta_{P}=0$, the initial value of $z^{2/ 3}$ at $z=1$ is given by $1$. As the end of a circuit is approached, the angle $\theta_{P}$ approaches $2 \pi$, and as $z \to 1$ the power $z^{2/3}$ approaches the value $e^{i (2/3)(2 \pi + 0)}=e^{(4/3) \pi i}$. In order that $z^{2/3}$ may vary continuously as the point $z=1$ is passed, and hence $\theta_{P}$ drops abruptly to zero and then again increases, we must now determine $z^{2/3}$ from the second branch for which $k=1$, since this branch assumes at $\theta_{P}=0$ the value approached by the first branch when $\theta_{P} \to 2 \pi$. As the end of the second circuit is approached and again $z \to 1$, the power $z^{2/ 3}$ now approaches the value $e^{i (2/3)(2 \pi+2 \pi)}=e^{(8/3)\pi i}$; and as this point is passed, the transition to the third branch ($k=2$) must occur. Finally, as the end of the third circuit is approached and once more $z \to 1$, the power $z^{2 / 3}$ approaches the value $e^{i (2/3)(2 \pi + 4 \pi)}=e^{4\pi i}=1$, and hence (for continuity) a transition back to the first branch ($k=0$) must take place. The three values of $z^{2 \xi}$ at $z=1$ are
$ 1, \quad \cos \frac{4 \pi}{3}+i \sin \frac{4 \pi}{3} = \frac{-1-i\sqrt{3}}{2}, \quad \cos \frac{8 \pi}{3}+i \sin \frac{8 \pi}{3} = \frac{-1+i\sqrt{3}}{2}. $In the general case when $a$ may be complex, of the form
$ a=a_{1}+i a_{2}, $where $a_{1}$ and $a_{2}$ are real, $z^a=e^{a\log z}$ (2.34) becomes
It is apparent that, in general, the function $z^{a}$ is infinitely many-valued, with $z=0$ as a branch point. If $a_{2}=0$ and $a_{1}$ is rational, then only a finite number of branches exist; in particular, if $a_{2}=0$ and $a_{1}$ is integral the function is single-valued and $z=0$ is not a branch point.
In place of choosing as the principal value of $\theta$ that value which is in the interval $(0,2 \pi)$, as in the case of the logarithmic function, one may, for example, equally well adopt the convention $-\pi<\theta_{P} \leq \pi$ in the case of the power function. Then transition from branch to branch will take place along the negative real axis. The choice to be preferred will depend upon the particular application involved.
The generalized exponential function $f(z)=a^{z}$, where $a$ may be real or complex, is defined similarly by the equation
If we denote by $\alpha_{P}$ the principal value of the angle corresponding to $a$, such that $0\leq \alpha_{P}<2 \pi$, there follows
Although this function is again apparently infinitely many-valued, it is seen that here the ambiguity arises only in the choice of the angle to be associated with the constant $a$, and not upon the specification of the angular position of the point $z$ in the plane. That is, here there is no possibility of a continuous transition from an expression corresponding to a given value of $k$ to one corresponding to a second value, as the result of motion of a point $z$ around a
curve in the complex plane. Thus, in this sense, each choice of $k$ can be considered as determining a separate function, rather than a particular branch of a single multivalued function. In any given problem, only one such definition is needed. It is convenient to take $k=0$, and hence write
We notice in particular that if $a=e$ (and hence $\alpha_{P}=0$), the definition (2.40) reduces to $e^z=e^x(\cos y+i\sin y)$ (2.22). This is the reason for choosing the particular value $k=0$.
Finally, to conclude the list of elementary functions, we consider the inverse circular and hyperbolic functions. In the case of the inverse sine function, the equation
If we make use of the definition $\sin z=\frac{e^{iz}-e^{-iz}}{2i}$ (2.10b), this equation takes the form
$ z=\frac{e^{iw}-e^{-iw}}{2 i}, $ $ e^{2 i w} - 2 i z e^{i w} - 1 = 0. \tag{2.43} $Equation (2.43) is quadratic in $e^{i w}$, with the solution
$ e^{i w}=i z+(1-z^{2})^{1/ 2}. $Solving this result for $w=\sin ^{-1} z$, there follows finally
It is important to notice that if $z \neq \pm 1$ the quantity $(1-z^{2})^{1/2}$ has two possible values. Then corresponding to each such value the logarithm has infinitely many values. Hence, for any given value of $z$ the function $\sin^{-1} z$ has two infinite sets of values. This is, of course, already known to be the case when $z$ is real and numerically less than unity so that $\sin^{-1} z$ is real. For example, we have the values $\sin^{-1} \frac{1}{2}=\frac{\pi}{6}+2 k \pi$ or $\frac{5 \pi}{6}+2 k \pi$, where in either case $k$ may take on arbitrary integral values. In a later section it will be shown that $\sin^{-1} z$ has branch points at $z= \pm 1$.
We may verify that $\sin ^{-1} z = \frac{1}{i} \log \big(i z+(1-z^{2})^{1/ 2}\big)$ (2.44) gives the known values for $\sin^{-1} \frac{1}{2}$ by making the calculations
$ \begin{aligned} \sin^{-1} \frac{1}{2} &= \frac{1}{i} \log \Big(\frac{i}{2} \pm \frac{\sqrt{3}}{2}\Big)\\ &= \frac{1}{i}\Bigg(\log \sqrt{\Big(\frac{1}{2}\Big)^{2}+\Big(\frac{\sqrt{3}}{2}\Big)^{2}}+i\Big(\tan^{-1} \frac{1/2}{\pm \sqrt{3}/2} + 2 k \pi\Big)\Bigg)\\ &= \left\{\begin{array}{l} \frac{1}{i}\bigg(\log 1+i\Big(\frac{\pi}{6}+2 k \pi\Big)\bigg) = \frac{\pi}{6}+2 k \pi\\ \, \\ \frac{1}{i}\bigg(\log 1+i\Big(\frac{5 \pi}{6}+2 k \pi\Big)\bigg) = \frac{5 \pi}{6}+2 k \pi \end{array}\right. \quad (k=0, \pm 1, \pm 2, \ldots). \end{aligned} $In an entirely analogous way, expressions may be obtained for the other inverse functions. The results may be written in the form
The functions considered in this section are the basic elementary functions. Any linear combination of such functions or any composite function defined in terms of such functions is also known as an elementary function.
The derivative of a function of a complex variable is defined, as in the real case, by the equation
when the indicated limit exists. It is readily verified that the derivative formulas established for elementary functions of a real variable are also valid for the corresponding functions of a complex variable, as defined in this section.
Problems
Express the following quantities in the form $a+i b$, where $a$ and $b$ are real:
- $(1+i)^{3}$,
- $\dfrac{1+i}{1-i}$,
- $e^{\pi i/ 2}$,
- $e^{2+\pi i / 4}$,
- $\sin \Big(\frac{\pi}{4}+2 i\Big)$,
- $\cosh \Big(2+\frac{\pi i}{4}\Big)$.
Answers
- $-2+2 i$.
- $0+i$.
- $0+i$.
- $\dfrac{e^{2}}{\sqrt{2}}+\dfrac{e^{2}}{\sqrt{2}} i$.
- $\dfrac{\cosh 2}{\sqrt{2}}+\dfrac{\sinh 2}{\sqrt{2}} i$.
- $\dfrac{\cosh 2}{\sqrt{2}}+\dfrac{\sinh 2}{\sqrt{2}} i$.
Prove that the functions $\sin z$ and $\cos z$ are periodic, with real period $2\pi$, whereas $e^{z}$, $\sinh z$ and $\cosh z$ are periodic, with pure imaginary period $2 \pi i$. What are the periods of the other circular and hyperbolic functions?
Answers
$\sin z$, $\cos z$, $\sec z$, and $\csc z$ have period $2 \pi$; $\tan z$ and $\cot z$ have period $\pi$; $\sinh z$, $\cosh z$, $\operatorname{sech} z$, and $\operatorname{csch} z$ have period $2 \pi i$; $\tanh z$ and $\operatorname{coth} z$ have period $\pi i$.Use the series definitions to obtain expressions for the derivative of $e^{z}$, $\sin z$, $\cos z$, $\sinh z$, and $\cosh z$.
Determine all possible values of the following quantities in the form $a+i b$, and in each case give also the principal value:
- $\log (1+i)$,
- $(i)^{3 / 4}$,
- $(1+i)^{1 / 2}$.
Answers
- $\log \sqrt{2}+i\Big(\frac{\pi}{4}+2 k \pi\Big)$, where $k$ is any integer; principal value is $\log \sqrt{2}+\frac{\pi i}{4}$.
- $\cos \frac{3 \pi}{8}(1+4 k)+i \sin \frac{3 \pi}{8}(1+4 k)$, where $k=0,1,2,3$; principal value is $\cos \frac{3 \pi}{8}+i \sin \frac{3 \pi}{8}$.
- $\sqrt[4]{2}\big(\cos \frac{\pi}{8}(1+8 k)+i \sin \frac{\pi}{8}(1+8 k)\big)$, where $k=0,1$; principal value is $\sqrt[4]{2}\big(\cos \frac{\pi}{8}+i \sin \frac{\pi}{8}\big)$.
Express the roots of the equation $z^{4}+2 z^{2}+2=0$ in the form $a+i b$.
Answer
$z = \sqrt[4]{2}(\cos \alpha+i \sin \alpha)$, where $\alpha=\frac{3 \pi}{8}, \frac{5 \pi}{8}, \frac{11 \pi}{8}, \frac{13 \pi}{8}$.Express the function $z^{\pi}$ in the form given by equation (2.37)
$ z^{a} = r^{a_{1}} e^{-a_{2}(\theta_{P}+2 k \pi)} e^{i\big(a_{2} \log r+a_{1}(\theta_{P}+2 k \pi)\big)} $and also find the principal value of this function when $z=(1+i) / \sqrt{2}$, in the form $a+i b$.
Answer
$z^{\pi}=r^{\pi}\big(\cos \pi(\theta_{P}+2 k \pi)+i \sin \pi(\theta_{P}+2 k \pi)\big)$, where $z=r e^{i \theta}$; $\cos \frac{\pi^{2}}{4}+i \sin \frac{\pi^{2}}{4}$.Derive equations $\tan^{-1}= \frac{i}{2}\log \frac{1 - iz}{1 + iz}$ (2.45c) and $\sinh^{-1}= \log\big(z + (1 + z^2)^{1/2}\big)$ (2.46a).
Determine all possible values of the quantities
- $\sin ^{-1} 2$,
- $\tan ^{-1}(2 i)$.
Answer
- $\big(\frac{\pi}{2}+2 k \pi\big) \pm i \log (2+\sqrt{3})$, where $k$ is any integer.
- $(2 k+1) \frac{\pi}{2}+i \log \sqrt{3}$, where $k$ is any integer.