I'm having trouble figuring out how the gradient (which seems to be the derivative in multiple variables) can be both the direction of steepest ascent AND the perpendicular vector to a surface. Say we have a function = $v = x^{2} + y^{2}$
The gradient is is then $[2x, 2y]$
At point say -1, 1, the gradient is $[-2, 2]$. Does this mean that at point -1, 1, the direction of steepest ascent is the vector -2, 2?
IF so, that to me implies that the steepest ascent direction is also tangent to the curve $x^{2} + y^{2}$ in some way since it points in the direction of the curve. How can it also be perpendicular to the surface?
I'm obviously misunderstanding something but I need help in figuring out what.