Problem 235
Easy Roots and Binomials

Evaluate the integral: I = integral (x³+x²)/(x²-3x+2) dx

Evaluate the integral: $$ I = \int \frac{x^3+x^2}{x^2-3x+2}\,dx. $$

Explanation of Method

Polynomial long division reduces the improper fraction to a polynomial plus a proper remainder, which resolves via partial fractions after factoring the denominator.

  1. Divide $x^3+x^2$ by $x^2-3x+2$.
  2. Integrate the polynomial part.
  3. Factor the denominator and decompose the remainder into partial fractions.
  4. Integrate and combine.

Step 1 · Polynomial long division

$$ \frac{x^3+x^2}{x^2-3x+2} = x+4+\frac{10x-8}{x^2-3x+2}. $$

Step 2 · Integrate the polynomial part

$$ \int (x+4)\,dx = \frac{x^2}{2}+4x. $$

Step 3 · Factor and decompose the remainder

$$ x^2-3x+2=(x-1)(x-2), \qquad \frac{10x-8}{(x-1)(x-2)} = \frac{A}{x-1}+\frac{B}{x-2}. $$

Multiplying through: $10x-8=A(x-2)+B(x-1)$. Setting $x=1$: $2=-A$, so $A=-2$. Setting $x=2$: $12=B$.

Step 4 · Integrate and combine

$$ \int \frac{10x-8}{x^2-3x+2}\,dx = -2\ln|x-1|+12\ln|x-2|. $$

$$ I = \frac{x^2}{2}+4x - 2\ln|x-1| + 12\ln|x-2| + C. $$


Summary Table

Coefficient Value
$A$$-2$
$B$$12$

Additional Notes

Result

The solution to the integral is:

$$ I = \frac{x^2}{2}+4x - 2\ln|x-1| + 12\ln|x-2| + C. $$