4.10.3 · D2Advanced Topics (Elite Level)

Visual walkthrough — Cauchy's integral theorem and formula

2,205 words10 min readBack to topic

Step 0 — What is a complex number, as a picture?

WHAT. A complex number is just a point on a flat sheet of paper. We give the sheet two axes: the horizontal one measures a number we call , the vertical one measures a number we call . The point sitting at horizontal and height is written

The symbol is not a mystery quantity — think of it as a label that says "this part points upward". So is an arrow from the origin to the dot.

WHY. Everything below is about walking a pen around a loop drawn on this sheet. To talk about a loop we first need to agree that each place the pen can be is one number .

PICTURE. The red dot is ; its shadow on the floor is , its shadow on the wall is .

Figure — Cauchy's integral theorem and formula

Step 1 — A function, a contour, and the meaning of

WHAT. A function takes each input point and hands back another point — another arrow. A contour (Greek letter "gamma") is a path we draw on the plane; a closed contour is a path that returns to where it started, like a loop of string.

The symbol means: creep along the loop in tiny steps; at each spot multiply the function's value by the tiny step you just took; add all those little products up.

  • (circle-integral) "sum along a closed loop".
  • one tiny step arrow along the path (a small change in position, itself a complex number).
  • the product of two arrows (complex multiplication rotates and scales).

WHY define it this way. Real integrals add up "height times tiny width". A complex integral adds up "arrow times tiny step". Because carries a direction, walking the loop backwards flips every — so the orientation of the loop matters. We always walk counter-clockwise (called positive orientation) unless told otherwise.

PICTURE. The loop is chopped into tiny step arrows ; one of them is highlighted red.

Figure — Cauchy's integral theorem and formula

Step 2 — Split the loop integral into two real loop integrals

WHAT. Write the function in parts, , where and are ordinary real-valued functions (the "floor value" and the "wall value" of ). Write the step as . Multiply out:

Term by term: are real functions of the point; is a tiny sideways move, a tiny up move; the is what turned into the negative .

WHY. We do not yet know how to attack a complex loop integral, but we already own a tool for real loop integrals over the plane: Green's theorem. So we translate the one hard complex loop into two familiar real loops.

PICTURE. The same loop, now imagined as two ordinary "circulation" loops — one tracking , one tracking .

Figure — Cauchy's integral theorem and formula

Step 3 — Feed each real loop through Green's theorem

WHAT. Green's theorem converts circulation around a loop into a sum over the filled-in area :

Here are the two real functions riding on ; means "how fast changes as you nudge right"; means "add over every tiny patch of area inside the loop".

Apply it twice:

  • Real part (): .
  • Imag part (): .

(Subscripts are shorthand: , etc.)

WHY. Green's theorem is exactly the bridge from "what happens on the boundary" to "what happens inside" — the very spirit of Cauchy. It only works if are smooth on the whole filled region : no punctures allowed. Hold that thought for Step 6.

PICTURE. The boundary loop collapses inward into a mesh of little area patches, each carrying a "curl" value.

Figure — Cauchy's integral theorem and formula

Step 4 — The collapse: Cauchy–Riemann kills both integrands

WHAT. A complex-differentiable function must give the same derivative no matter which direction you approach from. Forcing the real-axis approach to equal the imaginary-axis approach yields the Cauchy-Riemann equations:

Plug these straight into Step 3's two area integrands:

Both integrands are exactly zero at every point — not "small", zero. So both area sums are , and therefore

WHY it works. Complex differentiability is a much stronger demand than real differentiability, and the Cauchy–Riemann equations are precisely that extra strength written out. That strength is what makes the curl vanish everywhere.

PICTURE. Every little patch's "curl" arrow shrinks to nothing — the whole mesh goes blank.

Figure — Cauchy's integral theorem and formula
Recall Why

simply connected had to be there Green's theorem needed smooth on the entire filled region. A domain with no holes (simply connected) guarantees the loop can be filled with good patches. One bad point inside and this step is illegal — which is the whole story of the next steps.


Step 5 — The next miracle: the boundary determines the inside

WHAT. Pick a point inside the loop. Look at a new function built from the old one: The denominator is the arrow from to the current point . It is fine everywhere except at , where it is zero and blows up. So has exactly one bad point — a pole — sitting at .

