Lemma
← All topics
Further mathematics

Complex numbers

Numbers with two dimensions: algebra that is also geometry.

Introduction

The equation x2+1=0x^2 + 1 = 0 has no real solution. Adjoining a single new number ii with i2=−1i^2 = -1 gives a number system, C\mathbb{C}, in which every polynomial equation has a solution. What began as an algebraic convenience turns out to be geometric: multiplying complex numbers rotates and scales the plane. That makes complex numbers indispensable in trigonometry, physics, signal processing and analysis.

Mathematical motivation

In the sixteenth century, Bombelli applied Cardano's formula to x3=15x+4x^3 = 15x + 4, which has the obvious real root x=4x = 4. The formula produced

x=2+−1213+2−−1213.x = \sqrt[3]{2 + \sqrt{-121}} + \sqrt[3]{2 - \sqrt{-121}}.

Treating −121=11i\sqrt{-121} = 11i formally, he observed (2+i)3=2+11i(2 + i)^3 = 2 + 11i, so x=(2+i)+(2−i)=4x = (2 + i) + (2 - i) = 4. The route to a real answer passed through non-real numbers. That was the first strong evidence that complex numbers are not a curiosity but a necessary extension of the reals.

Intuitive explanation

IntuitionMultiplication by ii is a quarter-turn

Plot z=a+biz = a + bi as the point (a,b)(a, b). Then iz=−b+aiiz = -b + ai is the point (−b,a)(-b, a): the original point rotated by 90°90° about the origin. Doing this twice gives a half-turn, which is multiplication by −1-1. So i2=−1i^2 = -1 has a geometric meaning.

More generally, multiplying by reiθre^{i\theta} scales distances by rr and rotates by θ\theta. Moduli multiply and arguments add.

Try the complex visualiser: drag zz and ww and watch zwzw move.

Multiplication is rotation and scaling

Multiply any complex number by ii and watch the point: 1→i→−1→−i→11 \to i \to -1 \to -i \to 1. Each step is a quarter-turn anticlockwise. That is the real meaning of i2=−1i^2 = -1: two quarter-turns make a half-turn, and a half-turn sends 11 to −1-1.

More generally, multiplying by reiθre^{i\theta} stretches by rr and rotates by θ\theta. So:

  • ∣zw∣=∣z∣∣w∣|zw| = |z||w|: the lengths multiply.
  • arg⁡(zw)=arg⁡z+arg⁡w\arg(zw) = \arg z + \arg w: the angles add.
  • Dividing undoes it: lengths divide and angles subtract.
  • Conjugation is a reflection in the real axis, and zzˉ=∣z∣2z\bar z = |z|^2 because zz and zˉ\bar z have opposite angles that cancel.

Once multiplication is seen as rotation, much of trigonometry, and a lot of geometry, becomes simple algebra.

Formal definitions

DefinitionComplex numbers

C={a+bi:a,b∈R}\mathbb{C} = \{a + bi : a, b \in \mathbb{R}\}, with i2=−1i^2 = -1 and the usual rules of algebra. For z=a+biz = a + bi: Re⁡z=a\operatorname{Re} z = a, Im⁡z=b\operatorname{Im} z = b. Two complex numbers are equal iff their real parts are equal and their imaginary parts are equal.

DefinitionConjugate, modulus, argument

For z=a+biz = a + bi:

  • the conjugate is zˉ=a−bi\bar z = a - bi;
  • the modulus is ∣z∣=a2+b2|z| = \sqrt{a^2 + b^2}, the distance from 00;
  • an argument arg⁡z\arg z is an angle θ\theta with z=∣z∣(cos⁡θ+isin⁡θ)z = |z|(\cos\theta + i\sin\theta), for z≠0z \neq 0. The principal argument lies in (−π,π](-\pi, \pi].
DefinitionExponential form

For real θ\theta define eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta. Then every nonzero zz can be written z=reiθz = re^{i\theta} with r=∣z∣r = |z|, θ=arg⁡z\theta = \arg z.

Important notation

  • z=x+iyz = x + iy (Cartesian), z=r(cos⁡θ+isin⁡θ)=rcis⁡θz = r(\cos\theta + i\sin\theta) = r\operatorname{cis}\theta (modulus–argument), z=reiθz = re^{i\theta} (exponential).
  • Arg⁡z\operatorname{Arg} z sometimes denotes the principal value, arg⁡z\arg z the multivalued argument.
  • ω\omega often denotes a primitive root of unity, e.g. ω=e2πi/3\omega = e^{2\pi i/3}.

Important identities

