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

In summary: That is, for any x (in the domain), there exists a sequence of y_i (in the domain) for which y_i \rightarrow x. We want to show that the sequence f(y_i) (in the range) converges to f(x). So, in terms of the definitions of limits and the supremum, I think what you're saying is that I want to show that for all x,y \in [0,n], we have f(x) = 2^x and f(y) = 2^y and that |x - y| \leq M for some supremum M. Since the function is continuous and the domain is compact, it attains its maximum (
  • #1
fmam3
82
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
  • #2
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:
  • #3
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.
 
  • #4
@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!
 
  • #5
[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.
 
  • #6
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]
 
  • #7
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!
 
  • #8
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.
 
  • #9
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].
 

1. What does uniform continuity mean?

Uniform continuity is a property of a function that means the function's rate of change is consistent over its entire domain. This means that no matter where you look along the function's graph, the change in the output values will not vary significantly, as long as the input values are sufficiently close together.

2. How is uniform continuity different from regular continuity?

Uniform continuity is a stronger condition than regular continuity. While a continuous function simply needs to have no gaps or jumps in its graph, a uniformly continuous function also requires that the rate of change is consistent throughout the entire domain, not just in small intervals.

3. What does the notation [0,n] mean?

The notation [0,n] refers to a closed interval on the real number line, starting at 0 and ending at n. This means that the function 2^x is being evaluated for all values of x between 0 and n, including the endpoints.

4. How do you determine if a function is uniformly continuous?

To determine if a function is uniformly continuous, you can use the definition of uniform continuity, which states that for any given value of epsilon (ε), there exists a corresponding value of delta (δ) such that if two input values are within δ distance of each other, the output values will be within ε distance of each other. Alternatively, you can also use the theorem that states a function is uniformly continuous if and only if it is continuous and has a bounded derivative.

5. Why is uniform continuity important in mathematics?

Uniform continuity is important because it guarantees that a function will behave in a predictable manner over its entire domain. This allows for more accurate mathematical calculations and makes it easier to prove theorems and solve problems involving the function. It is also a necessary condition for certain mathematical concepts, such as the continuity of functions on compact sets.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
273
  • Calculus and Beyond Homework Help
Replies
26
Views
883
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
609
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
950
  • Calculus and Beyond Homework Help
Replies
3
Views
505
  • Calculus and Beyond Homework Help
Replies
1
Views
451
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
Back
Top