Prove f-g is uniformly continuous

  • Thread starter Fire flame
  • Start date
  • Tags
    Continuous
In summary, the problem is to prove that f-g is uniformly continuous given that both f and g are uniformly continuous. The solution involves finding a delta value that works for both f and g, and using the triangle inequality to show that f-g is also uniformly continuous. The definition of uniformly continuous states that for any given epsilon, there exists a delta that satisfies the condition for all x and y. Therefore, the same delta can be used for both f and g in this case. The write-up may have some minor errors, but the main concept is correct.
  • #1
Fire flame
8
0

Homework Statement



Let f, g : D→R be uniformly continuous. Prove that f-g: D→R is uniformly continuous aswell



Homework Equations



none

The Attempt at a Solution



Okay, I am posting this question because I want to make sure that my solution is correct and if it isn't I would really be thankful if someone pointed out its flaws.


My solution:

For all ε >0 there exists δ >0 s.t.

abs( x - y ) < δ => abs( f(x) - f(y)) <ε

then

abs( f(x) - f(y)) <ε/2

abs( g(x) - g(y)) <ε/2

now its f - g so

abs( f(x) - f(y) - g(x) + g(y)) < ε

abs( f(x) - f(y)) + abs( - g(x) + g(y)) < ε

abs( f(x) - f(y)) + abs(-1)*abs( +g(x) -g(y)) < ε

abs( f(x) - f(y)) + abs( +g(x) -g(y)) < ε

ε/2 + ε/2 <ε

ε ≤ ε

Also can anyone describe to me what uniformly continuous means besides from the actual definition. I have a hard time understanding what uniformly continuous means.

Thanks.
 
Physics news on Phys.org
  • #2
Fire flame said:

Homework Statement



Let f, g : D→R be uniformly continuous. Prove that f-g: D→R is uniformly continuous aswell



Homework Equations



none

The Attempt at a Solution



Okay, I am posting this question because I want to make sure that my solution is correct and if it isn't I would really be thankful if someone pointed out its flaws.


My solution:

For all ε >0 there exists δ >0 s.t.

abs( x - y ) < δ => abs( f(x) - f(y)) <ε

then

abs( f(x) - f(y)) <ε/2

abs( g(x) - g(y)) <ε/2

How do you know the same ##\delta## works for both f and g?
 
  • #3
Can't you just choose what ε and δ is?

It can have many values as long as its > 0. Right?
 
  • #4
Fire flame said:

Homework Statement



Let f, g : D→R be uniformly continuous. Prove that f-g: D→R is uniformly continuous aswell



Homework Equations



none

The Attempt at a Solution



Okay, I am posting this question because I want to make sure that my solution is correct and if it isn't I would really be thankful if someone pointed out its flaws.


My solution:

For all ε >0 there exists δ >0 s.t.

abs( x - y ) < δ => abs( f(x) - f(y)) <ε

then

abs( f(x) - f(y)) <ε/2

abs( g(x) - g(y)) <ε/2

now its f - g so

abs( f(x) - f(y) - g(x) + g(y)) < ε

abs( f(x) - f(y)) + abs( - g(x) + g(y)) < ε

abs( f(x) - f(y)) + abs(-1)*abs( +g(x) -g(y)) < ε

abs( f(x) - f(y)) + abs( +g(x) -g(y)) < ε

ε/2 + ε/2 <ε

ε ≤ ε

Also can anyone describe to me what uniformly continuous means besides from the actual definition. I have a hard time understanding what uniformly continuous means.

Thanks.

LCKurtz said:
How do you know the same ##\delta## works for both f and g?

Fire flame said:
Can't you just choose what ε and δ is?

It can have many values as long as its > 0. Right?

No. ##\epsilon## is a given, presumably small, number. If you have a uniformly continuous function ##f##, that means that given any ##\epsilon > 0## there exists a ##\delta##, depending only on ##\epsilon## and not ##x## or ##y## such that if ##|x-y|<\delta##, then ##|f(x)-f(y)|<\epsilon##. You don't get to choose ##\delta## but you are guaranteed that there is one. A different function ##g## would normally need a different ##\delta## for the same ##\epsilon##.

