You have to follow the exact same procedure.
if if f'(x)= (x^2-1) / x^2
Then you
1)differenciante the numerator, multiply it the denominator, which gives you:
[1] 2x * x^2 = 2x^3
2)differenciate the denominator, multiply it the numerator, which gives you:
[2] 2x*(x^2 -1) = (2x^3 - 2x)
3)You do [1] - [2] and divide that by the denominator squared. Which gives you:
([1] - [2])/x^4 = (2x^3 - 2x^3 +2x) /x^4 = 2x/x^4 = 2/x^3
if if f'(x)= (x^2-1) / x^2
Then you
1)differenciante the numerator, multiply it the denominator, which gives you:
[1] 2x * x^2 = 2x^3
2)differenciate the denominator, multiply it the numerator, which gives you:
[2] 2x*(x^2 -1) = (2x^3 - 2x)
3)You do [1] - [2] and divide that by the denominator squared. Which gives you:
([1] - [2])/x^4 = (2x^3 - 2x^3 +2x) /x^4 = 2x/x^4 = 2/x^3