A rational function is of the form , where both and are polynomials.
We will first present the partial fraction approach, which can be used for all rational functions, though it could be a slow and painful process. After that, we will see the U-substitution approach, in which making the right observation makes the solution easier.
This approach assumes that you are able to factorize the denominator into linear and quadratic terms with real coefficients. Hence, it will not work for cases where the factorization isn't easily known. Refer to Partial Fractions if you are unfamiliar with this process.
We first perform partial fractions on , to convert it into the remainder polynomial, and linear and quadratic denominators. We have:
Type 1: The remainder polynomial .
Since this is a polynomial, we know how to integrate it.
Type 2a: , linear term to first power.
We know from derivatives of logarithmic functions, that . We have .
Type 2b: , linear term to power.
We have .
Type 3a: , quadratic term to first power.
We can evaluate this using trigonometric U-substitution. We substitute . We get .
Type 3b: , linear over quadratic term to first power.
We have . This result can be proved using U-substitution. (see below)
Type 3c: , with , quadratic term to power.
We have to perform Integration by Parts iteratively to reduce the power down to a linear term:
The best way to understand how this works, would be to work through several examples to see how to deal with each of these types.
We will start with some basic examples which involve only one type of partial fractions. These are relatively easy to solve.
The denominator is of the form , and Partial Fractions yield:
We integrate each term separately as Type 2a, to obtain
For the sake of this wiki page, Partial Fraction is used to solve this problem. However, the common way to solve this is via U-Substitution:
Let be , then , and the integral becomes:
Which can be solved easily as:
And substitute back as:
The denominator is the power of a linear term. Applying partial fractions, we get
These are of type 2b, so we can integrate them to obtain
Let's look at more complicated examples. In the following problems, we will encounter multiple types of partial fractions in a single example.
The discriminant of the denominator is , so it is irreducible. We have .
We know how to integrate (Type 3a) and (Type 3b), so our goal is to split it up into those forms. We have:
Multiplying throughout by , and comparing linear terms gives us or that . Comparing the constant terms gives us , or that . Hence,
Since this is a mixed fraction, we perform long division to get:
The remainder polynomial is easily integrated as .
If we look at the linear polynomial, it is not of the form as yet. However, we can write it as , which we can thus integrate. Hence,
We have a quadratic polynomial to a "high" degree, which is of type 3c. This is troublesome to integrate, and we have to do it iteratively. Using and , we have and . This gives us
This allows us to conclude that:
This approach allows us to iteratively figure out what is. It can be very time-consuming.
Using the substitution , we have . As such,
This approach allows us to easily figure out how to integrate .
Show that .
To find the definite integral, we must first find the expression of the indefinite integral.
We see that the denominator can be easily factored, so we will use the partial fraction approach. Using Partial Fractions,
We will integrate the first term as type 2a and the second term as type 3b.
The function is continuous from to , so we can use the Fundamental Theorem of Calculus. To calculate the definite integral, we will evaluate the indefinite integral at and .
At , the first two terms become which is equal to zero. The third term is .
Now we find the limit of the above expression as . For the first two terms, we can use Properties of Logarithms and write them as . As tends to infinity, the argument of tends to , so the sum of first two terms tends to . The third term becomes .
The partial fraction approach is highly dependent on assuming that we can factorize the denominator into linear and quadratic terms. Sometimes, that isn't nice, or that doesn't yield a nice result. In such cases we should give U-Substitution a try.
Recall that we use U-substitution when an integral of the following type:
where is easy to integrate. We substitute , and we get . The integration simplifies to , which is easy to evaluate. Let's look at few examples which are difficult to solve by partial fractions approach, but very easy using U-substitution.
We will try to apply U-substitution here. Note that the derivative of wrt is . We already have in the numerator. If we could have in the numerator, then the integration would become of the form . We know how to integrate it: we substitute . So how can we make the numerator ? We multiply and divide by three. We get
Let . then . We substitute , and . We are left with . This is a standard integral, we know it evaluates to . We substitute the value of back and we obtain:
Here are some more problems that can be solved in the same way. You may want to try them as exercise. Prove the following:
Exercise: Prove that , for .
Hint: Use U-substitution. ()
Here is another example where U-substitution can be used.
The integral can also be written as
Note that numerator is the derivative of , and the denominator is a function of . If we substitute , then perhaps we will be able to simplify things a bit.
Let , then .
This is a standard integral, it evaluates to . If we put back the value , we obtain:
It may be hard to see at first, but U-substitution works here wonderfully.
Evaluate , if is any real number.
[This method is not very intuitive, but you will see it is very simple to use and works great.]
We first divide the numerator and the denominator by . We get:
Let . On differentiating both sides, . (Note that . )
We can rewrite the integral as:
This is now very easy to solve. If is a negative quantity, then using the identity, we can split the term into two terms with linear denominator. Otherwise, if is positive, then it is of type 3a, and we know how to solve it too. So, we are done.
For extra challenge, try the Generalized Problem using the same principle.
Evaluate for .