I've seen derivatives and integrals used before to change the form of an equation to one that is more suitable for solving a problem. Usually the person will just differentiate both sides and the equality holds? Is this always the case? Because if you take the derivative of both sides of x^2 = 4, you get 2x = 0, which is not right. Can someone explain how this works?