Professional Documents
Culture Documents
Complex Numbers
Complex Numbers
Complex Numbers
•Definition
•Complex Plane
•Rectangular form
•Polar form
•Conversions
•Working with Complex Numbers
Complex numbers are used extensively in mathematics,
the physical sciences, and engineering.
Z = a + jb
where a and b are “real” numbers and j is defined as the square root
of negative one (an “imaginary” number). Thus, a is the “real” part of
the number and the product jb forms the “imaginary” part. Note it is
not uncommon to see “i” used in place of “j”.
Z = 2 + j3
Z = 2 + i3
DEFINITION:
j = − 1 and j 2 = (− 1)
OPERATIONAL DEFINITION:
The complex plane is actually very similar to the two dimensional coordinate
system that we are used to using. Except one dimension represents the real
part of the number and the other dimension represents the imaginary part.
Imaginary (b)
b>0
2nd Quadrant 1st Quadrant b>0
a<0
a>0
Real (a)
b<0 b<0
3rd Quadrant 4th Quadrant
a<0 a>0
Z = a + jb
Plotting in Rectangular Coordinates
PLOT
Im
Z1 = 2 + j2 3
2
Z2 = -1 + j3 1
Re
Z3 = 2 – j3 -5 -4 -3 -2 -1-1 1 2 3 4 5
-2
-3
Complex Numbers in Polar Coordinates
In polar form each point in space can be represented using a distance from
the origin, called a magnitude, or radius and an angle from a given
reference, in our case the positive real axis. Complex numbers in polar form
are expressed as:
jθ
Z = Me
Where M is our magnitude, theta is our angle, e ≈ 2.718281828459.
We will not use “e” directly in any calculations, at this point it is better
to think of it as part of our bookkeeping system that has some nice
Mathematical relationships
Z = 5e j 30
Z = 3e − j 60
Plot of Z = 3ej135° on the complex plane.
Im
Z 3
2
135°
1
Re
-5 -4 -3 -2 -1 1 2 3 4 5
-1
-2
-3
Plot:
Z1 = 2e j 45o
Z 2 = 3e j 90 o
Z 3 = 4e j 360 o
Im
3
2
Re
-5 -4 -3 -2 -1 1 2 3 4 5
-1
-2
-3
Converting Between Coordinate Systems
Some mathematical operations are easier to perform in one coordinate
system than the other, so we must know how to convert between them
Given: Note:
Z = a + jb M
b
θ
a
When converting between rectangular and polar coordinate systems, there are
two important things to keep in mind.
2. When calculating the angle theta most calculators will return an angle in the
first or fourth quadrant, between (90) and (–90) degrees. If the point lies in the
second or third quadrant, 180 degrees must be added to the result given by the
calculator or the answer will be incorrect.
b<0 b<0
3rd Quadrant 4th Quadrant
a<0 a>0
Z = a + jb
Convert to polar form:
EXAMPLE 2.1
MATLAB has a function that allows for the conversion from rectangular
coordinates to polar coordinates. The syntax is as follows:
[theta, M] = CART2POL(a,b)
Where theta is the angle, M is the magnitude, a is the real component, and
b is the imaginary component. It is important to note that MATLAB always
works in radians. Thus the angle it provides will be in radians. This can
be converted to degrees by multiplying by 180 and dividing by pi.
EXAMPLE 2.3
Polar to Rectangular Conversion
a = M cos(θ ) b = M sin(θ )
Z = a + jb = M cos(θ ) + jM sin(θ )
Given: Note: Im
jθ
Z = Me
Z
M b
θ
Re
a
Convert to rectangular form:
EXAMPLE 2.4
MATLAB has a function that allows for the conversion from polar coordinates
to rectangular coordinates. The syntax is as follows:
[a, b] = POL2CART(theta, M)
Where theta is the angle, M is the magnitude, a is the real component, and b
is the imaginary component. It is important to note that MATLAB always
works in radians. Thus it is important to supply the angle, theta, in radians.
An angle in degrees can be converted to radians by multiplying by pi and
dividing by 180.
EXAMPLE 2.6
Useful Relationships
Euler’s Equation
± jθ
e = cos(θ ) ± j sin(θ )
This equation also may be encountered in an alternate form such as:
e jθ + e − jθ e jθ − e − jθ
cos(θ ) = sin(θ ) =
2 j2
1). Z = M cos(θ ) + jM sin(θ )
Z = Me jθ
Me jθ = M cos(θ ) + jM sin(θ )
e jθ = cos(θ ) + j sin(θ )
cos( −θ ) = cos(θ )
odd even
sin( −θ ) = − sin(θ )
e − jθ = cos(θ ) − j sin(θ )
e jθ = cos(θ ) + j sin(θ ) e − jθ = cos(θ ) − j sin(θ )
e jθ + e − jθ
cos(θ ) =
2
e jθ − e − jθ
sin(θ ) =
j2
De Moivre’s Identity
e ± jθ = cos(θ ) ± j sin(θ )
(e ) = (cos(θ ) ± j sin(θ ))
± jθ n n
j ( nθ )
= (cos(θ ) + j sin(θ ) )
n
e
First, we must define the Complex Conjugate which will be needed for some of
the operations.
Complex Conjugate
A complex number in which the real portion of the number remains the
same, but j is replaced by –j. The complex Conjugate of Z is denoted
Z*
Given: Z = a + jb
Z * = a − jb
Note ZZ* = Real number
EXAMPLE 2.7
Complex Addition
Let x = a + jb y = c + jd
Then
x + y = ( a + c ) + j (b + d )
Let x = a + jb y = c + jd
Then
x − y = ( a − c ) + j (b − d )
EXAMPLE 2.8
Complex Multiplication (Polar Coordinates)
xy = (MN)e
j (θ x +θ y )
EXAMPLE 2.9
Complex Division
Complex Division (Rectangular Coordinates)
x = a + jb y = c + jd
x ⎛ a + jb ⎞⎛ c − jd ⎞ (ac + bd ) (bc − ad )
= ⎜⎜ ⎟⎟⎜⎜ ⎟⎟ = 2 +j 2
y ⎝ c + jd ⎠⎝ c − jd ⎠ (c + d )
2
(c + d 2 )
Recall from algebra multiplying both the numerator and denominator by the
same value does not change the end result.
EXAMPLE 2.10
Complex Division (Polar Coordinates)
EXAMPLE 2.11
Simple AC Circuits
After Complex Numbers
V
I= I = I 0 e j (ωt −θ ) V = V0 e j (ωt ) Z = R+ X
Z
1
R=R X = XL + XC X L = jω L XC =
jωC
ω = angular frequency, or 2π f C = capacitance L = inductance
I:
I :
Consider a simple RC Low-pass filter circuit,
v(in) = iR + iX C
v(out) = iX C
The goal is to find out how the RC circuit changes the input signal, one
way to accomplish this is to examine the ratio,
v(out)
v(in)
Notice this is a gain (G) expression if,
v(out) v(out)
≥ 1, G ≥ 1, < 1, G < 1
v(in) v(in)
v(out) iX C XC 1
= = =
v(in) iR + iX C R + X C 1 + R X C
1
recall : X C = , then
jω C
v(out) 1
= .
v(in) 1 + jω RC
Notice the expression includes a complex term; we are interested in the
ratio of amplitudes, which is found by taking the magnitude of the
expression.
12
v(out) ⎡⎛ 1 ⎞⎛ 1 ⎞⎤
= ⎢⎜ ⎟⎜ ⎟⎥
v(in) ⎣⎝ 1 + j ω RC ⎠⎝ 1 − j ω RC ⎠⎦
v(out) 1
=
v(in) 1 + ω 2 R 2C2
v(out) 1
=
v(in) 1 + ω 2 R 2C2
For a fixed value of RC what happens as the input frequency gets large?
An RC low-pass filter is a device that passes low frequency signals
and blocks high frequency signals.
The output amplitude with respect to the input at the cutoff frequency is
v ( out )
= 0.707 WHY?
v ( in )
Plot of frequency response
An RC high-pass filter is a device that passes high frequency signals
and blocks low frequency signals.
The output amplitude with respect to the input at the cutoff frequency is
v ( out )
= 0.707
v ( in )
The same analysis applies to a RC high-pass filter
configuration, the resulting expression is:
v(out) ω RC
=
v(in) 1 + ω 2 R 2C2
v(out) ω RC ω RC
= =
v(in) 1 + ω 2 R 2 C2 ω RC
v(out)
=1
v(in)
Plot of frequency response
R L
+ - + -
I(t)
+
V(t) C
-
Apply KVL
V(t) = VR + VL + VC
VR =
VL =
VC =
V(t) =
1/j = -j
V(t) =
⎛ ⎡ 1 ⎤⎞
V(t) = I(t) ⎜ R + j ⎢ω L -
⎝ ⎣ ω C ⎥⎦ ⎟⎠
Find I(t):
B
⎛ ⎡ 1 ⎤⎞ V(t) ⎛ ⎡ 1 ⎤⎞
V(t) = I(t) ⎜ R + j ⎢ω L - R - j ⎢ω L -
ω C ⎥⎦ ⎟⎠ ⎜ ωC ⎥⎦ ⎟⎠
I(t) =
⎝ ⎣ B ⎝ ⎣
case 1: ω L > 1 ω C
case 2: ω L < 1 ω C
ELI the
ICE Man
Expression Simplification Guidelines
4. Keep the final goal in mind. If the problem being solved requires
magnitude and phase angle, then we want our final number in polar
form. If the problem needs real and imaginary parts, then we need
the number in rectangular format.
What you should know