Chapter 1 · Complex Numbers and Elementary Functions

1.2 Power Series and the Elementary Functions

Power series and their discs of convergence, and the functions they define: the exponential, the trigonometric and hyperbolic functions, the logarithm with its branches, and complex powers — together with the identities that survive in $\mathbb{C}$ and the ones that do not.

In real analysis $e^x$, $\sin x$ and $\log x$ are introduced in different ways — as the inverse of an integral, through geometry, through a limit — and their Taylor series come afterwards. In complex analysis the order is reversed: the series come first. A power series $\sum a_nz^n$ converges on a disc, the functions $e^z$, $\sin z$, $\cos z$ are defined by their series, and every property — the addition formulas, periodicity, Euler's formula $e^{i\theta}=\cos\theta+i\sin\theta$ — is proved from the series. The payoff is that these functions now live on the whole plane, where they reveal facts invisible on the real line: $e^z$ is periodic with the imaginary period $2\pi i$, $\sin z$ is unbounded, $\cos z=2$ has solutions, and the logarithm is not a single function at all but a family of branches.

The second half of the section is about exactly that multivaluedness. Because $e^z$ is periodic it has no global inverse; choosing an inverse means choosing a branch, and with branches the familiar identities $\log(zw)=\log z+\log w$ and $(z^a)^b=z^{ab}$ can fail. CSIR NET asks about radii of convergence (often with a $\limsup$ trap), behaviour on the boundary circle, solutions of $\sin z=w$ or $e^z=w$, and the values of expressions such as $i^i$ — and Part C options are full of identities that look right but are false for principal values.

Sequences and Series of Complex Numbers

Convergence in $\mathbb{C}$ is convergence in the plane with the distance $|z-w|$. All of the real theory (Unit 1, Chapter 2) carries over, because a complex sequence converges exactly when its real and imaginary parts do.

📘 Definition 1.8 — Convergence of sequences and series

A sequence $(z_n)$ in $\mathbb{C}$ converges to $z$ if for every $\varepsilon\gt0$ there is $N$ with $|z_n-z|\lt\varepsilon$ for all $n\ge N$. It is a Cauchy sequence if for every $\varepsilon\gt0$ there is $N$ with $|z_m-z_n|\lt\varepsilon$ for all $m,n\ge N$.

A series $\sum_{n\ge0}z_n$ converges to $S$ if its partial sums $S_N=\sum_{n=0}^{N}z_n$ converge to $S$; it converges absolutely if $\sum|z_n|$ converges. A convergent series that does not converge absolutely converges conditionally.

📐 Theorem 1.18 — Basic facts about complex series
  1. $z_n\to z$ iff $\operatorname{Re}z_n\to\operatorname{Re}z$ and $\operatorname{Im}z_n\to\operatorname{Im}z$.
  2. $\mathbb{C}$ is complete: every Cauchy sequence converges.
  3. An absolutely convergent series converges, and $\left|\sum z_n\right|\le\sum|z_n|$.
  4. If $\sum z_n$ converges then $z_n\to0$.
  5. The geometric series $\sum_{n\ge0}z^n$ converges iff $|z|\lt1$, and then its sum is $\dfrac1{1-z}$.

Proof. (1) follows from the inequalities $$\max(|\operatorname{Re}w|,|\operatorname{Im}w|)\le|w|\le|\operatorname{Re}w|+|\operatorname{Im}w|,$$ applied to $w=z_n-z$. (2) The same inequalities show that $(\operatorname{Re}z_n)$ and $(\operatorname{Im}z_n)$ are real Cauchy sequences; by completeness of $\mathbb{R}$ they converge, and (1) finishes. (3) For $M\gt N$, $|S_M-S_N|=\left|\sum_{n=N+1}^Mz_n\right|\le\sum_{n=N+1}^M|z_n|$, which is small when $\sum|z_n|$ converges (Cauchy criterion for the real series). So $(S_N)$ is Cauchy and converges by (2); the inequality follows by letting $N\to\infty$ in $|S_N|\le\sum_{n\le N}|z_n|$. (4) $z_N=S_N-S_{N-1}\to S-S=0$. (5) $S_N=\dfrac{1-z^{N+1}}{1-z}$ for $z\ne1$. If $|z|\lt1$, $|z|^{N+1}\to0$ and $S_N\to\frac1{1-z}$. If $|z|\ge1$, $|z^n|\ge1$ does not tend to $0$, so the series diverges by (4). ∎

📐 Theorem 1.19 — Root and ratio tests
Let $\sum z_n$ be a complex series and $L=\limsup_{n\to\infty}|z_n|^{1/n}\in[0,\infty]$. (a) If $L\lt1$ the series converges absolutely; if $L\gt1$ it diverges. (b) If $z_n\ne0$ and $\ell=\lim|z_{n+1}/z_n|$ exists, the same conclusions hold with $\ell$ in place of $L$. When $L=1$ (or $\ell=1$) the test gives no information.

Proof. (a) If $L\lt1$ choose $q$ with $L\lt q\lt1$; by definition of $\limsup$, $|z_n|^{1/n}\lt q$ for all large $n$, so $|z_n|\lt q^n$ and $\sum|z_n|$ converges by comparison with a geometric series. If $L\gt1$, then $|z_n|^{1/n}\gt1$ for infinitely many $n$, so $|z_n|\gt1$ infinitely often, $z_n\not\to0$, and the series diverges. (b) If $|z_{n+1}/z_n|\to\ell$ then $|z_n|^{1/n}\to\ell$ (by the standard inequalities $\liminf\left|\tfrac{z_{n+1}}{z_n}\right|\le\liminf|z_n|^{1/n}$ and $\limsup|z_n|^{1/n}\le\limsup\left|\tfrac{z_{n+1}}{z_n}\right|$ from Unit 1), so $L=\ell$. For $L=1$: $\sum\frac1n$ diverges and $\sum\frac1{n^2}$ converges. ∎

The root test is stronger than the ratio test: whenever the ratio limit exists the root limit exists and agrees, but not conversely. For conditionally convergent series — which is what happens on the boundary of a disc of convergence — we need a finer tool.

📐 Theorem 1.20 — Abel summation and Dirichlet's test
(a) Summation by parts. If $A_n=\sum_{k=0}^na_k$ then $\displaystyle\sum_{n=0}^{N}a_nb_n=A_Nb_N-\sum_{n=0}^{N-1}A_n(b_{n+1}-b_n)$.
(b) Dirichlet's test. If the partial sums $A_n$ of $\sum a_n$ (complex) are bounded, and $(b_n)$ is a real sequence decreasing to $0$, then $\sum a_nb_n$ converges.

Proof. (a) Put $A_{-1}=0$ and write $a_n=A_n-A_{n-1}$: $\sum_{n=0}^Na_nb_n=\sum_{n=0}^NA_nb_n-\sum_{n=0}^{N-1}A_nb_{n+1}$, which rearranges to the formula. (b) Let $|A_n|\le M$. Then $|A_Nb_N|\le Mb_N\to0$, and $\sum_n|A_n(b_{n+1}-b_n)|\le M\sum_n(b_n-b_{n+1})$, a telescoping sum equal to $Mb_0\lt\infty$, so the series in (a) converges absolutely. Hence $\sum_{n\le N}a_nb_n$ has a limit. ∎

Power Series and the Radius of Convergence

📘 Definition 1.9 — Power series and radius of convergence
A power series centred at $z_0$ is $\sum_{n\ge0}a_n(z-z_0)^n$ with $a_n\in\mathbb{C}$. Its radius of convergence is $R=\sup\{r\ge0:\ (a_nr^n)\text{ is bounded}\}\in[0,\infty]$, and $\{|z-z_0|\lt R\}$ is its disc of convergence. (The next theorem shows that $R$ is exactly the radius of the largest disc on which the series converges.)
📐 Theorem 1.21 — Cauchy–Hadamard
For the power series $\sum a_n(z-z_0)^n$, $$\frac1R=\limsup_{n\to\infty}|a_n|^{1/n}\qquad\left(\tfrac10=\infty,\ \tfrac1\infty=0\right).$$ The series converges absolutely for $|z-z_0|\lt R$, uniformly on every closed disc $|z-z_0|\le r$ with $r\lt R$, and diverges for $|z-z_0|\gt R$. Nothing is asserted on the circle $|z-z_0|=R$.

Proof. Apply the root test (Theorem 1.19) to $z_n=a_n(z-z_0)^n$: $\limsup|z_n|^{1/n}=|z-z_0|\cdot\limsup|a_n|^{1/n}$, which is $|z-z_0|/R'$, where $R'$ is defined by the formula. So the series converges absolutely when $|z-z_0|\lt R'$ and diverges when $|z-z_0|\gt R'$. Divergence means $a_n(z-z_0)^n\not\to0$; convergence gives bounded terms. Comparing with Definition 1.9, $R=R'$. For uniformity, let $r\lt\rho\lt R$. Since $\sum|a_n|\rho^n$ converges, its terms are bounded, say $|a_n|\rho^n\le M$; then for $|z-z_0|\le r$, $|a_n(z-z_0)^n|\le M(r/\rho)^n$, and the Weierstrass M-test with the convergent geometric series $\sum M(r/\rho)^n$ gives uniform convergence. ∎

