How to see a complex function
A complex function \(f\) assigns to each \(z\) in some region of \(\mathbb C\) a complex number \(w = f(z)\). Think of two copies of the plane: the \(z\)-plane, where inputs live, and the \(w\)-plane, where outputs land. The function is a map from one to the other.
To see a map, draw something simple in the \(z\)-plane, usually a grid of horizontal and vertical lines, and draw its image in the \(w\)-plane. The way the grid bends tells you almost everything about the function. Throughout the course, horizontal lines are violet and vertical lines are pink.
Real and imaginary parts
Writing \(z = x + iy\), every complex function splits into two real functions of two real variables:
\[ f(x + iy) = u(x, y) + i\,v(x, y). \]Examples
\(f(z) = z^2\): \((x + iy)^2 = (x^2 - y^2) + i(2xy)\), so \(u = x^2 - y^2\), \(v = 2xy\).
\(f(z) = \frac1z\): \(\frac{1}{x + iy} = \frac{x - iy}{x^2 + y^2}\), so \(u = \frac{x}{x^2 + y^2}\), \(v = \frac{-y}{x^2 + y^2}\).
\(f(z) = \bar z\): \(u = x\), \(v = -y\). A perfectly simple function, a reflection, which will turn out to be badly behaved in the sense that matters.
This splitting is useful for calculations, but it hides the structure. The power of complex analysis comes from treating \(z\) as one number, not two.
The simplest maps
From Units 1 and 2, we already know the simplest maps:
- \(z \mapsto z + b\) slides the plane by \(b\).
- \(z \mapsto az\) rotates the plane by \(\arg a\) and scales it by \(|a|\).
- So \(z \mapsto az + b\) is a rotation, a scaling and a slide: a similarity. It moves shapes around without changing their shape.
These complex-linear maps are the building blocks. In Unit 4 we'll see that a differentiable complex function looks like one of them when you zoom in close enough.
Squaring
In polar form, \(z^2 = r^2e^{2i\theta}\): squaring squares lengths and doubles angles. So the quarter plane (angles from 0 to \(\frac\pi2\)) opens out into the half plane (angles from 0 to \(\pi\)), and the whole plane wraps around itself twice.
The horizontal line \(y = c\) becomes \(u = x^2 - c^2\), \(v = 2cx\): eliminate \(x\) to get \(u = \frac{v^2}{4c^2} - c^2\), a parabola. The grid of squares has become a grid of parabolas. Look closely where a violet curve crosses a pink one: the angle is still a right angle, and tiny squares in the grid map to tiny shapes that are still nearly square. Only at 0, where angles double, does this fail. Hold on to that observation; it is the theme of Unit 6.
Inversion
In polar form, \(\frac1z = \frac1re^{-i\theta}\). The map turns the plane inside out: points near 0 go far away, far points come close to 0, and the unit circle stays on itself (reflected in the real axis).
Every line in the grid becomes a circle through 0. This is a special case of a beautiful fact: \(\frac1z\) sends every circle or line to a circle or line. We prove it in Unit 6, where it becomes the key to Möbius transformations.
The point at infinity
Where does \(\frac1z\) send 0? As \(z \to 0\), \(\left|\frac1z\right| \to \infty\) in every direction at once. It's natural to add a single point \(\infty\) to the plane, with \(\frac10 = \infty\) and \(\frac1\infty = 0\). The result, \(\hat{\mathbb C} = \mathbb C \cup \{\infty\}\), is the extended complex plane.
Unlike the real line, which goes off to \(+\infty\) and \(-\infty\), the plane has only one way out: every direction leads to the same \(\infty\). Lines are then circles that happen to pass through \(\infty\), which is why "circles and lines" keep appearing together.
Going deeper: the Riemann sphere
Place a sphere of radius 1 with its centre at 0 of the plane. For each point \(z\), draw the straight line from the north pole \(N\) to \(z\); it pierces the sphere at one more point. This stereographic projection matches every point of the plane with a point of the sphere, other than \(N\). Points far from 0 land near \(N\), so \(\infty\) corresponds to \(N\) itself. The extended plane is a sphere.
Stereographic projection sends circles on the sphere to circles or lines in the plane, and it preserves angles. On the sphere, \(\frac1z\) is just a half-turn rotation about the real axis, swapping the north and south poles. Mapmakers have used this projection since Hipparchus, around 150 BC.
Limits from every direction
The definitions of real analysis carry over word for word, with \(|z - a|\) as the distance:
Definition
\(\lim_{z\to a} f(z) = L\) means: for every \(\varepsilon > 0\) there is \(\delta > 0\) such that \(0 < |z - a| < \delta\) implies \(|f(z) - L| < \varepsilon\). And \(f\) is continuous at \(a\) if \(\lim_{z\to a} f(z) = f(a)\).
The difference is that \(|z - a| < \delta\) is now a disc, not an interval. The limit must be the same whichever way \(z\) approaches \(a\): along any line, any spiral, any path at all.
Example: a limit that doesn't exist
Consider \(\frac{\bar z}{z}\) as \(z \to 0\). Along the real axis, \(z = x\) and \(\frac{\bar z}z = 1\). Along the imaginary axis, \(z = iy\) and \(\frac{\bar z}z = \frac{-iy}{iy} = -1\). Two different answers from two directions: no limit. In polar form, \(\frac{\bar z}z = e^{-2i\theta}\) depends only on the direction of approach.
Since \(|\operatorname{Re} w| \le |w|\) and \(|\operatorname{Im} w| \le |w| \le |\operatorname{Re} w| + |\operatorname{Im} w|\), a complex limit exists exactly when the limits of the real and imaginary parts exist. So sums, products and quotients of continuous functions are continuous, and every polynomial and rational function is continuous wherever it is defined. The same goes for sequences and series: \(z_n \to z\) exactly when the real and imaginary parts converge, and \(\mathbb C\) is complete.
Example: the geometric series
For \(|z| < 1\), \(1 + z + z^2 + \cdots + z^n = \frac{1 - z^{n+1}}{1 - z} \to \frac1{1 - z}\), because \(|z^{n+1}| = |z|^{n+1} \to 0\). Exactly as on the real line, but now on a whole disc.
Practice set
Mixed questions covering the whole unit. Try each one before opening the answer.
1. Find \(u\) and \(v\) for \(f(z) = z^3\).
Show answer
\((x + iy)^3 = x^3 + 3ix^2y - 3xy^2 - iy^3\), so \(u = x^3 - 3xy^2\) and \(v = 3x^2y - y^3\).
2. What is the image of the sector \(0 \le \arg z \le \frac\pi4\), \(|z| \le 2\), under \(z^2\)?
Show answer
Angles double and lengths square: the sector \(0 \le \arg w \le \frac\pi2\), \(|w| \le 4\), a quarter disc.
3. Where does \(\frac1z\) send the circle \(|z| = 3\)? The line \(x = 1\)?
Show answer
\(|w| = \frac13\): the circle of radius \(\frac13\). The line \(x = 1\) goes to the circle with centre \(\frac12\) and radius \(\frac12\) (through 0 and 1).
4. Does \(\displaystyle\lim_{z\to0}\frac{z^2}{|z|}\) exist?
Show answer
Yes, it's 0: \(\left|\frac{z^2}{|z|}\right| = |z| \to 0\), whatever the direction.
5. Does \(\displaystyle\lim_{z\to0}\frac{\operatorname{Re} z}{z}\) exist?
Show answer
No. Along the real axis it is 1; along the imaginary axis it is 0.
6. For which \(z\) does \(\sum_{n=0}^\infty \left(\frac{z}{2}\right)^n\) converge, and to what?
Show answer
For \(|z| < 2\), to \(\frac1{1 - z/2} = \frac2{2 - z}\). For \(|z| \ge 2\) the terms don't tend to 0, so it diverges.
Summary and glossary
- A complex function is a map from the \(z\)-plane to the \(w\)-plane; we see it by watching what it does to a grid.
- \(az + b\) is a similarity; \(z^2\) squares lengths and doubles angles; \(\frac1z\) turns the plane inside out.
- Under \(z^2\) and \(\frac1z\), grid lines still cross at right angles, except where the map misbehaves.
- Adding one point \(\infty\) turns the plane into a sphere, and lines into circles through \(\infty\).
- Complex limits must agree from every direction; \(\frac{\bar z}{z}\) has no limit at 0.
- z-plane and w-plane
- The planes of inputs and of outputs of a map \(w = f(z)\).
- Similarity
- A map \(az + b\): rotation, scaling and translation.
- Extended plane
- \(\hat{\mathbb C} = \mathbb C \cup \{\infty\}\).
- Riemann sphere
- The extended plane pictured as a sphere by stereographic projection.
- Continuous
- \(f(z) \to f(a)\) as \(z \to a\) along every possible path.