In order to find the extrema, we need to solve the equation
dxdf(x)=0(the derivative equals zero),
and the roots of this equation are the extrema of this function:
dxdf(x)=the first derivative−(x2−1)22x∣x∣+x2−1sign(x)=0Solve this equationSolutions are not found,
function may have no extrema