Sub topic 3
Euler's formula and the complex exponential
This chapter assumes you can write a complex number in rectangular and polar form, know the basic trigonometric identities, and can differentiate and integrate sine and cosine. Euler's formula links those two forms and prepares the way for the phasor transform in the next chapter.
The formula
Euler's formula states that for any real angle θ:
e^(jθ) = cos θ + j sin θ
Here j is the imaginary unit, with j² = −1. Electrical engineers use j instead of i because i already means current.
The right side is a complex number with real part cos θ and imaginary part sin θ. Its magnitude is √(cos²θ + sin²θ) = 1, so e^(jθ) always lies on the unit circle in the complex plane, at angle θ from the positive real axis.
Multiplying by a real amplitude A gives the polar form directly:
A e^(jθ) = A cos θ + j A sin θ = A∠θ
So the polar notation A∠θ is shorthand for A e^(jθ).
Why the exponential form helps
Exponentials follow simple rules, and those rules reproduce the polar-form rules you already use:
- Multiplication: A e^(jα) · B e^(jβ) = AB e^(j(α+β)). Magnitudes multiply and angles add.
- Division: A e^(jα) / (B e^(jβ)) = (A/B) e^(j(α−β)). Magnitudes divide and angles subtract.
Special angles give common values: e^(j0) = 1, e^(jπ/2) = j, e^(jπ) = −1, and e^(−jπ/2) = −j. Multiplying by j therefore rotates a number by 90° counterclockwise, and dividing by j rotates it by 90° clockwise.
Cosine as the real part
Solving Euler's formula for the real part gives:
cos θ = Re{e^(jθ)}
Now let θ = ωt + φ. A sinusoid then becomes:
A cos(ωt + φ) = Re{A e^(jφ) · e^(jωt)}
The factor A e^(jφ) holds the amplitude and phase and does not change with time. The factor e^(jωt) holds the time dependence and is the same for every signal at frequency ω. This split is the basis of the phasor.
Differentiation becomes multiplication
Differentiate the complex exponential with respect to time:
d/dt e^(jωt) = jω e^(jωt)
Differentiation only multiplies the exponential by jω. Integration divides by jω. In the phasor domain, calculus operations on sinusoids therefore turn into algebra. This is why inductors and capacitors, whose laws contain derivatives, get simple impedances later.
The diagram shows e^(jωt) as a point that rotates on the unit circle.
Checking it numerically
This code evaluates both sides of Euler's formula and shows that multiplying by j rotates by 90°.
import cmath
import math
theta = math.radians(30)
lhs = cmath.exp(1j * theta)
rhs = complex(math.cos(theta), math.sin(theta))
print(lhs, rhs)
print(abs(lhs))
z = cmath.rect(2, math.radians(20))
rotated = 1j * z
print(abs(rotated), math.degrees(cmath.phase(rotated)))The two values agree, the magnitude is 1, and the rotated number has magnitude 2 and angle 110°.
Common errors
- Forgetting that θ must be in radians inside the exponential. Convert degrees with θ·π/180.
- Dropping the Re{ } operation. e^(jωt) is a mathematical device. The physical signal is the real part.
- Mixing sine and cosine. Since sin θ = cos(θ − 90°), a sine has a phase 90° lower than the cosine of the same amplitude.
Exercise
Write 5 sin(ωt + 20°) as the real part of a complex exponential. Then state what d/dt of that exponential equals.
Show answer
Convert to cosine: 5 sin(ωt + 20°) = 5 cos(ωt + 20° − 90°) = 5 cos(ωt − 70°). So the signal is Re{5 e^(−j70°) e^(jωt)}. Its time derivative is Re{jω · 5 e^(−j70°) e^(jωt)}, which equals Re{5ω e^(j20°) e^(jωt)}, since multiplying by j adds 90° to −70°. In the time domain that is 5ω cos(ωt + 20°).