first and second derivative of -x^4