This question is for my college undergrad multivariable calculus course.
I want to prove using the definition of a limit that $\lim_{(x,y)\to (1,2)} (x−y)^2=1$.
What I have done: $f(x,y)=(x−y)^2$ and $L=1$. We must show that for any $\varepsilon>0$, we can find $\delta>0$ such that:
If $0<d((x,y),(1,2))<\delta$, then $|f(x,y)−L|=|(x−y)^2−1|<\varepsilon$.
We can choose $\delta=\varepsilon$, for if $d((x,y),(1,2))<\varepsilon$, then
$(x−1)^2+(y−2)^2<\varepsilon^2\Rightarrow x^2+y^2+1+4−2x−4y<\varepsilon^2$
I need to get this to $|(x−y)^2−1|<\varepsilon$ but I'm not able to get to this equation. What steps should I follow here?
If $d\bigl((x,y),(1,2)\bigr)<1$, then $|x-1|<1$ and $|y-2|<1$. Therefore$$|x-y-1|=|x-1+y-2+2|\leqslant4.$$So,\begin{align}|(x-y)^2-1|&=|x-y-1|\times|x-y+1|\\&\leqslant4|x-y+1|\\&=4|(x-1)-(y-2)|.\end{align}So, if now you take $\delta=\min\left\{\frac\varepsilon8,1\right\}$ and $(x,y)$ such that $d\bigl((x,y),(1,2)\bigr)<\delta$, then\begin{align}|(x-y)^2-1|&\leqslant4|(x-1)-(y-2)|\\&\leqslant4\bigl(|x-1|+|y-2|\bigr)\\&<4\left(\frac\varepsilon8+\frac\varepsilon8\right)\\&=\varepsilon.\end{align}