There are other issues with your writeup, but first you have to figure out how you can get one ##\delta## that works for both ##f## and ##g##.
 
  • #5
but first you have to figure out how you can get one δ that works for both f and g

I'm going to take a few guesses.

1. What if both f and g are the same function then they would have the same δ and ε values.

2. Because they are both uniformly continuous.

3. Because I am picking the same ε for each function.

I have tried to understand the whole ε δ thing many times and although I think I kind of get it I don't think that I have a fundamental understanding of it.

Also, my professor just picked the same δ like I did for a similar problem. I do know that they don't have to be the same.
 
  • #6
Fire flame said:
I'm going to take a few guesses.

1. What if both f and g are the same function then they would have the same δ and ε values.
They aren't, so that is irrelevant.
2. Because they are both uniformly continuous.
No.
3. Because I am picking the same ε for each function.
No.
I have tried to understand the whole ε δ thing many times and although I think I kind of get it I don't think that I have a fundamental understanding of it.
Yes, I don't think you quite have it yet either. Think about my question like this. Suppose you have a ##\delta_1## that makes ##|f(x)-f(y)|< \epsilon## when ##|x-y|<\delta_1## and you also have a ##\delta_2## that makes ##|g(x)-g(y)|< \epsilon## when ##|x-y|<\delta_2##. Can you see how to make a ##\delta## from that that works for both?
 
  • #7
Actually now that I'm looking at my professors notes more I do see that he indeed labeled δ1 and δ2 separately even though they are in the end the same.

So is there anything else wrong with my write up? I just turned in the homework yesterday and I will see what I get on this problem.
 
  • #8
Fire flame said:
Actually now that I'm looking at my professors notes more I do see that he indeed labeled δ1 and δ2 separately even though they are in the end the same.

So is there anything else wrong with my write up? I just turned in the homework yesterday and I will see what I get on this problem.

No, they aren't the same. What you want is to to pick ##\delta_1## for ##f## and ##\delta_2## for ##g## so ##|f(x) - f(y)|< \frac \epsilon 2## when ##|x-y|<\delta_1## and ##|g(x) - g(y)|< \frac \epsilon 2## when ##|x-y|<\delta_2##. Then choose ##\delta = \text{min}\{\delta_1,\delta_2\}## so that when ##|x-y|<\delta## they both work.

Then in your writeup, you don't want to end up with ##\epsilon\le \epsilon##. After the above paragraph you want to say that if ##|x-y|<\delta## then$$
|f(x)+g(x) - (f(y)+g(y))| \le ... < \epsilon$$where you fill in the dots with a string of inequalities similar to what you did write.
 
Last edited:

FAQ: Prove f-g is uniformly continuous

1. What is the definition of uniform continuity?

Uniform continuity is a property of a function that guarantees that small changes in the input will result in small changes in the output. It means that the function maintains a constant rate of change throughout its domain.

2. How is uniform continuity different from continuity?

Continuity requires that a function is defined and has a limit at every point in its domain, while uniform continuity requires that the function's rate of change stays within a certain bound throughout its entire domain. In other words, uniform continuity is a stronger condition than continuity.

3. What is the significance of proving that f-g is uniformly continuous?

Proving that f-g is uniformly continuous is important because it allows us to make predictions about the behavior of the function over its entire domain. It also guarantees that the function will be well-behaved and not exhibit any unexpected or erratic behavior.

4. How is the uniform continuity of f-g proven?

To prove that f-g is uniformly continuous, we must show that for any given ε > 0, there exists a δ > 0 such that for all x and y in the domain of f-g, if |x-y| < δ, then |f(x)-g(x)| < ε. In other words, we must show that the difference between the outputs of f and g is always smaller than a given threshold, as long as the inputs are close enough together.

5. Can a function be uniformly continuous but not continuous?

No, a function cannot be uniformly continuous but not continuous. Uniform continuity is a stronger condition than continuity, so if a function is uniformly continuous, it must also be continuous. However, the converse is not true - a function can be continuous but not uniformly continuous.

Back
Top