Determining which values to use in place of x in functions When solving partial fractions for integrations, solving x for two terms usually isn't all that difficult, but I've been running into problems with three term integration.
For example, given 
$$\int\frac{x^2+3x-4}{x^3-4x^2+4x}$$
The denominator factored out to $x(x-2)^2$, which resulted in the following formulas
$$
\begin{align*}
x^2+3x-4=\frac{A}{x}+\frac{B}{x-2}+\frac{C}{(x-2)^2}\\
x^2+3x-4= A(x-2)(x-2)^2+Bx(x-2)^2+Cx(x-2)\\
x^2+3x-4= A(x-2)^2+Bx(x-2)+Cx\\\\
\text{when x=0, }A=-1 
\text{ and x=2, }C=3
\end{align*}
$$
This is where I get stuck, since nothing immediately pops out at me for values that would solve A and C for zero and leave some value for B.  How do I find the x-value for a constant that is not immediately apparent?

Mr. Nicolas is correct.  There is no need to find a substitution for x that leaves B by itself.  As long as there are two known answers picking any different number for the last substitution and solving will give you the answer for the last unknown.  This also works for the other types of partial fractions as well. 
