Problem 233
Easy Roots and Binomials

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

Evaluate the integral: $$ I = \int \frac{x^3+1}{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+1$ 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+1}{x^2-3x+2} = x+3+\frac{7x-5}{x^2-3x+2}. $$

Step 2 · Integrate the polynomial part

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

Step 3 · Factor and decompose the remainder

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

Multiplying through: $7x-5=A(x-2)+B(x-1)$. Setting $x=1$: $2=-A$, so $A=-2$. Setting $x=2$: $9=B$.

Step 4 · Integrate and combine

$$ \int \frac{7x-5}{x^2-3x+2}\,dx = \int \left(\frac{-2}{x-1}+\frac{9}{x-2}\right) dx = -2\ln|x-1|+9\ln|x-2|. $$

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


Summary Table

Coefficient Value
$A$$-2$
$B$$9$

Additional Notes

Result

The solution to the integral is:

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