If the rational function that you are integrating is such that the numerator is the same degree as the denominator or the numerator is of higher degree than the denominator, then long division of polynomials will usually produce an integrand which is simpler to integrate. Since, by long division,
In other cases, long division may result in an integral that you can (possibly must) use trig substitution to solve.