Professional Documents
Culture Documents
1 Complex Numbers
Im{z}
y z
Imaginary Axis
|z|
θ x
Re{z}
Real Axis
A complex
√ number z is an ordered pair (x, y), where x and y are real numbers, written as z = x + jy where
j = −1. A complex number can also be written in polar form as follows:
z = |z|e jθ
θ = atan2(y, x).
Here, atan2(y, x) is a function that returns the angle from the positive x-axis to the vector from the origin to
the point (x, y) 1 .
The complex conjugate of a complex number z is denoted by z (or might also be written z∗ ) and is given by
z = x − jy.
Euler’s Identity is
e jθ = cos(θ ) + j sin(θ ).
y
1 See its relation to tan−1 x at https://en.wikipedia.org/wiki/Atan2.
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 1
Discussion 3B @ 2019-10-06 13:32:46-07:00
With this definition, the polar representation of a complex number will make more sense. Note that
The reason for these definitions is to exploit the geometric interpretation of complex numbers, as illustrated
in Figure 1, in which case |z| is the magnitude and e jθ is the unit vector that defines the direction.
2 Useful Identities
Complex Number Properties Complex Algebra
Rectangular vs. polar forms: z = x + jy = |z|e jθ Let z1 = x1 + jy1 = |z1 |e jθ1 , z2 = x2 + jy2 = |z2 |e jθ2 .
3 Phasors
We consider sinusoidal voltages and currents of a specific form:
where,
(a) V0 is the voltage amplitude and is the highest value of voltage v(t) will attain at any time. Similarly,
I0 is the current amplitude.
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 2
Discussion 3B @ 2019-10-06 13:32:46-07:00
V (t)
V0
T t(s)
−V0
(c) φv and φi are the phase terms of the voltage and current respectively. These capture a delay, or a shift
in time, of the sinusoid.
We know from Euler’s identity that e jθ = cos(θ ) + j sin(θ ). Using this identity, we can obtain an expression
for cos(θ ) in terms of an exponential:
1 1
cos(θ ) = e jθ + e− jθ
2 2
Extending this to our voltage signal from above:
The complex conjugate of the phasor is the coefficient of the e− jωt term in Equation 1 and is given by:
1
Ve = V0 e− jφv
2
The phasor representation is a constant that contains the magnitude and phase information of the signal. The
time-varying part of the signal does not need to be explicitly represented, because it is given by e jωt , which
is always implicit when using phasors. Phasors let us handle sinusoidal signals much more easily. They are
powerful because they let us use DC-like (16A style) circuit analysis techniques, which we already know, to
analyze circuits with sinusoidal voltages and currents.
Note: We can only use phasors if we know that all of our signals are sinusoids. We will see later in 16B
(Module 4) why this is not too restrictive a condition.
Within this standard form, the phasor domain representation is as follows. The general equation that relates
cosines to phasors is below, where Ve is the phasor.
The standard forms for voltage and current phasors are given below:
Voltage Ve = 12 V0 e jφv
Current Ie = 12 I0 e jφi
We define the impedance of a circuit component to be Z = VIe , where Ve and Ie represent the voltage across and
e
the current through the component, respectively. For capacitors and inductors, this impedance will generally
depend on jω.
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 3
Discussion 3B @ 2019-10-06 13:32:46-07:00
R v
By Ohm’s law,
v(t) = i(t)R
I0 R jφ jωt I0 R − jφ − jωt
= I0 R cos(ωt + φ ) = e e + e e
2 2
Ve = RIe
We usually refer to the impedance of the resistor, ZR , in the phasor domain. Since ZR = R, we can also write:
Ve = ZR Ie
C v
v(t) = V0 cos(ωt + φ )
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 4
Discussion 3B @ 2019-10-06 13:32:46-07:00
By the capacitor equation, and expanding cos in the complex exponential domain:
v(t) = V0 cos(ωt + φ )
V0 V0
= e j(ωt+φ ) + e− j(ωt+φ )
2 2
V0 jφ jωt V0 − jφ − jωt
= e e + e e
2 2
jωt − jωt
= V e +V e
e e
d
i(t) = C v(t)
dt
d V0 jφ jωt V0 − jφ − jωt
=C e e + e e
dt 2 2
V0 V0
= jωC e jφ e jωt − jωC e− jφ e− jωt
2 2
i(t) = C dv
dt (t)
= −CV0 ω sin(ωt + φ )
!
π
= −CV0 ω − cos ωt + φ +
2
π
= CV0 ω cos ωt + φ +
2
π
= (ωC)V0 cos ωt + φ +
2
The impedance of a capacitor is an abstraction to model the capacitor in a manner similar to a resistor in the
phasor domain. This is denoted ZC , which is given by:
Ve 1 1
ZC = = =
I
e jωC sC
for s = jω.
sin(ωt) = cos(ωt + φ )
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 5
Discussion 3B @ 2019-10-06 13:32:46-07:00
2. Inductor Impedance
di
Given the voltage-current relationship of an inductor V = L dt , show that its complex impedance is ZL = jωL.
Answer:
i
+
L v
i(t) = I0 cos(ωt + φ )
The impedance of an inductor is an abstraction to model the inductor as a resistor in the phasor domain.
This is denoted ZL .
Ve
ZL = = jωL
Ie
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 6
Discussion 3B @ 2019-10-06 13:32:46-07:00
(a) Show that the inverse of M = Mr − jMi (the complex conjugate of M) is equal to N = Nr − jNi (the
complex conjugate of N).
Answer: Because N is the inverse of M, we know
Note that we isolated the real and imaginary terms in the product. Because the product of a matrix and
its inverse must be the identity matrix, the real terms must equal the identity matrix, and the imaginary
terms must be 0.
Similarly, we try evaluating the product of NM:
−1
Thus, M = N = M −1 .
The inverse of the complex conjugate of a matrix is equal to the complex conjugate of the matrix’s
inverse.
4. Phasor Analysis
Any sinusoidal time-varying function x(t), representing a voltage or a current, can be expressed in the form
x(t) = Xe e − jωt ,
e jωt + Xe (2)
where Xe is a time-independent function called the phasor representation of x(t) (recall that a denotes the
complex conjugate of a). Note that 1) Xe and Xe are complex conjugates of each other, 2) e jωt and e− jωt are
complex conjugates of each other, and 3) that Xe e jωt and Xe e− jωt are also complex conjugates of each other.
The phasor analysis method consists of five steps. Consider the RC circuit below.
R i(t)
+
+
vs vC (t) C
−
−
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 7
Discussion 3B @ 2019-10-06 13:32:46-07:00
ZR = R
1
ZC =
jωC
(c) Step 3: Cast the branch and element equations in phasor domain
Use Kirchhoff’s laws to write down a loop equation that relates all phasors in Step 2.
Answer:
The KVL equations for this circuit are:
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 8
Discussion 3B @ 2019-10-06 13:32:46-07:00
where we have denoted the voltage across the resistor as vR (t). If you expand all these quantities using
phasors (using Equation (2)), we get
Ves e jωt + Ves e− jωt = VeR e jωt + VeR e− jωt + VeC e jωt + VeC e− jωt
| {z } | {z } | {z }
vs (t) vR (t) vC (t)
Collecting together all the e jωt terms and all the e− jωt terms, the above equation can be rewritten as
If ω 6= 0,2 it can be shown3 that both of the coefficients of e jωt and e− jωt in the above equation must
be equal to 0 for this equation to hold. That is:
Both of the equations above have the same meaning, i.e., Ves − VeR − VeC = 0 or
This is exactly the same KVL equation as given by vs (t) = vR (t)+vC (t), but using phasors. In the same
way, you can show that KCL is also obeyed by phasors. This conclusion implies that the standard rules
for putting together circuit equations using KCL and KVL work identically with phasors as with time-
varying notation. The only difference is that the voltage-current relationships of elements should be in
phasor form, e.g., Ie = jωCVeC = Z1C VeC .
We can apply what we’ve found above to write the circuit in the phasor domain:
ZR Ie+ ZC Ie = Ves
1 3π
R+ Ie = 6e− j 4
jωC
Now that we’ve shown that the phasor representation (i.e., Ie and Ve ) of our circuit is equivalent to the
time-varying representation (i.e., i(t) and v(t)), in the future we can write the KCL and KVL equations
in phasor form directly.
(d) Step 4: Solve for unknown variables
Solve the equation you derived in Step 3 for Ie and VeC . What is the polar form of Ie and VeC ? Polar form
is given by Ae jθ , where A is a positive real number.
Answer:
3π 3π
6e− j 4 j6ωCe− j 4
Ie = 1
=
R + jωC jωRC + 1
3π 3π
−j 4 1 6e− j 4
e C = j6ωCe
VeC = IZ · =
1 + jωRC jωC 1 + jωRC
2 Try working out the ω = 0 case by yourself! It’s even easier.
3 This can be shown because the functions e jωt and e− jωt are linearly independent.
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 9
Discussion 3B @ 2019-10-06 13:32:46-07:00
To derive the polar form, we plug in for the values of the circuit elements:
3π 3π π 3π
j6ωCe− j 4 j6 · 103 · 10−6 · e− j 4 (e j 2 ) · 6 · 10−3 · e− j 4
Ie = = √ = √
1 + jωRC 1 + j · 103 · 3 × 103 · 10−6 1+ j 3
3π π
6 · 10−3 · e− j 4 e j 2 − j 7π
= π = 3e 12 mA.
2e j 3
3π 3π 3π
6e− j 4 6e− j 4 6e− j 4 − j 13π
VeC = = √ = π = 3e 12 V
1 + jωRC 1 + j 3 2e j 3
(e) Step 5: Transform solutions back to time domain
To return to time domain, we apply the fundamental relation between a sinusoidal function and its
phasor counterpart. What is i(t) and vC (t)? What is the phase difference between i(t) and vC (t)?
Answer:
e − jωt = 3e− j 7π 7π 7π
e jωt + Ie
i(t) = Ie 12 e jωt + 3e j 12 e− jωt = 6 cos ωt − mA
12
jωt − jωt − j 13π
jωt j 13π
− jωt 13π
vC (t) = VeC e + VeC e = 3e 12 e + 3e 12 e = 6 cos ωt − V
12
The phase difference between the vc (t) and i(t) with respect to i(t) is − π2 .
C
R L
− vs +
B 1
Ves = e− jφ , ZR = R, ZC = , ZL = jωL
2 jωC
(b) Use Kirchhoff’s laws to write down a loop equation relating the phasors in the previous part.
Answer:
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 10
Discussion 3B @ 2019-10-06 13:32:46-07:00
(c) Solve the equation in the previous step for the current I.
e What is the magnitude and phase of the polar
form of I?
e
Answer:
B − jφ B − jφ
2e 2e
Ie = 1
= 1
R+ jωC + jωL R+ j(− ωC + ωL)
The magnitude of Ie is
B
2
|I|
e=q
2 1
R + (− ωC + ωL)2
The phase of Ie is
1
∠I = −φ − atan2 ωL −
e ,R
ωC
Contributors:
• Brian Kilberg.
• Siddharth Iyer.
• Regina Eckert.
• Jaijeet Roychowdhury.
• Sidney Buchbinder.
• Anant Sahai.
• Yen-Sheng Ho.
© UCB EECS 16B, Fall 2019. All Rights Reserved. This may not be publicly shared without explicit permission. 11