2
$\begingroup$

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.

$\endgroup$
9
  • $\begingroup$ You shall know the difference between limit existing and continuous. $\endgroup$
    – MathArt
    Commented Mar 10 at 20:57
  • $\begingroup$ How did you know that $$\frac{\delta}{\sqrt{3}+\sqrt{2}}< \epsilon$$ I can take e.g $\delta=\frac{1}{2}$ and $\epsilon= 10^{-1000}$ $\endgroup$
    – Marco
    Commented Mar 10 at 20:58
  • 2
    $\begingroup$ Given an $\epsilon > 0$, you need to choose a $\delta$ such that whenever $|x - 2| \leq \delta$, $|f(x) - f(2)| \leq \epsilon$. $\endgroup$
    – sudeep5221
    Commented Mar 10 at 21:01
  • $\begingroup$ You go wrong at the first step: "Givens: $\epsilon > 0$ and $\delta > 0$ and..." Only $\epsilon$ and $x$ are given. $\endgroup$
    – TonyK
    Commented Mar 10 at 21:13
  • 1
    $\begingroup$ Honestly, it seems like you are parroting a bunch of steps without comprehending why and what they mean. All your steps are there and there are no miscalculations. But the presentation is pure word salad and, as an argument, is gooble-dee-gook. I think as an excercise you need to be able to give an argument to someone who has never heard of a delta-epsilon proof and doesn't know the definition of continuous and explain it in a way they would understand. And understand why. $\endgroup$
    – fleablood
    Commented Mar 10 at 23:01

3 Answers 3

1
$\begingroup$

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) $$

$\endgroup$
13
  • 4
    $\begingroup$ Careful: $a<b$ does not implies that $a^2<b^2$ $\endgroup$
    – azif00
    Commented Mar 10 at 21:13
  • $\begingroup$ @azif00 All the quantities here are positive, so it does, but i should have specified it $\endgroup$
    – Marco
    Commented Mar 10 at 21:14
  • 6
    $\begingroup$ $\sqrt{2}-\epsilon$ is not necessarily positive. $\endgroup$
    – azif00
    Commented Mar 10 at 21:15
  • 1
    $\begingroup$ TBH, while OP's proof had some issues (esp. before the edits), the overall strategy seems more straightforward and less prone to running into corner cases than this one. $\endgroup$
    – Erick Wong
    Commented Mar 10 at 22:34
  • 1
    $\begingroup$ @Marco No, the main problem that the OP has is that the proof is wrong. $|f(x)-f(2)| < \frac{\delta}{\sqrt{3}+\sqrt{2}} $ does not hold. $\endgroup$
    – miracle173
    Commented Mar 12 at 8:37
1
$\begingroup$

For me you proof is very confusing and it is wrong. It is wrong because the equation $|f(x)-f(2)| < \frac{\delta}{\sqrt{3}+\sqrt{2}}$ does not hold. $|f(2.1)-f(2)|\approx 0.034$, but $\frac{0.1}{\sqrt3+\sqrt2}\approx 0.032$.

But now to the confusion. You state

Givens: $\varepsilon > 0$ and $\delta > 0$ and $|x-2| < \delta$ for $\delta < 1$.

and then you state

Let $0 < \delta < \min{\{1,(\sqrt{3}+\sqrt{2})\varepsilon}\}$

But what is the difference? The inequalities $0 < \delta < \min{\{1,(\sqrt{3}+\sqrt{2})\varepsilon}\}$ is also given. And if $\delta < \min{\{1,(\sqrt{3}+\sqrt{2})\varepsilon}\}$ then $\delta < 1$ is redundant. So you can leave out this statement. Finally you do not have to prove that there is an interval of $\delta$ where your statment holds, it is sufficient that for each $\varepsilon$ you find on $\delta$. From you inequalities I deduce that $\min \{\frac12, \varepsilon\}$ is such a $\delta$, so I would write

