Proving Continuity of Functions with Contradiction

In summary, we use a proof by contradiction to show that if f(a) \neq g(x) for some a \epsilon R , then there is a number \delta > 0 such that f(x) \neq g(x) whenever |x-a| < \delta.
  • #1
JG89
728
1

Homework Statement



Let f and g be continuous functions defined on all of R. Prove that if [tex]f(a) \neq g(x)[/tex] for some [tex] a \epsilon R [/tex], then there is a number [tex] \delta > 0 [/tex] such that [tex] f(x) \neq g(x) [/tex] whenever [tex]|x-a| < \delta[/tex].


Homework Equations



I would like to please check if my proof is correct :)

The Attempt at a Solution




Suppose that [tex] f(x) = g(x) [/tex] whenever [tex] |x-a| < \delta [/tex]. Then by the continuity of f and g we have [tex] |f(x) - f(a)| < \epsilon [/tex] whenever [tex] |x-a| < \delta [/tex] and [tex] |g(x) - g(a)| < \epsilon [/tex] whenever [tex] |x-a| < \delta [/tex]. Since g(x) = f(x) whenever [tex] |x-a| < \delta [/tex], we can write [tex] |g(x) - f(a)| < \epsilon [/tex]. Obviously the left hand side must tend to 0 as x tends to a, and so for values of g(x) > f(a), we have [tex] \lim_{x \rightarrow a} g(x) - \lim_{x \rightarrow a} f(a) = 0 [/tex], implying that [tex] \lim_{x \rightarrow a} g(x) = f(a) [/tex].
Now for values of g(x) < f(x) we have [tex] \lim_{x \rightarrow a} f(a) - \lim_{x \rightarrow a} g(x) = 0 [/tex], implying again that [tex] \lim_{x \rightarrow a} g(x) = f(a) [/tex]. Since g is continuous, we must have [tex] \lim_{x \rightarrow a} g(x) = g(a) [/tex], but limits are unique, so this means that [tex] f(a) = g(a) [/tex], which is a contradiction. QED
 
Physics news on Phys.org
  • #2
Hi JG89,

I got a little lost with your arguments (does your original hypothesis hold for all delta; mixing epsilon-delta and limits can be confusing).

It is often the case in these sort of exercises that we are given a suitable "epsilon" to work with in the question. In this case, if WLOG we assume f(a)>g(a) for some a, then our epsilon might be f(a)-g(a)>0.

Then, recognising that f-g is also continuous, we may apply the epsilon-delta definition of continuity to f-g at a:

Given [tex]\varepsilon = f(a)-g(a)>0[/tex] there is a [tex]\delta_\varepsilon>0[/tex] such that

[tex]|x-a|<\delta_\varepsilon \Rightarrow |(f(x)-g(x)) - (f(a)-g(a))| < f(a)-g(a)[/tex].

You continue this for yourself to obtain the desired result. These questions can often be tackled by playing around with the epsilon-delta definition in this manner.
 
  • #3
Please see below!
 
Last edited:
  • #4
Double Post
 
  • #5
Triple Post...See below
 
  • #6
Sorry, the latex is messing up on me!

I will reword it so it is more clear.

To prove this I will use a proof by contradiction. Assume that [tex]f(x) = g(x)[/tex] whenever [tex] |x-a| < \delta [/tex]. Since both functions are continuous, we have [tex] |f(x) - f(a)| < \epsilon [/tex] whenever [tex] |x-a| < \delta [/tex] and [tex] |g(x) - g(a)| < \epsilon [/tex] whenever [tex] |x-a| < \delta[/tex]. Now, since we have made the assumption that f(x) = g(x) then we can rewrite [tex] |f(x) - f(a)| < \epsilon [/tex] as [tex] |g(x) - f(a)| < \epsilon [/tex]. Since this equality must be true for all epsilon greater than zero, including arbitrarily small epsilon, the left side of the inequality must tend to zero as g(x) gets closer to f(a); that is, as x approaches a. So we have [tex] \lim_{ x \rightarrow a} |g(x) - f(a)| = 0 [/tex]. We will separate this limit into two cases because of the absolute value bars. For the first case we have [tex] \lim_{x \rightarrow a} [g(x) - f(a)] = 0 [/tex], implying that [tex] \lim_{x \rightarrow a} g(x) - \lim_{x \rightarrow a} f(a) = 0 [/tex], implying that [tex] \lim_{x \rightarrow a} g(x) = \lim_{x \rightarrow a} f(a)[/tex]. Now, since the function is continuous we must have [tex] \lim_{x \rightarrow a} g(x) = g(a)[/tex]. So our limit equation turns into [tex] g(a) = f(a) [/tex]. Which is a contradiction because we know that [tex] f(a) \neq g(a) [/tex]. For the second case, where we want to evaluate the limit as x approaches a of [tex] - [g(x) - f(a)] = f(a) - g(x) [/tex] it is easy to see that we will also arrive at the same contradiction. Therefore [tex] f(x) \neq g(x) [/tex] whenever [tex] |x-a| < \delta [/tex]. QED
 

1. What is a continuous function?

A continuous function is a mathematical function that maintains its value as the input value changes. This means that there are no sudden jumps or breaks in the graph of the function.

2. How is continuity of a function proven?

The continuity of a function can be proven by showing that the limit of the function as the input approaches a specific value is equal to the value of the function at that point. This can be written mathematically as: lim f(x) = f(a) where x approaches a.

3. What is the importance of continuity in mathematics?

Continuity is an important concept in mathematics because it helps us understand the behavior of functions and their graphs. It allows us to make predictions and solve problems in various fields such as physics, engineering, and economics.

4. Can a function be continuous at only one point?

No, a function must be continuous at every point in its domain in order to be considered a continuous function. If there is even one point where the limit and the value of the function do not match, the function is not considered continuous.

5. How does continuity differ from differentiability?

Continuity and differentiability are related concepts, but they are not the same. A function is continuous if its graph is a continuous, unbroken line with no gaps or jumps. Differentiability, on the other hand, refers to the smoothness of the graph and the ability to calculate the slope of the tangent line at a point. A function can be continuous but not differentiable, and vice versa.

Similar threads

  • Calculus and Beyond Homework Help
Replies
22
Views
321
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
820
  • Calculus and Beyond Homework Help
Replies
2
Views
830
  • Calculus and Beyond Homework Help
Replies
5
Views
198
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
256
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
Back
Top