📐 Theorem 1.22 — The ratio formula
If $a_n\ne0$ for all large $n$ and $\lim_{n\to\infty}\left|\dfrac{a_n}{a_{n+1}}\right|$ exists in $[0,\infty]$, then it equals $R$. If the limit does not exist, the formula says nothing, and $R$ must be found from Theorem 1.21.

Proof. If $|a_{n+1}/a_n|\to1/\lambda$ then $|a_n|^{1/n}\to1/\lambda$ by the ratio–root inequality used in Theorem 1.19(b), and Theorem 1.21 gives $R=\lambda$. ∎

📐 Theorem 1.23 — Power series can be differentiated term by term
Let $f(z)=\sum_{n\ge0}a_n(z-z_0)^n$ have radius $R\gt0$. Then the derived series $\sum_{n\ge1}na_n(z-z_0)^{n-1}$ has the same radius $R$, and for $|z-z_0|\lt R$ $$f'(z)=\lim_{h\to0}\frac{f(z+h)-f(z)}{h}=\sum_{n\ge1}na_n(z-z_0)^{n-1}.$$ Consequently $f$ has derivatives of all orders in the disc, $a_n=\dfrac{f^{(n)}(z_0)}{n!}$, and the coefficients of a power series are determined by its sum (uniqueness of power series).

Proof. Take $z_0=0$. Since $n^{1/n}\to1$, $\limsup|na_n|^{1/n}=\limsup|a_n|^{1/n}$, so the radii agree. Fix $|z|\lt r\lt R$ and $0\lt|h|\lt r-|z|$, and let $g(z)=\sum na_nz^{n-1}$. Then $$\frac{f(z+h)-f(z)}{h}-g(z)=\sum_{n\ge2}a_n\left(\frac{(z+h)^n-z^n}{h}-nz^{n-1}\right).$$ Using $\frac{u^n-v^n}{u-v}=\sum_{k=0}^{n-1}u^kv^{n-1-k}$ twice, the bracket equals $h\sum_{k=1}^{n-1}k\,(z+h)^{n-1-k}z^{k-1}$, whose modulus is at most $|h|\binom n2r^{n-2}$, since $|z|,|z+h|\lt r$. Hence the difference is at most $|h|\sum_{n\ge2}|a_n|\binom n2r^{n-2}$; this series converges (twice-derived series, radius $R\gt r$), so the difference tends to $0$ as $h\to0$. Repeating, $f^{(k)}(0)=k!\,a_k$. ∎

So the sum of a power series is complex-differentiable — analytic — in its disc of convergence (§2.1). The converse, that every analytic function is locally the sum of its Taylor series, is one of the deep theorems of Chapter 3; it explains why $R$ is the distance to the nearest singularity. That is already visible here: the real function $\dfrac1{1+x^2}$ is smooth on all of $\mathbb{R}$, yet its Maclaurin series $\sum(-1)^nx^{2n}$ has radius $1$ — because $\dfrac1{1+z^2}$ blows up at $z=\pm i$, at distance $1$ from $0$.

✏️ Example 1 — Five radii of convergence
Find the radius of convergence of (a) $\sum n!\,z^n$; (b) $\sum\dfrac{z^n}{n!}$; (c) $\sum\dfrac{(2n)!}{(n!)^2}z^n$; (d) $\sum\left(3+(-1)^n\right)^nz^n$; (e) $\sum2^nz^{n^2}$.
(a) $R=0$ $\left|\frac{a_n}{a_{n+1}}\right|=\frac1{n+1}\to0$. The series converges only at $z=0$.
(b) $R=\infty$ $\left|\frac{a_n}{a_{n+1}}\right|=n+1\to\infty$: the series converges on all of $\mathbb{C}$ (it defines $e^z$ below).
(c) $R=\tfrac14$ $\dfrac{a_n}{a_{n+1}}=\dfrac{(2n)!\,((n+1)!)^2}{(n!)^2\,(2n+2)!}=\dfrac{(n+1)^2}{(2n+1)(2n+2)}\to\dfrac14$.
(d) $R=\tfrac14$ — ratio fails $|a_n|^{1/n}=3+(-1)^n$ alternates between $2$ and $4$, so $\limsup=4$ and $R=\tfrac14$. The ratios $a_n/a_{n+1}$ are $2^n/4^{n+1}\to0$ for even $n$ and $4^n/2^{n+1}\to\infty$ for odd $n$: no limit, so Theorem 1.22 does not apply. Using $\liminf$ (which would give $\tfrac12$) is a classic error.
(e) $R=1$ — gaps The coefficient of $z^m$ is $2^n$ if $m=n^2$ and $0$ otherwise. Along $m=n^2$, $|c_m|^{1/m}=2^{n/n^2}=2^{1/n}\to1$, and the other coefficients contribute $0$. So $\limsup=1$ and $R=1$. (Ratios of consecutive coefficients are undefined: most are $0$.)
✏️ Example 2 — Prove: three behaviours on the boundary circle
Each of the series $\sum_{n\ge0}z^n$, $\sum_{n\ge1}\dfrac{z^n}{n}$, $\sum_{n\ge1}\dfrac{z^n}{n^2}$ has radius $1$. Prove that on the circle $|z|=1$ the first diverges at every point, the second converges at every point except $z=1$, and the third converges (absolutely) at every point.
Radii $|a_n|^{1/n}$ is $1$, $n^{-1/n}$, $n^{-2/n}$ respectively, all tending to $1$.
$\sum z^n$ For $|z|=1$, $|z^n|=1\not\to0$; the series diverges (Theorem 1.18(4)).
$\sum z^n/n$ At $z=1$ it is the harmonic series, which diverges. For $|z|=1$, $z\ne1$, the partial sums of $\sum z^n$ are bounded: $\left|\sum_{n=0}^Nz^n\right|=\left|\dfrac{1-z^{N+1}}{1-z}\right|\le\dfrac{2}{|1-z|}$. Since $b_n=\frac1n$ decreases to $0$, Dirichlet's test (Theorem 1.20) gives convergence. The convergence is conditional: $\sum|z^n/n|=\sum\frac1n=\infty$.
$\sum z^n/n^2$ $\left|z^n/n^2\right|=1/n^2$ and $\sum1/n^2\lt\infty$: absolute convergence at every point of the circle (indeed uniform convergence on the closed disc, by the M-test).
Lesson The radius tells you nothing about the boundary. Each boundary point must be examined separately, typically with: the term test (divergence), Dirichlet (conditional convergence), or absolute convergence of $\sum|a_n|R^n$.

When a series does converge at a boundary point, the sum there is what one expects — the limit of the sum from inside along the radius. This is Abel's theorem, and it is how one evaluates sums such as $1-\frac12+\frac13-\cdots=\log2$.

📐 Theorem 1.24 — Abel's limit theorem
Let $\sum a_nz^n$ have radius $1$ and suppose $\sum a_n$ converges, with sum $A$. Then $\displaystyle\lim_{r\to1^-}\sum_{n\ge0}a_nr^n=A$.

Proof. Replacing $a_0$ by $a_0-A$ we may assume $A=0$. Let $A_n=\sum_{k\le n}a_k\to0$. For $0\lt r\lt1$, summation by parts (Theorem 1.20(a)) and $A_Nr^N\to0$ give $\sum a_nr^n=(1-r)\sum_{n\ge0}A_nr^n$. Given $\varepsilon\gt0$ choose $N$ with $|A_n|\lt\varepsilon$ for $n\gt N$. Then $$\left|\sum a_nr^n\right|\le(1-r)\sum_{n\le N}|A_n|+(1-r)\,\varepsilon\sum_{n\gt N}r^n\le(1-r)\sum_{n\le N}|A_n|+\varepsilon,$$ and the first term tends to $0$ as $r\to1^-$. So $\limsup_{r\to1^-}|\sum a_nr^n|\le\varepsilon$ for every $\varepsilon$. ∎

For example $\sum_{n\ge1}\frac{(-1)^{n+1}}{n}x^n=\log(1+x)$ for $|x|\lt1$, and the series converges at $x=1$, so its sum there is $\lim_{x\to1^-}\log(1+x)=\log2$. The converse of Abel's theorem is false: $\sum(-1)^nr^n=\frac1{1+r}\to\frac12$, yet $\sum(-1)^n$ diverges.

Interactive 1 — Inside, On and Outside the Circle of Convergence

Left: the disc of convergence (radius $R$) and the point $z$, set by $|z|/R$ and the angle. Right: the partial sums $S_0,S_1,S_2,\dots$ joined in order, with the true sum marked green when the series converges. Inside the disc the path spirals in quickly; outside it flies away; on the circle (set $|z|/R$ to exactly $1.00$) the three model series behave in three different ways. Press Play to add terms.

