Applied MathematicsUnit 310 min read

Complex Integration – Contour Integrals, Cauchy Theorem, Integral Formula & Applications

Unit 3 of Applied Mathematics: introduces contour integration, Cauchy’s integral theorem and formula, ML‑inequality, deformation of paths, and real‑world evaluation of definite integrals using complex analysis.

Key points

  • A contour integral is the line integral of a complex function taken over a directed path in the complex plane.
  • Cauchy’s integral theorem states that the integral of an analytic function over a closed contour is zero.
  • Cauchy’s integral formula provides the value of a function (and its derivatives) inside a contour via a simple integral.
  • The ML‑inequality gives an easy bound for contour integrals, essential for proving convergence of improper integrals.
  • Deforming contours and using residues (later unit) allow evaluation of many real‑valued integrals that appear in engineering.

1. What is a contour integral?

A contour is a piecewise‑smooth, directed curve in the complex plane .
If is a complex‑valued function defined on , the contour integral of along is

where parametrises for .

Example 1 – Integral over the unit circle

Parametrise the unit circle by .
Then

The figure shows the positively oriented unit circle .


2. Analytic functions and Cauchy’s Integral Theorem

A function is analytic (holomorphic) on a domain if it is complex differentiable at every point of . Analyticity implies the existence of a primitive (antiderivative) and the satisfaction of the Cauchy‑Riemann equations.

Cauchy’s Integral Theorem (CIT)
If is analytic on a simply‑connected domain and is any closed contour lying entirely in , then

Why it matters: The theorem allows us to replace a complicated integral by a simpler one, or to prove that certain integrals vanish.

Proof sketch (using Green’s theorem)

Write and . Then

Applying Green’s theorem to each real integral and using the Cauchy‑Riemann equations shows both integrals are zero.


3. Cauchy’s Integral Formula (CIF)

Let be analytic on and inside a positively oriented simple closed contour . For any point interior to ,

More generally, the derivative is

Worked Example 2 – Evaluating

Because is entire, the integrand has a single simple pole at , which lies inside . Apply CIF with and :

The contour encloses the pole at ; the integral equals times the value of the analytic numerator at that point.


4. The ML‑Inequality

For a contour of length and a function bounded by on ,

This inequality is indispensable when proving that certain integrals over large arcs tend to zero (Jordan’s lemma) and when justifying the deformation of paths.

Example 3 – Bounding an integral over a semicircle

Let be the upper semicircle . For ,

The length of is . Hence

Thus the contribution of the large arc vanishes, a key step in evaluating many real integrals.


5. Deformation of Contours

If is analytic on a region that contains two contours and which can be continuously deformed into each other without crossing a singularity, then

This principle lets us replace a difficult path by a simpler one (often a straight line or a circle) and is the backbone of many integral‑evaluation strategies.

Example 4 – Real integral

  1. Consider the complex function .
  2. Integrate over the closed contour consisting of the real axis from to and the upper semicircle .
  3. By the ML‑inequality, the contribution from vanishes as .
  4. Inside the contour lies a simple pole at . Using the residue theorem (unit 4) gives

Taking the real part yields

flowchart TD
    A["Define F(z)=e^{iz}/(z^2+1)"] --> B["Choose contour: real line + upper semicircle"]
    B --> C["Show arc integral → 0 (ML‑inequality)"]
    C --> D["Identify pole at z=i"]
    D --> E["Apply residue theorem (unit 4)"]
    E --> F["Take real part → desired integral"]

6. Comparison Table – When to Use Which Tool

Situation Preferred Method (Unit 3) Reason
Integral of analytic function over closed curve Cauchy’s Integral Theorem Directly gives zero, avoids computation
Need value of function inside contour Cauchy’s Integral Formula Provides exact value and derivatives
Integral over large arc or infinite contour ML‑inequality Supplies a bound to show the arc contribution vanishes
Real‑valued improper integral with trigonometric/ rational terms Contour deformation + CIF Turns real integral into a contour integral that is easy to evaluate
Multiple isolated singularities inside contour Residue theorem (Unit 4) Summation of residues is simpler than repeated CIF

7. Advantages, Disadvantages & Engineering Applications

Aspect Advantage Disadvantage / Limitation
Generality Works for a huge class of integrals, including those not expressible in elementary terms. Requires the integrand to be extended to the complex plane; not all real functions have a convenient analytic extension.
Efficiency Often reduces a difficult real integral to evaluating a few residues or a simple CIF. For functions with branch cuts, contour selection becomes subtle.
Physical Insight Links complex poles to resonant frequencies, damping, and stability in control systems. Misidentifying branch points can lead to incorrect results.
Computational Provides closed‑form expressions useful for algorithm design (e.g., FFT kernels). Numerical implementation still needs careful handling of round‑off near singularities.

Key engineering uses

  • Signal processing: Inverse Fourier and Laplace transforms are evaluated via contour integrals, giving impulse responses of filters.
  • Electromagnetics: Radiation integrals for antennas are solved by closing contours in the complex plane.
  • Control systems: Stability margins are obtained from poles of the transfer function, located using contour techniques.

8. Worked Example Tied to a Real Situation

Problem – Compute the steady‑state voltage across a capacitor in an RLC series circuit driven by a sinusoidal source of frequency  rad/s, resistance , inductance  H, capacitance F.

The phasor voltage across the capacitor is

Write the denominator as a complex function of :

To obtain the time‑domain response we need the inverse Laplace transform

Using the Bromwich integral (inverse Laplace)

The integrand has poles at the roots of . Solving:

The discriminant is negative, giving complex conjugate poles

Closing the Bromwich contour to the left (Jordan’s lemma) and applying the residue theorem (unit 4) yields

Plugging  H gives

Interpretation – The exponential decay () reflects the damping due to resistance, while the sinusoid at  rad/s is the damped natural frequency. Engineers at NTC (Nepal Telecom) use exactly this analysis when designing filters for voice‑over‑IP services, ensuring that the transient response settles within acceptable time limits.


9. In the real world

  • Google Maps routing – The shortest‑path algorithm uses complex‑analysis‑based contour integrals to evaluate the Fourier transform of traffic‑density functions, enabling fast convolution of road‑segment data.
  • NTC (telecom) antenna design – Radiation pattern integrals are solved by closing the contour in the complex plane; the resulting closed‑form expression predicts signal strength across Kathmandu valleys.
  • Daraz order‑queue optimisation – The expected waiting time in an M/M/1 queue can be expressed as . Complex integration (Cauchy’s formula) yields the exact mean queue length, allowing Daraz to allocate delivery personnel efficiently during peak sales.

10. Exam tip

  • Memorise the three core statements (CIT, CIF, ML‑inequality) and their hypotheses; many marks are lost for applying them to non‑analytic regions.
  • Practice parametrisation: always write and compute before integrating.
  • When a real integral is asked, sketch the contour, identify singularities, and state which theorem you are using (CIT → integral =0, CIF → evaluate, ML → show arc → 0).
  • Write the final answer in the original real variable; remember to take the real or imaginary part if the contour integral involved .

radio antenna diagramAntenna used in wireless communication, where contour integration helps compute radiation patterns. (Image: Antonelse, CC BY-SA 4.0, via Wikimedia Commons)

stock market chartFinancial modelling uses complex integration for option‑pricing formulas. (Image: CC0, via Wikimedia Commons)

Based on the PU BE Computer (PU) syllabus for Applied Mathematics, unit 3.

Discussion

Loading…