Bachelors Program in Electronics and Communication
Engineering Mathematics
•
Bachelor
Complex Numbers and Complex Variables
Introduction
Complex numbers provide the natural language for sinusoidal steady-state circuits, electromagnetic fields, communication systems and feedback control. A complex number simultaneously represents magnitude and phase, while a complex variable extends differentiation and integration to two-dimensional domains. This extension produces powerful results—such as Cauchy’s integral formula and the residue theorem—that have no direct counterpart in elementary real-variable calculus.
In electrical engineering, the imaginary unit is usually written j = √{-1} because i commonly denotes current. Mathematics texts often use i; both symbols have the same meaning. This chapter uses j in circuit and system applications and i elsewhere.
Learning Objectives
After studying this chapter, students should be able to:
convert complex numbers among rectangular, polar and exponential forms;
apply De Moivre’s formula and calculate complex roots;
interpret equations and inequalities as loci in the complex plane;
use phasors to analyze AC circuits;
test complex functions for analyticity using the Cauchy–Riemann equations;
evaluate contour integrals using parametrization, Cauchy’s formula and residues;
apply conformal mappings to field and boundary-value problems;
interpret poles, zeros, frequency response and stability in system analysis; and
validate symbolic or numerical complex-variable calculations.
1. Complex Numbers and the Argand Plane
A complex number has the rectangular form
z = x + iy
where x = Re(z) is the real part, y = Im(z) is the imaginary part, and i2 = -1. The ordered pair (x,y) represents a point in the complex, or Argand, plane.
Two complex numbers are equal only when their corresponding real and imaginary parts are equal. Addition and subtraction are therefore componentwise.
The complex conjugate and modulus are
z̄ = x - iy, |z| = √(x2+y2)
Consequently,
z z̄ = |z|2 = x2+y2
For z ≠ 0, division may be performed by multiplying numerator and denominator by the conjugate:
(a+ib)/(c+id) = [(a+ib)(c-id)]/(c2+d2), c+id ≠ 0
1.1 Polar and exponential forms
If z ≠ 0, let r = |z| > 0 and let θ be an argument of z. Then
z = r(cos θ+i sin θ) = r eiθ
The angle is multivalued: if θ is an argument, then so is θ+2kπ for every integer k. A selected interval, commonly (-π,π], defines the principal argument Arg(z). The argument of zero is undefined.
For nonzero complex numbers, multiplication and division become
r1eiθ1 r2eiθ2 = r1r2ei(θ1+θ2)
(r1eiθ1)/(r2eiθ2) = (r1/r2)ei(θ1-θ2), r2 ≠ 0
Thus magnitudes multiply or divide, while phases add or subtract.
Worked Example 1: Form conversion
Convert z=-3+3√3i to polar and exponential forms.
r = √[(-3)2+(3√3)2] = √36 = 6
The point is in quadrant II, and its reference angle is π/3. Hence Arg(z)=2π/3, giving
z = 6[cos(2π/3)+i sin(2π/3)] = 6ei2π/3
A general argument is 2π/3+2kπ, where k∈ℤ.
2. Powers, Roots and Loci
2.1 De Moivre’s formula
For an integer n,
[cos θ+i sin θ]n = cos(nθ)+i sin(nθ)
For n≥0, this includes the zero power in the usual way. For negative integers, the base must be nonzero; equivalently, zn=rneinθ for negative n requires z≠0 and r>0.
2.2 The nth roots
For w=Reiφ≠0, the solutions of zn=w, where n is a positive integer, are
zk = R1/n ei(φ+2kπ)/n, k=0,1,…,n-1
These roots have equal magnitude and are separated by 2π/n. For w=0, the only root is z=0.
Worked Example 2: Cube roots
The cube roots of 8 are
zk = 2ei2kπ/3, k=0,1,2
Therefore,
z0=2, z1=-1+i√3, z2=-1-i√3
Each value cubes to 8.
2.3 Complex-plane loci
A locus is the set of points satisfying a complex equation or inequality.
Complex condition
Geometric interpretation
[[MATH:
z-z_0
[[MATH:
z-z_0
[[MATH:
z-a
arg(z-z0)=α
Ray from z0 at angle α
Re(z)>c
Half-plane to the right of x=c
Worked Example 3: An Apollonius circle
Find the locus |z-1|=2|z+1|. Put z=x+iy and square both sides:
(x-1)2+y2 = 4[(x+1)2+y2]
Expansion and completion of the square give
(x+5/3)2+y2 = (4/3)2
The locus is a circle centered at (-5/3,0) with radius 4/3. Squaring is valid because both sides are nonnegative distances.
3. Phasors and AC Circuit Analysis
For sinusoidal steady-state analysis at a single angular frequency ω in rad/s, a real voltage
v(t)=Vm cos(ωt+φ)
may be represented by the RMS phasor
V = (Vm/√2)ejφ
The time factor ejωt is suppressed. Phasor analysis applies to linear time-invariant circuits after transients have decayed; it does not directly combine signals of different frequencies.
The impedances are
ZR=R, ZL=jωL, ZC=1/(jωC)=-j/(ωC)
Here R is in ohms, L in henries, C in farads and ω in rad/s, so every impedance has units of ohms. Complex Ohm’s law is
V = IZ
With RMS phasors, complex power is
S = VĪ = P+jQ
where S is in volt-amperes, real power P is in watts and reactive power Q is in vars. The power factor is P/|S|=cos φ, where φ is the impedance phase for a passive load.
Worked Example 4: Series RL circuit
A 100 V RMS, 50 Hz source supplies a series combination of R=20 Ω and L=0.10 H. Since ω=2πf=100π rad/s,
Z = 20+j(100π)(0.10) = 20+j31.416 Ω
Thus
|Z| = √(202+31.4162) ≈ 37.24 Ω
arg Z = tan-1(31.416/20) ≈ 57.52°
The current is
I = 100∠0° / 37.24∠57.52° ≈ 2.685∠(-57.52°) A
The current lags the voltage, as expected for an inductive load. The real power is approximately P=I2R=(2.685)2(20)=144.2 W.
4. Functions of a Complex Variable
A complex function can be written
f(z)=u(x,y)+iv(x,y), z=x+iy
where u and v are real-valued functions. A complex derivative at z0 is defined by
f′(z0)=limΔz→0[f(z0+Δz)-f(z0)]/Δz
Unlike a real derivative, the limit must be identical for every direction by which Δz approaches zero.
4.1 Cauchy–Riemann equations
If f is differentiable at a point and the first partial derivatives exist there, then
ux=vy, uy=-vx
These are the Cauchy–Riemann equations. If the first partial derivatives are continuous in a neighborhood and satisfy these equations throughout that neighborhood, then f is analytic there. Merely satisfying them at one isolated point does not generally establish analyticity in a neighborhood.
When analytic,
f′(z)=ux+ivx=vy-iuy
An analytic function is also called holomorphic. A function analytic over the entire complex plane is entire.
4.2 Harmonic functions and harmonic conjugates
If f=u+iv is analytic and has continuous second derivatives, both components satisfy Laplace’s equation:
uxx+uyy=0, vxx+vyy=0
Such functions are harmonic. In two-dimensional electrostatics, steady heat flow and ideal fluid flow, harmonic functions represent potentials satisfying source-free field equations.
Worked Example 5: Constructing an analytic function
Let u=x2-y2. Because
uxx+uyy=2-2=0
it is harmonic. From the Cauchy–Riemann equations,
vy=ux=2x, vx=-uy=2y
Integrating vy=2x with respect to y gives v=2xy+g(x). Then vx=2y+g′(x)=2y, so g′(x)=0. Therefore
f(z)=x2-y2+i(2xy+C)=z2+iC
where C is a real constant.
5. Contours and Complex Integration
A contour C is a piecewise smooth parametrized curve z=z(t), a≤t≤b. Its orientation is the direction of increasing t. For continuous f,
∫C f(z) dz = ∫ab f[z(t)]z′(t)dt
Reversing orientation changes the sign of the integral.
Counterclockwise positive orientation and clockwise negative orientation of circular contours
Figure: Counterclockwise positive orientation and clockwise negative orientation of circular contours
Figure: At the rightmost point of a circle, upward motion is counterclockwise and downward motion is clockwise.
5.1 Cauchy’s theorem and integral formula
If f is analytic throughout a simply connected domain D, then for every closed contour C lying in D,
∮C f(z)dz=0
More generally, holes and singularities must be handled through appropriate domain conditions.
If f is analytic on and inside a positively oriented simple closed contour C, and a lies inside C, then Cauchy’s integral formula states
∮C f(z)/(z-a) dz = 2πi f(a)
Its derivative form is
∮C f(z)/(z-a)n+1 dz = [2πi/n!]f(n)(a), n=0,1,2,…
The hypotheses concerning analyticity, enclosure and positive orientation are essential.
Worked Example 6: Cauchy integral formula
Let C be the circle |z-2|=1, traversed counterclockwise. Then
∮C (1+i)/(z-2) dz = 2πi(1+i) = -2π+2πi
The singularity z=2 is inside the contour, and the constant numerator is analytic everywhere. A clockwise traversal would give the negative value.
5.2 Estimation lemma
If |f(z)|≤M on a contour of length L, then
|∫C f(z)dz| ≤ ML
The ML inequality provides a bound, not generally the exact integral.
6. Laurent Series, Singularities and Residues
Around z=a, a function analytic in an annulus may have a Laurent expansion
f(z)=∑n=-∞∞ cn(z-a)n
The coefficient c-1 is the residue:
Res(f,a)=c-1
Important isolated singularities are:
Removable singularity: the principal part is zero and a finite analytic extension exists.
Pole of order m: finitely many negative powers occur, ending with (z-a)-m.
Essential singularity: infinitely many negative powers occur.
If f(z)=p(z)/q(z), q(a)=0, q′(a)≠0 and p and q are analytic near a, then the pole is simple and
Res(f,a)=p(a)/q′(a)
6.1 Residue theorem
If f is analytic on and inside a positively oriented simple closed contour except for finitely many isolated singularities ak inside it, then
∮C f(z)dz = 2πi ∑k Res(f,ak)
Worked Example 7: Selecting enclosed poles
Evaluate
∮|z|=1 (z+1)/[z(z-2)] dz
for counterclockwise orientation. The poles are at 0 and 2, but only 0 lies inside |z|=1. Its residue is
Res(f,0)=limz→0(z+1)/(z-2)=-1/2
Therefore,
∮|z|=1 (z+1)/[z(z-2)] dz = 2πi(-1/2)=-πi
Including the exterior pole at 2 would be an incorrect application of the theorem.
7. Conformal Mapping and Field Applications
An analytic mapping w=f(z) is locally conformal—angle preserving in magnitude and orientation—at points where f′(z)≠0. Conformality is local; global one-to-one behavior requires additional conditions.
Common mappings include:
Mapping
Principal effect
w=az+b, a≠0
Scaling, rotation and translation
w=zn
Multiplies arguments by n; not conformal at zero for n>1
w=ez
Maps strips to sectors or annuli; periodic in the imaginary direction
w=1/z
Inversion with reflection of argument
w=(az+b)/(cz+d)
Bilinear transformation, with ad-bc≠0
The bilinear map
w=(z-1)/(z+1)
maps the right half-plane Re(z)>0 onto the unit disk |w|<1. Indeed,
|w|<1 ⇔ |z-1|<|z+1| ⇔ Re(z)>0
Conformal mapping is useful in two-dimensional electrostatics because an analytic complex potential F(z)=φ(x,y)+iψ(x,y) has a harmonic potential φ and stream function ψ. Equipotential and field lines intersect orthogonally wherever the derivative is nonzero. A difficult electrode geometry can sometimes be mapped to a strip or disk, solved there, and mapped back. Assumptions usually include a two-dimensional, linear, homogeneous medium and regions free of distributed charge.
8. Complex Variables in Communication and Control Systems
8.1 Transfer functions, poles and zeros
For a continuous-time linear time-invariant system with zero initial conditions, the transfer function is
H(s)=Y(s)/X(s)=N(s)/D(s), s=σ+jω
Here s has units of s⁻¹, and N and D are usually polynomials arranged so that H has the required physical units. Zeros are roots of N(s), while poles are roots of D(s). Poles determine natural modes eskt. A rational causal system is asymptotically stable when all uncancelled poles lie strictly in the open left half-plane.
Pole-zero cancellation should not be accepted uncritically. An unstable pole that appears cancelled algebraically may remain internally through modeling error or hidden state dynamics.
The frequency response is obtained, when meaningful, by evaluating
H(jω)=H(s)|s=jω
Its modulus gives gain and its argument gives phase shift. For stable systems, frequency response links complex-variable analysis directly to filters, communication channels and feedback loops.
8.2 Argument principle and Nyquist reasoning
If F is meromorphic inside a closed contour and has no zeros or poles on it, then
(1/2πi)∮C F′(s)/F(s) ds = Z-P
where Z and P count zeros and poles inside the positively oriented contour, including multiplicity. Equivalently, the net change in argument of F(s) is 2π(Z-P).
In feedback analysis, F(s)=1+L(s), where L is the loop transfer function. Zeros of F are closed-loop poles. Nyquist analysis maps a contour through L(s) and studies winding around -1. The sign of an encirclement count depends on the chosen contour and orientation convention, so a convention must be stated rather than inferred from a sketch.
8.3 Discrete-time systems
For a discrete-time system, the transfer function uses the variable z. A causal rational system is asymptotically stable if every uncancelled pole lies inside the unit circle |z|<1. Frequency response is evaluated on z=ejΩ, where Ω is digital angular frequency in radians per sample. This unit-circle interpretation is central to digital filters and sampled communication receivers.
9. Illustrative Case: Feedback Amplifier Analysis
Background
This fictional case considers a sensor amplifier whose plant model is
G(s)=10/[(s+1)(s+4)]
with unity negative feedback and proportional controller K=1. The model is assumed linear, time invariant and valid over the operating range.
Problem
Determine the closed-loop poles, stability, damping characteristics, steady-state gain and response at ω=2 rad/s.
Analysis and solution
The loop transfer function is L(s)=G(s). The closed-loop transfer function is
T(s)=L(s)/[1+L(s)]=10/[s2+5s+14]
The poles satisfy s2+5s+14=0, so
s = [-5±√(25-56)]/2 = -2.5±j√31/2
Thus
s ≈ -2.5±j2.784 s-1
Both poles have negative real parts, so the closed loop is asymptotically stable. Comparison with s2+2ζωn s+ωn2 gives
ωn=√14≈3.742 rad/s, ζ=5/(2√14)≈0.668
The DC gain is
T(0)=10/14≈0.714
At s=j2,
L(j2)=10/[(1+j2)(4+j2)] = 10/(j10)=-j
Therefore,
T(j2)=(-j)/(1-j)=0.5-0.5j=0.707∠(-45°)
A sinusoidal input at 2 rad/s is therefore reduced to approximately 70.7% of its amplitude and shifted by −45°.
Outcome
Complex arithmetic identifies not only stability but also transient damping and sinusoidal response. The result is valid only to the extent that the transfer-function model represents the physical amplifier.
Learning points
Pole locations connect complex geometry to transient behavior.
Evaluation on the imaginary axis gives frequency response.
Feedback modifies both poles and steady-state gain.
Stability conclusions require all relevant internal dynamics and parameter uncertainty to be considered.
10. Computational Practice, Limitations and Professional Responsibility
Engineering software can calculate roots, residues, contour plots and frequency responses, but numerical results require verification. Branch choices for logarithms, roots and inverse trigonometric functions can produce discontinuities. Nearly cancelling poles and zeros may be ill-conditioned, while numerical contour integration can fail near singularities.
Recommended practice includes:
state the branch and argument convention;
identify singularities before integrating;
check contour orientation and enclosed poles;
verify units in circuit and system models;
compare symbolic results with numerical sampling;
test sensitivity to uncertain component values; and
preserve model assumptions and software settings for reproducibility.
AI-assisted algebra may suggest transformations or code, but it does not establish theorem conditions or model validity. In safety-critical communication, medical or control equipment, unverified pole-zero cancellation, incorrect contour orientation or unstable controller deployment may cause harm. Professional responsibility therefore requires independent validation, traceable calculations and compliance with relevant engineering safety and electromagnetic-compatibility standards.
Contemporary applications include complex baseband signal processing, impedance spectroscopy, electromagnetic simulation, robust control and conformal-mapping-based computational grids. Numerical methods extend classical theory to irregular geometries, but they complement rather than replace analytic reasoning.
Chapter Summary
Complex numbers can be expressed in rectangular, polar and exponential forms. Polar form simplifies multiplication, division, powers and roots, while complex loci translate algebraic conditions into geometric objects. Phasors apply these ideas to sinusoidal steady-state circuit analysis.
Complex differentiability requires direction-independent limits and is characterized, under suitable regularity conditions, by the Cauchy–Riemann equations. Analytic functions have harmonic real and imaginary parts. Contour integration, Cauchy’s integral formula and the residue theorem evaluate integrals through analyticity and singularity structure, with contour orientation and enclosure conditions being essential.
Conformal mappings transform two-dimensional field problems while preserving local angles where the derivative is nonzero. In communication and control systems, poles, zeros, frequency response, the argument principle and unit-circle geometry connect complex analysis to stability and system performance. Reliable engineering use requires careful attention to branches, assumptions, units, uncertainty and computational validation.
Key Terms
Analytic function: A function complex differentiable throughout an open set.
Argument: An angle specifying the direction of a nonzero complex number.
Bilinear transformation: A map (az+b)/(cz+d) with ad-bc≠0.
Cauchy–Riemann equations: Partial differential conditions relating the real and imaginary parts of an analytic function.
Complex conjugate: The number obtained by reversing the sign of the imaginary part.
Conformal mapping: A locally angle-preserving analytic mapping where its derivative is nonzero.
Contour: A directed, piecewise smooth curve in the complex plane.
Entire function: A function analytic on the whole complex plane.
Harmonic function: A twice differentiable function satisfying Laplace’s equation.
Impedance: Complex ratio of phasor voltage to phasor current.
Laurent series: A series containing positive and negative integer powers about a point.
Modulus: The nonnegative magnitude |z| of a complex number.
Phasor: A complex representation of a sinusoid’s RMS magnitude and phase.
Pole: An isolated singularity where a function diverges with finite algebraic order.
Residue: The coefficient of (z-a)-1 in a Laurent expansion.
Singularity: A point at which a function is not analytic.
Transfer function: The zero-initial-condition ratio of output transform to input transform.
Zero: A point at which a function or transfer-function numerator vanishes.
Review Questions
Short Answer Questions
Distinguish between an argument and the principal argument of a complex number.
State the condition required when applying De Moivre’s formula with a negative integer exponent.
Write the Cauchy–Riemann equations in Cartesian coordinates.
Define the residue of a function at an isolated singularity.
Where must the poles of a causal rational discrete-time system lie for asymptotic stability?
Long Answer Questions
Derive the formula for the n distinct roots of a nonzero complex number and explain their geometry.
Explain phasor analysis and derive the impedances of resistors, inductors and capacitors from their time-domain relationships.
Discuss complex differentiability, analyticity, harmonic functions and harmonic conjugates.
State and compare Cauchy’s theorem, Cauchy’s integral formula and the residue theorem, including their conditions.
Explain how conformal mapping can simplify a two-dimensional electrostatic boundary-value problem.
Analytical / Application Questions
A 120 V RMS source at 60 Hz supplies a series circuit with R=30 Ω and C=100 μF. Determine the impedance, current magnitude, phase and real power.
Evaluate ∮C (z+2)/[(z-1)(z+3)]dz when C is the counterclockwise circle |z|=2. Clearly identify the enclosed singularities.
For a unity-feedback system with G(s)=K/[s(s+3)], derive the closed-loop poles and determine the range of positive K for asymptotic stability. Interpret the pole motion as K increases.
Multiple Choice Questions with Answers
Question 1
What is the principal argument of z=-1+i√3 on the interval (-π,π]?
A. π/3
B. 2π/3
C. 4π/3
D. -2π/3
Correct Answer: B. 2π/3
Question 2
Which condition is required when De Moivre’s formula is used with a negative integer exponent?
A. The complex number must be real.
B. The argument must be positive.
C. The complex number must be nonzero.
D. The modulus must equal one.
Correct Answer: C. The complex number must be nonzero.
Question 3
The locus |z-(2+i)|=3 is which geometric object?
A. A circle centered at 2+i with radius 3
B. A circle centered at -2-i with radius 3
C. A disk centered at 2+i
D. A line through 2+i
Correct Answer: A. A circle centered at 2+i with radius 3
Question 4
At angular frequency ω, what is the impedance of a capacitor C?
A. jωC
B. -jωC
C. j/(ωC)
D. 1/(jωC)
Correct Answer: D. 1/(jωC)
Question 5
For u=x2-y2 and v=2xy, which function is represented?
A. z2
B. z̄2
C. |z|2
D. 1/z
Correct Answer: A. z2
Question 6
For a counterclockwise contour enclosing z=2, what is ∮(1+i)/(z-2)dz?
A. 2π+2πi
B. -2π-2πi
C. -2π+2πi
D. 2π-2πi
Correct Answer: C. -2π+2πi
Question 7
Which singularity lies inside the contour |z|=1 for f(z)=(z+1)/[z(z-2)]?
A. Only z=0
B. Only z=2
C. Both z=0 and z=2
D. Neither singularity
Correct Answer: A. Only z=0
Question 8
At which points is an analytic mapping w=f(z) locally conformal?
A. Where f(z)=0
B. Where f′(z)≠0
C. Only where Im(z)=0
D. Only where |f(z)|=1
Correct Answer: B. Where f′(z)≠0
Question 9
For a causal rational continuous-time system, which pole set gives asymptotic stability?
A. All uncancelled poles have negative real parts.
B. All poles lie on the imaginary axis.
C. At least one pole has a positive real part.
D. All poles have magnitudes greater than one.
Correct Answer: A. All uncancelled poles have negative real parts.
Question 10
For the case-study system T(s)=10/(s2+5s+14), what is its DC gain?