1.00180°
terms N—
z—
partial sum S_N—
|last term|—
sum of the series—
✏️ Example 3 — Summing series with the geometric series
(a) Show that $\sum_{n\ge1}nz^n=\dfrac{z}{(1-z)^2}$ for $|z|\lt1$. (b) Show that for real $\theta$, $$\sum_{n\ge0}\frac{\cos n\theta}{2^n}=\frac{4-2\cos\theta}{5-4\cos\theta}.$$
(a) Differentiate By Theorem 1.23, $\sum_{n\ge1}nz^{n-1}=\dfrac{d}{dz}\dfrac1{1-z}=\dfrac1{(1-z)^2}$ for $|z|\lt1$. Multiply by $z$.
(b) Take real parts $\cos n\theta=\operatorname{Re}e^{in\theta}$, so the sum is $\operatorname{Re}\sum_{n\ge0}w^n$ with $w=\tfrac12e^{i\theta}$, $|w|=\tfrac12$: $$\sum\frac{\cos n\theta}{2^n}=\operatorname{Re}\frac1{1-w}=\operatorname{Re}\frac{1-\bar w}{|1-w|^2}=\frac{1-\frac12\cos\theta}{1-\cos\theta+\frac14}.$$ Multiply numerator and denominator by $4$.
Check $\theta=0$: $\sum2^{-n}=2$ and $\frac{4-2}{5-4}=2$. $\theta=\pi$: $\sum(-\frac12)^n=\frac23$ and $\frac{6}{9}=\frac23$. At $\theta=0.7$ both sides are $1.27294\ldots$ numerically.

The Exponential, Trigonometric and Hyperbolic Functions

📘 Definition 1.10 — The elementary entire functions
For $z\in\mathbb{C}$ define $$e^z=\exp z=\sum_{n\ge0}\frac{z^n}{n!},$$ $$\cos z=\sum_{n\ge0}\frac{(-1)^nz^{2n}}{(2n)!},\qquad \sin z=\sum_{n\ge0}\frac{(-1)^nz^{2n+1}}{(2n+1)!},$$ $$\cosh z=\sum_{n\ge0}\frac{z^{2n}}{(2n)!},\qquad \sinh z=\sum_{n\ge0}\frac{z^{2n+1}}{(2n+1)!}.$$

Each series has radius $\infty$ (ratio test), so these are entire functions — analytic on all of $\mathbb{C}$ (Theorem 1.23). For real $z$ they are the familiar real functions, since the series are their Maclaurin series. As usual $\tan z=\sin z/\cos z$ where $\cos z\ne0$.

📐 Theorem 1.25 — Properties of the exponential
  1. Addition law: $e^{z+w}=e^ze^w$ for all $z,w$. Hence $e^z\ne0$ and $1/e^z=e^{-z}$.
  2. Euler's formula: $e^{iy}=\cos y+i\sin y$ for real $y$, and so $e^{x+iy}=e^x(\cos y+i\sin y)$.
  3. $|e^z|=e^{\operatorname{Re}z}$, $\ \operatorname{Im}z$ is an argument of $e^z$, and $\overline{e^z}=e^{\bar z}$; $\ (e^z)'=e^z$.
  4. $e^z=1$ iff $z=2\pi ik$ for some $k\in\mathbb{Z}$. Hence $e^z=e^w$ iff $z-w\in2\pi i\mathbb{Z}$: $e^z$ is periodic, and its periods are exactly the numbers $2\pi ik$.
  5. $e^z$ takes every value $w\ne0$, infinitely often, and never the value $0$.

Proof. (1) Both series converge absolutely, so their product may be computed as the Cauchy product (for absolutely convergent series every arrangement of the double series $\sum_{m,k}u_mv_k$ has the same sum, and grouping by $m+k=n$ is one of them): $$e^ze^w=\sum_{n\ge0}\sum_{k=0}^n\frac{z^k}{k!}\frac{w^{n-k}}{(n-k)!}=\sum_{n\ge0}\frac1{n!}\sum_{k=0}^n\binom nkz^kw^{n-k}=\sum_{n\ge0}\frac{(z+w)^n}{n!}=e^{z+w}.$$ Then $e^ze^{-z}=e^0=1$.

(2) Split the series for $e^{iy}$ into even and odd powers, using $i^{2m}=(-1)^m$: $$e^{iy}=\sum\frac{(-1)^my^{2m}}{(2m)!}+i\sum\frac{(-1)^my^{2m+1}}{(2m+1)!},$$ which is $\cos y+i\sin y$. Combine with (1). (This justifies the notation $e^{i\theta}$ of §1.1.)

(3) $|e^{x+iy}|=e^x|\cos y+i\sin y|=e^x$, and (2) is the polar form with argument $y$. Conjugating the series term by term gives $\overline{e^z}=e^{\bar z}$. The derivative follows from Theorem 1.23: $\sum\frac{nz^{n-1}}{n!}=\sum\frac{z^{n-1}}{(n-1)!}$.

(4) $e^{x+iy}=1$ iff $e^x=1$ and $y$ is an argument of $1$, i.e. iff $x=0$ and $y\in2\pi\mathbb{Z}$. Then $e^z=e^w\iff e^{z-w}=1$ by (1).

(5) Given $w\ne0$, the numbers $z=\log|w|+i(\operatorname{Arg}w+2\pi k)$, $k\in\mathbb{Z}$, satisfy $e^z=|w|e^{i\operatorname{Arg}w}=w$ by (2); they are distinct. And $e^z\ne0$ by (1). ∎

Geometrically, $z=x+iy\mapsto e^z$ sends the horizontal line $\operatorname{Im}z=c$ onto the open ray from $0$ at angle $c$, and the vertical segment $\{x\}\times(-\pi,\pi]$ once around the circle of radius $e^x$. Any horizontal strip $a\lt\operatorname{Im}z\le a+2\pi$ is mapped bijectively onto $\mathbb{C}\setminus\{0\}$ (Interactive 2).

📐 Theorem 1.26 — Trigonometric and hyperbolic functions in $\mathbb{C}$
For all $z=x+iy$ and $w$:
  1. $\cos z=\dfrac{e^{iz}+e^{-iz}}{2}$, $\ \sin z=\dfrac{e^{iz}-e^{-iz}}{2i}$, $\ \cosh z=\dfrac{e^z+e^{-z}}2=\cos(iz)$, $\ \sinh z=\dfrac{e^z-e^{-z}}2=-i\sin(iz)$; $\ e^{iz}=\cos z+i\sin z$.
  2. All the real identities persist: $\sin^2z+\cos^2z=1$, $\ \cosh^2z-\sinh^2z=1$, $\ \sin(z+w)=\sin z\cos w+\cos z\sin w$, $\ \cos(z+w)=\cos z\cos w-\sin z\sin w$, $\ (\sin z)'=\cos z$, $\ (\cos z)'=-\sin z$.
  3. $\sin z=\sin x\cosh y+i\cos x\sinh y$ and $\cos z=\cos x\cosh y-i\sin x\sinh y$; hence $$|\sin z|^2=\sin^2x+\sinh^2y,\qquad|\cos z|^2=\cos^2x+\sinh^2y.$$
  4. Zeros: $\sin z=0\iff z=k\pi$ and $\cos z=0\iff z=\tfrac\pi2+k\pi$ ($k\in\mathbb{Z}$) — only the real zeros. $\cosh z=0\iff z=i\left(\tfrac\pi2+k\pi\right)$ and $\sinh z=0\iff z=k\pi i$.
  5. Periods: $\sin$ and $\cos$ have exactly the periods $2k\pi$; $\sinh$ and $\cosh$ exactly the periods $2k\pi i$.
  6. Unboundedness: $|\sin(iy)|=|\sinh y|\to\infty$ as $|y|\to\infty$; in fact $\sin$ and $\cos$ take every complex value.

Proof. (1) Add and subtract the series for $e^{iz}$ and $e^{-iz}$, as in the proof of Euler's formula; the hyperbolic formulas come from $e^{\pm z}$ in the same way, and substituting $iz$ gives $\cosh z=\cos(iz)$, $\sinh z=-i\sin(iz)$. (2) From (1), $4\cos^2z=(e^{iz}+e^{-iz})^2$ and $4\sin^2z=-(e^{iz}-e^{-iz})^2$; adding, $4(\cos^2z+\sin^2z)=4e^{iz}e^{-iz}=4$. For the addition formula expand $\sin z\cos w+\cos z\sin w$ with (1): the products $e^{\pm iz}e^{\pm iw}=e^{\pm i(z\pm w)}$ (Theorem 1.25(1)) combine to $\frac{e^{i(z+w)}-e^{-i(z+w)}}{2i}$. The others are alike; the derivatives follow from $(e^{iz})'=ie^{iz}$.

(3) The addition formula with $w=iy$ gives $\sin(x+iy)=\sin x\cos(iy)+\cos x\sin(iy)$, and $\cos(iy)=\cosh y$, $\sin(iy)=i\sinh y$ by (1). Then $|\sin z|^2=\sin^2x\cosh^2y+\cos^2x\sinh^2y$; writing $\cosh^2y=1+\sinh^2y$ this is $\sin^2x+(\sin^2x+\cos^2x)\sinh^2y$, that is, $\sin^2x+\sinh^2y$. Similarly for $\cos$.

