Material by the IntegralPaso project. Conditions and limits are stated in each guide; external teaching review is pending.
If the numerator degree is at least the denominator degree, perform polynomial division. Integrate the polynomial quotient and treat the remainder as a proper fraction. Cancel common factors while retaining the original domain exclusions.
Common mistake
Equal degrees also require division; the numerator need not have a strictly higher degree.
Step-by-step example
Degree 2 is greater than degree 1. Divide the polynomials.
Separate quotient and remainder.
Integrate each term; exclude x = −1.