Differentiate the following function?

g(x)=x^2=1/x^2-1