` f(x) ={ underset( X^(2) -2X " "X le 02)underset(x^(2) -x^(2) " " 0 lt x lt 2)(X^(2) -2x " " X le 2).`
`f(x) ={underset(2(x-1) " "x lt 0)underset(2(1-x)" "0 lt x le2)(2(x -1) " "x gt2).`
f(x) =0 at x=1 and f(x) does not exist at x=0 ,2. Thus these are critical points