Foundations — Residue theorem — computing real integrals
Before you can follow the parent note, you must be able to see every symbol it writes. Below, each symbol gets three things: plain words, the picture, and why the topic needs it. They are ordered so each one leans only on the ones above it.
1. The complex plane — where lives

- Plain words: is a location on a map, not a single number on a line.
- The picture: look at figure s01 — the black dot is ; walk right by , then up by .
- Why the topic needs it: the whole trick is to leave the real road (where ) and travel through points with . Without a second dimension there is nowhere to bend the road into a loop.
Two shorthands the parent uses freely:
- Modulus ::: the straight-line distance from the origin to the point , i.e. — the length of the arrow.
- Polar form ::: same point, described by its distance and its angle from the positive real axis. Here is "the point on the unit circle at angle ."
2. The upper / lower half-plane

- Plain words: "above the road" vs "below the road."
- The picture: figure s02 — the red shaded region is the UHP; the real line is its floor.
- Why the topic needs it: the parent closes its loop with a semicircle in the UHP. That choice decides which poles are trapped inside. Get the half wrong and every sign flips — this is the first "common mistake" in the parent.
3. A function of a complex number —
- Plain words: a machine turning one map-point into another.
- The picture: think of it as a colour or height assigned to every point of the plane.
- Why the topic needs it: the "genius move" of the whole topic is that a hard real integral is only the restriction of an easy complex to the road. We extend, work in 2-D, then restrict back.
Why this word matters: the residue theorem's guarantee ("the arc contributes, the inside is a clean sum") only holds where is analytic. The only exceptional points are the poles — see next.
4. Poles and singularities — the "spikes"

- Plain words: a spot where the function shoots to infinity, like the height of at .
- The picture: figure s03 shows as a landscape; each pole is a sharp spike poking up to infinity.
- Why the topic needs it: these spikes are the only things that make a closed loop's integral nonzero. Everything else cancels. Finding poles = finding where the denominator vanishes; that is why the parent always starts by solving .
Finding poles of a rational function : solve . For we get — one spike in the UHP (), one in the LHP (). This is exactly the parent's first example.
5. Laurent series and the residue
- Plain words: the residue is one specific number pulled out of the spike's description — its "strength."
- Why this number and no other? Because when you integrate any pure power once around a small circle, every term averages to zero except . A full trip through angle makes return to start (net zero) unless . So the loop integral literally cannot see any coefficient but . The residue is "the part of the spike a loop can measure." (The parent proves this line-by-line in §1.)
The two shortcut formulas the parent uses:
You must be fluent with two prerequisite tools here: the derivative (rate of change, needed for higher-order poles) and the limit (the value approached, needed because itself is undefined at the spike). If either feels shaky, that is the gap to close first.
6. Contours, orientation, and

- Plain words: a walk with a direction, drawn as an arrow-marked curve.
- The picture: figure s04 shows the parent's standard contour: a straight segment along the real road from to (black), plus a big red semicircular arc closing it through the UHP. The arrow shows the walk goes counter-clockwise.
- Why the topic needs it: the residue theorem only applies to a closed loop. The real integral lives on the straight part; the arc is added purely to close the loop. We then argue the arc's contribution shrinks to zero, leaving the real integral alone.
Two consequences you will meet in the parent:
- The degree condition : this guarantees shrinks like on the arc, so the arc's contribution (length times height ) tends to . This is why the arc "dies."
- Jordan's Lemma: when the degree gap is only but there is an oscillating factor , the exponential decay in the UHP kills the arc instead.
7. The theorem you are being equipped for
Everything above snaps together into the one boxed statement of the parent:
Read it now with your new vocabulary: "the loop integral () of an analytic function equals times the sum of the residues (spike strengths ) of the poles trapped inside the contour." Every bold word is a picture you now own.
Prerequisite map
Follow the arrows: this page builds every box, so the final box (the theorem) rests on solid ground.
Equipment checklist
Test yourself — cover the right side and answer before revealing.
What does describe, and what is ?
What is the upper half-plane?
What is geometrically?
Where are the poles of a rational function ?
What is the order of a pole?
Why is only the coefficient called the residue?
Simple-pole residue formula for ?
What does mean and which direction is positive?
Why does the big arc's contribution vanish for rationals?
State the residue theorem in words.
Connections
- Residue theorem — computing real integrals (the parent this page equips you for)
- Laurent Series & Classification of Singularities (formalises the series and residue )
- Cauchy's Integral Theorem & Formula (the loop-integral machinery underneath)
- Jordan's Lemma (why oscillatory arcs die)
- Contour Integration & Branch Cuts (more contour shapes)
- Principal Value Integrals (handling poles on the road)
- Argument Principle & Rouché's Theorem (counting poles and zeros)