Express in partial fraction form: $\displaystyle{\frac{2x}{(x+2)^2}}$
I think is $\displaystyle{\frac{2x}{(x+2)^{2}} = \frac{A}{x+2}+\frac{B}{(x+2)^2}}$
However when identifying $A$ and $B$, I'm not sure how to calculate A.
E.g. $$2x = A\cdot (x+2) + B$$
Substitute $x=-2$
$2\cdot(-2)$ = $A\cdot (2-2) +B$
$-4 = B$
In other questions there is always another factor to multiply by at this stage.
it must be $$\frac{2x}{(x+2)^2}=\frac{A}{x+2}+\frac{B}{(x+2)^2}$$