In the text, it says:
Consider smooth function on a manifold $f: X \to \mathbb{R}$. If $f(x)$ is an extreme value, then $f$ cannot be a coordinate function near $x$, so $df_x$ must be zero.
I don't understand here - if $f(x)$ is an extreme value, why $f$ cannot be a coordinate function?