4.10.3 · D3Advanced Topics (Elite Level)

Worked examples — Cauchy's integral theorem and formula

4,046 words18 min readBack to topic

Two tools are the whole toolbox. Let be a closed loop, a function, a point.

The reader who forgets what "holomorphic" or "" mean should reread §1 of the parent first.


The scenario matrix

Every contour integral you meet falls into exactly one of these cells. Each row is one thing that can go wrong or be special. The examples below are labelled by cell.

Cell Description Which weapon Example
A No pole inside Theorem Ex 1
B One simple pole inside () Formula, Ex 2
C Higher-order pole () Formula, Ex 3
D Pole outside (degenerate: nothing enclosed) Theorem Ex 4
E Two poles inside → split by partial fractions Formula twice Ex 5
F Pole on the contour (illegal input) Neither — principal value Ex 6
G Limiting case: radius swallowing/excluding the pole Boundary of A vs B Ex 7
H Real-world word problem (physics/AC circuit flavour) Formula in disguise Ex 8
I Exam twist: same integral, two contours, different answers A vs B side by side Ex 9
J Contour reversed (clockwise) Sign flip Ex 10
K Non-pole singularities: branch points and essential singularities Beyond these two weapons Ex 11

Let me set one convention used everywhere: means the circle of radius centred at the origin, traversed counter-clockwise (the positive direction). Look at the figure — counter-clockwise is the arrow direction that keeps the enclosed disk on your left.

Figure — Cauchy's integral theorem and formula
(Figure s01 — a blue unit circle with yellow arrows all pointing counter-clockwise around it; the shaded disk sits on the left of each arrow. If the image does not load: picture a clock face with the hands running backwards, and the whole clock face shaded — that shaded face is the region the loop encloses.)


Example 1 — Cell A: nothing inside, so zero

Steps.

  1. Identify singularities of . Why this step? The theorem only fires if is holomorphic on the entire enclosed disk. A polynomial is differentiable at every point of — no denominators, no roots to divide by — so there are no singularities anywhere.
  2. All of them (there are none) lie... nowhere, hence none inside . Cell A confirmed. Why this step? We must be certain the "no holes" condition holds; here it holds trivially.
  3. Apply the Theorem:

Example 2 — Cell B: one simple pole, use

Steps.

  1. Match the shape : here and (so ). Why this step? The formula needs the denominator written exactly as so we can read off .
  2. Is inside ? Yes, since . And is holomorphic everywhere. Cell B confirmed. Why this step? If were outside we'd be in Cell D and the answer would be instead.
  3. Apply

Example 3 — Cell C: a higher-order pole needs a derivative

Steps.

  1. Write . So , with and . Why this step? The generalized formula reads the order of the pole off the exponent; matching to the power tells us how many derivatives to take.
  2. Confirm is inside (yes) and is holomorphic (yes). Cell C confirmed.
  3. Compute . Each derivative of multiplies by : , , . So . Why this step? The formula needs , nothing else.
  4. Apply

Example 4 — Cell D: pole outside → the theorem still rules, answer is zero

Steps.

  1. Singularity of the integrand: denominator zero at . Why this step? We must locate the pole before deciding which weapon fires.
  2. Is inside ? No — . So inside the loop, the whole integrand is holomorphic (nowhere does the denominator vanish there). Cell D confirmed. Why this step? This is the crucial contrast with Ex 2: same shape of integrand, but the pole is excluded, so it is invisible to the loop.
  3. Apply the Theorem (not the formula):

Example 5 — Cell E: two poles inside → split them apart

Steps.

  1. Factor and split: Why this step? The formula handles one enclosed pole at a time. Partial fractions turn a two-pole integrand into two Cell-B integrals we already know how to do. To be sure the split is correct, put the two pieces over a common denominator: , which is exactly what we started with — so the split is valid.
  2. Both and lie inside . Cell E confirmed. Why this step? Only enclosed poles contribute; we verify both are grabbed by this large circle before summing them.
  3. Integrate each piece with constant , : Why this step? Each is exactly Cauchy's formula with evaluated at the pole.
  4. Combine with the minus sign from the split: Why this step? The contour integral is linear: the integral of a sum (or difference) of pieces equals the sum (or difference) of their integrals, . So the algebraic minus sign between the two partial fractions carries straight through to a minus sign between the two contour integrals. We are not re-deriving anything — just using that integration distributes over and .

Example 6 — Cell F: a pole sitting ON the contour (degenerate/illegal)

Before we start, one honest warning. When the trouble-spot sits on the path, the integral does not have a single value; different sensible ways of handling it give different answers. The standard repair is the principal value: cut a tiny symmetric arc of angular half-width out of the contour, centred exactly on the pole, integrate over what remains, then let . "Symmetric" means you remove equal angle on each side of the pole, so the blow-ups on the two sides are given a fair chance to cancel. Keep that picture in mind for step 3.

Steps.

  1. Locate the pole: . Is it inside, outside, or on ? Exactly on it, since . Why this step? The formula's hypothesis " inside " is now violated, and the theorem's hypothesis " holomorphic on the contour" is also violated.
  2. Neither weapon legally applies. As written, the integrand is unbounded on the path and the integral does not converge as an ordinary contour integral. Why this step? We must not blindly plug into either formula — that would give a fake number.
  3. The symmetric detour: replace the removed arc by a tiny semicircle of radius that bulges around the pole. A full small circle around a simple pole contributes (that is Ex 2 in miniature); a half circle — exactly radians of arc — therefore contributes half of that, . Because the principal-value cut is symmetric, the detour is exactly this half-circle, so the principal value is . If instead you push the semicircle so the pole ends up strictly outside, you keep none of the residue and get ; push it so the pole ends up strictly inside, you keep all of it and get . Why this step? This makes the mechanism explicit: the answer is literally the fraction of the little circle you swing around the pole, and out of radians is exactly one half — that is where comes from.

