3.3: Continuity
( \newcommand{\kernel}{\mathrm{null}\,}\)
Let D be a nonempty subset of R and let f:D→R be a function. The function f is said to be continuous at x0∈D if for any real number ε>0, there exists δ>0 such that if x∈D and |x−x0|<δ, then
|f(x)−f(x0)|<ε.
If f is continuous at every point x∈D, we say that f is continuous on D (or just continuous if no confusion occurs).
Figure 3.1: Definition of Continuity.
Let f:R→R be given by f(x)=3x+7.
Solution
Let x0∈R and let ε>0. Choose δ=ε/3. Then if |x−x0|<δ, we have
|f(x)−f(x0)|=|3x+7−(3x0+7)|=|3(x−x0)|=3|x−x0|<3δ=ε.
This shows that f is continuous at x0.
Note that the above definition of continuity does not mention limits. This allows to include in the definition, points x0∈D which are not limit points of D. If x0 is an isolated point of D, then there is δ>0 such that B(x0;δ)∩D={x0}. It follows that for x∈B(x0;δ)∩D, |f(x)−f(x0)|=0<ε for any epsilon. Therefore, every function is continuous at an isolated point of its domain.
To study continuity at limit points of D, we have the following theorem which follows directly from the definitions of continuity and limit.
Let f:D→R and let x0∈D be a limit point of D. Then f is continuous at x0 if and only if
limx→x0f(x)=f(x0).
- Proof
-
Add proof here and it will automatically be hidden
Let f:R→R be given by f(x)=3x2−2x+1.
Solution
Fix x0∈R. Since, from the results of the previous theorem, we have
limx→x0f(x)=limx→x0(3x2−2x+1)=3x20−2x0+1=f(x0)
it follows that f is continuous at x0.
The following theorem follows directly from the definition of continuity, Theorem 3.1.2 and Theorem 3.3.2 and we leave its proof as an exercise.
Let f:D→R and let x0∈D. Then f is continuous at x0 if and only if for any sequence {xk} in D that converges to x0, the sequence {f(xk)} converges to f(x0).
- Proof
-
Add proof here and it will automatically be hidden
The proofs of the next two theorems are straightforward using Theorem 3.3.3.
Let f,g:D→R and let x0∈D. Suppose f and g are continuous at x0. Then
- f+g and fg are continuous at x0.
- cf is continuous at x0 for any constant c.
- If g(x0)≠0, then fg (defined on ˜D={x∈D:g(x)≠0}) is continuous at x0.
- Proof
-
We prove (a) and leave the other parts as an exercise. We will use Theorem 3.3.3. Let {xk} be a sequence in D that converges to x0. Since f and g are continuous at x0, by Theorem 3.3.3 we obtain that {f(xk)} converges to f(x0) and {g(xk)} converges to g(x0). By Theorem 2.2.1 (a), we get that {f(xk)+g(xk)} converges to f(x0)+g(x0). Therefore,
limk→∞(f+g)(xk)=limk→∞f(xk)+g(xk)=f(x0)+g(x0)=(f+g)(x0).
Since {xk} was arbitrary, using Theorem 3.3.3 again we conclude f+g is continuous at x0. ◻
Let f:D→R and let g:E→R with f(D)⊂E. If f is continuous at x0 ang g is continuous at f(x0), then g∘f is continuous at x0.
- Proof
-
Add proof here and it will automatically be hidden
Exercise 3.3.1
Prove, using definition 3.3.1, that each of the following functions is continuous on the given domain:
- f(x)=ax+b,a,b∈R, on R.
- f(x)=x2−3 on R.
- f(x)=√x on [0,∞).
- f(x)=1x on R∖{0}.
Exercise 3.3.2
Determine the values of x at which each function is continuous. The domain of all the functions is R.
- f(x)={|sinxx|, if x≠0;1, if x=0.
- f(x)={sinx|x|, if x≠0;1, if x=0.
- f(x)={xsin1x, if x≠0;0, if x=0.
- f(x)={cosπx2, if |x|≤1;|x−1|, if |x|>1.
- f(x)=limn→∞sinπ2(1+x2n),x∈R.
Exercise 3.3.3
Let f:R→R be the function given by
f(x)={x2+a, if x>2;ax−1, if x≤2.
Find the value of a such that f is continuous
Exercise 3.3.4
Let f:D→R and let x0∈D. Prove that if f is continuous at x0, then |f| is continuous at this point. Is the converse true in general
Exercise 3.3.5
Prove Theorem 3.3.3. (Hint: treat separately the cases when x0 is a limit point D and when it is not.
Exercise 3.3.6
Prove parts (b) and (c) of Theorem 3.3.4
Exercise 3.3.7
Prove Theorem 3.3.5
Exercise 3.3.8
Explore the continuity of the function f in each case below.
- Let g,h:[0,1]→R be continuous functions and define
f(x)={g(x), if x∈Q∩[0,1];h(x), if x∈Qc∩[0,1].
Prove that if g(a)=h(a), for some a∈[0,1], then f is continuous at a.
- Let f:[0,1]→R be the function given by
f(x)={x, if x∈Q∩[0,1];1−x, if x∈Qc∩[0,1].
Find all the points on [0,1] at which the function is continuous
Exercise 3.3.9
Consider the Thomae function on (0,1] by
f(x)={1q, if x=pq,p,q∈N, where p and q have no common factors;0, if x is irrational.
- Prove that for every ε>0, the set
Aε={x∈(0,1]:f(x)≥ε}
is finite.
- Prove that f is continuous at every irrational point, and discontinuous at every rational point.
- Answer
-
Add texts here. Do not delete this text first.
Exercise 3.3.10
Consider k distinct points x1,x2,…,xk∈R, k≥1. Find a function defined on R that is continuous at each xi, i=1,…,k, and discontinuous at all other points.
- Answer
-
Add texts here. Do not delete this text first.
Exercise 3.3.11
Suppose that f,g are continuous functions on R and f(x)=g(x) for all x∈Q. Prove that f(x)=g(x) for all x∈R.
- Answer
-
Add texts here. Do not delete this text first.