The optimum value of the function $f(x)=x^2-4x+2$ is

1. $2$ (maximum)
2. $2$ (minimum)
3. $– 2$ (maximum)
4. $– 2$ (minimum)