WHY this specific . We want a formula that reads off from boundary data. Dividing by manufactures a controlled blow-up exactly at ; that blow-up is what will "catch" the value for us.

PICTURE. The big loop with the puncture marked; the arrow drawn in red for one boundary point .

Figure — Cauchy's integral theorem and formula

Step 6 — Shrink the loop onto a tiny circle around

WHAT. Between the big loop and a tiny circle of radius centred at , the function has no bad points (the only pole, , is walled off inside the little circle). By Step 4, the integral of over any loop in a hole-free region is zero — so the outer and inner loops must give the same integral:

Now parametrise the tiny circle. Every point on it is :

  • is the little radius, the angle swept from to ,
  • is the unit arrow pointing at angle (Euler's spin marker),
  • the tiny step is .

Substitute:

The on top and bottom cancel exactly — the blow-up and the tiny step were built to annihilate each other. That is the whole trick.

WHY shrink at all. On a tiny circle, barely changes: it is nearly constant equal to . Shrinking replaces a hard integral with an almost-constant one.

PICTURE. The big loop deforms inward (dashed) until it hugs the small red circle around ; the shaded ring between them is pole-free.

Figure — Cauchy's integral theorem and formula

Step 7 — Let and collect the answer

WHAT. As the radius shrinks to , every point slides into , so by continuity , a constant. A constant pulls out of the sum:

The lone is simply the total angle of one trip around a circle. Divide both sides by :

WHY the shrink is legal. The value did not depend on (Step 6 fixed it once and for all), so taking the limit only reveals the answer that was already true for every radius. The boundary genuinely encodes .

PICTURE. The circle shrinks to a dot; over it flattens to the single height , and the of angle stamps out the answer.

Figure — Cauchy's integral theorem and formula

Step 8 — The degenerate cases you must have seen

WHAT. Three edge scenarios, each its own picture-fact:

  1. No pole inside ( outside ): then is smooth on the whole filled loop, so Step 4 applies and the integral is . The formula quietly becomes the theorem.
  2. The pure hole : here , is inside, so the formula gives . Not zero — because the region has a hole at , so the theorem was never allowed.
  3. Higher-order pole (denominator ): differentiating the formula times in (each derivative pulls one more factor out of , producing ) gives This is why one complex derivative secretly grants infinitely many.

WHY show all three. The reader must never meet a loop and freeze: pole outside → ; simple pole inside → ; repeated pole → the version.

PICTURE. Three mini-panels: pole outside (integral ), pole inside (integral ), double pole (the formula).

Figure — Cauchy's integral theorem and formula

The one-picture summary

Everything above in a single diagram: the big loop , the smooth (hole-free) interior where Cauchy–Riemann force , and the punctured case where shrinking onto reads off from the boundary.

Figure — Cauchy's integral theorem and formula

complex differentiable f

Cauchy Riemann u_x = v_y and u_y = -v_x

Green theorem turns loop into area sum

both area integrands vanish

loop integral equals zero

divide f by z minus a to make one pole

shrink loop onto tiny circle at a

radius cancels leaves 2 pi i times f at a

boundary determines the inside

Recall Feynman retelling of the whole walkthrough

Draw a loop of string on a smooth sheet. Walking around it and adding up "value times step" gives zero — because the smoothness rule (Cauchy–Riemann) makes every tiny patch inside perfectly balanced, so Green's theorem sums nothing (Steps 1–4). Now poke one special point and divide your function by "the arrow from ", creating a single blow-up there (Step 5). Slide the outer loop inward until it hugs a tiny ring around — legal, since the doughnut between them is smooth (Step 6). On that tiny ring the blow-up and the tiny step cancel exactly, the function is basically constant , and one full trip contributes an angle of ; the arithmetic spits out (Step 7). Divide by : the edge told you the inside. Finally, if the special point is outside you just get zero again, and if the blow-up is stacked several times you differentiate to get the version (Step 8).

Recall Quick self-test

Why does hold only with no enclosed singularity? ::: Green's theorem needs smooth on the whole filled region; a pole breaks that. Where does the in the formula come from? ::: The total angle of one trip around the shrinking circle. What cancels the blow-up in Step 6? ::: The tiny step kills the in the denominator.

Related: Cauchy-Riemann equations · Green's theorem · Residue theorem · Laurent series · Liouville's theorem · Maximum modulus principle