Key idea of this section
If Q = q₁e₁ ⋯ qrer with distinct monic irreducibles qi and deg P < deg Q, then P/Q = ∑i ∑j=1ei Aij / qij uniquely, with deg Aij < deg qi.
The setting
Let K be a field. The field of fractions of the polynomial ring K[x] is the field K(x) of rational functions (Lesson 1). Because K[x] is a Euclidean domain, like ℤ, every rational function can be written uniquely as P/Q with Q monic and gcd(P, Q) = 1, and division with remainder writes P/Q = S + R/Q with deg R < deg Q. A rational function with deg P < deg Q is called proper. The partial fraction decomposition expresses every proper rational function as a sum of simple pieces whose denominators are powers of irreducible polynomials.
Theorem 10.1. Let Q ∈ K[x] be monic with factorisation Q = q₁e₁ ⋯ qrer into distinct monic irreducible polynomials, and let P ∈ K[x] with deg P < deg Q. Then there are unique polynomials Aij (1 ≤ i ≤ r, 1 ≤ j ≤ ei) with deg Aij < deg qi and
P/Q = ∑i=1r ∑j=1ei Aij / qij.
Proof of existence. Step 1: splitting coprime factors. Suppose Q = Q₁Q₂ with gcd(Q₁, Q₂) = 1. By Bézout's identity in K[x] there are U, V with UQ₁ + VQ₂ = 1, hence
P/Q = P(UQ₁ + VQ₂)/(Q₁Q₂) = PV/Q₁ + PU/Q₂.
Divide: PV = S₁Q₁ + R₁ and PU = S₂Q₂ + R₂ with deg Rk < deg Qk. Then P/Q − R₁/Q₁ − R₂/Q₂ = S₁ + S₂ is a polynomial which is also a proper rational function, so it is 0. Repeating, P/Q is a sum of proper fractions Ri/qiei. Step 2: prime powers. Given R/qe with deg R < e·deg q, expand R in base q (repeated division by q): R = B₁qe−1 + B₂qe−2 + ⋯ + Be with deg Bj < deg q. Dividing by qe gives R/qe = ∑j Bj/qj.
Proof of uniqueness. Let n = deg Q. The proper rational functions with denominator dividing Q form the K-vector space V = {P/Q : deg P < n}, of dimension n. The tuples (Aij) with deg Aij < deg qi form a K-vector space W of dimension ∑i ei deg qi = n. The map W → V sending a tuple to the sum ∑ Aij/qij is linear and, by existence, surjective; a surjective linear map between spaces of the same finite dimension is injective. ∎
The analogy with ℤ is exact: the same proof shows that every rational number a/n with n = ∏ pep can be written uniquely as k + ∑p ∑j cpj/pj with k ∈ ℤ and digits 0 ≤ cpj < p. For example 1/12 = −1 + 1/2 + 1/4 + 1/3, which reflects the decomposition ℚ/ℤ ≅ ⊕_p ℚp/ℤp of the group ℚ/ℤ into its p-primary parts.
Computing the coefficients
Simple roots (the cover-up rule). If r ∈ K is a simple root of Q, the coefficient of 1/(x − r) is
A = P(r)/Q′(r),
because writing Q = (x − r)Q₁ gives Q′(r) = Q₁(r), and multiplying the decomposition by (x − r) and setting x = r leaves A = P(r)/Q₁(r). For example, with Q = x³ − x and Q′ = 3x² − 1,
1/(x³ − x) = −1/x + (1/2)/(x − 1) + (1/2)/(x + 1),
since Q′(0) = −1 and Q′(±1) = 2.
Repeated roots. If Q = (x − r)e Q₁ with Q₁(r) ≠ 0, the coefficients of (x − r)−e, …, (x − r)−1 are the Taylor coefficients of P/Q₁ at r: the coefficient of (x − r)−(e−k) is (1/k!)·(d/dx)k (P/Q₁) evaluated at r. When Q₁ = 1 this is simply the Taylor expansion of P at r. For instance x² + 1 = (x − 1)² + 2(x − 1) + 2, so
(x² + 1)/(x − 1)³ = 1/(x − 1) + 2/(x − 1)² + 2/(x − 1)³.
Irreducible quadratics over ℝ. Over ℝ the irreducible polynomials have degree 1 or 2, so numerators are constants or linear. For example x³ + 1 = (x + 1)(x² − x + 1), and the cover-up rule at x = −1 gives the coefficient 1/Q′(−1) = 1/3; the remaining numerator follows by subtraction:
1/(x³ + 1) = (1/3)/(x + 1) + (−x + 2)/(3(x² − x + 1)).
Check: (x² − x + 1) + (−x + 2)(x + 1) = x² − x + 1 − x² + x + 2 = 3.
Consequences
Integration. Over ℂ every proper rational function is a sum of terms c/(x − r)j, and over ℝ of such terms together with (Ax + B)/(x² + bx + c)j. Since all of these have elementary antiderivatives, the integral of every real rational function is a rational function plus a linear combination of logarithms and arctangents. The Hermite–Ostrogradsky method computes the rational part without factoring Q, and the Rothstein–Trager algorithm computes the logarithmic part using only the field generated by the residues; this is the starting point of the Risch algorithm in computer algebra.
The logarithmic derivative. If Q = ∏ (x − ri)ei splits over K, then Q′/Q = ∑ ei/(x − ri). Expanding each term as a geometric series in 1/x yields Newton's identities between power sums and elementary symmetric functions of the roots.
Generating functions. Linear recurrences have rational generating functions, and partial fractions turn them into closed forms. If F(x) = ∑ Fn xⁿ is the Fibonacci generating function, then F(x) = x/(1 − x − x²) = x/((1 − φx)(1 − ψx)), and the decomposition (1/√5)(1/(1 − φx) − 1/(1 − ψx)) gives Binet's formula Fn = (φⁿ − ψⁿ)/√5.
Telescoping. Partial fractions convert many series into telescoping sums. Since 1/(n(n + 1)) = 1/n − 1/(n + 1), the series ∑n ≥ 1 1/(n(n + 1)) has partial sums 1 − 1/(N + 1) and sum 1.
Infinite partial fractions. For meromorphic functions, the Mittag-Leffler theorem provides infinite analogues; the most famous is
π cot(πz) = 1/z + ∑n ≥ 1 2z/(z² − n²),
from which comparison of Taylor coefficients at 0 gives Euler's evaluations ζ(2) = π²/6, ζ(4) = π⁴/90 and, in general, ζ(2k) as a rational multiple of π2k.
Exercise
- (a)Decompose (3x + 5)/((x + 1)(x + 3)).
- (b)Evaluate ∑n ≥ 1 1/(n(n + 2)).
Show solution
Answers: (a) Cover-up: at x = −1 the coefficient is (−3 + 5)/(−1 + 3) = 1, and at x = −3 it is (−9 + 5)/(−3 + 1) = 2. So the decomposition is 1/(x + 1) + 2/(x + 3); check: (x + 3) + 2(x + 1) = 3x + 5. (b) 1/(n(n + 2)) = (1/2)(1/n − 1/(n + 2)), and the sum telescopes to (1/2)(1 + 1/2) = 3/4.