IdentitiesAlgebraic
zzˉ=∣z∣2,z+zˉ=2Re⁡z,z−zˉ=2iIm⁡z,zw‾=zˉ wˉ,∣zw∣=∣z∣∣w∣.z\bar z = |z|^2,\qquad z + \bar z = 2\operatorname{Re} z,\qquad z - \bar z = 2i\operatorname{Im}z,\qquad \overline{zw} = \bar z\,\bar w,\qquad |zw| = |z||w|.
IdentitiesExponential and trigonometric
eiθeiϕ=ei(θ+ϕ),cos⁡θ=eiθ+e−iθ2,sin⁡θ=eiθ−e−iθ2i.e^{i\theta}e^{i\phi} = e^{i(\theta + \phi)},\qquad \cos\theta = \frac{e^{i\theta} + e^{-i\theta}}{2},\qquad \sin\theta = \frac{e^{i\theta} - e^{-i\theta}}{2i}.

If z=eiθz = e^{i\theta} then zn+z−n=2cos⁡nθz^n + z^{-n} = 2\cos n\theta and zn−z−n=2isin⁡nθz^n - z^{-n} = 2i\sin n\theta.

IdentitiesTriangle inequality
∣∣z∣−∣w∣∣≤∣z+w∣≤∣z∣+∣w∣.\big||z| - |w|\big| \le |z + w| \le |z| + |w|.

Theorems and propositions

TheoremDe Moivre's theorem

