Let $f(x)=\left\{\begin{matrix}6,&x≤1\\7-x,&x>1\end{matrix}\right.$. Then for f(x), x = 1 is:
Answer & explanation
Correct answer: option 3
Clearly x = 1 is not a max.
Check value in small neighbourhood around it.
Hence no local maxima and no local minima