Example 7 — Cell G: the limiting knife-edge (radius crossing the pole)

Steps.

  1. Pole at . Compare with radius . Why this step? Whether the pole is enclosed is the only thing that changes as varies.
  2. Case (pole outside): Cell D → Theorem → Why? Integrand holomorphic on the whole disk of radius .
  3. Case (pole inside): Cell B with , Why? Now the pole is enclosed and the formula fires.
  4. Case : Cell F — the pole lies on the contour, integral undefined (see Ex 6).

Figure — Cauchy's integral theorem and formula
(Figure s02 — a step graph: the value of is a flat green line at for , then jumps up a dashed yellow arrow of height to a flat red line for ; a blue dotted vertical line marks the pole at . If the image does not load: picture a light switch that is OFF for every radius below and suddenly ON at value for every radius above .)


Example 8 — Cell H: word problem (an AC-circuit / averaging flavour)

Steps.

  1. Recognise the mean-value property. Start from Cauchy's formula on with : Why this step? The word "average around the ring" is Cauchy's formula in disguise; we convert the given angular average into a contour integral.
  2. Parametrise , , so : Why this step? This shows the designer's is exactly — the mean-value property for holomorphic functions.
  3. Evaluate the centre: Why this step? The whole ring average collapses to a single number, at the centre.
  4. So

Example 9 — Cell I: exam twist, one integrand, two contours

Steps.

  1. Factor the denominator: ; poles at and . Why this step? Knowing pole locations is the whole game once the contours differ; each circle will enclose a different subset of these two points.
  2. Contour (a) — the circle of radius centred at . Distance from centre to the pole is , so is inside; distance to is , so is outside. This is Cell B: exactly one enclosed simple pole. Why this step? We must confirm which single pole is grabbed before applying the one-pole formula; the other pole must be safely outside or the method changes.
  3. Fold the far factor into . Write the integrand as with , so . Why this step? Cauchy's formula needs the enclosed pole isolated as a bare ; the factor from the outside pole never vanishes inside , so it is holomorphic there and legally becomes part of .
  4. Apply the formula: Why this step? With holomorphic on and inside and one simple pole at , the formula gives the value directly.
  5. Contour (b) — radius- circle about the origin. Distance to each pole is , so neither pole is enclosed. This is Cell A. Why this step? If no singularity is enclosed, the integrand is holomorphic on the whole disk and the theorem — not the formula — applies.
  6. Apply the theorem: Why this step? No enclosed pole ⇒ loop integral of a holomorphic function ⇒ zero, no matter how complicated the integrand looks.

Example 10 — Cell J: the same loop walked backwards (orientation)

Steps.

  1. Name the clockwise loop , where is the usual counter-clockwise unit circle. Why this step? We only know how to evaluate counter-clockwise loops; we must express the clockwise one in terms of a counter-clockwise one.
  2. Apply the reversal rule . Why this step? Reversing direction negates every step, hence negates the whole sum — this is the sign law stated in the orientation definition, no new machinery needed.
  3. Substitute the known value:

Example 11 — Cell K: when the singularity is NOT a pole

Our two weapons assume the only bad points are poles — spots where blows up like for some finite whole number . Two other creatures live in contour calculus, and it is vital to recognise that they are outside the reach of Cauchy's formula as stated.

Steps.

  1. (a) Branch point. has a branch point at : going once around the origin sends , so it is not a single-valued holomorphic function on the punctured disk. Cauchy's formula requires a single-valued holomorphic ; that hypothesis fails. Why this step? The formula's very first word is "holomorphic" — and holomorphic includes single-valued. A multivalued expression must first be tamed with a branch cut (a curve you forbid the contour to cross), which changes the problem entirely. So we do not get to write "" here.
  2. (b) Essential singularity — use the Laurent series. Expand . Why this step? The loop integral of over is for every integer and equals for (that is the fact). So the only term that survives is the coefficient of .
  3. Read off the coefficient of (the term): it is . Why this step? This coefficient is called the residue; the whole integral is times it.
  4. Therefore

Master checklist (run this on any contour integral)

pole

branch point

essential

no

pole on gamma

yes one pole

simple

order n plus 1

yes many poles

clockwise

counter clockwise

Find every singularity of the integrand

What type

Any pole inside gamma

Need a branch cut not Cauchy formula

Use Laurent series residue

Theorem gives zero

Undefined use principal value

What order

Formula f of a times 2 pi i

Formula with n derivatives

Split by partial fractions then sum

Orientation

Flip the sign

Keep as is

Recall Quick self-test

::: , , , so . ::: pole at is outside; theorem ⇒ . ::: pole at now inside; . walked clockwise ::: (reverse orientation flips the sign).

Related deeper tools: enclosing many poles at once is the Residue theorem; the mean-value idea in Ex 8 leads to the Maximum modulus principle and Liouville's theorem; expanding an integrand near a pole or essential singularity uses a Laurent series; the derivation itself rests on the Cauchy-Riemann equations and Green's theorem.