Prove that $$\lim_{(x,y)\to(1,1)} x^2 + xy + y = 3$$ using the epsilon-delta definition.
What I have tried:
Let $\epsilon > 0$ be arbitrary. We must show that for every $\epsilon$ we can find $\delta>0$ such that
$$0 < \|(x,y) - (1,1)\| < \delta \implies \|f(x,y) - 3\| < \epsilon$$.
Or equivalently,
$$0 < \sqrt{(x-1)^2 + (y-1)^2} < \delta \implies |x^2+xy+y-3| < \epsilon$$
The problem is finding the $\delta$. I have been trying to manipulate $|x^2+xy+y-3|$ with no success.
$|x^2+xy+y-3|$
$=|(x^2-1)+y(x+1)-2|$
$=|(x-1)(x+1)+y(x+1)-2|$
$=|(x+1)[(x-1)+y]-2|$
$=|(x+1)||[(x-1)+(y-1)-1|$
Any help is appreciated!
It's easier if you substitute $x=t+1$ and $y=u+1$, so $$ x^2+xy+y-3=(t+1)^2+(t+1)(u+1)+(u+1)-3= t^2+tu+3t+2u $$ Now, if $t^2+u^2<\delta^2$, which is the same as $\sqrt{(x-1)^2+(y-1)^2}<\delta$, we surely have $|t|<\delta$ and $|u|<\delta$, so $$ |t^2+tu+3t+2u|\le |t^2+u^2|+|t|\,|u|+3|t|+2|u|\le 2\delta^2+5\delta $$ and we just need to keep $2\delta^2+5\delta<\varepsilon$, which is attained for $$ 0<\delta<\frac{-5+\sqrt{25+8\varepsilon}}{4} $$