Uniform continuity of 2^x over [0,n]

Click For Summary

Homework Help Overview

The discussion revolves around proving the uniform continuity of the function \(2^x\) on the interval \([0, n]\) for all \(n \in \mathbb{N}\) using the \(\varepsilon - \delta\) definition of uniform continuity, without relying on the general theorem that continuous functions on closed intervals are uniformly continuous.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore various algebraic manipulations and inequalities to relate \(|2^x - 2^y|\) to \(|x - y|\). Some suggest using bounds and supremum values, while others question the validity of certain assumptions and the choice of \(\delta\). There is also discussion about the implications of limits and the need for precise definitions in the context of uniform continuity.

Discussion Status

Multiple approaches are being explored, with participants providing insights and corrections to each other's reasoning. Some guidance has been offered regarding the choice of \(\delta\), and there is an ongoing examination of the assumptions made in the proofs. The discussion remains open, with no explicit consensus reached yet.

Contextual Notes

Participants note the requirement to avoid using advanced functions like logarithms in their proofs, as well as the need to adhere strictly to the \(\varepsilon - \delta\) framework for uniform continuity. There is also a recognition of potential errors in previous arguments that need to be addressed.

fmam3
Messages
81
Reaction score
0
I spent at least 2-3 hours thinking about this "deceivingly" (at least to me) simple problem but I just don't know how to proceed. Any hints would be greatly appreciated!

Homework Statement


Directly from the [tex]\varepsilon - \delta[/tex] definition of uniform continuity, prove that [tex]2^x[/tex] is uniformly continuous on [tex][0, n][/tex] for all [tex]n \in \mathbb{N}[/tex].

(i.e. Do not use the fact that continuous functions on a closed interval are uniformly continuous).

Homework Equations


Definition of a function [tex]f[/tex] uniformly continuous on a set [tex]S[/tex]: For all [tex]\varepsilon > 0[/tex] there exists some [tex]\delta > 0[/tex] such that for all [tex]x,y \in S[/tex], [tex]|x - y| < \delta[/tex] implies [tex]|f(x) - f(y)| < \varepsilon[/tex].

The Attempt at a Solution


There must be some sort of algebraic trick that I'm missing here, but here's an attempt.

Fix [tex]n \in \mathbb{N}[/tex] and let any [tex]x,y \in [0,n][/tex]. Clearly, we have [tex]0 \leq x,y \leq n[/tex]. Now, consider [tex]|2^x - 2^y| \leq |2^x| + |2^y| = 2^x + 2^y \leq 2^n + 2^n = 2 \cdot 2^n[/tex].

It is at this precise point where I'm stuck --- how am I supposed to "introduce" the [tex]|x-y|[/tex] term in this expression? That is, I've already hit the point where [tex]2 \cdot 2^n[/tex] is already a constant; at least I've proved the obvious fact that this function (in this case) is bounded above. Or perhaps my above thinking is totally incorrect? Or is it that there's something so obvious that I'm oblivious to? I've also thought about using the binomial theorem but it doesn't seem to work very well either.

Thanks!
 
Physics news on Phys.org
I just had a "random idea" and I just want to post it here and see if I could answer my own question. Please let me know if it works (or not)! Thanks all again!

Since [tex]0 \leq x,y \leq n[/tex], let [tex]M = \sup\{|x - y|: x,y \in [0,n]\}[/tex]. Then clearly, we have that [tex]|x - y| \leq M[/tex]. Let any [tex]\varepsilon > 0[/tex].

Then we have [tex]2^{|x-y|} \leq 2^M[/tex], rearrange then get [tex]2^x \leq 2^M \cdot 2^y[/tex]. Now, see that [tex]|2^x - 2^y| \leq |2^x| + |2^y| = 2^x + 2^y \leq 2^M \cdot 2^y - 2^y = 2^y(2^M - 1) \leq 2^n (2^M - 1)[/tex]. Since [tex]M \geq 0[/tex], we must have [tex]2^M - 1 \geq 0[/tex]. We want the expression above to be less than [tex]\varepsilon[/tex]. So, [tex]2^n(2^M - 1) < \varepsilon[/tex], rearrange, so we have [tex]2^M < \varepsilon / 2^n + 1[/tex]. Hence, we can choose [tex]\delta(\varepsilon) = \delta = \min \{M, \varepsilon / 2^n + 1\}[/tex].

Hence, for all [tex]\varepsilon > 0[/tex], [tex]|x - y| < \delta = \min \{M, \varepsilon / 2^n + 1\}[/tex] implies [tex]|2^x - 2^y| < \varepsilon[/tex] and hence [tex]f(x) = 2^x[/tex] is uniformly continuous over [tex][0,n][/tex] for all [tex]n \in \mathbb{N}[/tex].
 
Last edited:
fmam3 said:
We want the expression above to be less than [tex]\varepsilon[/tex]. So, [tex]2^n(2^M - 1) < \varepsilon[/tex], rearrange, so we have [tex]2^M < \varepsilon / 2^n + 1[/tex]. Hence, we can choose [tex]\delta(\varepsilon) = \delta = \min \{M, \varepsilon / 2^n + 1\}[/tex].

