Template:Specific function class integration strategy
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!
Case that the denominator has distinct linear factors
UPSHOT: The antiderivative in this case is expressible as a linear combination with constant coefficients of the natural logarithms of the absolute values of the linear factors.
This falls under the general case of integration of rational function whose denominator has distinct linear factors
The integration formula is:
Note that
and
can be determined from the quadratic formula for the roots of a quadratic polynomial. Specifically, if the polynomial in the denominator is
, we have:
Here are the details of how the formula is obtained:
[SHOW MORE]
We want to write:
First, note that this is possible, because the denominator has higher degree than the numerator.
Multiplying both sides by the denominator, we get:
Plugging
in the above, we get:
Similarly, plugging
instead gives:
Plugging the values of
thus obtained into the original expression, we get:
Integrating both sides, we obtain:
Case that the denominator has repeated linear factors
UPSHOT: The antiderivative in this case is a constant divided by the linear factor plus a constant times the natural logarithm of the linear factor.
The integration formula is:
If the denominator is of the form
, then this case arises iff
and we have
.
Here's how the formula is obtained: [SHOW MORE]
We rewrite the integrand as:
It now gets split as:
We now integrate term-wise.
Case that the denominator has negative discriminant
UPSHOT: The antiderivative in this case is a constant times an arc tangent function plus a constant times the natural logarithm of the absolute value of the quadratic.
We have:
Given a denominator in the form
, it can be rewritten as
where:
Here's how the formula is obtained: [SHOW MORE]
We want to rewrite the numerator as a linear combination of 1 and the derivative of the denominator:
Simplifying, we get:
We thus get
.
Plugging these back in, we get:
The first integral on the right side has the

form and the second is an

integration.