Let $M$ be a smooth manifold and $f\colon M \rightarrow \mathbb{R}$ a smooth function.
If $p\in M$ is a local extremum of $f$, does $p$ have to be a critical point?
Let $M$ be a smooth manifold and $f\colon M \rightarrow \mathbb{R}$ a smooth function.
If $p\in M$ is a local extremum of $f$, does $p$ have to be a critical point?
Yes. Actually, we necessarily have $df_p=0$. To see this, let $\gamma$ be an arbitrary path passing through $p$ at time $0$. Then $$\left.\frac{d}{dt}\right|_{t=0}(f\circ\gamma)=0,$$and so$$df_p(v)=0,$$where $v$ is the tangent vector represented by $\gamma$.