Complex numbers and complex analysis
No ruler has ever measured a length of metres, and no scale has ever read kilograms. Yet the central equation of quantum mechanics has an written into it, and every wavefunction is a complex number at every point. Why would nature need a number whose square is negative?
The short answer is that is not really a number for counting. It is a number for turning. Once you see that, the strangeness drains away, and you get a tool that makes waves, circuits and integrals far easier.
Multiplying by i is a quarter turn
Draw the ordinary numbers along a line. Multiplying by −1 flips a number to the other side: a half turn. So what multiplied twice gives a half turn? A quarter turn. Put a second axis at right angles and call one step along it : then is two quarter turns, which is .
Every complex number is a point in this plane. Multiplying two complex numbers multiplies their lengths and adds their angles. Turn the arrow to an angle of 40 ° and watch its shadows on the two axes.
Euler’s formula
The arrow of length one at angle has shadows and . Leonhard Euler found the compact way to write it:
Put and you get : half a turn. Let grow with time and the arrow spins steadily while its shadow traces a cosine wave. That spinning arrow is a phasor. Adding two waves of the same frequency becomes adding two arrows, which is far easier than adding two trigonometric functions. Electrical engineers design every circuit this way.
Functions that bend the plane
A complex function moves every point of the plane somewhere else. The plate draws a phase portrait: thin amber lines where the output points in the same direction, and pale rings where it has the same size. Look at , and .
Where the phase lines all crowd into a point, the function is zero or infinite. Lines meeting and running the same way round mark a zero; the opposite way round, a pole, where the function blows up.
Functions that can be differentiated in the complex sense are called analytic, and they are astonishingly rigid: the real and imaginary parts must satisfy the Cauchy–Riemann equations and . Know an analytic function along a tiny curve and you know it everywhere.
Integrals that only see the poles
Integrate an analytic function around a closed loop and you get zero, unless the loop encloses a pole. Then you get times a number called the residue, which measures how strongly the function blows up there:
The function has poles at and . Move the loop’s centre to height 0.0. The integral is 0: zero when the loop holds no pole, when it holds the pole at , and when it holds the one at . Nothing else about the loop matters.
A real integral, done the easy way
What is ? Close the real line with a huge half-circle in the upper half of the plane. The half-circle contributes nothing as it grows, and the loop holds only the pole at , whose residue is . So the answer is .
You can check it the ordinary way, with , but contour integration does the same job for integrals that have no ordinary antiderivative. It will compute propagators in quantum field theory for us later.
Going round twice
Some functions cannot make up their minds. Take the square root. Start at , where , and , following the root continuously. You arrive back at with . Go round again to get back to .
To keep such a function single-valued we draw a branch cut, a line we agree not to cross. The cut is a bookkeeping choice; the doubling is real, and it will reappear when an electron needs a full 720° turn to return to itself.
Does quantum mechanics really need i?
In 2021 Marc-Olivier Renou and colleagues proposed an experiment, with three parties and two independent sources of entangled pairs, whose results no theory using only real numbers could reproduce, if systems are combined in the standard way. Experiments in 2022 agreed with the complex version. Established
In 2025 Timothée Hoffreumon and Mischa Woods argued that a real-number theory with a different rule for combining systems reproduces every prediction of ordinary quantum mechanics, so no experiment can tell them apart. Whether is a fact about nature or just the most convenient bookkeeping is now an open argument. Debated
Either way, the complex form is the natural language: the real versions still carry the fingerprints of complex arithmetic. This book will use freely.
What you now have
Complex numbers as arrows that multiply by turning, Euler’s formula, phasors, analytic functions, residues and branch cuts.
· · ·
Three questions to carry with you.
And one to work out. Using , the number is real. What is it?
Sources: T. Needham, Visual Complex Analysis. M.-O. Renou et al., Nature 600, 625 (2021). T. Hoffreumon and M. P. Woods, arXiv:2504.02808 (2025). ∫dx/(1+x²) = π and iⁱ = e^(−π/2) checked by code.