SJMathTube
SJMathTube · Engineering Mathematics III · Lesson 2

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.

Real function

One number → one number

INPUTOUTPUTsquare→x = 2f(2) = 4024046

A line for the input. A line for the output.

Complex function

One point → one point

INPUT · zOUTPUT · ww = z²→1 + i ↔ (1, 1)2i ↔ (0, 2)xyuv001+i2i

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.

Watch the graph take shape

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.

Now keep the two planes

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

xy0-4-4-2-22244

Output · w = u + iv

uv0-4-4-2-22244

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.

01 · The notation

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

w=f(z)

z is the input. f is the rule. w is the output. Throughout these lessons, we will use

INPUT · z-plane
z=x+iy

The point (x, y).
x gives the real part.
y gives the imaginary part.

OUTPUT · w-plane
w=u+iv

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.

02 · Start with something familiar

For a real function, one number goes in.

Look at f(x) = x², where x is real. The job of this function is simply to square the input.

1 ↦ 1, 2 ↦ 4, −2 ↦ 4

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.

03 · Now change the input

The same rule. A complex input.

Now look at w = f(z) = z². It looks like our familiar squaring function. But wait a minute: this time z is complex.

Let us put in z = 1 + i.

w = (1 + i)²
= 1 + 2i + i²
= 1 + 2i − 1
= 2i

Do you remember? i² = −1. So the real parts cancel.

1 + i ↦ 2i
(1, 1) ↦ (0, 2)

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.

From 1 + i to 2iShort animation space

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.

04 · Counting coordinates

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.

05 · What happens to a whole line?

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.

w = (x + iy)²
= x² + 2ixy + i²y²
= (x² − y²) + i(2xy)

Compare this with w = u + iv:

u=x2−y2
v=2xy

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.

−2 ↦ 4, −1 ↦ 1, 0 ↦ 0
1 ↦ 1, 2 ↦ 4

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

u = 1 − y², v = 2y

From v = 2y, we get y=v2. Substitute this into u:

u=1−v24

This is a left-opening parabola in the uv-plane. Its vertex is (1, 0).

A straight line becomes a parabolaShort animation space

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:

|w|=u2+v2

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.

Your video lesson

Watch the explanation

Watch on YouTube

0:25 Real and complex functions · 2:32 Complex inputs · 4:03 Visualisation · 7:19 Mapping · 8:59 Behaviour

06 · Your turn

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 ↑
Formula Library
Latest
Latest Content Auto
Home