(4) $|\sin z|^2=0\iff\sin x=0$ and $\sinh y=0\iff x=k\pi$, $y=0$. Similarly for $\cos$. For the hyperbolic functions use $\cosh z=\cos(iz)$: $\cos(iz)=0\iff iz=\tfrac\pi2+k\pi$, i.e. $z=-i(\tfrac\pi2+k\pi)$, which is the same set. (5) $\sin(z+p)=\sin z$ for all $z$ gives, at $z=0$ and $z=\tfrac\pi2$, $\sin p=0$ and $\cos p=1$; by (4) $p=k\pi$ with $\cos k\pi=1$, so $p\in2\pi\mathbb{Z}$. The others follow by the substitution $z\mapsto iz$.

(6) Given $c\in\mathbb{C}$, put $u=e^{iz}$: $\sin z=c\iff u-u^{-1}=2ic$, i.e. $u^2-2icu-1=0$. This quadratic has roots $u_1,u_2$ with $u_1u_2=-1$, so both are nonzero, and $e^{iz}=u_1$ has solutions by Theorem 1.25(5). Similarly for $\cos$. ∎

✏️ Example 4 — Solving transcendental equations
Find all solutions of (a) $e^z=-1-\sqrt3\,i$; (b) $\sin z=2$; (c) $\cos z=2$.
(a) $-1-\sqrt3\,i=2e^{-2\pi i/3}$, so by Theorem 1.25, $z=\log2+i\left(-\tfrac{2\pi}{3}+2\pi k\right)$, $k\in\mathbb{Z}$.
(b) Quadratic in $u=e^{iz}$ $u-u^{-1}=4i$, i.e. $u^2-4iu-1=0$, so $u=\dfrac{4i\pm\sqrt{-16+4}}{2}=i(2\pm\sqrt3)$. Both are positive multiples of $i$: modulus $2\pm\sqrt3$, argument $\tfrac\pi2$.
(b) Solve $e^{iz}=u$ $iz=\log(2\pm\sqrt3)+i\left(\tfrac\pi2+2\pi k\right)$, so $z=\tfrac\pi2+2\pi k-i\log(2\pm\sqrt3)$. Since $(2+\sqrt3)(2-\sqrt3)=1$, $\log(2-\sqrt3)=-\log(2+\sqrt3)$, and the solutions are $$z=\frac\pi2+2\pi k\pm i\log\left(2+\sqrt3\right),\qquad k\in\mathbb{Z}.$$
Check $\sin\left(\tfrac\pi2+it\right)=\cos(it)=\cosh t$, and $\cosh\log(2+\sqrt3)=\tfrac12\left((2+\sqrt3)+(2-\sqrt3)\right)=2$.
(c) $\cos z=\sin\left(z+\tfrac\pi2\right)$, so by (b), $z+\tfrac\pi2=\tfrac\pi2+2\pi k\pm i\log(2+\sqrt3)$: $\ z=2\pi k\pm i\log(2+\sqrt3)$. Check: $\cos(it)=\cosh t=2$.
✏️ Example 5 — Prove or disprove: bounds for sine and cosine
Prove or disprove: (a) $|\sin z|\le1$ for all $z$; (b) $|\cos z|\ge|\cos(\operatorname{Re}z)|$ for all $z$; (c) $\sin$ is bounded on the strip $|\operatorname{Im}z|\le1$; (d) $|e^{z}|\le e^{|z|}$ for all $z$, with equality only for $z\ge0$.
(a) False $\sin i=i\sinh1$, and $|\sin i|=\sinh1\approx1.1752\gt1$. By Theorem 1.26(3), $|\sin z|\ge|\sinh y|\to\infty$.
(b) True $|\cos z|^2=\cos^2x+\sinh^2y\ge\cos^2x$.
(c) True $|\sin z|^2=\sin^2x+\sinh^2y\le1+\sinh^2y=\cosh^2y\le\cosh^21$. So $|\sin z|\le\cosh1\approx1.543$ on the strip; the bound is attained at $z=\tfrac\pi2\pm i$.
(d) True $|e^z|=e^{\operatorname{Re}z}\le e^{|z|}$ since $\operatorname{Re}z\le|z|$, with equality iff $\operatorname{Re}z=|z|$, i.e. iff $z$ is real and $\ge0$.

The Complex Logarithm, Branches and Complex Powers

Since $e^z$ takes every nonzero value infinitely often, the equation $e^w=z$ has infinitely many solutions $w$, spaced $2\pi i$ apart. The logarithm is therefore not a function but a choice.

📘 Definition 1.11 — Logarithms and branches

For $z\ne0$, the set of logarithms of $z$ is $$\log z=\{w:e^w=z\}=\{\ln|z|+i\theta:\theta\in\arg z\},$$ where $\ln$ is the real natural logarithm. The principal logarithm is $\operatorname{Log}z=\ln|z|+i\operatorname{Arg}z$, with imaginary part in $(-\pi,\pi]$.

A branch of the logarithm on an open set $D\subseteq\mathbb{C}\setminus\{0\}$ is a continuous function $L:D\to\mathbb{C}$ with $e^{L(z)}=z$ for all $z\in D$. The principal branch is $\operatorname{Log}$ restricted to $\mathbb{C}\setminus(-\infty,0]$, the plane cut along the non-positive real axis (the branch cut).

📐 Theorem 1.27 — The principal logarithm and its branches
  1. $e^{\operatorname{Log}z}=z$ for all $z\ne0$, but $\operatorname{Log}(e^w)=w$ only when $-\pi\lt\operatorname{Im}w\le\pi$; in general $\operatorname{Log}(e^w)=w-2\pi ik$ for the integer $k$ that brings the imaginary part into $(-\pi,\pi]$.
  2. $\operatorname{Log}$ is continuous on $\mathbb{C}\setminus(-\infty,0]$ and discontinuous at every point of $(-\infty,0)$: for $x\lt0$, $\operatorname{Log}z\to\ln|x|\pm i\pi$ as $z\to x$ from the upper / lower half-plane. On the cut plane it is analytic with $(\operatorname{Log}z)'=1/z$.
  3. Any two branches of the logarithm on a connected open set differ by a constant $2\pi ik$.
  4. There is no branch of the logarithm on $\mathbb{C}\setminus\{0\}$, nor on any open set containing a circle $|z|=r$.

Proof. (1) $e^{\operatorname{Log}z}=e^{\ln|z|}e^{i\operatorname{Arg}z}=z$. Conversely $\operatorname{Log}(e^w)$ has imaginary part $\operatorname{Arg}e^w\in(-\pi,\pi]$, and it differs from $w$ by an element of $2\pi i\mathbb{Z}$ (both are logarithms of $e^w$), which gives the statement.

(2) $\ln|z|$ is continuous on $\mathbb{C}\setminus\{0\}$. On the cut plane, $\operatorname{Arg}z=2\arctan\dfrac{y}{|z|+x}$ (the half-angle formula: $\tan\tfrac\theta2=\tfrac{\sin\theta}{1+\cos\theta}$, valid for $|\theta|\lt\pi$), and $|z|+x\gt0$ there, so $\operatorname{Arg}$ is continuous. At $x\lt0$, points $x+i\varepsilon$ with $\varepsilon\downarrow0$ have $\operatorname{Arg}\to\pi$ and points $x-i\varepsilon$ have $\operatorname{Arg}\to-\pi$: a jump of $2\pi$ in the imaginary part. Analyticity: if $w=\operatorname{Log}z$ and $w_0=\operatorname{Log}z_0$ on the cut plane, then $w\to w_0$ as $z\to z_0$ (continuity) and $$\frac{\operatorname{Log}z-\operatorname{Log}z_0}{z-z_0}=\frac{w-w_0}{e^w-e^{w_0}}\to\frac1{e^{w_0}}=\frac1{z_0},$$ because $(e^w)'=e^w$.

(3) If $L_1,L_2$ are branches on a connected $D$, then $e^{L_1-L_2}=1$, so $h=(L_1-L_2)/(2\pi i)$ is a continuous integer-valued function on $D$. A continuous function into $\mathbb{Z}$ on a connected set is constant (the set where it equals a given integer is open and closed).

(4) Suppose $L$ is a branch on an open set containing the circle $|z|=r$. Define $g(\theta)=\dfrac{L(re^{i\theta})-\ln r-i\theta}{2\pi i}$ for $\theta\in[0,2\pi]$. It is continuous, and $e^{2\pi ig(\theta)}=\dfrac{re^{i\theta}}{re^{i\theta}}=1$, so $g$ takes integer values; by the intermediate value theorem it is constant. But $re^{i\cdot2\pi}=re^{i\cdot0}$, so $g(2\pi)=g(0)-1$. Contradiction. ∎

