The method of partial fractions is used to integrate __rational functions__ with the degree of the polynomial in the numerator is less than degree of the polynomial in the denominator. Note that if the degree of the polynomial in the numerator is greater or equal to the degree of the polynomial in the denominator then we first have to do a__ polynomial long division__.

Let's integrate the following function using this method:

We leave it to the reader to complete the rest of the integral.