I don`t think you can just say that the expression [tex]2^n(2^M - 1) < \epsilon[/tex] for every positive epsilon. You need to actually show that the expression gets arbitrarily small. This may be too informal for you, but you can note that [tex]2^M - 1[/tex] goes to 0 for M getting smaller and smaller, and since [tex]2^n[/tex] is a constant, then [tex]2^n(2^M - 1)[/tex] must go to 0 for M = sup|x-y| going to 0.
 
@JG89

Thanks for catching that! I was actually staring at that exact place where you pointed out immediately I made the posting. It seems that I did make an error in the choice of [tex]\delta[/tex].

I think it's possible to "fix" this argument by simply setting [tex]\delta (\varepsilon) = \delta = \min\{M, \log_2 (\varepsilon / 2^n + 1)\}[/tex]. I'm actually not sure if this is the best argument --- as I'm using the logarithm base 2 function, which is technically a more "advanced" function than the technical background requirement implied by this question.

Question -- can you clarify what you mean by "for M = sup|x - y| going to 0"? It's not necessarily true that M tends to zero; since by the definition of uniform continuity, I can pick any x,y in the domain specified. That is, I could technically set x = 1, y = 10000 and in that sense, the supremum of |1 - 10000| will never go to zero. But I could be completely wrong so please do point out where I've made a mistake in any of the above as I'm still learning this material! Thanks for your reply!
 
[tex]\delta[/tex] HAS to go to 0. Remember, the definition of uniform continuity is that a function f is uniformly continuous in an interval if for every positive epsilon, there exists a delta such that we have [tex]|f(x) - f(y)| < \epsilon[/tex] for ANY x and y in the interval satisfying [tex]|x-y| < \delta[/tex]. Obviously if [tex]|f(x) - f(y)|[/tex] is to go to 0, so must |x-y|. M = sup|x-y| < delta, so sup|x-y| goes to 0 as well.

I think your argument is getting too complex. If I were you, I’d fix a delta so that if x and y = x +h be any two points in the interval [0,n] then [tex]|h| < \delta[/tex]. It’s obvious that [tex]2^h - 1 < 2^{\delta} - 1 \rightarrow 0[/tex] as [tex]\delta \rightarrow 0[/tex]. Finish it off.
 
The last sentence of the previous post should be:

It’s obvious that [tex]0 < 2^h - 1 < 2^{\delta} - 1 \rightarrow 0[/tex] as [tex]\delta \rightarrow 0[/tex]
 
Hi JG89,

I think I see what you mean --- but let me know if I'm not exactly getting your point and I would appreciate any corrections! The argument you had about various things going is essentially using a sequential definition of continuity, not necessarily the epsilon-delta version; i.e. using Cauchy's condition for uniform convergence. And unfortunately (for me), while I completely understand what you mean by writing things "going to zero" with the arrow signs, if I were to write that on an assignment / exam I would get destroyed by my instructor; for epsilon-delta proofs, we are required to construct that exact expression for delta, epsilon, etc. But I agree that, intuition wise, yours is much clearer than writing epsilon-delta mumbo jumbo. Thanks again!
 
If you are required to construct an exact expression, then using [tex]\delta = log_2(\frac{\epsilon}{2^n} + 1)[/tex] is okay. That’s the same delta I found. You don’t need to use the minimum of sup|x-y| and [tex]log_2(\frac{\epsilon}{2^n} + 1)[/tex]. The sup|x-y| part is unnecessary.
 
Sorry guys for making so many (stupid) mistakes on this proof. But I realized that I had a "minus" instead of a "plus" in my proof and thus voiding the entire argument above (mine and JG89's). I hope this proof, instead, works! And I would appreciate it if anybody can point out a way to avoid using the log base 2 function! Thanks and I apologize for the inconvenience!

Let any [tex]x,y \in [0,n][/tex] and WLOG, let [tex]x \geq y[/tex]. Then consider, [tex]|2^x - 2^y| = |2^y(2^{x-y} - 1)| = |2^y| \cdot |2^{x-y} - 1| \leq 2^n \cdot (2^{x-y} - 1) = 2^n \cdot (2^{|x-y|} - 1) < \varepsilon[/tex]. Then, rearrange, get [tex]\dfrac{\varepsilon}{2^n} + 1} > 2^{|x-y|}[/tex] and taking the log base 2, get [tex]\log_2 (\varepsilon / 2^n + 1) > |x-y|[/tex]. Thus, we can take [tex]\delta (\varepsilon) = \delta = \log_2 (\varepsilon / 2^n + 1)[/tex].

Therefore, for all [tex]\varepsilon > 0[/tex], for any [tex]x,y \in [0,n][/tex], [tex]| x - y | < \delta = \log_2 (\varepsilon / 2^n + 1)[/tex] implies [tex]|2^x - 2^y| < \varepsilon[/tex].
 

Similar threads

  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
26
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K