Sequences & Vectors

Complex Numbers on the Plane

For centuries, mathematicians were troubled by the equation x^2 = -1. No real number satisfies it. The solution was to invent one: the imaginary unit i, defined so that i^2 = -1. Far from being a mathematical curiosity, complex numbers turned out to be essential for describing electricity, quantum physics, signal processing, and fractal geometry.

The Complex Plane

Every complex number z = a + bi can be plotted as a point on a plane, where:

This is the complex plane (also called the Argand diagram).

Real part a3
-44
Imaginary part b2
-44
z=3+2iz = 3 + 2\,i

We can visualize the complex number as a point and its distance from the origin:

-5-4-3-2-112345-5-4-3-2-112345line to zimaginary part breal axis

The purple line goes from the origin to the point z = (a, b). The red horizontal line shows the imaginary part. The complex number sits at the intersection.

Connection

The complex plane looks just like the Cartesian plane, and complex numbers look just like vectors. The connection is deep: complex numbers are vectors with an extra operation (multiplication) that vectors in R^2 do not have. This multiplication is what makes complex numbers so powerful.

Magnitude (Modulus) of a Complex Number

The magnitude (or modulus) of z = a + bi is its distance from the origin:

|z| = sqrt(a^2 + b^2)

This is just the Pythagorean theorem applied to the complex plane.

a3
-44
b4
-44
z=3+4i=32+42|z| = |3 + 4\,i| = \sqrt{ 3^2 + 4^2 }

All complex numbers with the same magnitude lie on a circle centered at the origin:

-6-5-4-3-2-1123456-6-5-4-3-2-1123456|z| circle (upper)|z| circle (lower)z = a + bi

The yellow circle shows all complex numbers with the same magnitude as z. The point z sits on this circle. When a = 3 and b = 4, |z| = 5 — the classic 3-4-5 right triangle.

Try This

Set a = 3 and b = 4. The magnitude is 5. Now set a = 0 and b = 5. The magnitude is still 5, but now z is a purely imaginary number sitting on the imaginary axis. Every point on the yellow circle has the same magnitude — they just differ in their argument (angle).

Addition: Parallelogram Rule

Adding complex numbers works component-wise, just like vector addition:

(a + bi) + (c + di) = (a + c) + (b + d)i

z1 real2
-33
z1 imag1
-33
z2 real1
-33
z2 imag2.5
-33
z1+z2=(2+1)+(1+2.5)iz_1 + z_2 = (2 + 1) + (1 + 2.5)\,i
-5-4-3-2-112345-5-4-3-2-112345z1z2z1 + z2

The green line shows the sum z1 + z2. Just like vector addition, the result follows the parallelogram rule: place the two arrows tip-to-tail, and the diagonal of the parallelogram is the sum.

Multiplication: Rotation + Scaling

Here is where complex numbers become magical. When you multiply two complex numbers, you multiply their magnitudes and add their angles:

|z1 * z2| = |z1| * |z2| arg(z1 * z2) = arg(z1) + arg(z2)

Multiplication by a complex number is a rotation and a scaling in one operation.

|z| (magnitude)1.5
0.53
arg(z) (angle)0.79
06.28
z=1.5(cos0.79+isin0.79)z = 1.5\,(\cos0.79 + i\sin0.79)

When we multiply any point w on the unit circle by z, the point rotates by arg(z) and scales by |z|. Let’s see the unit circle and its image after multiplication by z:

-4-3-2-11234-4-3-2-11234unit circle (upper)unit circle (lower)scaled circle (upper)scaled circle (lower)

The gray circle is the original unit circle. The purple circle has radius |z|, showing how multiplication scales everything by the magnitude. The rotation by arg(z) moves every point along the circle by that angle.

Try This

Set magnitude to 1 and vary the angle. Now multiplication by z is a pure rotation — no scaling at all. This is the key insight: the complex numbers on the unit circle (|z| = 1) are precisely the rotations of the plane. Multiplying by i (magnitude 1, angle pi/2) rotates everything 90 degrees counterclockwise.

Euler’s Formula: The Crown Jewel

The most beautiful equation in mathematics connects exponentials, trig functions, and complex numbers:

e^(itheta) = cos(theta) + isin(theta)

This means every point on the unit circle can be written as e^(i*theta). And the famous special case at theta = pi gives:

e^(i*pi) + 1 = 0

— connecting e, i, pi, 1, and 0 in a single equation.

theta3.14
06.28
ei3.14=cos(3.14)+isin(3.14)e^{i \cdot 3.14} = \cos(3.14) + i\sin(3.14)
-1.5-1-0.50.511.5-1.5-1-0.50.511.5unit circle (upper)unit circle (lower)sin(theta) = imag partcos(theta) = real part

The teal circle is the unit circle. The red line shows sin(theta) (the imaginary part of e^(itheta)) and the blue line shows cos(theta) (the real part). As theta sweeps from 0 to 2pi, the point e^(i*theta) traces the entire unit circle.

Connection

Euler’s formula is not just beautiful — it is the foundation of modern electrical engineering. AC circuits are analyzed using complex numbers, where voltage and current are represented as rotating complex exponentials. Fourier transforms, which decompose signals into frequency components, are built entirely on e^(i*theta).

Powers of i

Since i represents a 90-degree rotation, repeating the multiplication cycles through four values:

PowerValueRotation
i^010 degrees
i^1i90 degrees
i^2-1180 degrees
i^3-i270 degrees
i^41360 degrees (back to start)

Every fourth power returns to 1. This cycle — 1, i, -1, -i, 1, i, -1, -i, … — is the heartbeat of complex arithmetic.

12345678-2-112real part of i^ximaginary part of i^x

The purple curve shows the real part cycling through 1, 0, -1, 0, 1, … The red curve shows the imaginary part cycling through 0, 1, 0, -1, 0, … They are just cosine and sine sampled at quarter turns.

Challenge

Challenge: Compute (1 + i)^8 without a calculator. Hint: first find the magnitude and angle of (1 + i). The magnitude is sqrt(2) and the angle is pi/4. By De Moivre’s theorem, (1 + i)^8 has magnitude (sqrt(2))^8 and angle 8 * pi/4. What are those values? What is the final answer in a + bi form?

Take the Quiz