📐 Theorem 1.28 — The logarithm of a product
As sets, $\log(zw)=\log z+\log w$ for $z,w\ne0$. For principal values, $$\operatorname{Log}(zw)=\operatorname{Log}z+\operatorname{Log}w+2\pi iN,\qquad N\in\{-1,0,1\},$$ and $N=0$ iff $\operatorname{Arg}z+\operatorname{Arg}w\in(-\pi,\pi]$ (for example, whenever $\operatorname{Re}z\gt0$ and $\operatorname{Re}w\gt0$).

Proof. $e^{a}=z$ and $e^{b}=w$ imply $e^{a+b}=zw$, and conversely every logarithm of $zw$ is $a+b$ plus some $2\pi ik$, which can be absorbed into $b$. For principal values, the real parts agree ($\ln|zw|=\ln|z|+\ln|w|$) and the imaginary parts $\operatorname{Arg}(zw)$ and $\operatorname{Arg}z+\operatorname{Arg}w$ are both arguments of $zw$, so they differ by $2\pi N$. Since $\operatorname{Arg}z+\operatorname{Arg}w\in(-2\pi,2\pi]$ and $\operatorname{Arg}(zw)\in(-\pi,\pi]$, $|2\pi N|\lt3\pi$, so $N\in\{-1,0,1\}$, and $N=0$ exactly when the sum already lies in $(-\pi,\pi]$. If both real parts are positive, both arguments lie in $(-\tfrac\pi2,\tfrac\pi2)$. ∎

📘 Definition 1.12 — Complex powers
For $z\ne0$ and $a\in\mathbb{C}$ the values of $z^a$ are the numbers $e^{a\,\ell}$ with $\ell\in\log z$; the principal value is $z^a=e^{a\operatorname{Log}z}$. In particular the principal $n$-th root is $z^{1/n}=|z|^{1/n}e^{i\operatorname{Arg}z/n}$.
📐 Theorem 1.29 — How many values does $z^a$ have?
Let $z\ne0$. The values of $z^a$ are $e^{a\operatorname{Log}z}\,e^{2\pi ika}$, $k\in\mathbb{Z}$. There is exactly one value if $a\in\mathbb{Z}$ (and it is the usual power); exactly $q$ values if $a=p/q$ in lowest terms with $q\ge2$ (they are the $q$ solutions of $w^q=z^p$); and infinitely many if $a$ is irrational or not real.

Proof. The values are $e^{a(\operatorname{Log}z+2\pi ik)}$. Two of them, for $k$ and $m$, coincide iff $e^{2\pi i(k-m)a}=1$ iff $(k-m)a\in\mathbb{Z}$ (Theorem 1.25(4)). If $a\in\mathbb{Z}$ this always holds. If $a=p/q$ in lowest terms, $(k-m)p/q\in\mathbb{Z}\iff q\mid(k-m)$, so there are exactly $q$ distinct values ($k=0,\dots,q-1$); each satisfies $w^q=e^{p(\operatorname{Log}z+2\pi ik)}=z^p$, and $z^p$ has exactly $q$ $q$-th roots (Theorem 1.5). If $a\notin\mathbb{Q}$, then $(k-m)a\in\mathbb{Z}$ forces $k=m$, so all values are distinct. ∎

✏️ Example 6 — Computing complex powers
Find (a) all values of $i^i$; (b) the principal value of $(1+i)^{1-i}$; (c) the principal value of $(-8)^{1/3}$; (d) all values of $1^{\sqrt2}$.
(a) All real $\log i=i\left(\tfrac\pi2+2\pi k\right)$, so $i^i=e^{i\cdot i(\pi/2+2\pi k)}=e^{-\pi/2-2\pi k}$, $k\in\mathbb{Z}$: infinitely many positive real numbers. The principal value is $e^{-\pi/2}\approx0.2079$.
(b) $\operatorname{Log}(1+i)=\tfrac12\ln2+\tfrac{i\pi}4$, so $(1-i)\operatorname{Log}(1+i)=\left(\tfrac12\ln2+\tfrac\pi4\right)+i\left(\tfrac\pi4-\tfrac12\ln2\right)$ and $$(1+i)^{1-i}=\sqrt2\,e^{\pi/4}\,e^{i(\pi/4-\frac12\ln2)}\approx2.8079+1.3179\,i.$$
(c) Not $-2$ $\operatorname{Log}(-8)=\ln8+i\pi$, so the principal cube root is $2e^{i\pi/3}=1+\sqrt3\,i$. The real cube root $-2$ is one of the three values ($k=1$), but not the principal one.
(d) Infinitely many $\log1=2\pi ik$, so the values are $e^{2\pi ik\sqrt2}$, $k\in\mathbb{Z}$: all on the unit circle and pairwise distinct (Theorem 1.29), since $\sqrt2$ is irrational. Only the principal value equals $1$.
✏️ Example 7 — Prove or disprove: identities for principal values
For principal values, prove or disprove: (a) $\operatorname{Log}(z^2)=2\operatorname{Log}z$ for all $z\ne0$; (b) $\operatorname{Log}(1/z)=-\operatorname{Log}z$ for all $z\ne0$; (c) $z^az^b=z^{a+b}$; (d) $(zw)^{1/2}=z^{1/2}w^{1/2}$.
(a) False in general Both sides have real part $2\ln|z|$; the imaginary parts are $\operatorname{Arg}(z^2)$ and $2\operatorname{Arg}z$, which agree iff $2\operatorname{Arg}z\in(-\pi,\pi]$, i.e. iff $-\tfrac\pi2\lt\operatorname{Arg}z\le\tfrac\pi2$. Counterexample $z=-1$: $\operatorname{Log}1=0$ but $2\operatorname{Log}(-1)=2\pi i$.
(b) False on the cut $\operatorname{Arg}(1/z)=-\operatorname{Arg}z$ unless $\operatorname{Arg}z=\pi$, where $\operatorname{Arg}(1/z)=\pi$ too. So it holds exactly off the negative real axis; $z=-1$: $\operatorname{Log}(-1)=i\pi\ne-i\pi$.
(c) True $z^az^b=e^{a\operatorname{Log}z}e^{b\operatorname{Log}z}=e^{(a+b)\operatorname{Log}z}=z^{a+b}$: the same logarithm is used on both sides.
(d) False $z=w=-1$: $(zw)^{1/2}=1^{1/2}=1$, while $z^{1/2}w^{1/2}=i\cdot i=-1$. It holds when $\operatorname{Arg}z+\operatorname{Arg}w\in(-\pi,\pi]$ (Theorem 1.28).

Inverse trigonometric functions. Solving $\sin w=z$ as in Theorem 1.26(6) — a quadratic in $e^{iw}$ — and taking logarithms gives the multivalued formulas $$\sin^{-1}z=-i\log\left(iz+(1-z^2)^{1/2}\right),\qquad\cos^{-1}z=-i\log\left(z+i(1-z^2)^{1/2}\right),$$ $$\tan^{-1}z=\frac1{2i}\log\frac{1+iz}{1-iz}\qquad(z\ne\pm i),$$ where both values of the square root and all values of the logarithm are allowed. For $\tan^{-1}$: $\tan w=z\iff e^{2iw}-1=iz\left(e^{2iw}+1\right)$, i.e. $e^{2iw}(1-iz)=1+iz$. Since $e^{2iw}\ne0$, this has no solution when $z=i$ (it would give $2e^{2iw}=0$) and none when $z=-i$ (it would give $0=2$): $\tan w$ never takes the values $\pm i$. Principal branches are obtained by using $\operatorname{Log}$ and the principal square root, with suitable cuts.

Interactive 2 — How $e^z$, $\sin z$ and $\operatorname{Log}z$ Map the Plane

Left: a grid of red horizontal and blue vertical curves in the $z$-plane. Right: their images in the $w$-plane, in the same colours. Move the slider (or press Play) to grow the region. Watch for: the $e^z$ image starting to overlap itself once the strip is taller than $2\pi$; $\sin z$ escaping to infinity as the strip gets taller; and $\operatorname{Log}z$ tearing the top and bottom edges apart along the cut.

