Evaluate $$\int \frac{dx}{x^3 + 2x^2 + 2x}.$$
I have no idea how to approach this. I know how to solve rational functions with numerator as highest degree polynomial using division and remainder.
How do I go about this type of question?
I am more interested in the approach and general procedure rather than the answer itself, so that I can answer questions like these in the future.
Hint Using the factorization of the denominator, we can rewrite the integrand as $$\frac{1}{x^3 + 2x^2 + 2x} = \frac{A x + B}{x^2 + 2 x + 2} + \frac{C}{x}$$ for some unique constants $A, B, C$. To find those constants, cross-multiply to clear denominators, distribute, and then compare like terms in $x$. This is the so-called partial fractions decomposition of the given rational function.