This question was asked in Ex 6.2,15

Derivative of 1/x

Mini Rajeev's image