The function is: $f:R^2 \rightarrow R,\ \ f(x,y) = x - y$
I'm supposed to use the limit definition of the derivative to show this function is differentiable. However, after computing the gradient and using the definition, I get a $0$ in the numerator so I still end up with a $\frac{0}{\sqrt{h_1^2 + h_2^2}}$, where $h = (h_1,h_2)$. Any advice on what to do/what went wrong?
Sub question: Could anyone confirm the process (same question) except if $f(x,y) = x^2 + y$
$\nabla f(x,y) = (2x,1)$
$\lim_{h\to0} \frac{f(x+h_1, y+h_2) - f(x,y) - (2x,1)\cdot(h)}{\|h\|} = 0$
$\lim_{h\to0} \frac{(x+h_1)^2 + (y+h_2) - (x^2+y) - (2xh_1+h_2)}{\|h\|} = 0$
$\lim_{h\to0} \frac{x^2+2xh_1+h_1^2 + y+h_2 -x^2-y -2xh_1-h_2}{\|h\|} = 0$
$\lim_{h\to0} \frac{h_1^2}{\|h\|} = 0$
$0 \leq \frac{h_1^2}{\|h\|} \leq \frac{\|h\|^2}{\|h\|} = \|h\|$
By squeeze thm, $\lim_{h\to0} \frac{h_1^2}{\|h\|} = 0$
$\therefore f(x,y) = x^2 + y$ is differentiable.