Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

3.3: Continuity

( \newcommand{\kernel}{\mathrm{null}\,}\)

Definition 3.3.1: Continuous

Let D be a nonempty subset of R and let f:DR be a function. The function f is said to be continuous at x0D if for any real number ε>0, there exists δ>0 such that if xD and |xx0|<δ, then

|f(x)f(x0)|<ε.

If f is continuous at every point xD, we say that f is continuous on D (or just continuous if no confusion occurs).

Annotation 2020-08-26 204153.png

Figure 3.1: Definition of Continuity.

Example 3.3.1

Let f:RR be given by f(x)=3x+7.

Solution

Let x0R and let ε>0. Choose δ=ε/3. Then if |xx0|<δ, we have

|f(x)f(x0)|=|3x+7(3x0+7)|=|3(xx0)|=3|xx0|<3δ=ε.

This shows that f is continuous at x0.

Remark 3.3.1

Note that the above definition of continuity does not mention limits. This allows to include in the definition, points x0D 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 xB(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.

Theorem 3.3.2

Let f:DR and let x0D be a limit point of D. Then f is continuous at x0 if and only if

limxx0f(x)=f(x0).

Proof

Add proof here and it will automatically be hidden

Example 3.3.2

Let f:RR be given by f(x)=3x22x+1.

Solution

Fix x0R. Since, from the results of the previous theorem, we have

limxx0f(x)=limxx0(3x22x+1)=3x202x0+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.

Theorem 3.3.3

Let f:DR and let x0D. 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.

Theorem 3.3.4

Let f,g:DR and let x0D. Suppose f and g are continuous at x0. Then

  1. f+g and fg are continuous at x0.
  2. cf is continuous at x0 for any constant c.
  3. If g(x0)0, then fg (defined on ˜D={xD: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)=limkf(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.

Theorem 3.3.5

Let f:DR and let g:ER with f(D)E. If f is continuous at x0 ang g is continuous at f(x0), then gf 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:

  1. f(x)=ax+b,a,bR, on R.
  2. f(x)=x23 on R.
  3. f(x)=x on [0,).
  4. 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.

  1. f(x)={|sinxx|, if x0;1, if x=0.
  2. f(x)={sinx|x|, if x0;1, if x=0.
  3. f(x)={xsin1x, if x0;0, if x=0.
  4. f(x)={cosπx2, if |x|1;|x1|, if |x|>1.
  5. f(x)=limnsinπ2(1+x2n),xR.

Exercise 3.3.3

Let f:RR be the function given by

f(x)={x2+a, if x>2;ax1, if x2.

Find the value of a such that f is continuous

Exercise 3.3.4

Let f:DR and let x0D. 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.

  1. Let g,h:[0,1]R be continuous functions and define

f(x)={g(x), if xQ[0,1];h(x), if xQc[0,1].

Prove that if g(a)=h(a), for some a[0,1], then f is continuous at a.

  1. Let f:[0,1]R be the function given by

f(x)={x, if xQ[0,1];1x, if xQc[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,qN, where p and q have no common factors;0, if x is irrational. 

  1. Prove that for every ε>0, the set

Aε={x(0,1]:f(x)ε}

is finite.

  1. 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,,xkR, k1. 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 xQ. Prove that f(x)=g(x) for all xR.

Answer

Add texts here. Do not delete this text first.


This page titled 3.3: Continuity is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by Lafferriere, Lafferriere, and Nguyen (PDXOpen: Open Educational Resources) .

  • Was this article helpful?

Support Center

How can we help?