Complex Functions
A real number needs a line. A complex number needs a plane. Let’s see what that changes when we square the input.
A complex function w = f(z) maps each allowed complex input z = x + iy to one complex output w = u + iv. Explore the difference between real and complex functions through animated mappings, worked examples and the SJMathTube video lesson.
One number → one number
A line for the input. A line for the output.
One point → one point
A plane for the input. A plane for the output.
The moving marker represents the mapping. The fixed dots show the actual input and output.
Two number lines become one graph.
First, 2 goes in and 4 comes out. Then the output line turns upright to become the y-axis. Watch the guides meet at (2, 4).
One input: 2. One output: 4.
The parabola is made of input–output pairs (x, x²). The vertical coordinate records the output for each horizontal input.
A whole set of inputs. A whole set of images.
Choose a set in the z-plane. Under w = z², every point has an image in the w-plane. Matching coloured dots show corresponding inputs and outputs.
Input · z = x + iy
Output · w = u + iv
The vertical line x = 1 maps to a left-opening parabola.
The animation shows the part −2 ≤ y ≤ 2. The complete line and its image extend indefinitely.
For real inputs, the domain lies on a number line. For complex inputs, it lies in a plane. The full domain of x² is ℝ; the full domain of z² is ℂ. We can restrict either function to a smaller set. Here we are following selected lines and a circle within ℂ.
The real graph y = x² is a parabola. The complex mapping w = z² transforms chosen input sets into images: the shape depends on which inputs we choose.
First, what does w = f(z) mean?
A complex function takes a complex number as its input and assigns exactly one complex number as its output. We write
z is the input. f is the rule. w is the output. Throughout these lessons, we will use
The point (x, y).
x gives the real part.
y gives the imaginary part.
The point (u, v).
u gives the real part.
v gives the imaginary part.
An Argand diagram has the same perpendicular coordinate layout as a Cartesian plane. We interpret each point as a complex number.
A function may be defined only on part of the complex plane. Each allowed input must have one output.
For a real function, one number goes in.
Look at , where x is real. The job of this function is simply to square the input.
Each input needs one real coordinate. Each output needs one real coordinate. To draw the usual graph, we place the input on the horizontal x-axis and the output on the vertical y-axis.
We plot the pairs (1, 1), (2, 4), (−2, 4), and all the other pairs (x, x²). Together, they make an upward-opening parabola.
One input coordinate + one output coordinate = two coordinates.
The graph of this real function fits in one two-dimensional plane. The two number lines in the opening illustration show its input and output separately.
The same rule. A complex input.
Now look at . It looks like our familiar squaring function. But wait a minute: this time z is complex.
Let us put in .
Do you remember? . So the real parts cancel.
The input already needs two coordinates. The output needs another two. So we give each one its own plane.
On the xy-plane, plot the input at (1, 1). On the uv-plane, plot the output at (0, 2). Think of two monitors: choose an input on the first, and observe its output on the second.
The function connects each input point to its image in the output plane. We call this a mapping.
Watch the notation: in the real graph, y was the output. Here y is part of the input z = x + iy. The output is w = u + iv.
Where do four dimensions enter?
A point on the real graph is recorded as (x, y). To record both a complex input and its output, we need (x, y, u, v): four real coordinates.
The full graph of a complex function lies in four-dimensional real space. Our two-plane picture lets us follow the mapping using ordinary diagrams.
There are still only two independent input coordinates. Once x and y are chosen, the function determines u and v. “Four coordinates” does not mean four independent inputs.
Does z² have to give a parabola?
For the real function, we drew the graph y = x². For the complex mapping, let us choose a set of input points and see where they go.
Compare this with w = u + iv:
A. Choose the real axis: y = 0
Then u = x² and v = 0. Every output lies on the nonnegative real axis of the w-plane.
Notice that 1 and −1 have the same output. Different inputs are allowed to have the same output.
B. Choose the vertical line: x = 1
Now z = 1 + iy. The mapping equations become
From v = 2y, we get . Substitute this into u:
This is a left-opening parabola in the uv-plane. Its vertex is (1, 0).
The same rule z² maps one line to a ray and another line to a parabola. The image depends on the function and the input set we choose.
Other ways to see complex functions
A surface made from the modulus
Keep x and y as the horizontal coordinates and use the output’s modulus as the height:
This gives a three-dimensional surface, but height alone does not show the output’s argument.
Domain colouring
Colour each input point according to its output. Hue usually shows the argument; brightness or patterns help show the modulus. These conventions vary.
For our introductory lessons, the two-plane picture makes it easier to follow each input and its output.
Watch the explanation
0:25 Real and complex functions · 2:32 Complex inputs · 4:03 Visualisation · 7:19 Mapping · 8:59 Behaviour
Try three quick questions.
Use w = z².
1. Where does z = i go? Reveal answer
i² = −1. Therefore (0, 1) maps to (−1, 0).
2. Where does z = 1 − i go? Reveal answer
(1 − i)² = 1 − 2i + i² = −2i.
Therefore (1, −1) maps to (0, −2).
3. Is y the output in z = x + iy? Reveal answer
No. y is the imaginary part of the input. The output is w = u + iv.
Next in the video series: limits, continuity and analytic functions.
Complex Analysis ↑