The function is .
Apply derivative with respect to x .
Apply difference rule of derivatives : .
Derivative of absolute function : .
Find the derivative at extremum :
The derivative at a point is
is undefined.