Given $\varepsilon>0$ choose $\delta=\min{\frac12, \varepsilon}$ and assume that $|x-2|<\delta$.

Then you state:

$$|f(x)-f(2)| = |\sqrt{x}-\sqrt{2}| < \varepsilon \tag1$$ $$ x-2 < |\sqrt{x}+\sqrt{2}|\varepsilon \tag2$$

And what's that? I think you want to tell us

We have to show: $$|f(x)-f(2)| = |\sqrt{x}-\sqrt{2}| < \varepsilon \tag1$$

I think you want to tell us that and not that this is a prerequisite. So I think you should state this explicitly.

An what is $(2)$? We have

$$(\sqrt x-\sqrt 2)(\sqrt x+\sqrt 2)=(x-2)$$

This is formula is crucial to the proof so I would explicitly mention it explicitly.

From this and $(1)$ follows $$ x-2 < |\sqrt{x}+\sqrt{2}|\varepsilon \tag2$$

$(3)$ and $(4)$ follow immediately from the definition of $\delta$ and the $|x-2|<\delta$. I do not understand why you write "Then it follows" to justify $(4)$. Because it does not follow from $3$ Finally you do not tell us how you get inequality $(5)$. As I mentioned at the beginning. This inequality is wrong.


Here is a short proof:

Assume that $\varepsilon>0$ and $\delta=\varepsilon.$ If $|x-2|<\delta$ then $$|f(x)-f(2)|=|\sqrt x-\sqrt 2|=\frac{|\sqrt x-\sqrt 2|\cdot|\sqrt x+\sqrt 2|}{|\sqrt x+\sqrt 2|}=\frac{|x-2|}{\sqrt x+\sqrt 2}\lt\frac{\delta}{\sqrt 2}<\varepsilon$$ So $f(x)=\sqrt x$ is continuous at $x=2.$

$\endgroup$
5
  • $\begingroup$ im not sure what you mean. it clearly says that delta is min which depends on epsilon. you probably misunderstood that I was not looking to write out the entire proof with all the specific texts and exact steps I did on paper. I just needed to see if the reasoning is correct. it seems to follow closely with this post: math.stackexchange.com/questions/560307/…. maybe some more clarification on your part is necessary $\endgroup$
    – thewhale
    Commented Mar 22 at 2:30
  • $\begingroup$ I think your proof is wrong as I showed in the first paragraph of my anwer. Did you already check this? $\endgroup$
    – miracle173
    Commented Mar 25 at 14:37
  • $\begingroup$ if this is the case, suggest what would make it correct. the linked post is actually kind of similar to this one so I am also interested to see why it is correct and this one is not $\endgroup$
    – thewhale
    Commented Mar 25 at 15:29
  • $\begingroup$ @thewhale I added a short proof. But why do you write ‚if this is the case…‘? Can‘t you see that this is the case? $\endgroup$
    – miracle173
    Commented Mar 25 at 17:04
  • $\begingroup$ Because im referencing the linked post. However one thing I am still not sure about is how do you choose which delta? For example, do i have to justify why the selected delta is correct? Can this be shown for any delta (that is constrained)? However I acknowledge that the result of the proof is incorrect. Can you explain specifically why my conclusion is wrong? Thank you for your proof but how can I fix mine? Any help appreciated $\endgroup$
    – thewhale
    Commented Mar 25 at 17:28
0
$\begingroup$

You can prove something a bit stronger with less work.

$f(x)=\sqrt{x}$

$\sqrt{x}-\sqrt{c}= \frac{x-c}{\sqrt{x}+\sqrt{c}}$

WLOG, $x>c$

$x,c>1\implies \sqrt{x}-\sqrt{c}<(x-c)/2$

$|x-c|<\epsilon\implies \sqrt{x}-\sqrt{c}<\epsilon/2$

So $\delta=\epsilon$ proves uniform continuity in the region in question $(1,\infty)$.

Uniform continuity implies continuity and $c=2$ is in that region where the function is uniformly continuous, so the function is continuous at $x=2$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .