$$\int \frac{dx}{x^2 - 2x}$$
I know that I have to complete the square so the problem becomes.
$$\int \frac{dx}{(x - 1)^2 -1}dx$$
Then I set up my A B and C stuff
$$\frac{A}{x-1} + \frac{B}{(x-1)^2} + \frac{C}{-1}$$
With that I find $A = -1, B = -1$ and $C = 0$ which I know is wrong.
I must be setting up the $A, B, C$ thing wrong but I do not know why.