Show the worked solution\[\begin{aligned} {f}'&=0 \\ \Rightarrow \;\; 2x-4&=0 \\ \Rightarrow \;\; x&=2 \text{ (stationary point)}\\ {f}''\left ( x \right )&=2 \gt 0 \\ \Rightarrow\;\; f(x)& \text{ is minimum at } x=2\end{aligned}\]i.e., \(\left ( 2 \right )^{2}-4\left ( 2 \right )+2=-2\)
\(\therefore\) The optimum value of \(f(x)\) is \(-2\) (minimum).
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com