—
region in the z-plane—
image—
key number—
⚠️ Counterexamples and pitfalls
  1. The ratio test can fail when the root test works. For $\sum(3+(-1)^n)^nz^n$ the ratios have no limit; $\limsup|a_n|^{1/n}=4$ gives $R=\tfrac14$. Series with gaps ($\sum z^{n^2}$, $\sum z^{2n}$) need the root test or a substitution.
  2. $\limsup$, not $\liminf$. $1/R=\limsup|a_n|^{1/n}$; with $\liminf$ you get a wrong (too large) radius.
  3. The boundary is a separate question. $\sum z^n$ diverges at every boundary point, $\sum z^n/n$ converges at every boundary point but one, $\sum z^n/n^2$ at all of them. Convergence at one boundary point says nothing about another: $\sum(-1)^nz^n/n$ converges at $z=1$ and diverges at $z=-1$.
  4. Absolute convergence inside does not mean uniform convergence inside. $\sum z^n$ converges on $|z|\lt1$ but not uniformly there (its sum is unbounded); uniformity holds on each smaller closed disc.
  5. Real smoothness does not give a big radius. $\frac1{1+x^2}$ is smooth on $\mathbb{R}$ but its Maclaurin series has $R=1$, because of the complex singularities $\pm i$.
  6. $\sin$ and $\cos$ are unbounded in $\mathbb{C}$, and take every value: $\sin z=2$ and $\cos z=2$ have solutions. Only their zeros stay real.
  7. $\cosh$ and $\sinh$ do have non-real zeros: $\cosh\left(\tfrac{i\pi}2\right)=\cos\tfrac\pi2=0$. "$\cosh z\ge1$" is a real-variable fact.
  8. $e^z$ is not injective (period $2\pi i$); it omits exactly one value, $0$. It is injective on every horizontal strip $a\lt\operatorname{Im}z\le a+2\pi$, and on nothing taller.
  9. $\operatorname{Log}(zw)\ne\operatorname{Log}z+\operatorname{Log}w$ and $\operatorname{Log}(e^w)\ne w$ in general; $\operatorname{Log}(z^2)=2\operatorname{Log}z$ holds exactly when $\operatorname{Arg}z\in(-\tfrac\pi2,\tfrac\pi2]$ (Example 7).
  10. No logarithm (and no square root) is continuous around $0$. Every branch needs a cut from $0$ to $\infty$ (Theorem 1.27(4)).
  11. Complex powers are multivalued: $i^i$ is a set of infinitely many real numbers; $1^{\sqrt2}$ has infinitely many values; the principal value of $(-8)^{1/3}$ is $1+\sqrt3\,i$, not $-2$; $(z^a)^b\ne z^{ab}$ (e.g. $((-1)^2)^{1/2}=1\ne-1$).
  12. $\tan z$ never equals $\pm i$, so $\tan:\mathbb{C}\setminus\{\tfrac\pi2+k\pi\}\to\mathbb{C}$ is not onto.

Exercises

I
Power series.
  • 1 Find the radius of convergence of (a) $\sum\dfrac{n!}{n^n}z^n$; (b) $\sum\left(1+\tfrac1n\right)^{n^2}z^n$; (c) $\sum3^nz^{2n}$; (d) $\sum\dfrac{(2+i)^n}{n}z^n$; (e) $\sum z^{n!}$.
  • 2 Determine exactly where on $|z|=1$ the series $\sum_{n\ge1}\dfrac{(-1)^n}{n}z^n$ converges.
  • 3 Show that $\sum_{n\ge1}n^2z^n=\dfrac{z(1+z)}{(1-z)^3}$ for $|z|\lt1$.
  • 4 Find the sum of $\sum_{n\ge0}\dfrac{n\,z^n}{n!}$.
  • 5 Show that $\sum_{n\ge1}z^n/n$ does not converge uniformly on the open disc $|z|\lt1$.
  • 6 Let $\sum a_nz^n$ have radius $R\in(0,\infty)$. Find the radii of $\sum a_nz^{2n}$ and of $\sum a_n^2z^n$.
  • 7 Give a power series with radius $1$ that converges at $z=1$ but diverges at $z=-1$.
  • 8 Use Abel's theorem to find $\sum_{n\ge0}\dfrac{(-1)^n}{2n+1}$ from the series of $\tan^{-1}x$.
1 (a) $\frac{a_n}{a_{n+1}}=\frac{(n+1)^n}{n^n}=\left(1+\tfrac1n\right)^n\to e$: $R=e$. (b) $|a_n|^{1/n}=\left(1+\tfrac1n\right)^n\to e$: $R=1/e$. (c) Substitute $w=z^2$: $\sum3^nw^n$ has radius $\tfrac13$ in $w$, so $|z|^2\lt\tfrac13$: $R=1/\sqrt3$. (d) $|a_n|^{1/n}=\sqrt5\,n^{-1/n}\to\sqrt5$: $R=1/\sqrt5$. (e) Coefficients are $0$ or $1$, infinitely many $1$s: $\limsup=1$, $R=1$.
2 Put $w=-z$: the series is $\sum w^n/n$, which (Example 2) converges for $|w|=1$, $w\ne1$. So it converges at every point of $|z|=1$ except $z=-1$.
3 Differentiate $\sum nz^n=\frac{z}{(1-z)^2}$ (Example 3) and multiply by $z$: $\dfrac{d}{dz}\dfrac{z}{(1-z)^2}=\dfrac{(1-z)+2z}{(1-z)^3}=\dfrac{1+z}{(1-z)^3}$. Numerically at $z=0.3-0.2i$ both sides are $-0.00584-1.22907i$.
4 $\sum_{n\ge1}\frac{z^n}{(n-1)!}=z\sum_{m\ge0}\frac{z^m}{m!}=ze^z$.
5 Uniform convergence on $|z|\lt1$ would make the partial sums uniformly Cauchy there; by continuity of each partial sum this extends to $|z|\le1$, so the series would converge at $z=1$ — but the harmonic series diverges. (Alternatively: $\sum_{n=N+1}^{2N}\frac{r^n}{n}\ge\frac{r^{2N}}{2}$, which is $\ge\frac14$ for $r$ close to $1$.)
6 $\limsup|a_n|^{1/(2n)}=R^{-1/2}$ for $\sum a_nz^{2n}$ (the coefficient of $z^{2n}$ is $a_n$), so radius $\sqrt R$. $\limsup|a_n^2|^{1/n}=\left(\limsup|a_n|^{1/n}\right)^2=R^{-2}$: radius $R^2$.
7 $\sum_{n\ge1}\frac{(-1)^n}{n}z^n$: at $z=1$ the alternating harmonic series converges; at $z=-1$ it is $\sum\frac1n$.
8 $\tan^{-1}x=\sum\frac{(-1)^nx^{2n+1}}{2n+1}$ for $|x|\lt1$; the series converges at $x=1$ (alternating series test), so by Abel's theorem its value is $\lim_{x\to1^-}\tan^{-1}x=\frac\pi4$.
II
Exponential, trigonometric and hyperbolic functions.
  • 1 Write $e^{2+i\pi/3}$ in the form $a+ib$.
  • 2 Find all $z$ with $e^z=-2$.
  • 3 Find the real and imaginary parts and the modulus of $\sin(1+2i)$.
  • 4 Solve $\sin z=i$.
  • 5 Find all zeros of $\cosh z$ and of $1+e^z$.
  • 6 Prove that $|\sinh y|\le|\sin(x+iy)|\le\cosh y$.
  • 7 Prove that $|\cos z|^2+|\sin z|^2=\cosh(2\operatorname{Im}z)$.
  • 8 Prove that $|e^{z^2}|\le e^{|z|^2}$, and find when equality holds.
  • 9 Show that $\overline{\sin z}=\sin\bar z$, and find all $z$ for which $\sin z$ is real.
1 $e^2\left(\cos\tfrac\pi3+i\sin\tfrac\pi3\right)=\tfrac{e^2}2+\tfrac{\sqrt3e^2}{2}i\approx3.6945+6.3991i$.
2 $-2=2e^{i\pi}$: $z=\ln2+i(2k+1)\pi$, $k\in\mathbb{Z}$.
3 $\sin(1+2i)=\sin1\cosh2+i\cos1\sinh2\approx3.1658+1.9596i$; $|\sin(1+2i)|=\sqrt{\sin^21+\sinh^22}\approx3.7232$.
4 With $u=e^{iz}$: $u-u^{-1}=2i\cdot i=-2$, so $u^2+2u-1=0$, $u=-1\pm\sqrt2$. For $u=\sqrt2-1\gt0$: $iz=\ln(\sqrt2-1)+2\pi ik$, $z=2\pi k+i\ln(1+\sqrt2)$. For $u=-(1+\sqrt2)$: $iz=\ln(1+\sqrt2)+i(2k+1)\pi$, $z=(2k+1)\pi-i\ln(1+\sqrt2)$. Check: $\sin(it)=i\sinh t$ and $\sinh\ln(1+\sqrt2)=\tfrac12\left((1+\sqrt2)-(\sqrt2-1)\right)=1$.
5 $\cosh z=0\iff z=i\left(\tfrac\pi2+k\pi\right)$ (Theorem 1.26(4)). $1+e^z=0\iff e^z=-1\iff z=(2k+1)\pi i$.
6 $|\sin z|^2=\sin^2x+\sinh^2y$ lies between $\sinh^2y$ and $1+\sinh^2y=\cosh^2y$.
7 Adding the two formulas of Theorem 1.26(3): $1+2\sinh^2y=\cosh2y$.
8 $|e^{z^2}|=e^{\operatorname{Re}(z^2)}=e^{x^2-y^2}\le e^{x^2+y^2}$, with equality iff $y=0$, i.e. $z$ real.
9 The series has real coefficients, so conjugation passes through it. $\sin z$ is real iff $\cos x\sinh y=0$ iff $y=0$ or $x=\tfrac\pi2+k\pi$: the real axis and the vertical lines through the extrema of $\sin x$ (where $\sin z=\pm\cosh y$).
III
Logarithms and powers.
  • 1 Find $\operatorname{Log}(-1-i)$ and the set $\log(-1-i)$.
  • 2 Find the principal values of $(-1)^i$ and $2^i$.
  • 3 Find all values of $i^{1/3}$.
  • 4 Compute the one-sided limits of $\operatorname{Log}z$ as $z\to-1$ from the upper and from the lower half-plane.
  • 5 Find $z,w$ with $\operatorname{Log}(zw)\ne\operatorname{Log}z+\operatorname{Log}w$, and compute the integer $N$ of Theorem 1.28 for them.
  • 6 Solve $\tan z=2i$.
  • 7 Show that the principal square root $z^{1/2}=e^{\frac12\operatorname{Log}z}$ has positive real part for every $z\in\mathbb{C}\setminus(-\infty,0]$.
  • 8 Show that $((-1)^2)^{1/2}\ne(-1)^{2\cdot\frac12}$ for principal values, and explain which rule fails.
