Integration of rational function whose denominator has distinct linear factors

From Calculus

Outline of method

Reduction to the case where the numerator has smaller degree than the denominator

For further information, refer: converting a rational function from improper fraction to mixed fraction form

To get to the situation where the numerator has smaller degree than the denominator, we perform a Euclidean division and hence rewrite the rational function as the sum of a polynomial and a rational function that is in proper fraction form, i.e., the numerator has smaller degree than the denominator. The polynomial summand is integrated termwise using the integration rule for power functions. We are thus reduced to handling the proper fraction. But remember to add back the antiderivative for the polynomial to your final answer!

Reduction to the monic denominator case

If the leading coefficient (i.e., the coefficient on the highest degree term) in the denominator is not 1, the leading coefficient can be pulled out as a constant factor from the denominator and hence out of the integration. We can thus carry out an integration with a leading coefficient of 1 for the denominator polynomial (such a polynomial is termed a monic polynomial). But remember to keep that constant on the outside and multiply it to get your final answer!

Integration in the reduced case

We have the following formula for the integration, where has degree less than , and are pairwise distinct real numbers:

The formula is a little complicated to understand, so we write it down explicitly for the first few values of .

What does look like? Integration formula
1 constant function . Note that the formula denominator, being an empty product, becomes 1.
2 constant or linear function
3 constant, linear, or quadratic function

Definite integration

For simplicity, suppose the rational function, written in reduced form, i.e., with no common factor between the numerator and denominator, has denominator:

with (the ordering assumption is not necessary for the integration formulas above to hold, but helps simplify the discussion below).

Then, the domain of the rational function is the complement of the subset of . This is a union of pairwise disjoint open intervals:

In order for a definite integration to make sense, the two endpoints of the integration must both lie within the same open interval. In other words, we can integrate over any closed interval that lies inside one of these open intervals.

Further, if we are interested in an antiderivative on the whole domain, then, in the antiderivative expression above, the constant value is constant within each of the intervals but can differ between the intervals.

Finally, note that in any fixed choice of interval, all the signs of the expressions are determinate (i.e., each sign is either positive throughout the interval or negative throughout the interval). We can thus replace the absolute value by either or for each depending on the choice of and the interval. Specifically:

  • In the interval , all the s are negative, so .
  • In the interval , all the s are positive, so .
  • In the interval , is positive for (so for these s) and negative for (so for these s).