A rational function, you'll recall, is a fraction whose numerator and denominator are both polynomials. Sometimes it is easy to integrate these with a simple substitution, but more often, some work needs to be done so as to massage them into a form where substitution will help.