1 $|{-1-i}|=\sqrt2$, $\operatorname{Arg}=-\tfrac{3\pi}4$: $\operatorname{Log}(-1-i)=\tfrac12\ln2-\tfrac{3\pi}4i$; $\log(-1-i)=\left\{\tfrac12\ln2+i\left(-\tfrac{3\pi}{4}+2\pi k\right):k\in\mathbb{Z}\right\}$.
2 $(-1)^i=e^{i\cdot i\pi}=e^{-\pi}\approx0.0432$. $2^i=e^{i\ln2}=\cos(\ln2)+i\sin(\ln2)\approx0.7692+0.6390i$.
3 $e^{\frac13\left(i\frac\pi2+2\pi ik\right)}$, $k=0,1,2$: angles $\tfrac\pi6,\tfrac{5\pi}6,\tfrac{3\pi}2$, i.e. $\tfrac{\sqrt3}2+\tfrac i2$, $-\tfrac{\sqrt3}2+\tfrac i2$, $-i$ — the three cube roots of $i$.
4 $\ln|z|\to0$; $\operatorname{Arg}z\to\pi$ from above and $\to-\pi$ from below. The limits are $i\pi$ and $-i\pi$; $\operatorname{Log}(-1)=i\pi$ agrees with the upper one, so $\operatorname{Log}$ is continuous at $-1$ along the upper half-plane only.
5 $z=w=-1+i$ (Arg $\tfrac{3\pi}4$): $zw=-2i$, $\operatorname{Log}(zw)=\ln2-\tfrac{i\pi}2$, while $\operatorname{Log}z+\operatorname{Log}w=\ln2+\tfrac{3\pi i}{2}$. So $N=-1$.
6 $w=\tan^{-1}(2i)=\frac1{2i}\log\frac{1+i(2i)}{1-i(2i)}=\frac1{2i}\log\left(-\tfrac13\right)=\frac1{2i}\left(-\ln3+i(2k+1)\pi\right)$, so $w=\left(k+\tfrac12\right)\pi+\tfrac i2\ln3$. Check: $\tan\left(\tfrac\pi2+\tfrac i2\ln3\right)=2i$ numerically.
7 On the cut plane $\operatorname{Arg}z\in(-\pi,\pi)$, so $z^{1/2}=|z|^{1/2}e^{i\operatorname{Arg}z/2}$ has argument in $(-\tfrac\pi2,\tfrac\pi2)$ and therefore positive real part.
8 $((-1)^2)^{1/2}=1^{1/2}=1$ but $(-1)^1=-1$. The rule $(z^a)^b=z^{ab}$ fails because $\operatorname{Log}(z^a)$ need not equal $a\operatorname{Log}z$ (here $\operatorname{Log}1=0\ne2\pi i=2\operatorname{Log}(-1)$).
IV
Proofs and constructions.
  • 1 Let $f(z)=\sum a_nz^n$ have radius $R\gt0$ and suppose $f(1/k)=0$ for all large $k\in\mathbb{N}$. Prove that $a_n=0$ for all $n$.
  • 2 Let $f(z)=\sum_{n\ge0}z^{2^n}$. Show that $R=1$ and that $|f(r\zeta)|\to\infty$ as $r\to1^-$ whenever $\zeta^{2^m}=1$ for some $m$. Conclude that $f$ cannot be continued continuously to any arc of the unit circle.
  • 3 Prove that there is no continuous $g$ on the unit circle with $g(z)^2=z$ for all $|z|=1$.
  • 4 Prove that $e^z$ is injective on the strip $\{-\pi\lt\operatorname{Im}z\le\pi\}$ and maps it onto $\mathbb{C}\setminus\{0\}$.
  • 5 Prove that the only periods of $e^z$, i.e. the $p$ with $e^{z+p}=e^z$ for all $z$, are $p=2\pi ik$.
  • 6 Prove that $\cos$ is not injective on any open set containing $0$, and find the largest $\delta$ such that $\sin$ is injective on the disc $|z|\lt\delta$.
1 $f$ is continuous at $0$, so $a_0=f(0)=\lim f(1/k)=0$. If not all $a_n$ vanish, let $m$ be the least index with $a_m\ne0$; then $f(z)=z^mg(z)$ with $g(z)=\sum_{n\ge m}a_nz^{n-m}$, of the same radius, continuous, $g(0)=a_m\ne0$. But $g(1/k)=k^mf(1/k)=0$ for large $k$, so $g(0)=0$ — contradiction.
2 Coefficients are $0$ or $1$ with infinitely many $1$s: $R=1$. If $\zeta^{2^m}=1$ then $(r\zeta)^{2^n}=r^{2^n}$ for $n\ge m$, so $f(r\zeta)=\sum_{n\lt m}(r\zeta)^{2^n}+\sum_{n\ge m}r^{2^n}$; the first sum is bounded by $m$, and the second exceeds $\sum_{m\le n\le M}r^{2^n}\to M-m+1$ as $r\to1^-$, for every $M$. The points $\zeta$ with $\zeta^{2^m}=1$ for some $m$ are dense in the circle, so every arc contains one, near which $f$ is unbounded.
3 Suppose $g$ exists. Then $h(\theta)=g(e^{i\theta})e^{-i\theta/2}$ is continuous on $[0,2\pi]$ with $h^2=1$, so $h$ is constantly $1$ or $-1$ (intermediate value theorem). But $h(2\pi)=g(1)e^{-i\pi}=-h(0)$ — contradiction.
4 If $e^z=e^w$ then $z-w=2\pi ik$; with both imaginary parts in $(-\pi,\pi]$, $|\operatorname{Im}(z-w)|\lt2\pi$, so $k=0$. Onto: for $w\ne0$, $z=\operatorname{Log}w$ lies in the strip and $e^z=w$.
5 $e^{z+p}=e^z$ with $z=0$ gives $e^p=1$, so $p\in2\pi i\mathbb{Z}$ (Theorem 1.25(4)); conversely these are periods.
6 $\cos$ is even: $\cos(-z)=\cos z$, and every open set containing $0$ contains a pair $\pm z$ with $z\ne0$. For $\sin$: $\sin z=\sin w\iff2\cos\tfrac{z+w}2\sin\tfrac{z-w}2=0\iff z-w\in2\pi\mathbb{Z}$ or $z+w\in\pi+2\pi\mathbb{Z}$. In $|z|\lt\tfrac\pi2$, $|z-w|\lt\pi$ and $|z+w|\lt\pi$, so only $z=w$ is possible: $\sin$ is injective there. For $\delta\gt\tfrac\pi2$, the points $z=\tfrac\pi2-\varepsilon$ and $w=\tfrac\pi2+\varepsilon$ lie in the disc for small $\varepsilon\gt0$, and $\sin z=\sin w$ since $z+w=\pi$. So $\delta=\tfrac\pi2$.
🎯 Exam corner CSIR Part BCSIR Part CGATE MA

E1. CSIR Part B GATE MA The radius of convergence of $\sum_{n\ge1}\left(3+(-1)^n\right)^nz^n$ is (A) $1$; (B) $\tfrac12$; (C) $\tfrac13$; (D) $\tfrac14$.

Idea Ratios have no limit; use Cauchy–Hadamard.
Compute $|a_n|^{1/n}=3+(-1)^n\in\{2,4\}$, so $\limsup=4$ and $R=\tfrac14$. (B) is what $\liminf$ would give; (C) treats the average $3$ as the limit.
Answer (D).

E2. CSIR Part B The number of solutions of $e^z=1+i$ in the strip $\{z:0\le\operatorname{Im}z\lt10\pi\}$ is (A) $1$; (B) $4$; (C) $5$; (D) infinitely many.

Solutions $z=\tfrac12\ln2+i\left(\tfrac\pi4+2\pi k\right)$, $k\in\mathbb{Z}$.
Count $0\le\tfrac\pi4+2\pi k\lt10\pi\iff-\tfrac18\le k\lt\tfrac{39}8$, i.e. $k=0,1,2,3,4$: five solutions (one per period strip of height $2\pi$).
Answer (C).

