Let $f:\mathbb{R^2} \to \mathbb{R}$ and $\partial_1f(x,y)=0, \partial_2f(x,y)=0$ for all $x,y \in \mathbb{R^2}.$ Show that $f$ is a constant function.
From the problem statement I got that $\nabla f(x) = (\partial_1f(x,y), \partial_2f(x,y)) = (0,0).$
And now $$f(y)-f(x) = \nabla f(x)\cdot(y-x)+||y-x||\varepsilon(y-x)$$
which will result in $$f(y)-f(x)=0\cdot(y-x)+||y-x||\varepsilon(y-x) =||y-x||\varepsilon(y-x).$$
What should I do with the term $||y-x||\varepsilon(y-x)$ that I'm left with? By the definition $\varepsilon(y-x)$ goes to $0$ when $y\to x$, but how do I show this?