Skip to content
GATEiit

GATE EC · Engineering Mathematics

Cauchy’s integral theorem

Contour integrals in the complex plane, Cauchy's integral theorem and its conditions, path independence, deformation of contours, and the standard integral of (z − a)^n that settles most GATE contour questions.

Before you start

This topic comes before: Cauchy’s integral formula, Residue theorem

Concept notes

1. Contour integrals

A contour is a piecewise smooth curve C in the complex plane. If C is given by z=z(t), a≤t≤b, then

∫Cf(z) dz=∫abf(z(t)) z′(t) dt

The usual parametrisations:

Curve z(t) dz
Circle ∣z−a∣=r, anticlockwise a+reiθ, 0≤θ≤2π ireiθ dθ
Segment from z1 to z2 z1+t(z2−z1), 0≤t≤1 (z2−z1) dt

A closed contour is written ∮C; the positive direction is anticlockwise (the region stays on the left). Reversing the direction changes the sign of the integral.

For a non-analytic integrand you must parametrise. Example: on ∣z∣=r, zˉ=r2/z, so

∮∣z∣=rzˉ dz=r2∮dzz=2πir2

which is not zero, because zˉ is analytic nowhere.

ML inequality: if ∣f(z)∣≤M on C and C has length L, then ∣∫Cf dz∣≤ML. It is used to show that an integral over a large arc goes to zero.

2. Cauchy's integral theorem

Theorem. If f(z) is analytic in a simply connected domain D, then for every simple closed contour C in D

∮Cf(z) dz=0

In the form used in questions: if f is analytic on and inside a simple closed curve C, the integral around C is zero.

Why it holds (Green's theorem idea). With f=u+iv and dz=dx+i dy, the integral splits into two real line integrals. Green's theorem turns them into double integrals of −(vx+uy) and (ux−vy), and the Cauchy–Riemann equations ux=vy, uy=−vx make both zero.

How to apply it in GATE:

  1. Find every point where f is not analytic (zeros of a denominator, points where log⁡ or a root is undefined, or everywhere for zˉ, ∣z∣, Re z).
  2. Check whether each lies inside C. For a circle ∣z−a∣=r, the point z0 is inside if ∣z0−a∣<r.
  3. If none lie inside (and none lie on C), the answer is 0.

Polynomials, ez, sin⁡z, cos⁡z are entire (analytic everywhere), so their closed integrals are always 0. A rational function is analytic except at the zeros of its denominator; tan⁡z and sec⁡z fail at odd multiples of π/2.

The theorem gives a sufficient condition only. ∮∣z∣=1z−2 dz=0 although z−2 is singular at 0.

f analytic onand inside CCsingular point(outside)∮ f dz = 0 over CaC1C∮ over C = ∮ over C1 (f analytic between C and C1)
Left: no singularity on or inside C, so the integral is zero. Right: the integral over C equals the integral over a small circle C1 around the only singular point a.

3. Consequences: path independence and deformation

Path independence. In a simply connected domain where f is analytic, ∫z1z2f(z) dz is the same along every path, because two paths together form a closed contour. If F′=f, then

∫z1z2f(z) dz=F(z2)−F(z1)

just as in real calculus. So ∫01+iz2 dz=(1+i)33 along any path. For a non-analytic f (like zˉ or Re z) the value depends on the path, and you must parametrise each piece.

Deformation of contours. If f is analytic in the region between two closed curves C and C1 (with C1 inside C, both anticlockwise), then

∮Cf dz=∮C1f dz

So a square, an ellipse or a large circle around a single singular point a gives the same value as a tiny circle around a.

Multiply connected regions. If C encloses several singular points a1,…,ak, each surrounded by a small circle Cj, then

∮Cf dz=∑j=1k∮Cjf dz

This is the bridge to the residue theorem: each small-circle integral is 2πi times the residue at that point.

4. The key integral of (z − a)^n

For an integer n and C a simple closed contour, anticlockwise:

Check on ∣z−a∣=r: with z=a+reiθ, the integrand becomes irn+1ei(n+1)θ. Its integral over 0 to 2π is zero unless n+1=0, when it is 2πi.

Integrand a inside C a outside C
(z−a)n, n≥0 0 0
1z−a 2πi 0
1(z−a)m, m≥2 0 0

Partial fractions reduce any rational integrand to this table. For example,

1z(z−2)=12(1z−2−1z)

On ∣z∣=3 both points are inside: 12(2πi−2πi)=0. On ∣z∣=1 only z=0 is inside: 12(0−2πi)=−πi.

For numerators other than constants, the next tool is Cauchy's integral formula, ∮Cf(z)z−adz=2πi f(a) with f analytic and a inside C.

Formulas to remember

Contour integral by parametrisation
∫Cf(z) dz=∫abf(z(t)) z′(t) dt
Cauchy's integral theoremf analytic on and inside the simple closed curve C
∮Cf(z) dz=0
Path independence
∫z1z2f(z) dz=F(z2)−F(z1),F′=f
Key integral∮C(z−a)ndz=0 for every other integer n
∮Cdzz−a=2πi  (a inside C)
Deformation of contourCj small circles around the singular points inside C
∮Cf dz=∑j∮Cjf dz
ML inequality
∣∫Cf(z) dz∣≤ML
Conjugate on a circle
∮∣z∣=rzˉ dz=2πi r2

Common mistakes

  • Applying Cauchy's theorem to a non-analytic integrand such as conj(z), |z| or Re z; these must be parametrised.
  • Not checking whether each singular point lies inside the contour; for |z - a| = r compare the distance from a with r, not from the origin.
  • Concluding that the integral is non-zero just because a singular point is inside; terms like 1/(z - a)^2 still integrate to zero.
  • Forgetting the sign change when the contour is traversed clockwise.
  • Assuming path independence for a function that is not analytic in the region between the paths.
  • Missing singular points of tan z or sec z (odd multiples of pi/2) when deciding whether they lie inside the contour.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Singularity outside the contour

numerical

Evaluate ∮∣z∣=1ezz−3 dz.

  1. Step 1: Find where the integrand is not analytic.

    Try it on paper first.

Example 2: An integral that does not depend on the path

numerical

Evaluate ∫Cz2 dz where C is any path from 0 to 1+i.

  1. Step 1: Check whether the integrand is analytic.

    Try it on paper first.

Example 3: A non-analytic integrand

numerical

Evaluate ∮∣z∣=2zˉ dz, anticlockwise.

  1. Step 1: Can Cauchy's theorem be used?

    Try it on paper first.

Example 4: Partial fractions and which points are inside

conceptual

Evaluate ∮Cdzz(z−2) for (a) C:∣z∣=3 and (b) C:∣z∣=1, both anticlockwise.

  1. Step 1: Split into partial fractions.

    Try it on paper first.

Previous year questions

1 official GATE EC question on this topic, newest first.

Topic test

9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.