In algebra, the partial fraction decomposition or partial fraction expansion of a rational fraction (that is, a fraction such that the numerator and the denominator are both polynomials) is an operation that consists of expressing the fraction as a sum of a polynomial (possibly zero) and one or several fractions with a simpler denominator. 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 degF1<degG, where degP 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 degF1<degG. This allows supposing in the next steps that degF<degG.
Factors of the denominator If degF<degG, and G=G1G2, where G1 and G2 are coprime polynomials, then there exist polynomials F1 and F2 such that FG=F1G1+F2G2, and degF1<degG1,degF2<degG2. 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 degF1<degG1 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 degF2<degG2. By reducing the last sum of fractions to a common denominator, one gets F=F2G1+F1G2, and thus degF2=deg(F−F1G2)−degG1≤max(degF,deg(F1G2))−degG1<max(degG,deg(G1G2))−degG1=degG2.
Powers in the denominator Using the preceding decomposition inductively one gets fractions of the form FGk, with degF<degGk=kdegG, where G is an irreducible polynomial. If k > 1, one can decompose further. Euclidean division of F by G gives polynomials Hk and Fk−1 such that F=Fk−1G+Hk and degHk<degG, and thus FGk=HkGk+Fk−1Gk−1. Iterating this process with Fk−1Gk−1 in place of FGk leads eventually to the following theorem.
Statement
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.
Application to symbolic integration For the purpose of symbolic integration, the preceding result may be refined into
This reduces the computation of the antiderivative of a rational function to the integration of the last sum, which is called the logarithmic part, because its antiderivative is a linear combination of logarithms. There are various methods to compute decomposition in the Theorem. One simple way is called Hermite's method. First, b is immediately computed by Euclidean division of f by g, reducing to the case where deg(f) < deg(g). Next, one knows deg(cij) < deg(pi), so one may write each cij as a polynomial with unknown coefficients. Reducing the sum of fractions in the Theorem to a common denominator, and equating the coefficients of each power of x in the two numerators, one gets a system of linear equations which can be solved to obtain the desired (unique) values for the unknown coefficients.
… excerpt ends here. Continue reading the full article.