Home/Chapter 14

Appendix B: Cauchy's Integral Formula

Cauchy's integral formula and the residue theorem. Essential tools for contour integration used in the Nyquist criterion and inverse Laplace/Z-transforms.

This appendix presents Cauchy's integral formula and the residue theorem, which are the complex analysis results underpinning the Nyquist stability criterion (the relevant section) and the computation of inverse Laplace and Z-transforms via contour integration (the relevant section).


B.1 Cauchy's Integral Formula

TheoremCauchy's Integral Theorem

Let f:CCf : \mathbb{C} \to \mathbb{C} be analytic (complex differentiable) on and inside a simple closed contour Γ\Gamma. Then,

Γf(z)dz=0.\oint_\Gamma f(z)\,dz = 0.

Remark.

Intuition: If a function is analytic everywhere inside a closed contour, then its integral around that contour vanishes. This is the fundamental result of complex analysis and is a consequence of the fact that analytic functions have no "sources" or "sinks" inside the contour.

TheoremCauchy's Integral Formula

Let ff be analytic on and inside a simple closed contour Γ\Gamma traversed in the counter-clockwise direction. Then, for any point z0z_0 inside Γ\Gamma:

f(z0)=12πiΓf(z)zz0dz.f(z_0) = \frac{1}{2\pi i} \oint_\Gamma \frac{f(z)}{z - z_0}\,dz.

More generally, the nn-th derivative of ff at z0z_0 is given by:

f(n)(z0)=n!2πiΓf(z)(zz0)n+1dz.f^{(n)}(z_0) = \frac{n!}{2\pi i} \oint_\Gamma \frac{f(z)}{(z - z_0)^{n+1}}\,dz.

Remark.

Intuition: Cauchy's integral formula says that the value of an analytic function at any interior point is completely determined by its values on the boundary. This is a remarkable property unique to analytic functions: knowing ff on a closed curve tells you everything about ff inside. In our course, this formula is used to compute inverse Laplace and Z-transforms via contour integration.


B.2 The Residue Theorem

DefinitionResidue

If ff has an isolated singularity (pole) at z=z0z = z_0, the residue of ff at z0z_0 is the coefficient a1a_{-1} in the Laurent series expansion:

f(z)=n=an(zz0)n.f(z) = \sum_{n=-\infty}^{\infty} a_n (z - z_0)^n.

For a pole of order mm, the residue can be computed as:

Res(f,z0)=1(m1)!limzz0dm1dzm1[(zz0)mf(z)].\text{Res}(f, z_0) = \frac{1}{(m-1)!} \lim_{z \to z_0} \frac{d^{m-1}}{dz^{m-1}} \left[(z - z_0)^m f(z)\right].

For a simple pole (m=1m = 1):

Res(f,z0)=limzz0(zz0)f(z).\text{Res}(f, z_0) = \lim_{z \to z_0} (z - z_0) f(z).

TheoremResidue Theorem

Let ff be analytic on and inside a simple closed contour Γ\Gamma (traversed counter-clockwise), except at a finite number of isolated singularities z1,z2,,zkz_1, z_2, \ldots, z_k inside Γ\Gamma. Then,

Γf(z)dz=2πij=1kRes(f,zj).\oint_\Gamma f(z)\,dz = 2\pi i \sum_{j=1}^{k} \text{Res}(f, z_j).

Remark.

Intuition: The residue theorem generalizes Cauchy's integral theorem to functions with poles: the integral around a closed contour equals 2πi2\pi i times the sum of the residues at the poles enclosed by the contour. This is the key tool for computing inverse Laplace transforms and is the mathematical engine behind the Nyquist criterion -- the winding number in the principle of variation of the argument (Theorem) is computed via residues.


B.3 Application to the Nyquist Criterion

The principle of variation of the argument (Theorem), which is the foundation of the Nyquist stability criterion, is a direct consequence of the residue theorem. For a function ff with ZZ zeros and PP poles inside a contour Γ\Gamma:

12πiΓf(z)f(z)dz=ZP.\frac{1}{2\pi i} \oint_\Gamma \frac{f'(z)}{f(z)}\,dz = Z - P.

This follows because:

  • At a zero z0z_0 of order mm, we can write f(z)=(zz0)mg(z)f(z) = (z - z_0)^m g(z) with g(z0)0g(z_0) \neq 0, so f(z)f(z)=mzz0+g(z)g(z)\frac{f'(z)}{f(z)} = \frac{m}{z - z_0} + \frac{g'(z)}{g(z)}, contributing a residue of +m+m.

  • At a pole z0z_0 of order mm, we can write f(z)=(zz0)mg(z)f(z) = (z - z_0)^{-m} g(z) with g(z0)0g(z_0) \neq 0, so f(z)f(z)=mzz0+g(z)g(z)\frac{f'(z)}{f(z)} = \frac{-m}{z - z_0} + \frac{g'(z)}{g(z)}, contributing a residue of m-m.

Summing over all zeros and poles gives ZPZ - P.

Remark.

Intuition: The logarithmic derivative f/ff'/f has simple poles exactly at the zeros and poles of ff, with residues equal to the multiplicities (positive for zeros, negative for poles). The residue theorem then directly gives the winding number formula ZPZ - P, which is exactly what the Nyquist criterion uses to determine stability.


B.4 Application to Inverse Transforms

For computing inverse Laplace transforms, the contour integral representation is:

x(t)=12πicX(s)estds,x(t) = \frac{1}{2\pi i} \int_c X(s) e^{st}\,ds,

where the integral is taken along the line Re{s}=R\text{Re}\{s\} = R which is in the region of convergence. By closing the contour (typically with a semicircle to the left for t>0t > 0), the residue theorem converts this integral into a sum of residues at the poles of X(s)estX(s)e^{st}.

Similarly, for inverse Z-transforms:

x(n)=12πicX(z)zn1dzx(n) = \frac{1}{2\pi i} \oint_c X(z) z^{n-1}\,dz

where the contour integral is taken along a circle in the region of convergence in a counter-clockwise fashion. Cauchy's integral formula (Theorem B.0.2) may be employed to obtain solutions.

However, for applications considered in this course, the partial fraction expansion is the most direct approach for computing inverse transforms.