I am confused why people say that the gradient points into the direction of the steepest ascent(Why is gradient the direction of steepest ascent?) because I think that I found a counter example for that.
Take $f(x,y) = x^2 - y^2$ at $(0,0)$: $\nabla f(0,0) = (0,0)$
However, intuitively, from (0,0) we can move in the x direction and increase the function so that would mean that the direction $d=(1,0)$ is the one that increases the function the most.
I am not familiar with the definition of differentiable for multivariate functions. Maybe $f$ is not differentiable at $(0,0)$ and that's why there is this paradox.
There must be a mistake in my reasoning, but I can't spot it. What is the flaw in my logic?
Thank you
- From an optimization perspective, what mathematical tool allows me know in what direction should I change to input to achieve the highest increases in the function? (Even with saddle points)
- You say that the quote is not meaningful but I would even argue is wrong when the gradient is 0.
– Filat Nicolae Oct 17 '24 at 06:52