I have a function with two variables $f(x,y)= \frac{x}{y}$ and a point, $(0,1)$. It is simple to see that this function is continuous in $(0,1)$ but I have to prove directly this continuity applying the definition and finding a value for $\delta$ as a conseguence of a value for $\epsilon$.
I've seen the solution in my book and I'm trying to understand at least what it says.
In the neighbourhood of $(0,1)$ it occurs that $|y-1|\le \frac{1}{2} \rightarrow y \ge \frac{1}{2}\Longrightarrow |y| \ge \frac{1}{2} \rightarrow |\frac{x}{y}|\le 2|x|$.
As a conseguence of this $\delta =\min\left\{\frac{\epsilon}{2}, \frac{1}{2}\right\}$ I can't understand this last passage. Could someone explain more clearly why $\delta =\min\left\{\frac{\epsilon}{2}, \frac{1}{2}\right\}$ and what is the line of reasoning of that?
Suppose that $\delta=\min\left\{\frac\varepsilon2,\frac12\right\}$. Then, asserting that $\bigl\|(x,y)-(0,1)\bigr\|<\delta$ means two things:
From the second fact, you deduce that $|y-1|<\frac12$ and that therefore $y>\frac12$. So, $\left|\frac xy\right|<2|x|$.
Therefore,\begin{align}\left|f(x,y)-f(0,1)\right|&=\left|\frac xy-0\right|\\&=\left|\frac xy\right|\\&<2|x|\\&<2\frac\varepsilon2\text{ (since $|x|<\frac\varepsilon2$)}\\&=\varepsilon.\end{align}