decompose $\frac{x^2-2x+3}{(x-1)^2(x^2+4)}$
the way my teacher wants us to solve is by substitution values for x,
I set it up like this:
(after setting the variables to the common denominator and getting rid of the denominator in the original equation)
$x^2-2x+3= \frac{A}{x-1}+\frac{B}{(x-1)^2}+\frac{Cx+D}{x^2+4}$
1)Let $x=1$, after plugging in for $x$ I got $2=5B$, or $B=\frac{2}{5}$
2)let the $x=0$, I get $3=-4A+4B+D$, and if I substitute B and simplify I get $D=4A-\frac{7}{5}$. Furthermore, no matter what value I plug in I still end up with two variables and cant seem to find a way to eliminate one. It seems like I have to set it up as the triple system of equations but I just dont know how to apply it here. Would really appreciate if you guys could give me a hint on how to go about it.
Hint : Start with $$\frac{x^2-2x+3}{(x-1)^2(x^2+4)}=\frac{A}{x-1}+\frac{B}{(x-1)^2}+\frac{CX+D}{x^2+4}$$
Multiply with $(x-1)^2(x^2+4)$ and then insert the special values.