Long division followed by partial fraction decomposition is the most standard approach for integrating rational functions.
Alternatively, some people may also use partial fraction decomposition directly by noting the degree of the quotient.
Let x^4/(x^2-3x+2)=Ax^2+Bx+C+D/(x-1)+E/(x-2).