Lably
Skip to content

Partial fraction decomposition

Rational fractions as sums of simple terms

  • 12 min read
  • 7 chapters
  • 1 lab on Lably

Learn it on Lably

The importance of the partial fraction decomposition lies in the fact that it provides algorithms for various computations with rational functions, including the explicit computation of antiderivatives, Taylor series expansions, inverse Z-transforms, and inverse Laplace transforms. The concept was discovered independently in 1702 by both Johann Bernoulli and Gottfried Leibniz.

In symbols, the partial fraction decomposition of a rational fraction of the form f(x)g(x), where f and g are polynomials, is the expression of the rational fraction as

f(x)g(x)=p(x)+∑jfj(x)gj(x)

where p(x) is a polynomial, and, for each j, the denominator gj (x) is a power of an irreducible polynomial (i.e. not factorizable into polynomials of positive degrees), and the numerator fj (x) is a polynomial of a smaller degree than the degree of this irreducible polynomial.

When explicit computation is involved, a coarser decomposition is often preferred, which consists of replacing "irreducible polynomial" by "square-free polynomial" in the description of the outcome. This allows replacing polynomial factorization by the much easier-to-compute square-free factorization. This is sufficient for most applications, and avoids introducing irrational coefficients when the coefficients of the input polynomials are integers or rational numbers.

Basic principles

Let R(x)=FG be a rational fraction, where F and G are univariate polynomials in the indeterminate x over a field. The existence of the partial fraction decomposition can be proved by applying inductively the following reduction steps.

Polynomial part

There exist two polynomials E and F1 such that FG=E+F1G, and deg⁡F1<deg⁡G, where deg⁡P denotes the degree of the polynomial P.

This results immediately from the Euclidean division of F by G, which asserts the existence of E and F1 such that F=EG+F1 and deg⁡F1<deg⁡G.

This allows supposing in the next steps that deg⁡F<deg⁡G.

Factors of the denominator

If deg⁡F<deg⁡G, and G=G1G2, where G1 and G2 are coprime polynomials, then there exist polynomials F1 and F2 such that FG=F1G1+F2G2, and deg⁡F1<deg⁡G1anddeg⁡F2<deg⁡G2.

This can be proved as follows. Bézout's identity asserts the existence of polynomials C and D such that CG1+DG2=1 (by hypothesis, 1 is a greatest common divisor of G1 and G2).

Let DF=G1Q+F1 with deg⁡F1<deg⁡G1 be the Euclidean division of DF by G1. Setting F2=CF+QG2, one gets FG=F(CG1+DG2)G1G2=DFG1+CFG2=F1+G1QG1+F2−G2QG2=F1G1+Q+F2G2−Q=F1G1+F2G2. It remains to show that deg⁡F2<deg⁡G2. By reducing the last sum of fractions to a common denominator, one gets F=F2G1+F1G2, and thus deg⁡F2=deg⁡(F−F1G2)−deg⁡G1≤max(deg⁡F,deg⁡(F1G2))−deg⁡G1<max(deg⁡G,deg⁡(G1G2))−deg⁡G1=deg⁡G2

Powers in the denominator

Using the preceding decomposition inductively one gets fractions of the form FGk, with deg⁡F<deg⁡Gk=kdeg⁡G, where G is an irreducible polynomial. If k > 1, one can decompose further, by using that an irreducible polynomial is a square-free polynomial, that is, 1 is a greatest common divisor of the polynomial and its derivative. If G′ is the derivative of G, Bézout's identity provides polynomials C and D such that CG+DG′=1 and thus F=FCG+FDG′. Euclidean division of FDG′ by G gives polynomials Hk and Q such that FDG′=QG+Hk and deg⁡Hk<deg⁡G. Setting Fk−1=FC+Q, one gets FGk=HkGk+Fk−1Gk−1, with deg⁡Hk<deg⁡G.

Iterating this process with Fk−1Gk−1 in place of FGk leads eventually to the following theorem.

Statement

Theorem—Let f and g be nonzero polynomials over a field K. Write g as a product of powers of distinct irreducible polynomials : g=∏i=1kpini.

There are (unique) polynomials b and aij with deg aij < deg pi such that fg=b+∑i=1k∑j=1niaijpij.

If deg f < deg g, then b = 0.

The uniqueness can be proved as follows. Let d = max(1 + deg f, deg g). All together, b and the aij have d coefficients. The shape of the decomposition defines a linear map from coefficient vectors to polynomials f of degree less than d. The existence proof means that this map is surjective. As the two vector spaces have the same dimension, the map is also injective, which means uniqueness of the decomposition. By the way, this proof induces an algorithm for computing the decomposition through linear algebra.

If K is the field of complex numbers, the fundamental theorem of algebra implies that all pi have degree one, and all numerators aij are constants. When K is the field of real numbers, some of the pi may be quadratic, so, in the partial fraction decomposition, quotients of linear polynomials by powers of quadratic polynomials may also occur.

In the preceding theorem, one may replace "distinct irreducible polynomials" by "pairwise coprime polynomials that are coprime with their derivative". For example, the pi may be the factors of the square-free factorization of g. When K is the field of rational numbers, as it is typically the case in computer algebra, this allows to replace factorization by greatest common divisor computation for computing a partial fraction decomposition.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Mathematics