Prove that $f(x)=\sqrt{x}$ is continuous at $x=2$
Proof:
Givens: $\varepsilon > 0$ and $\delta > 0$ and $|x-2| < \delta$ for $\delta < 1$. Let $0 < \delta < \min{\{1,(\sqrt{3}+\sqrt{2})\varepsilon}\}$ $$ |f(x)-f(2)| = |\sqrt{x}-\sqrt{2}| < \varepsilon \tag1 $$ $$ x-2 < |\sqrt{x}+\sqrt{2}|\varepsilon \tag2$$ Also, using the givens, $$ |x-2| < \delta < 1 \implies |x-2| < 1 \implies 1 < x < 3 \tag3 $$ Then it follows that $$ x - 2 < |\sqrt{3} + \sqrt{2}|\varepsilon \tag4 $$ Therefore, $$ |f(x)-f(2)| < \frac{\delta}{\sqrt{3}+\sqrt{2}} < \varepsilon. \tag5 $$ The reason I am unsure is because I know that delta should be minimized but I am unsure if all my steps are correct.
A general way to choose $\delta$ for any invertible function is the following: You want to show that for each $\epsilon>0$ there is $\delta>0$ such that, for each $x \in (2-\delta, 2+\delta)$ $$ \sqrt{2}-\epsilon<\sqrt{x}<\sqrt{2}+\epsilon $$ If $\epsilon>\sqrt{2}$ you can verify that the inequality is satisfied for any $\delta < (\epsilon+\sqrt{2})^2-2$. So we can assume $\epsilon \le \sqrt{2}$. By squaring all the members (that are all non-negative) $$ (\sqrt{2}-\epsilon)^2<x<(\sqrt{2}+\epsilon)^2 $$ So you want $$ 2-\delta >(\sqrt{2}-\epsilon)^2 $$ $$ 2+\delta < (\sqrt{2}+\epsilon)^2 $$ i.e. $$ \delta < \epsilon(2\sqrt{2} -\epsilon) $$