I am not sure what is going wrong here. I have been doing other applications of the chain rule to cross check that I understand it properly ,but I still do not get a correct answer on this problem while I do on all others.
$$y = (1-x^{-1})^{-1}$$
$$y' = -(1-x^{-1})^{-2} \cdot x^{-2}$$
This is wrong and it gives a wrong answer, according to wolfram and my book the answer should just be the first part which breaks the chain rule and I do understand why this is acceptable in this specific case but no others.


