check sign 2nd derivate