Complex Numbers Basics

Master complex arithmetic, polar form, and the geometry of the complex plane

Welcome to the Complex Plane!

Complex numbers extend the real number system by introducing i = √(-1), the imaginary unit. Every complex number can be written as z = a + bi where a is the real part and b is the imaginary part.

Unlike real numbers that live on a line, complex numbers live on a plane - the complex plane. This gives them rich geometric structure that makes complex analysis incredibly powerful and beautiful.

Demo 1: Complex Arithmetic Visualizer

See how complex numbers add and multiply geometrically. Addition is vector addition, while multiplication rotates and scales. Watch the magic happen!

2.0
1.0
1.0
2.0
z₁ + z₂ = 3.00 + 3.00i

📐 Addition as Vector Addition:

Complex addition works like vector addition. To find z₁ + z₂, place the tail of z₂ at the head of z₁. The result is the vector from the origin to this final point.

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

Demo 2: Polar vs. Cartesian Form

Every complex number can be expressed in two forms: Cartesian (a + bi) or Polar (r∠θ). Discover Euler's beautiful formula: e^(iθ) = cos(θ) + i·sin(θ)

Cartesian Form: a + bi

z = 2.00 + 1.50i

Polar Form: r∠θ

z = 2.5036.9°

Euler's Formula

z = r · e = r · (cos θ + i sin θ)

= 2.50 · (cos(36.9°) + i sin(36.9°))

= 2.50 · (0.80 + i·0.60)

= 2.00 + 1.50i

🎯 Two Ways to Describe the Same Number:

Cartesian: z = a + bi (horizontal + vertical components)

Polar: z = r∠θ (distance from origin + angle from positive real axis)

✨ Euler's Beautiful Formula:

e = cos(θ) + i·sin(θ) connects exponentials, trigonometry, and complex numbers in one elegant equation. This makes multiplication and powers much easier in polar form!

Conversion: a = r·cos(θ), b = r·sin(θ), r = √(a² + b²), θ = arctan(b/a)

Demo 3: Complex Conjugate & Modulus

The conjugate z̄ reflects z across the real axis. The modulus |z| measures distance from the origin. Together they satisfy the beautiful identity: z · z̄ = |z|²

Choose a complex number z:

z = 2.00 + 1.50i
Conjugate (z̄)

2.00 - 1.50i

Reflects across real axis: (a + bi)̄ = a - bi

Modulus (|z|)

2.500

Distance from origin: √(a² + b²)

z · z̄

6.250

= |z|² = 6.250

✨ Beautiful Identity Verification

z · z̄ = (2.00 + 1.50i) · (2.00 + -1.50i)

= 6.250

|z|² = (2.500)² = 6.250

✓ Identity holds!

🔁 Complex Conjugate (z̄):

The conjugate reflects z across the real axis. If z = a + bi, then z̄ = a - bi. Notice that both z and z̄ lie on the same circle (same distance from origin).

📏 Modulus (|z|):

The modulus is the distance from the origin to z. It's always non-negative and equals 0 only when z = 0. The green circle shows all points with the same modulus as z.

⚡ The Identity z · z̄ = |z|²:

This beautiful identity shows that multiplying a number by its conjugate always gives a real number (the square of its modulus). This is incredibly useful for simplifying complex fractions!

Demo 4: Roots of Unity

The nth roots of unity are the solutions to z^n = 1. They form a beautiful regular polygon on the unit circle and connect to group theory - they form a cyclic group!

Find the nth roots of unity:

Solving: z6 = 1
Primitive Root (ω)

ω = e2πi/6

= 0.500 + 0.866i

All roots are powers of ω: 1, ω, ω², ..., ω5

Geometric Pattern

Angle: 360°/6 = 60.0°

= 2π/61.047 rad

Forms a regular 6-gon on the unit circle

✓ Verification: ω6 = 1

(0.500 + 0.866i)6 = 1.000

✓ Confirmed!

All 6 roots of unity:
ω0 = 1.00
ω1 = 0.50 + 0.87i
ω2 = -0.50 + 0.87i
ω3 = -1.00
ω4 = -0.50 - 0.87i
ω5 = 0.50 - 0.87i

🔷 Beautiful Symmetry:

The nth roots of unity are evenly spaced around the unit circle, forming a perfect regular polygon. They're given by: zk = e2πik/n for k = 0, 1, 2, ..., n-1.

🔄 Connection to Group Theory:

These roots form a cyclic group under multiplication! The generator ω has order n (ωn = 1), and every root is a power of ω. If you studied group theory with the Rubik's Cube module, you've seen cyclic groups before!

Formula: zk = cos(2πk/n) + i·sin(2πk/n)

🎉 Congratulations!

You've mastered the fundamentals of complex numbers! You now understand:

  • How to add and multiply complex numbers geometrically
  • The connection between Cartesian and Polar forms
  • The geometric meaning of conjugate and modulus
  • Why roots of unity form beautiful symmetric patterns

Next: We'll explore complex functions and discover the stunning world of domain coloring!