E3. CSIR Part B The image of the strip $\{z:0\lt\operatorname{Im}z\lt\pi\}$ under $w=e^z$ is (A) the upper half-plane $\operatorname{Im}w\gt0$; (B) the right half-plane $\operatorname{Re}w\gt0$; (C) the punctured unit disc $0\lt|w|\lt1$; (D) $\mathbb{C}\setminus[0,\infty)$.

Idea $e^{x+iy}$ has modulus $e^x\in(0,\infty)$ (all values) and argument $y\in(0,\pi)$.
Image All nonzero $w$ with argument in $(0,\pi)$: the open upper half-plane. (D) would need $y\in(0,2\pi)$; (B) $y\in(-\tfrac\pi2,\tfrac\pi2)$; (C) the half-strip $x\lt0$ of height $2\pi$.
Answer (A).

E4. CSIR Part C Let $\sum_{n\ge0}a_nz^n$ have radius of convergence $1$. Which of the following are necessarily true? (A) $\sum na_nz^n$ has radius of convergence $1$. (B) $\sum a_nz^n$ converges at some point of the circle $|z|=1$. (C) $\sum a_nz^{2n}$ has radius of convergence $1$. (D) If $\sum a_nz^n$ converges at $z=1$, then it converges at $z=-1$.

(A) True $n^{1/n}\to1$, so $\limsup|na_n|^{1/n}=\limsup|a_n|^{1/n}$ (Theorem 1.23).
(B) False $\sum z^n$ diverges at every point of the circle.
(C) True The radius is $\sqrt R=1$ (Exercise I.6).
(D) False $\sum\frac{(-1)^n}{n}z^n$ converges at $1$ and diverges at $-1$.
Answer (A) and (C).

E5. CSIR Part C GATE MA Which of the following statements are true? (A) $|\sin z|\le1$ for every $z$ with $|\operatorname{Im}z|\le1$. (B) Every zero of $\cos z$ is real. (C) $e^z=e^w$ if and only if $z-w\in2\pi i\mathbb{Z}$. (D) $\sin z$ is bounded on the strip $|\operatorname{Im}z|\le1$.

(A) False $|\sin i|=\sinh1\approx1.175$.
(B) True $|\cos z|^2=\cos^2x+\sinh^2y=0$ forces $y=0$ (Theorem 1.26(4)).
(C) True Theorem 1.25(4).
(D) True $|\sin z|\le\cosh y\le\cosh1$ there (Example 5(c)).
Answer (B), (C) and (D).

E6. CSIR Part C Using principal values throughout, which of the following are true? (A) $\operatorname{Log}\bar z=\overline{\operatorname{Log}z}$ for every $z\in\mathbb{C}\setminus(-\infty,0]$. (B) $\operatorname{Log}(z_1z_2)=\operatorname{Log}z_1+\operatorname{Log}z_2$ whenever $\operatorname{Re}z_1\gt0$ and $\operatorname{Re}z_2\gt0$. (C) $i^i$ is a real number. (D) $(z^2)^{1/2}=z$ for every $z\ne0$.

(A) True Off the cut, $\operatorname{Arg}\bar z=-\operatorname{Arg}z$ and $|\bar z|=|z|$. (On the negative axis it fails: $\operatorname{Log}(-1)=i\pi$ is not real, but $-1=\overline{-1}$.)
(B) True Both arguments lie in $(-\tfrac\pi2,\tfrac\pi2)$, so their sum lies in $(-\pi,\pi)$ and $N=0$ in Theorem 1.28.
(C) True $i^i=e^{i\operatorname{Log}i}=e^{-\pi/2}$.
(D) False $z=-1$: $(z^2)^{1/2}=1\ne-1$. It holds exactly when $\operatorname{Re}z\gt0$ or $z\in i(0,\infty)$, i.e. $\operatorname{Arg}z\in(-\tfrac\pi2,\tfrac\pi2]$.
Answer (A), (B) and (C).
🧑‍🏫 For the teacher

Suggested plan — 3 lectures × 60 min.

  1. Series and radius. Theorems 1.18–1.20 quickly (they are Unit 1 facts in a new setting), then Cauchy–Hadamard with proof (Theorem 1.21) and Example 1 — let the class find the trap in (d). Theorem 1.23 stated, proof outlined. Example 2 with Interactive 1 projected: put $z$ on the circle at angle $180^\circ$, then move the angle to $0^\circ$ for $\sum z^n/n$.
  2. The exponential and trigonometric functions. Definition 1.10; prove the addition law via the Cauchy product and Euler's formula; Theorem 1.25(4)–(5). Theorem 1.26 parts (3) and (4) on the board; Example 4(b) as a model for every "solve $\sin z=c$" problem; Example 5. Show $e^z$ and $\sin z$ in Interactive 2.
  3. Logarithms and powers. Definition 1.11 and Theorem 1.27 with the proof of (4) — the most conceptual argument of the section. Theorems 1.28–1.29, Examples 6–7, inverse trigonometric functions. Interactive 2 with $\operatorname{Log}$ and the size slider at maximum (the cut). Exam corner E4 and E6 live.

Discussion questions. (1) Why is it natural to define $e^z$ by a series rather than as a limit or an inverse function? (2) Is $i^i$ "a number"? Discuss what it means for an expression to be multivalued, and how calculators decide. (3) The real function $\frac{1}{1+x^2}$ is perfectly smooth; why does its Taylor series stop converging at $|x|=1$?

Misconceptions to watch for. Using $\liminf$ or the average in Cauchy–Hadamard; assuming convergence on the whole boundary circle, or nowhere on it; "$|\sin z|\le1$"; "$e^z$ is one-to-one"; treating $\operatorname{Log}$ as a homomorphism; writing $(-8)^{1/3}=-2$ for the principal value.

Suggested homework. I(1, 2, 5, 6, 8), II(2, 4, 6, 9), III(1, 3, 5, 6), IV(1, 3, 4); Exam corner E1, E2, E5.

🔬 Research–Teaching NexusResearch-tutored · optional, about 60 minutes

Research question. The series $\sum z^n/n!$ converges for every $z$. Can a computer simply add up its terms to compute $e^z$ — and if not, how do scientific libraries actually do it?

Why it matters. Every simulation of waves, circuits or quantum systems evaluates $e^{i\omega t}$ millions of times; satellite navigation and audio signal processing depend on fast, accurate complex exponentials. Floating-point arithmetic keeps only about 16 significant digits, and an innocent-looking convergent series can lose all of them.

What to do.

  1. In double precision, sum $\sum_{n=0}^{N}z^n/n!$ for $z=20i$, $z=40i$ and $z=-30$, with $N$ large enough that the terms are negligible. Compare with the library value of $e^z$; record the absolute error.
  2. Find the size of the largest term in each case ($|z|^n/n!$ is largest near $n=|z|$) and explain the errors through cancellation: the result is tiny compared with the terms being added.
  3. Implement two cures: range reduction using periodicity ($e^{x+iy}=e^x(\cos y+i\sin y)$ with $y$ reduced modulo $2\pi$, and $e^{-30}=1/e^{30}$), and scaling and squaring ($e^z=(e^{z/2^k})^{2^k}$). Measure the errors again.
  4. Estimate how many terms of the series are needed for 15 correct digits when $|z|\le\tfrac12$, using the tail bound $\sum_{n\gt N}\frac{|z|^n}{n!}\le\frac{|z|^{N+1}}{(N+1)!}\cdot\frac{1}{1-|z|/(N+2)}$.

Tools: Python (cmath, or mpmath for high-precision reference values) or any language with complex floating point.

Hand in: A table of errors (naive series, range reduction, scaling and squaring), and a paragraph explaining the cancellation with the size of the largest term.

Going further. Read about the CORDIC algorithm, which computes $e^{i\theta}$ in hardware with only shifts and additions by writing $\theta$ as a sum of the angles $\arctan2^{-k}$; and about how the matrix exponential $e^{A}$ is computed in numerical linear algebra by the same scaling-and-squaring idea.

Instructor note: in double precision the naive sum for $z=20i$ has error about $7\times10^{-9}$ (largest term $20^{20}/20!\approx4.3\times10^{7}$); for $z=40i$ the result is useless, error about $1.03$ (largest term $\approx1.5\times10^{16}$); for $z=-30$ the naive sum gives $6.1\times10^{-6}$ instead of $e^{-30}\approx9.36\times10^{-14}$. With range reduction all three are accurate to about 15 digits. For $|z|\le\tfrac12$ the tail bound gives relative error about $1.2\times10^{-15}$ with $N=13$ and $4\times10^{-17}$ with $N=14$.

🧪 Self-check quiz

0/5 correct

Q1. The radius of convergence of $\sum_{n\ge1}\dfrac{n^5}{2^n}z^n$ is

Q2. The equation $e^z=0$ has

Q3. For $z=x+iy$, $|e^{z}|$ equals

Q4. The principal value of $(-1)^{1/2}$ is

Q5. On the circle $|z|=1$, the series $\sum_{n\ge1}z^n/n$