Must a 'nice' function $f(x,y)$ have a stationary point inside a closed contour loop?
By this I mean, if we have a surface in 3 dimensions described by some function of the $x$ - $y$ plane, and we plot the contours of $f$ in this plane, if there is a closed loop of some sort must there be a stationary point (in which $ \partial f/ \partial x = \partial f / \partial y = 0$ ) ?
By 'nice' function I mean $f$ is continuous and defined at the area of interest.
Intuitively, I'd say yes as at any 2 points on the contour, $f$ must have the same value. So I would think there must be some way to extend the mean value theorem to 2 dimensions, however I can't see how exactly I would do this.
For example, pick any 2 points on the contour with the same $y$ coordinate. Applying mean value theorem, there must be a point in this $x$ interval with $ \partial f/ \partial x =0$.
Likewise for any 'slice' in the $y$ direction. However this does not guarantee that they both occur at the same point. I must need to use the fact $f$ is continuous somehow.
A rough sketch to clarify is shown below.
How could I go about proving/disproving this?
Furthermore, can this idea be extended to higher dimensions?