For every integer nn and real θ\theta, (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ(\cos\theta + i\sin\theta)^n = \cos n\theta + i\sin n\theta.

TheoremConjugate root theorem

If pp is a polynomial with real coefficients and p(z0)=0p(z_0) = 0, then p(zˉ0)=0p(\bar z_0) = 0.

TheoremFundamental theorem of algebra

Every non-constant polynomial with complex coefficients has a complex root. Consequently a polynomial of degree nn has exactly nn roots in C\mathbb{C}, counted with multiplicity.

Theoremnnth roots

For w=Reiϕ≠0w = Re^{i\phi} \neq 0, the equation zn=wz^n = w has exactly nn distinct solutions,

zk=R1/nexp⁡ ⁣(i ϕ+2kπn),k=0,1,…,n−1.z_k = R^{1/n}\exp\!\left(i\,\frac{\phi + 2k\pi}{n}\right),\qquad k = 0, 1, \dots, n-1.

They lie at the vertices of a regular nn-gon centred at 00.

Proofs of important results

ProofDe Moivre for n∈Nn \in \mathbb{N} (by induction)

n=1n = 1 is immediate. Assume (cos⁡θ+isin⁡θ)k=cos⁡kθ+isin⁡kθ(\cos\theta + i\sin\theta)^k = \cos k\theta + i\sin k\theta. Then

(cos⁡θ+isin⁡θ)k+1=(cos⁡kθ+isin⁡kθ)(cos⁡θ+isin⁡θ)=(cos⁡kθcos⁡θ−sin⁡kθsin⁡θ)+i(sin⁡kθcos⁡θ+cos⁡kθsin⁡θ)=cos⁡(k+1)θ+isin⁡(k+1)θ\begin{aligned}(\cos\theta + i\sin\theta)^{k+1} &= (\cos k\theta + i\sin k\theta)(\cos\theta + i\sin\theta)\\ &= (\cos k\theta\cos\theta - \sin k\theta\sin\theta) + i(\sin k\theta\cos\theta + \cos k\theta\sin\theta)\\ &= \cos(k+1)\theta + i\sin(k+1)\theta\end{aligned}

by the compound angle formulae. For negative n=−mn = -m, note (cos⁡θ+isin⁡θ)−1=cos⁡θ−isin⁡θ=cos⁡(−θ)+isin⁡(−θ)(\cos\theta + i\sin\theta)^{-1} = \cos\theta - i\sin\theta = \cos(-\theta) + i\sin(-\theta) and apply the positive case with −θ-\theta.

∎
ProofConjugate root theorem

Let p(z)=∑akzkp(z) = \sum a_kz^k with ak∈Ra_k \in \mathbb{R}, so aˉk=ak\bar a_k = a_k. Since conjugation respects sums and products,

p(zˉ0)=∑akzˉ0 k=∑akz0k‾=p(z0)‾=0ˉ=0.p(\bar z_0) = \sum a_k\bar z_0^{\,k} = \overline{\sum a_k z_0^k} = \overline{p(z_0)} = \bar 0 = 0.
∎
ProofThe sum of the nnth roots of unity is 00 (n≥2n \ge 2)

Let ω=e2πi/n≠1\omega = e^{2\pi i/n} \neq 1. Then ∑k=0n−1ωk=ωn−1ω−1=1−1ω−1=0.\sum_{k=0}^{n-1}\omega^k = \dfrac{\omega^n - 1}{\omega - 1} = \dfrac{1 - 1}{\omega - 1} = 0.

∎

Step-by-step derivations

Multiple-angle formulae from De Moivre

Expand (cos⁡θ+isin⁡θ)3(\cos\theta + i\sin\theta)^3 binomially with c=cos⁡θc = \cos\theta, s=sin⁡θs = \sin\theta:

c3+3c2(is)+3c(is)2+(is)3=(c3−3cs2)+i(3c2s−s3).c^3 + 3c^2(is) + 3c(is)^2 + (is)^3 = (c^3 - 3cs^2) + i(3c^2s - s^3).

Comparing with cos⁡3θ+isin⁡3θ\cos3\theta + i\sin 3\theta and using s2=1−c2s^2 = 1 - c^2:

cos⁡3θ=4cos⁡3θ−3cos⁡θ,sin⁡3θ=3sin⁡θ−4sin⁡3θ.\cos 3\theta = 4\cos^3\theta - 3\cos\theta,\qquad \sin3\theta = 3\sin\theta - 4\sin^3\theta.

Powers of cos⁡\cos in terms of multiple angles

With z=eiθz = e^{i\theta}, 2cos⁡θ=z+z−12\cos\theta = z + z^{-1}, so

16cos⁡4θ=(z+z−1)4=(z4+z−4)+4(z2+z−2)+6=2cos⁡4θ+8cos⁡2θ+6,16\cos^4\theta = (z + z^{-1})^4 = (z^4 + z^{-4}) + 4(z^2 + z^{-2}) + 6 = 2\cos4\theta + 8\cos2\theta + 6,

which gives cos⁡4θ=18(cos⁡4θ+4cos⁡2θ+3)\cos^4\theta = \tfrac18(\cos 4\theta + 4\cos2\theta + 3).

Euler's formula without power series

Let f(θ)=e−iθ(cos⁡θ+isin⁡θ)f(\theta) = e^{-i\theta}(\cos\theta + i\sin\theta). Using ddθe−iθ=−ie−iθ\frac{d}{d\theta}e^{-i\theta} = -ie^{-i\theta} (the chain rule, which works for complex constants):

f′(θ)=−ie−iθ(cos⁡θ+isin⁡θ)+e−iθ(−sin⁡θ+icos⁡θ)=e−iθ(−icos⁡θ+sin⁡θ−sin⁡θ+icos⁡θ)=0.f'(\theta) = -ie^{-i\theta}(\cos\theta + i\sin\theta) + e^{-i\theta}(-\sin\theta + i\cos\theta) = e^{-i\theta}\big(-i\cos\theta + \sin\theta - \sin\theta + i\cos\theta\big) = 0.

So ff is constant, and f(0)=1f(0) = 1. Hence eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta.

Physical picture: z(t)=eitz(t) = e^{it} has velocity z′(t)=iz(t)z'(t) = iz(t). The velocity is always the position turned through 90°90°, so it is perpendicular to the radius, with speed ∣z∣=1|z| = 1. That is motion round the unit circle at unit speed, and after time θ\theta you have travelled arc length θ\theta, so you are at angle θ\theta.

eiπ+1=0e^{i\pi} + 1 = 0

Put θ=π\theta = \pi: walk half-way round the unit circle and you reach −1-1. The identity links ee, ii, π\pi, 11 and 00, the five most important constants, using addition, multiplication and powers once each.

Roots of unity, derived

zn=1=e2kπiz^n = 1 = e^{2k\pi i} for every integer kk, so z=e2kπi/nz = e^{2k\pi i/n}. The values k=0,1,…,n−1k = 0, 1, \ldots, n - 1 are distinct, and k=nk = n brings you back to 11. So there are exactly nn roots, equally spaced round the unit circle, forming a regular nn-gon.

Why loci give circles and lines

∣z−a∣|z - a| is the distance from zz to aa. So:

  • ∣z−a∣=r|z - a| = r is a circle;
  • ∣z−a∣=∣z−b∣|z - a| = |z - b| is the perpendicular bisector of abab;
  • arg⁡(z−a)=θ\arg(z - a) = \theta is a half-line starting from aa.

Circle theorem: arg⁡z−az−b=θ\arg\frac{z - a}{z - b} = \theta (the angle at zz in triangle azbazb) is an arc of a circle through aa and bb. This is the "angles in the same segment" theorem.

Worked examples

ExampleDivision

2+3i1−i=(2+3i)(1+i)(1−i)(1+i)=2+2i+3i−32=−12+52i.\dfrac{2 + 3i}{1 - i} = \dfrac{(2 + 3i)(1 + i)}{(1 - i)(1 + i)} = \dfrac{2 + 2i + 3i - 3}{2} = -\tfrac12 + \tfrac52 i.

ExampleModulus–argument form

z=−1−iz = -1 - i: ∣z∣=2|z| = \sqrt2. The point lies in the third quadrant, so arg⁡z=−π+π4=−3π4\arg z = -\pi + \frac\pi4 = -\frac{3\pi}4, and z=2 e−3πi/4z = \sqrt2\,e^{-3\pi i/4}.

arctan⁡ba=arctan⁡1=π4\arctan\frac{b}{a} = \arctan 1 = \frac\pi4 alone gives the wrong quadrant. Always sketch the point.

ExampleFourth roots of −16-16

−16=16eiπ-16 = 16e^{i\pi}, so zk=2ei(π+2kπ)/4z_k = 2e^{i(\pi + 2k\pi)/4}, k=0,1,2,3k = 0,1,2,3, giving ±2±2i\pm\sqrt2 \pm\sqrt2 i: four points on a circle of radius 22, at 45°45°, 135°135°, 225°225°, 315°315°.

Common mistakes

Common mistakeWrong quadrant for the argument

arg⁡(−1−i)≠arctan⁡−1−1=π4\arg(-1 - i) \neq \arctan\frac{-1}{-1} = \frac\pi4. Locate the point first.

Common mistakeab=ab\sqrt{ab} = \sqrt a\sqrt b for negatives

−1−1=i⋅i=−1\sqrt{-1}\sqrt{-1} = i\cdot i = -1, but (−1)(−1)=1\sqrt{(-1)(-1)} = 1. Rules for real square roots do not carry over to C\mathbb{C}.

Common mistakeMissing roots

zn=wz^n = w has nn roots. Writing only k=0k = 0 loses the rest; going up to k=nk = n repeats the first.

Common mistakeConjugate roots without real coefficients

The conjugate root theorem needs real coefficients. z2−iz=0z^2 - iz = 0 has roots 00 and ii, but not −i-i.

Applications

  • Trigonometry: multiple-angle formulae, sums like ∑cos⁡kθ\sum\cos k\theta, and integrals like ∫excos⁡x dx\int e^x\cos x\,dx.
  • Electrical engineering: impedance Z=R+iωLZ = R + i\omega L turns AC circuit analysis into algebra.
  • Differential equations: e(a+ib)xe^{(a + ib)x} produces the oscillating solutions eaxcos⁡bxe^{ax}\cos bx and eaxsin⁡bxe^{ax}\sin bx.
  • Signal processing: the discrete Fourier transform is built from roots of unity.
  • Geometry: rotations and similarities of the plane are maps z↦az+bz \mapsto az + b.

Connections to other topics

  • Matrices: a+bi↔(a−bba)a + bi \leftrightarrow \begin{pmatrix}a & -b\\ b & a\end{pmatrix} is a faithful representation as rotation–scalings.
  • Maclaurin series justify eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta by comparing series.
  • Complex analysis studies differentiable functions C→C\mathbb{C} \to \mathbb{C}, with remarkable rigidity.
  • Group theory: the nnth roots of unity form a cyclic group of order nn.

Summary

  • i2=−1i^2 = -1; to divide, multiply top and bottom by the conjugate; zzˉ=∣z∣2z\bar z = |z|^2.
  • z=reiθz = re^{i\theta}: moduli multiply, arguments add. Find the argument from a sketch.
  • De Moivre: (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ(\cos\theta + i\sin\theta)^n = \cos n\theta + i\sin n\theta.
  • zn=wz^n = w has nn roots equally spaced on a circle; the nnth roots of unity sum to 00.
  • Real polynomials have non-real roots in conjugate pairs.
Beyond the specification

University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.

Where complex numbers come from (university)

"Let ii be a number with i2=−1i^2 = -1" sounds like wishful thinking. Rigorous mathematics builds C\mathbb{C} from R\mathbb{R} in a way that leaves nothing to faith. Here are three equivalent constructions.

1. Ordered pairs (Hamilton, 1835)

C=R2\mathbb{C} = \mathbb{R}^2, with

(a,b)+(c,d)=(a+c,b+d),(a,b)(c,d)=(ac−bd, ad+bc).(a, b) + (c, d) = (a + c, b + d), \qquad (a, b)(c, d) = (ac - bd,\ ad + bc).

Then (0,1)2=(−1,0)(0, 1)^2 = (-1, 0). Writing i=(0,1)i = (0, 1) and identifying aa with (a,0)(a, 0), every pair is a+bia + bi. Checking the field axioms (associativity, distributivity, inverses) is routine algebra.

2. Matrices

Send a+bia + bi to (a−bba)\begin{pmatrix}a & -b\\ b & a\end{pmatrix}. Matrix addition and multiplication then match complex addition and multiplication exactly, ii becomes the rotation by 90°90°, and ∣z∣2|z|^2 becomes the determinant. This makes "multiplication is rotation and scaling" literally true.

3. Polynomials (modern algebra)

C=R[x]/(x2+1)\mathbb{C} = \mathbb{R}[x]/(x^2 + 1): polynomials with real coefficients, where we agree to treat x2+1x^2 + 1 as zero. Every polynomial reduces to the form a+bxa + bx, and xx plays the role of ii. The same recipe builds every finite field and every algebraic extension of Q\mathbb{Q}. It is the foundation of Galois theory.

TheoremC\mathbb{C} cannot be ordered

There is no way to define "<<" on C\mathbb{C} that is compatible with ++ and ×\times the way it is on R\mathbb{R}.

Proof

In an ordered field, every non-zero square is positive (if x>0x > 0 then x2>0x^2 > 0; if x<0x < 0 then −x>0-x > 0 and x2=(−x)2>0x^2 = (-x)^2 > 0). So 1=12>01 = 1^2 > 0 and −1=i2>0-1 = i^2 > 0, giving 0=1+(−1)>00 = 1 + (-1) > 0, a contradiction.

∎

This is why statements like "z1<z2z_1 < z_2" are meaningless for complex numbers. Only moduli can be compared.

Beyond the syllabusBeyond C\mathbb{C}: quaternions and octonions

Hamilton spent years trying to multiply triples (a,b,c)(a, b, c) before realising, on 16 October 1843 on Brougham Bridge in Dublin, that four components were needed. He carved i2=j2=k2=ijk=−1i^2 = j^2 = k^2 = ijk = -1 into the stone. The quaternions H\mathbb{H} are not commutative (ij=−jiij = -ji), and they describe 3D rotations without the "gimbal lock" problem. Today they run inside every games engine and spacecraft attitude system.

Frobenius' theorem (1877): R\mathbb{R}, C\mathbb{C} and H\mathbb{H} are the only finite-dimensional associative division algebras over R\mathbb{R}. Dropping associativity allows one more, the 8-dimensional octonions, which appear in string theory.

The Fundamental Theorem of Algebra (university)

TheoremThe Fundamental Theorem of Algebra

Every non-constant polynomial with complex coefficients has a complex root. Consequently, a polynomial of degree nn has exactly nn roots counted with multiplicity.

The second sentence follows from the first by repeated factor theorem. The first is genuinely deep: it needs a property of C\mathbb{C} (completeness) that no amount of algebra alone provides.

A proof via minimum modulus (d'Alembert and Argand)

Let p(z)=anzn+⋯+a0p(z) = a_nz^n + \cdots + a_0 with n≥1n \ge 1 and an≠0a_n \ne 0.

Step 1: ∣p∣|p| has a minimum. For large ∣z∣|z|, ∣p(z)∣≥∣an∣∣z∣n−(∣an−1∣∣z∣n−1+⋯ )→∞|p(z)| \ge |a_n||z|^n - \left(|a_{n-1}||z|^{n-1} + \cdots\right) \to \infty. So outside some disc ∣z∣≤R|z| \le R, ∣p(z)∣>∣p(0)∣|p(z)| > |p(0)|. On the closed disc, the continuous function ∣p∣|p| attains a minimum (the extreme value theorem in two dimensions). That minimum, at z0z_0 say, is the global minimum.

Step 2: the minimum value is 00. Suppose p(z0)≠0p(z_0) \ne 0. Expand about z0z_0:

p(z0+h)=p(z0)+ckhk+(terms in hk+1,…),p(z_0 + h) = p(z_0) + c_kh^k + (\text{terms in } h^{k+1}, \ldots),

where ckc_k is the first non-zero coefficient after the constant. Choose the direction of hh so that ckhkc_kh^k points exactly opposite to p(z0)p(z_0). This is possible because we can take kkth roots in C\mathbb{C}. Then for small ∣h∣|h| the ckhkc_kh^k term dominates the higher terms, and

∣p(z0+h)∣<∣p(z0)∣,|p(z_0 + h)| < |p(z_0)|,

contradicting minimality. So p(z0)=0p(z_0) = 0. ■\blacksquare

Intuition: near any point where p≠0p \neq 0, you can always walk in some direction that makes ∣p∣|p| smaller. The only "valleys" of ∣p∣|p| are at its zeros. Over R\mathbb{R} this fails, because you can only move left or right, and x2+1x^2 + 1 has a genuine positive minimum.

HistoryA theorem with a long history

Girard (1629) conjectured it, and d'Alembert (1746), Euler, Lagrange and Laplace all gave flawed proofs. Gauss's doctoral thesis (1799) gave the first nearly complete proof (a topological step was justified only later). Argand (1814) gave the proof above, essentially complete. Today there are proofs by topology (winding numbers), complex analysis (Liouville's theorem) and Galois theory.

Mathematical curiosityBut no formula

Every polynomial has roots, yet there is no formula in radicals for the general quintic (Abel–Ruffini, 1824). Galois explained exactly which equations can be solved by radicals, using the symmetry group of their roots. x5−x−1=0x^5 - x - 1 = 0 has a real root near 1.16731.1673, but it cannot be written using +,−,×,÷+, -, \times, \div and  n\sqrt[n]{\ }.

Complex differentiation and the Cauchy–Riemann equations (university)

Define f′(z)=lim⁡h→0f(z+h)−f(z)hf'(z) = \lim_{h\to0}\frac{f(z + h) - f(z)}{h}, exactly as for real functions, but with hh allowed to approach 00 from any direction in the plane. Requiring the same limit from every direction is a very strong condition.

TheoremCauchy–Riemann equations

Write f(x+iy)=u(x,y)+iv(x,y)f(x + iy) = u(x, y) + iv(x, y). If ff is complex-differentiable at a point, then there

∂u∂x=∂v∂y,∂u∂y=−∂v∂x.\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y}, \qquad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x}.
Proof

Approach along the real axis (hh real): f′=ux+ivxf' = u_x + iv_x. Approach along the imaginary axis (h=ikh = ik): f′=uy+ivyi=vy−iuyf' = \frac{u_y + iv_y}{i} = v_y - iu_y. The two must agree: ux=vyu_x = v_y and vx=−uyv_x = -u_y.

∎
Examplez2z^2 passes; zˉ\bar z fails

z2=(x2−y2)+i(2xy)z^2 = (x^2 - y^2) + i(2xy): ux=2x=vyu_x = 2x = v_y and uy=−2y=−vxu_y = -2y = -v_x. ✓ It is differentiable everywhere, with derivative 2z2z.

zˉ=x−iy\bar z = x - iy: ux=1u_x = 1 but vy=−1v_y = -1. ✗ So conjugation, smooth as it looks, is nowhere complex-differentiable. Neither is ∣z∣2|z|^2, except at 00.

Consequences that have no real analogue

A function that is complex-differentiable on an open set (holomorphic) automatically:

  • is infinitely differentiable, and equals its Taylor series near every point;
  • has real and imaginary parts that are harmonic: uxx+uyy=0u_{xx} + u_{yy} = 0. This is why complex analysis solves problems in heat flow, electrostatics and fluid flow;
  • is conformal wherever f′≠0f' \ne 0: it preserves angles between curves, because near each point it acts like multiplication by f′(z)f'(z), which is a rotation and a scaling.
TheoremLiouville's theorem

A function that is holomorphic on all of C\mathbb{C} and bounded must be constant.

So sin⁡z\sin z, which is bounded on the real line, must be unbounded on C\mathbb{C}. Indeed sin⁡(iy)=isinh⁡y\sin(iy) = i\sinh y grows exponentially. Liouville also gives a two-line proof of the Fundamental Theorem of Algebra: if pp had no roots, 1p\frac1p would be holomorphic everywhere and bounded, hence constant.

Mathematical curiosityWhy the Maclaurin series of 11+x2\frac{1}{1 + x^2} stops converging at ∣x∣=1|x| = 1

11+x2=1−x2+x4−⋯\frac{1}{1 + x^2} = 1 - x^2 + x^4 - \cdots diverges for ∣x∣>1|x| > 1, even though the function is perfectly smooth on all of R\mathbb{R}. On the real line this is a mystery. In C\mathbb{C} it is obvious: the function blows up at z=±iz = \pm i, at distance 11 from the origin. A power series converges in the largest disc that avoids every singularity, even singularities you cannot see on the real line.

Contour integrals and Cauchy's theorem (university)

Integrate ff along a curve γ(t)\gamma(t), a≤t≤ba \le t \le b, in the complex plane:

∫γf(z) dz=∫abf(γ(t)) γ′(t) dt.\int_\gamma f(z)\,dz = \int_a^bf(\gamma(t))\,\gamma'(t)\,dt.
ExampleThe most important integral in complex analysis

Round the unit circle, γ(t)=eit\gamma(t) = e^{it}, 0≤t≤2π0 \le t \le 2\pi:

∮dzz=∫02πieiteit dt=∫02πi dt=2πi.\oint\frac{dz}{z} = \int_0^{2\pi}\frac{ie^{it}}{e^{it}}\,dt = \int_0^{2\pi}i\,dt = 2\pi i.

By contrast, for every integer n≠−1n \ne -1, ∮zn dz=∫02πiei(n+1)t dt=0\oint z^n\,dz = \int_0^{2\pi}ie^{i(n+1)t}\,dt = 0.

Why is 1z\frac1z special? Its antiderivative "log⁡z\log z" increases by 2πi2\pi i each time you go round the origin (the argument increases by 2π2\pi). It does not return to its starting value, so the integral is not 00.

TheoremCauchy's theorem

If ff is holomorphic inside and on a simple closed curve γ\gamma, then ∮γf(z) dz=0\oint_\gamma f(z)\,dz = 0.

Why (by Green's theorem): ∮(u+iv)(dx+i dy)\oint(u + iv)(dx + i\,dy) becomes the double integral of (−vx−uy)+i(ux−vy)(-v_x - u_y) + i(u_x - v_y) over the enclosed region. Both brackets vanish by Cauchy–Riemann.

TheoremCauchy's integral formula

Under the same conditions, for aa inside γ\gamma:

f(a)=12πi∮γf(z)z−a dz.f(a) = \frac{1}{2\pi i}\oint_\gamma\frac{f(z)}{z - a}\,dz.

The values of a holomorphic function inside a curve are completely determined by its values on the curve. Differentiating under the integral gives formulas for all the derivatives, which is why one complex derivative implies infinitely many.

ExampleA real integral, done the complex way
∫−∞∞dx1+x2=π.\int_{-\infty}^\infty\frac{dx}{1 + x^2} = \pi.

Close the real line with a large semicircle in the upper half-plane. The only singularity inside is z=iz = i, where 11+z2=1(z−i)(z+i)\frac{1}{1 + z^2} = \frac{1}{(z - i)(z + i)}. By the integral formula with f(z)=1z+if(z) = \frac{1}{z + i}:

∮=2πi⋅12i=π.\oint = 2\pi i\cdot\frac{1}{2i} = \pi.

On the semicircle ∣f∣≤1R2−1|f| \le \frac{1}{R^2 - 1} and the length is πR\pi R, so its contribution tends to 00. (The Integration lesson has harder examples using residues.)

Complex logarithms and powers (university)

Over R\mathbb{R}, ln⁡x\ln x is defined only for x>0x > 0. Over C\mathbb{C}, every non-zero number has a logarithm. In fact it has infinitely many.

If z=reiθz = re^{i\theta}, then eln⁡r+i(θ+2kπ)=ze^{\ln r + i(\theta + 2k\pi)} = z for every integer kk. So

log⁡z=ln⁡∣z∣+i(arg⁡z+2kπ),k∈Z.\log z = \ln|z| + i(\arg z + 2k\pi), \qquad k \in \mathbb{Z}.

For example, log⁡(−1)=iπ(2k+1)\log(-1) = i\pi(2k + 1): the values ±iπ,±3iπ,…\pm i\pi, \pm3i\pi, \ldots This is the honest reason why eiπ=−1e^{i\pi} = -1 does not let you divide by ii to conclude "ln⁡(−1)=πi\ln(-1) = \pi i" uniquely.

The principal value and branch cuts

To get a single-valued function we choose −π<arg⁡z≤π-\pi < \arg z \le \pi. This defines the principal logarithm Log⁡z\operatorname{Log} z. It is holomorphic everywhere except on the negative real axis, the branch cut, where it jumps by 2πi2\pi i. The jump is the price of forcing a many-valued function to have one value.

Complex powers

Define ab=eblog⁡aa^b = e^{b\log a}. It is many-valued unless bb is an integer.

Mathematical curiosityiii^i is real
ii=eilog⁡i=ei⋅i(π/2+2kπ)=e−π/2−2kπ.i^i = e^{i\log i} = e^{i\cdot i(\pi/2 + 2k\pi)} = e^{-\pi/2 - 2k\pi}.

Every value is a real number. The principal value is e−π/2≈0.2079e^{-\pi/2} \approx 0.2079.

ParadoxA false proof that 1=−11 = -1

1=1=(−1)(−1)=−1−1=i⋅i=−11 = \sqrt{1} = \sqrt{(-1)(-1)} = \sqrt{-1}\sqrt{-1} = i\cdot i = -1. The error is ab=ab\sqrt{ab} = \sqrt a\sqrt b: true for a,b≥0a, b \ge 0, but false for complex square roots, because each side may pick a different branch. The rule log⁡(ab)=log⁡a+log⁡b\log(ab) = \log a + \log b holds only up to multiples of 2πi2\pi i.

Beyond the syllabusRiemann surfaces

Riemann's insight (1851) was to stop forcing log⁡z\log z to be single-valued. Instead, build a new surface on which it is: an infinite spiral staircase lying over the plane, each level corresponding to one value of kk. Going once round the origin takes you up one level. z\sqrt z needs a two-sheeted surface. These Riemann surfaces began the field of algebraic geometry and the modern study of manifolds.

Why does this work?

Why does this work?Why does multiplying by ii rotate by 90°90°?

i(x+iy)=−y+ixi(x + iy) = -y + ix: the point (x,y)(x, y) goes to (−y,x)(-y, x), exactly a quarter-turn anticlockwise. Multiplying by ii twice is a half-turn, which is multiplying by −1-1. So "i2=−1i^2 = -1" is the algebraic shadow of "two quarter-turns make a half-turn".

Why does this work?Why is eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta?

Put iθi\theta into ex=∑xnn!e^x = \sum\frac{x^n}{n!} and separate real and imaginary parts: the real terms are 1−θ22!+θ44!−⋯=cos⁡θ1 - \frac{\theta^2}{2!} + \frac{\theta^4}{4!} - \dots = \cos\theta and the imaginary terms are θ−θ33!+⋯=sin⁡θ\theta - \frac{\theta^3}{3!} + \dots = \sin\theta. The diagram above shows these partial sums spiralling onto the unit circle.

Beyond the syllabus

Beyond the syllabusContour integration and the residue theorem

For functions that are complex-differentiable (holomorphic), integrals round closed loops behave remarkably. Cauchy's theorem: if ff is holomorphic inside and on a closed curve CC, then ∮Cf(z) dz=0\oint_Cf(z)\,dz = 0. If ff has isolated poles inside CC, the residue theorem says ∮Cf(z) dz=2πi∑Res⁡(f,zk)\oint_Cf(z)\,dz = 2\pi i\sum\operatorname{Res}(f, z_k), where the residue is the coefficient of 1z−zk\frac1{z - z_k} in the Laurent expansion. At a simple pole, Res⁡(f,a)=lim⁡z→a(z−a)f(z)\operatorname{Res}(f, a) = \lim_{z\to a}(z - a)f(z).

Example: ∫−∞∞dx1+x2=π\int_{-\infty}^\infty\frac{dx}{1 + x^2} = \pi. Integrate f(z)=11+z2f(z) = \frac{1}{1 + z^2} round a semicircle of radius RR in the upper half-plane. The only pole inside is z=iz = i, with residue lim⁡z→iz−i(z−i)(z+i)=12i\lim_{z\to i}\frac{z - i}{(z - i)(z + i)} = \frac1{2i}. So the loop integral is 2πi⋅12i=π2\pi i\cdot\frac1{2i} = \pi. On the arc, ∣f∣≤1R2−1|f| \le \frac{1}{R^2 - 1} and the length is πR\pi R, so that part tends to 00. What remains is the real integral: π\pi.

Example: ∫−∞∞dx1+x4=π2\int_{-\infty}^\infty\frac{dx}{1 + x^4} = \frac{\pi}{\sqrt2}, using the two poles eiπ/4e^{i\pi/4} and e3iπ/4e^{3i\pi/4} in the upper half-plane.

Beyond the syllabusConformal maps

A holomorphic function with non-zero derivative preserves angles. For example w=z2w = z^2 maps the first quadrant onto the upper half-plane, and the Joukowski map w=z+1zw = z + \frac1z turns circles into aerofoil shapes, which is how early aircraft wing lift was computed.

Mathematical curiosities

Mathematical curiosityiii^i is a real number

i=eiπ/2i = e^{i\pi/2}, so ii=ei⋅iπ/2=e−π/2≈0.2079i^i = e^{i\cdot i\pi/2} = e^{-\pi/2} \approx 0.2079. (Strictly, iii^i has infinitely many values e−π/2−2kπe^{-\pi/2 - 2k\pi}, all real.)

Mathematical curiosityEuler's identity

eiπ+1=0e^{i\pi} + 1 = 0 links the five most important constants with addition, multiplication and exponentiation, each used once.

Further exploration

Further explorationInvestigations
  • Evaluate ∫02πdθ2+cos⁡θ\int_0^{2\pi}\frac{d\theta}{2 + \cos\theta} by substituting z=eiθz = e^{i\theta} and using residues. (Answer: 2π3\frac{2\pi}{\sqrt3}.)
  • Plot the images of horizontal and vertical lines under w=z2w = z^2.

Reading pathway: Visual Complex Analysis (Tristan Needham), a beautifully geometric introduction.

Now practise60 questions from Very easy to Extreme →