Complex Numbers (Euler’s Formula and Phasors)
Learn complex numbers, Euler’s formula, polar form, and how phasors simplify sinusoidal physics (AC circuits and oscillations).
Continue where you stopped
The core idea
On this page
Complex numbers are not “extra math for no reason” — they are a compact way to represent amplitude and phase, which shows up everywhere in physics (oscillations, waves, AC circuits, and quantum mechanics).
You meet complex numbers whenever physics has a “rotation in time/phase” idea:
- AC circuits (phasors, impedance): UY1: Phasors & Alternating Currents, UY1: L-R-C Series Circuit, UY1: Resonance & Power In A.C. Circuits
- Oscillations (complex roots give sinusoids): Second-order differential equations
- Waves/fields written as e^(i(kx-ω t)): UY1: Standing Electromagnetic Waves
- Rotations and eigenvalues in linear algebra: Matrices and linear algebra
1) Basics
A complex number is
where a and b are real and i² = -1.
- Real part: Re(z) = a
- Imaginary part: Im(z) = b
- Complex conjugate: z* = a-ib
- Modulus: |z| = square root of (a² + b²)
Geometric picture: plot z as a point in the complex plane (horizontal axis = real part, vertical axis = imaginary part). Then:
- |z| is the distance from the origin.
- arg(z) is the angle from the positive real axis.
Quick example (conjugate + modulus)
Let z = 3-4i.
- z* = 3 + 4i
- |z| = square root of (3² + (-4)²) = 5
- Useful identity: zz* = |z|² (here: (3-4i)(3 + 4i) = 25)
Conjugates let you isolate magnitudes cleanly. For example, phasor power formulas often contain V tilde I tilde * so that the average power comes from a real part.
2) Polar / exponential form
Write z using a magnitude r = |z| and an angle θ = arg(z):
Euler’s formula says:
so the same number can be written:
Why this is useful:
- Multiplication becomes easy:
(r₁e^iθ₁)(r₂e^iθ₂) = (r₁r₂)e^(i(θ₁ + θ₂)).
- Division becomes easy:
r₁e^iθ₁/r₂e^iθ₂ = (r₁/r₂)e^(i(θ₁-θ₂)).
When you convert z = a + ib to (r,θ), don’t use θ = tan⁻¹ (b/a) blindly: it can put you in the wrong quadrant. Use the correct quadrant (think “atan2”) and keep track of whether your calculator is in degrees or radians.
3) Powers and roots (De Moivre’s idea)
Using z = re^iθ, powers are straightforward:
Roots come from the fact that angles differing by 2π give the same complex number:
So the nth roots are:
Worked example A (power using polar form)
Compute (1 + i)⁵.
First write 1 + i in polar form:
Then:
Since cos(5π/4) = sin(5π/4) = -(square root of 2)/2:
Worked example B (cube roots)
Solve z³ = 8.
Write 8 = 8eⁱ⁰. Then:
So the three roots are:
4) Why physics loves this (sinusoids and phasors)
You can represent a cosine as the real part of a complex exponential:
Two useful identities (derived from Euler’s formula):
So a general sinusoid can be written as:
The phasor Ae^iφ stores “how big” and “how phase-shifted” the signal is.
You do algebra with phasors (complex numbers), then take the real part at the end.
This turns trig-heavy problems into much cleaner calculations.
Derivatives/integrals become algebra
If you choose the convention Re(X tilde e^(iω t)) for a sinusoid, then:
This is why phasors simplify linear ODEs in circuits and oscillations.
Some texts use e^(iω t), others use e^(-iω t). Both work, but it changes whether “differentiate” corresponds to + iω or -iω, and it changes the sign conventions for impedances and phase angles.
5) Worked example (adding sinusoids with the same frequency)
Write 3 cos(ω t)-4 sin(ω t) as a single cosine.
Use complex exponentials:
Write the complex number in polar form:
So:
Therefore:
6) Worked example (phasors in a circuit: amplitude + phase)
Consider a series R–L circuit driven by:
Use phasors with the Re(V tilde e^(iω t)) convention:
Ohm’s law in phasor form is V tilde = ZI tilde, so:
Magnitude (current amplitude):
Phase (how much current lags voltage):
- Low frequency ω → 0: Z → R, so |I tilde | → V₀/R and phase → 0 (purely resistive).
- High frequency ω → ∞: |I tilde | → 0 and phase → -90° (inductor dominates).
Related pages
Trigonometry
Angle identities and Euler-form reminders.
UY1: Phasors & Alternating Currents
Applies complex numbers to AC circuits and phase relationships.
UY1: L-R-C Series Circuit
Where complex impedance turns a differential equation into algebra.
Second-order differential equations
Complex roots lead to sinusoidal solutions.
Matrices and linear algebra
Eigenvalues and oscillations connect directly to complex numbers.