Partial Fractions
A rational function is by definition one which can be expressed as the ratio of two polynomials. A simple example is the function [math]f[/math], defined by
for every real value of [math]x[/math] except 2. At present, we have no way of integrating this function. However, in this section we shall develop a method of integration which is applicable to any rational function. It is called the method of partial fractions. To illustrate the method, consider the equation
which is easily seen to be true for all real values of [math]x[/math] except 2. It follows that
Hence
Thus [math]\frac{1}{(x^2 + 1)(x -2)}[/math] can be integrated, since it can be written as a sum of simpler rational functions, each of which can be integrated separately. The method of integration by partial fractions is based on the fact that such a decomposition exists for every rational function. In this example, we have given no indication of how the decomposition is to be found. However, the general method, which we now describe, consists of just such a prescription.
We begin with the result from algebra that it is always possible by means
of division to express any given rational function as the sum of a polynomial
and a rational function in which the degree of the numerator is less than the degree of the denominator. Stated formally, this theorem says that, if [math]N(x)[/math] and [math]D(x)[/math] are any two polynomials and if [math]D(x)[/math] is not the zero function, then there exist uniquely determined polynomials [math]Q(x)[/math] and [math]R(x)[/math] such that
and such that the degree of [math]R(x)[/math] is less than the degree of [math]D(x)[/math]. (The letters [math]N[/math], [math]D[/math], [math]Q[/math], and [math]R[/math] have been used to suggest, respectively, the words “numerator,” “denominator,” “quotient,” and “remainder.”) The first step in the method of integration by partial fractions is to write the given rational function [math]\frac{N(x)}{D(x)}[/math] in the form of equation (1). Since we can obviously integrate the polynomial [math]Q(x)[/math], we need next consider only rational functions in which the degree of the numerator is less than the degree of the denominator. If we start with such a function, then no division is necessary.
Example
Write the function [math]\frac{x^4 - 4x^3 + 8x^2 - 7x +3}{x^3 - 2x^2 + 3x - 4}[/math] as the sum of a polynomial and a rational function in which the degree of the numerator is less than the degree of the denominator. Dividing, we have
It follows that
which gives the required sum.
Another algebraic fact about polynomials, which we shall not prove, but shall assume and use, is that any nonconstant polynomial (i.e., of degree at least 1) with real coefficients can be written as a product of linear and quad ratic factors, each with real coefficients. By a linear factor we mean a polynomial [math]L(x)[/math] of degree 1; that is, [math]L(x) = ax + b[/math] and [math]a \neq 0[/math]. Similarly, a quadratic factor is a polynomial [math]Q(x)[/math] of degree 2; thus [math]Q(x) = cx^2 + dx + e[/math] and [math]c \neq 0[/math]. The theorem states that, for any polynomial
with real coefficients [math]a_i[/math] and with [math]n \geq 1[/math] and [math]a_n \neq 0[/math], there exist linear factors [math]L_{1}(x), \cdots, L_{p}(x)[/math] and quadratic factors [math]Q_1(x), \cdots, Q_q(x)[/math] with real coefficients such that
Note that either [math]p[/math] or [math]q[/math] may be zero. In actual practice, such a factorization of [math]f(x)[/math] may be very difficult to find, but the theorem assures us that it exists. A polynomial is said to be irreducible if it cannot be written as the product of two polynomials each of degree greater than or equal to 1. The degree of the product of two polynomials is equal to the sum of the degrees of the factors, and it therefore follows that every linear polynomial is irreducible. It was pointed out in Section 3 that a quadratic polynomial [math]cx^2 + dx + e[/math] is irreducible over the reals if and only if its discriminant [math]d^2 - 4ce[/math] is negative. For example, the polynomials [math]x^2 + 1[/math] and [math]x^2 + x + 1[/math] are irreducible, whereas [math]x^2 + 2x + 1[/math] and [math]x^2 + 2x - 1[/math] are not. If a quadratic polynomial is not irreducible, it can be factored and written as the product of two linear polynomials. Hence the factorization of an arbitrary nonconstant polynomial into linear and quadratic factors, as described in the preceding paragraph, can always be done so that all the factors are irreducible. Returning specifically to the method of integration by partial fractions, we consider a rational function [math]\frac{N(x)}{D(x)}[/math], with the degree of [math]D(x)[/math] greater than the degree of [math]N(x)[/math]. The second step is to write the denominator [math]D(x)[/math] as a product of irreducible factors. Having done so, we have
where, for each [math]i = 1, . . ., p[/math],
and, for each [math]j = 1, . . ., q[/math],
There is no reason to suppose that the factors which appear in equation (2) will all be distinct, and it may very well happen that [math]L_{1}(x) = L_{2}(x)[/math], etc. However, the theory is simpler if no repetitions occur, and we shall consider that case first. Case 1. The irreducible factors of $D(x)$ are all distinct. The algebraic theory of partial fractions, which we shall assume, tells us that we can write [math]\frac{N(x)}{D(x)}[/math] as a sum of rational functions each of which has one of the factors of [math]D(x)[/math] as its denominator and such that in each term the degree of the numerator is less than the degree of the denominator. Moreover, given the factorization of [math]D(x)[/math] into irreducibles, this decomposition is unique except for the order in which the terms are written. Thus
where each of the letters [math]A_i[/math], [math]B_j[/math] and [math]C_k[/math] represents a uniquely determined real constant. The rational functions which appear on the right side are called the partial fractions of the decomposition of [math]\frac{N(x)}{D(x)}[/math].
We shall show by means of examples how the constants in the partial fractions decomposition are determined. Consider the rational function
[math]\frac{1}{(x^2 + 1)(x - 2)}[/math] discussed at the beginning of the section. The degree of the numerator, zero, is already less than 3, the degree of the denominator. Moreover, the denominator is already factored into irreducibles. Hence, we seek constants [math]A[/math], [math]B[/math], and [math]C[/math] such that
Adding the two fractions on the right side, we have
The fact that a nonzero polynomial of degree [math]n[/math] has at most [math]n[/math] distinct roots implies that two rational functions with the same denominator are equal if and only if their numerators are equal (see Problem 8 at the end of this section). Hence the equation
is true for all real values of [math]x[/math]. There are two common ways to find the constants [math]A[/math], [math]B[/math], and [math]C[/math]. One is to multiply and regroup the terms in (3) to obtain the equation
which also holds for all real values of [math]x[/math]. The only polynomial with infinitely many roots is the zero polynomial, i.e., the polynomial with no nonzero coefficients. Hence the three coefficients on the right side of the preceding equation are all equal to zero, and we can therefore find [math]A[/math], [math]B[/math], and [math]C[/math] by solving the system of equations
Usually simpler is the technique in which we take advantage of the fact that (3) must be true for all values of [math]x[/math], and we choose values cleverly to help evaluate the constants. For example, letting [math]x = 2[/math] in (3), we have
Hence [math]A = \frac{1}{5}[/math]. lf we then let [math]x = 0[/math], we have
or, equivalently, [math]2C = \frac{1}{5} - 1[/math], and so [math]C = - \frac{2}{5}[/math]. Finally, choosing [math]x = 1[/math], we get
from which we conclude that [math]B = - \frac{1}{5}[/math]. Whichever method we use, we have [math]A = \frac{1}{5}[/math], [math]B = - \frac{1}{5}[/math], and [math]C = -\frac{2}{5}[/math], from which it follows that
the form which we integrated at the beginning of the section.
Example
Integrate [math]\int \frac{dx}{a^2 - x^2}[/math]. Since [math]a^2 - x^2 = (a - x)(a + x)[/math], we decompose [math]\frac{1}{a^2 - x^2}[/math] into partial fractions [math]\frac{A}{a + x}[/math] and [math]\frac{B}{a - x}[/math]. Thus
Equating numerators on the left and right, we get
Letting [math]x = a[/math], we obtain the equation [math]1 = A \cdot 0 + B \cdot 2a[/math], and so [math]B = \frac{1}{2a}[/math]. Similarly, setting [math]x = - a[/math], we get [math]1 = A \cdot 2a + B \cdot 0[/math], from which it follows that [math]A = \frac{1}{2a}[/math]. Thus
and, therefore,
Thus the third step in applying this method of integration is the decomposition into partial fractions, and the fourth and final step is the integration of the partial fractions. We shall show later in the section that it is always possible to carry out the last step, but, as the next example shows, doing so can be tedious.
Example
Integrate [math]\int \frac{3x^3 + x^2 -14x + 46}{(x^2 + x + 1)(x^2 - 5x - 14)} dx[/math]. The degree of the numerator is 3 and that of the denominator is 4, so we proceed to the factorization of the denominator into irreducibles. It is already written as the product of two quadratics, of which [math]x^2 + x + 1[/math] is irreducible but [math]x^2 - 5x -14[/math] is not, since [math]x^2 - 5x - 14 = (x - 7)(x + 2)[/math]. Hence the form of the partial fractions decomposition is
The sum of the three fractions on the right side is
Equating numerators, we have
If we set [math]x = 7[/math] in this equation, then
Letting [math]x = - 2[/math], we obtain
If we let [math]x = 0[/math], then
or
Finally, letting [math]x = - 1[/math], we have
or
The partial fractions decomposition is, therefore,
Except for the first, the terms on the right side are easily integrated. The first term can be integrated by writing it as the sum of two fractions. We use the identity
Note that the numerator [math]2cx + d[/math] is the derivative of [math]cx^2 + dx + e[/math]. Both of these fractions can be integrated. In this example, we have
Then
For the second fraction, we complete the square in the denominator. The result is
and, since [math]\int \frac{dy}{y^2 + a^2} = \frac{1}{|a|} \arctan \frac{y}{|a|}[/math], it follows that
Hence
Returning to equation (4), we therefore get the final integral
and this completes the example.
We consider next the situation in which the factorization of the denominator of [math]\frac{N(x)}{D(x)}[/math] as shown in equation (2), contains repeated factors.
Case 2. The irreducible factors of [math]D(x)[/math] are not all distinct.
We assume, as in Case 1, that the degree of [math]N(x)[/math] is less than the degree of [math]D(x)[/math]. There is still a unique decomposition of [math]\frac{N(x)}{D(x)}[/math] into the sum of partial fractions, but now it is more complicated. By regrouping, we may write the factorization of [math]D(x)[/math] into irreducibles as
where [math]m_1, ... , m_r[/math] and [math]n_1, ... , n_s[/math] are positive integers, the factors [math]L_{i}(x) = a_{i}x + b_{i}[/math] are all distinct, and the factors [math]Q_{j}(x) = c_{j}x^2 + d_{j}x + e_{j}[/math] are all distinct In this case, [math]\frac{N(x)}{D(x)}[/math] is the total sum of the following individual sums of partial fractions: For each [math]i = 1, . . ., r[/math], there is the sum
in which the [math]Aik[/math] are uniquely determined real constants. Similarly, for each [math]j = 1, ... , s[/math], there is the sum
in which the [math]B_{jk}[/math] and [math]C_{jk}[/math] are uniquely determined real constants.
ExampleIntegrate the rational function [math]\frac{2x^2 + x + 2}{x(x - 1)^3}[/math] by the method of partial fractions. The degree of the numerator, 2, is less than that of the denominator, 4. So we turn at once to the decomposition into partial fractions. Since the irreducible factor [math]x - 1[/math] is repeated three times, the decomposition is of the form
Subtracting (8) from (7), we get [math]6A = 12[/math] and so [math]A = 2[/math]. It follows that [math]B = 0[/math], and we have therefore found the partial fractions decomposition to be
Hence
and this completes the example.
Since any rational function can be written as the sum of a polynomial and a series of partial fractions, the general problem of integrating a rational function reduces to three integration problems: (1) integration of a polynomial; (2) integration of functions of the form [math]\frac{A}{(ax + b)^m}[/math], where [math]m[/math] is a positive integer and [math]a \neq 0[/math]; and (3) integration of functions of the form [math]\frac{Bx + C}{(cx^2 + dx + e)^n}[/math] where [math]n[/math] is a positive integer and [math]d^2 - 4ce \lt 0[/math]. The first, of course, offers no difficulties whatever. The second is also simple, since [math]\frac{A}{(ax + b)^m} = \frac{A}{a} \frac{a} {(ax + b)^m}[/math], and so
The third problem can be solved, but we have seen in Example 3 that it is complicated even with [math]n = 1[/math]. It is attacked by writing
Every rational function can be integrated by the method of partialfractions.
A table of integrals will show how to integrate many of the functions which are the partial fractions of a rational fraction. For this reason, there is no need to memorize the formulas for integration. However, it is necessary to know the technique of separating a rational function into its partial fractions in order to replace an apparently nonintegrable function by a sum of obviously integrable functions.
General references
Doyle, Peter G. (2008). "Crowell and Slesnick's Calculus with Analytic Geometry" (PDF). Retrieved Oct 29, 2024.