4.2.10 · D2Calculus II — Integration

Visual walkthrough — Partial fractions — linear, repeated, irreducible quadratic factors

1,584 words7 min readBack to topic

Step 0 — What is a "rational function", and what are we allowed to touch?

We will trace one running example the whole way:

  • — the top, degree .
  • — the bottom, degree .

Because , this fraction is proper — the top is genuinely smaller than the bottom. Why we check this first: only proper fractions can be built purely from simple pieces; an oversized top would need a leftover polynomial (that is Polynomial long division, handled separately). Every step below assumes proper.


Step 1 — See the denominator "un-multiply" into factors

WHAT. We split the bottom into a product of the simplest possible factors: Here and are linear factors — each is just " minus a number". The numbers and are the roots: the -values that make the bottom zero (this is Factoring polynomials over the reals).

WHY. The denominator is a product. A product of two things is only zero when one of them is zero. So the whole fraction blows up ("explodes to infinity") at exactly two places: and . Those two explosion points are the fingerprints we will chase.

PICTURE. Below, the blue curve is . Notice the two vertical dashed walls — one yellow at , one red at — where the curve shoots off to infinity. Each wall is caused by one factor turning zero.

Figure — Partial fractions — linear, repeated, irreducible quadratic factors

Step 2 — Guess the shape: one simple fraction per explosion

WHAT. We claim the fraction is a sum, one term per factor:

  • — a piece that explodes only at (its own wall).
  • — a piece that explodes only at .
  • and — two unknown numbers ("how strong is each explosion") we must still find.

WHY this exact shape. Adding fractions is reversible. If someone added over a common denominator, they would land back on on the bottom. So going backwards, our fraction must have come from pieces with those very denominators. The top of each piece is a lone constant because each denominator is degree , and a proper piece needs a top of degree .

PICTURE. The blue curve (the full function) is drawn as the sum of the two coloured simple curves: the red one owns the wall, the yellow one owns the wall. Away from the walls they gently add up to the blue.

Figure — Partial fractions — linear, repeated, irreducible quadratic factors
Recall

Why is the top of each simple piece just a constant (not )? ::: Each denominator has degree , so a proper piece needs a numerator of degree — a lone constant.


Step 3 — The cover-up trick, watched term by term

WHAT. To find , multiply both sides by the factor :

Look at each piece:

  • Left: the cancelled the that was in the bottom, leaving .
  • Right, term 1: — bare, no left.
  • Right, term 2: — still carries a live .

WHY. We engineered the situation so that at the annoying -term is multiplied by and vanishes. That leaves alone:

PICTURE. The animation-frame shows the -term's contribution collapsing to zero as slides to (green curve pinched to the axis), while the surviving quantity (blue) is read off cleanly at the yellow dot.

Figure — Partial fractions — linear, repeated, irreducible quadratic factors

Repeat, covering and setting :


Step 4 — Assemble and sanity-check the split

WHAT. With , :

WHY check. Two unknowns, two conditions — but let us verify by testing a safe point (far from both walls):

  • Left: .
  • Right: . ✓

PICTURE. Blue (original) and the coloured sum are drawn on the same axes; they lie exactly on top of each other everywhere except the two walls. The green vertical tie-line at shows both giving .

Figure — Partial fractions — linear, repeated, irreducible quadratic factors

Step 5 — Integrate: why each simple wall becomes a logarithm

WHAT.

WHY log? The only function whose derivative is is — that is a standard integral. So a fraction that behaves like near its wall must integrate to a scaled log. This is the whole payoff: we traded one un-integrable mess for two instant logs.

PICTURE. Each coloured spike (top) sits above its own curve (bottom), with the vertical wall at becoming the point where the log dives to .

Figure — Partial fractions — linear, repeated, irreducible quadratic factors

Step 6 — Edge case: what if the bottom doesn't split into linear walls?

WHAT. Suppose the bottom carries an irreducible quadratic like — one that has no real roots (its discriminant ). Then there is no real wall for it: the curve never explodes.

WHY it needs a linear top . With no real root to "cover up", we cannot isolate a single constant. The quadratic denominator has degree , so a proper piece over it needs a numerator of degree : . The part integrates to a log (via Integration by substitution, ); the leftover constant integrates to an arctan — the smooth "no-wall" swirl, another standard integral. See Completing the square for the general .

PICTURE. Contrast panel: left, with its real wall (→ log); right, , a smooth hump with no wall (→ arctan). Different geometry ⇒ different integral.

Figure — Partial fractions — linear, repeated, irreducible quadratic factors

The one-picture summary

Figure — Partial fractions — linear, repeated, irreducible quadratic factors

One messy blue curve, two explosion-walls → two coloured simple fractions found by cover-up → two logs when integrated. That is the entire machine.

Recall Feynman retelling — the whole walkthrough in plain words

I have one lumpy fraction. First I look at its bottom and factor it — every factor marks a spot where the graph shoots to infinity, a "wall". I guess that my lumpy fraction is really a sum, one baby fraction per wall, each baby exploding at only its own wall. To find how strong a baby is, I use the cover-up trick: I multiply through by that wall's factor so every other baby gets multiplied by something that goes to zero right at the wall — they all disappear, and the survivor hands me its number. I do this for each wall, glue the babies back together, and test one easy point to make sure they add to the original. Finally I integrate: each wall is just . If instead the bottom had a piece with no real wall (an irreducible quadratic), that piece keeps a linear top and integrates to a log plus a smooth arctan swirl instead. Walls → logs, no-walls → arctans. Done.


Active recall

Why does one factor of the denominator correspond to one "wall" on the graph?
The fraction explodes to infinity wherever the bottom is zero; each factor supplies exactly one such zero.
In the cover-up step, why does the other term vanish?
You multiply by ; the other term keeps a live factor which becomes at .
For our example, what are and ?
over and over .
Why does each simple piece integrate to a log?
is the standard integral matching a lone constant over a linear factor.
Why does an irreducible quadratic keep a top and give an arctan?
It has no real root to cover up; degree-2 bottom needs a degree-1 top, and the leftover constant integrates to arctan (no real wall).