Complex and Sinusoidal Math
Complex and Sinusoidal Math
T = 2π/ω
6.200 supplementary notes: math of complex numbers and sinusoidal functions 2
B
A
t
∆ϕ 2π
T
where B/A provides the amplitude scaling and the time axis is
shifted by −ϕ/ω.
Such a notation is profoundly awkward—can you imagine having
to draw arrows all over the place with superscripts and subscripts
just to define a function? One might as well simply write it out as a
sentence... 2 2
If you ever feel bad about doing too
much algebra, you can console yourself
with the knowledge that originally,
algebra was described textually... as in:
“We find that our unknown variable
plus two will have the same value
as four of that unknown variable
squared.” Symbols weren’t used until
centuries later. Yikes!
6.200 supplementary notes: math of complex numbers and sinusoidal functions 3
Polar Notation
× B ejϕ ωt+ϕ
ℜ[|Ae{zj ωt}] ====
A
⇒ ℜ[|Be j{z } ]. (3)
Ṽin Ṽout
This form has the advantage that the transformation can be mapped
onto a single step, a multiplication by a complex number! So now
instead of having to think about things like scaling and time trans-
lation, we can just multiply by a complex number and take the real
part of both sides later:
A jϕ
Ṽout = Ṽin e (4)
B
vout = ℜ[Ṽout ]
B jϕ
= ℜ[Ṽin e ]
A
B (5)
= ℜ[ Ae j ωt e j ϕ ]
A
= ℜ[ Be j (ωt+ϕ) ]
= B cos (ωt + ϕ).
When complex numbers are expressed in polar notation, they are
typically called phasors. Figure ?? shows an example phasor drawn
on the complex plane.3 3
As far as I’m concerned, this is the
most awesome name in all of science—
one only hopes that Star Trek realized
how cool they were being when they
created the “phaser”.
6.200 supplementary notes: math of complex numbers and sinusoidal functions 4
X = Ae jϕA = a + bj (6)
jϕB
Y = Be = c + dj. (7)
X + Y = ( a + c) + (b + d) j (8)
X − Y = ( a − c) + (b − d) j (9)
j ( ϕ A + ϕB )
X · Y = ABe (10)
X A
= e j ( ϕ A − ϕB ) . (11)
Y B
From these examples, it is evident that polar coordinates are best
used when multiplying or dividing complex numbers, while Carte-
sian coordinates should be used when summing or subtracting com-
plex numbers. Converting between the two notations is not too hard.
Given a complex number in Cartesian coordinates, X = a + bj, one
can derive the polar form by looking at the graphic below.
Im
√
| a + bj| = a2 + b2
a+bj
ℑ[ Ae j ϕA ] = b ∠( a + b j ) = tan−1 (b/a)
Re
ℜ[ Ae j ϕA ] = a
6.200 supplementary notes: math of complex numbers and sinusoidal functions 5
e j (ωt+ϕ) + e − j (ωt+ϕ)
A1 cos (ωt + ϕ) = A1 (15)
2
A e j ϕ A e − j ϕ − j ωt
= 1 e j ωt + 1 e (16)
2 2
= A4 e j ωt + c.c. (17)
6.200 supplementary notes: math of complex numbers and sinusoidal functions 6
where A5 = A1 e j ϕ .
Exercises
Here we provide some exercises for yourself to check if you are un-
derstanding this material. Try not to refer to notes when working
these exercises–try to answer these questions just with paper and
pencil in front of you.
1. Prove that the sum of any two sinusoidal functions with the same
frequency results in another sinusoidal function with the same
frequency.
Acknowledgements
Thanks to the many students, TAs, and colleagues who have con-
tributed to the formulation of the ideas in these notes, and to Rinske
Wijtmans for help formatting the final document.