# How do you find the indefinite integral of int (x^2-3x+2)/(x-1) dx?

Oct 31, 2016

The function is $y = \frac{1}{2} {x}^{2} - 2 x + C$.

#### Explanation:

I would recommend factoring the numerator and the denominator to see if we can eliminate/simplify before integrating.

$\implies \int \frac{\left(x - 2\right) \left(x - 1\right)}{x - 1}$

$\implies \int \left(x - 2\right)$

$\implies \frac{1}{2} {x}^{2} - 2 x + C$

You can always verify your answer by differentiating. You will see the integration worked.

Hopefully this helps!