$ \frac{\partial f}{\partial x}\dfrac{1}{(1-x)^2} = \dfrac{0 *(1-x)^2 - (-1)(1)}{(1-x)^2*(1-x)} $
But:
$ \frac{\partial f}{\partial x}\dfrac{1}{(1-x)^2} \neq \dfrac{0 *(x^2-2x+1) - (2x-2)(1)}{(x^2-2x+1)*(1-x)} $
Why can't I solve the binomial formula in the denominator and then do the derivation?
Thanks in advance!