I am dealing with a continuous function $ f \colon \mathbb{R}^n \to \mathbb{R}$.
For some $ x \in \mathbb{R}^n $ I find all partial derivatives to be $0$ and $ f(x + \epsilon \cdot e_i) > f(x) $, i.e. I have a local minimum in each dimension.
I know that $ grad(x) = 0 $, hence all directional derivates in $x$ are $0$ too. Can I conclude that there is a local minimum in x, or can there be some direction $a$ with $ f(x + \epsilon \cdot a) < f(x) $ ?
If so, how would I go about proving that? If not, what would a counter example look like?
