Limits and Continuity of Functions

We studied real sequences, which are real-valued functions defined on the subset ℕ of ℝ. In this chapter we shall consider real-valued functions whose domains are arbitrary subsets of ℝ that is we have D ⊆ ℝ, and the function f: D → ℝ.

Definition 4.1.1. (Accumulation point). Let D ⊆ ℝ and c ∈ ℝ. Then c is called an accumulation point of D (or limit point) if there is a sequence {xn} in D \{c} such that xnc.  □

A sequence {xn} of the inputs in the interval D \{c} generetas another sequence of the outputs {f(xn)}

f(x1), f(x2), f(x3), ..., f(xn), ...

The following is the definition of limit of a function due to Heinrich Eduard Heine.

Definition 4.1.2. (Limit of a function; Heine's Definition) Let D ⊆ ℝ and c ∈ ℝ be an accumulation point of D. Also, let f: D → ℝ be a function. Let {xn} be any sequence that converges to the point c. Now consider the sequence {f(xn)}. If {f(xn)} converges to a real number , for every sequence {xn} that converges to c, we say that the function f has a limit . This is written as

lim x c f ( x ) =

The great advantage of the previous definition is that the theory of limits of sequences carries over easily to limtis of functions. In particular the limit of is unique because is unique that for sequences.

One of the most important applications of the limit concept is that of continuity. At a point c, the function f can be befined or undefined. If it is defined and if we find that the limit at this point is equal to the defined value, that is, if

f ( c ) = lim x c f ( x )

thne we say that the function f is continuos at c. We say that f is continuous if an open interval (a,b) is it is continuous at each point of the interval.

Heine's definition of a limit function defined in a certan domain D ⊂ ℝn at a given point x0 ∈ ℝn that is the cluster point for D, has then the following form

lim x x 0 f ( x ) = A [ ( x n ) ( x n D x n x 0 , n = 1 , 2 , 3. . . ) lim n x n = x 0 lim n f ( x n ) = A ]

Definition 4.1.3 (Continuity of Functions). Let D ⊆ ℝ and consider the function f: D → ℝ and a point cD. We say that f is continuous at c if

for any sequence {xn} in D such that xnc  ⇒   f(xn) → f(c).

If f is not continuous at x0, we say that f is discontinuous at x0. In case f is continuous at every x0D, we say that f is continuous on D.  □

Thus, we consider a sequence {xn} from the domain of f, which tends to c but does not take the value c. The corresponding sequence {f(xn)} may or may not have a limit as n ⟶ ∞. If not, we say that f is discontinuous at c.

Example 4.1.4 The following limit

Does not exist. Indeed we can consider two sequences {xn} and {yn} converging to 0. Let xn = πn and yn = π/2 + 2. We have f(xn) = sin xn = 0 for each n, hence the limit of the sequence of functions is 0. However f(yn) = sin yn = 1 for each n and this time the limit is one. Hence, two sequences that both tend to zero are mapped by the function into sequences that converge to different limits. Then the limit does not exits.

Analogously, for

lim x 0 sin 1 x

Indeed we can consider two sequences {xn} and {yn} converging to 0. Let xn = 1/(2πn) and yn = 1/(π/2 + 2). We have f(xn) = 0 for each n, hence the limit of the sequence of functions is 0. However f(yn) = 1 for each n and this time the limit is one. Hence, two sequences that both tend to zero are mapped by the function into sequences that converge to different limits. Then the limit does not exits.

1/sinx
sin 1/x, performs an infinite number of oscillations, just as does the function sin x. In the case of sin x they are distributed over an infinite interval, while in the case of sin 1/x they are all contained in a finite interval, condensing to zero.

 ■

The definition of limit given requires to verify that for every sequence tending to x0. Cauchy gave a criterion for the continuity of a function at a point that does not involve convergence of sequences.

Proposition 4.1.5. (Cauchy's definition of limit) Let D ⊆ ℝ and let f: D → ℝ be a function. A number is the limit of a function f as x tends to x0 if and only if for any ε > 0 there is a δ > 0 (dependent on ε) such that

xD and |xx0| < δ  ⇒  |f(x) − | < ε  (4.1.6)

Proof. Let ε > 0 and assume there exists δ > 0 such that the implication 4.1.6 holds. Let xnx0 and xnx0, then there exists N ∈ ℕ such that 0 < |xx0| < δ, and consequently |f(xn) − | < ε, for n > N. This prove f(xn) ⟶ and hence limxx0 f(x) = .
Conversely assume f has limit but that it not true that for every ε > 0 there exists δ > 0, there is is xD satisfying 4.1.6. Then there is a sequence {xn} in D such that |xnx0| < 1/n, but |f(xn) − f(x0)| ≥ ε for all N ∈ ℕ. But then xnx0 and f(xn) ↛ f(x0). This contradicts the continuity of f at x0.  □

To have a limit, the function has to be defined on both sides of x0, but it doesn't matter what the function is at x = x0 itself; it need not even be defined there. For instance even though the function f(x) = sin x/x is not defined at x = 0, its limit as x ⟶ 0 exists and equals 1.

limit of a function

In the definition of the limit of a function f as x approaches x0 whether from right or from left, we have considered the values of f in the deleted neighbourhood x0. If we consider the behaviour of f for those values of x greater than x0, we say, that x approaches x0 from the right or from above. We can give the following definition for this concept.

Definition 4.1.6. (Right hand limit (RHL)) We say that a function f tends to as x tends to x0 from the right if for each ε > 0, there exists a δ > 0 such that

|f(x) − | < ε   when   x0 < x < x0 + δ

In symbol,

lim x x 0 + f ( x ) =

Definition 4.1.7. (Left hand limit (LHL)) We say that a function f tends to as x tends to x0 from the left if for each ε > 0, there exists a δ > 0 such that

|f(x) − | < ε   when   x0δ < x < x0

In symbol,

lim x x 0 f ( x ) =

Clearly the limit of f exists, then both the left hand and right hand limits exist and each is equal to .

Theorem 4.1.8. The limit of f exists if and only if both the limits, the left hand and the right hand, exist and are equal.

Proof. Let limxx0 f(x) = . Then for any ε > 0, there exists some δ > 0 such that

|f(x) − | < ε, when x0 − δ < x < x0 + δ,  xx0

it follows that

|f(x) − | < ε, when x0 − δ < x < x0  (4.1.9)
|f(x) − | < ε, when x0 < x < x0 + δ  (4.1.10)

From equation (4.1.9) and (4.1.10) we get that the RHS and LHL both exist and are equal to .

To prove the converse let RHS = LHL = . Then for any ε > 0, there exists some δ1 > 0 and δ2 > 0 such that

|f(x) − | < ε   when   x0 < x < x0 + δ1  (4.1.11)
|f(x) − | < ε   when   x0δ2 < x < x0  (4.1.12)

Let δ = min(δ1, δ2). Then

δ ≤ δ1 and δδ2  ⇒  x0 + δx0 + δ1 and x0 − δ ≥ x0δ2  (4.1.13)

From equations (4.1.11), (4.1.12) and (4.1.13), we get

|f(x) − | < ε   when   x0δ < x < x0 + δ, xx0

Hence,

lim x x 0 f ( x ) =  □

Example 4.1.14. The function sign of x

sign of x

defined as

sgn  x := { 1 if  x < 0 , 0 if  x = 0 , 1 if  x > 0.

admits no limt at x = 0 (i.e. is not continous at 0), since sgn has left hand limit equal to −1 at x = 0 and right hand limit equal to +1.  ■

Example 4.1.15. Evaluate

lim x 1 x 2 1 x 1

Let us evaluate the left hand and the right hand limits. When x ⟶ 1, put x = 1 − h, h >0.
As x ⟶ 1, h ⟶ 0+, so that

lim x 1 x 2 1 x 1 = lim h 0 + ( 1 h ) 2 1 h = lim h 0 + h ( 2 h ) h = lim h 0 + ( 2 h ) = 2

For the right hand limit, x ⟶ 1+, put x = 1 + h, h > 0.

lim x 1 + x 2 1 x 1 = lim h 0 + ( 1 + h ) 2 1 h = lim h 0 + ( 2 + h ) = 2

Since both, the left hand and right hand limits exist and are equal, the given limit of the given function exists and is equal to 2.  ■

Example 4.1.16. Evaluate

lim x 0 e 1 / x e 1 / x + 1

When x ⟶ 0+, 1/x ⟶ ∞ and e1/x ⟶ 0

lim x 0 + e 1 / x e 1 / x + 1 = lim x 0 + 1 1 + e 1 / x = 1

As x ⟶ 0, 1/x ⟶ − ∞ and e1/x ⟶ 0.

lim x 0 e 1 / x e 1 / x + 1 = 0 1 = 0

So that the left hand limit is not equal to the right hand limit, the original limit does not exist.  ■

Theorem 4.1.17 (The sign permanence theorem). If f is a continuous function at x = x0 and if f(x0) > 0, there there exists a neighborhood of x0 : (x0δ, x0 + δ) for δ > 0 such that f(x) > 0. If f(x0) < 0, there is a neighborhood of x0 in which f(x) is negative.

Proof. By definition of continuity of f at x0, for any ε > 0, there exists some δ > 0 such that

|f(x) − f(x0)| < δ   when  x0δ < x < x0 + δ

if f(x0) > 0, chose ε = f(x0)/2. Then

f(x0) − ε < f(x) < f(x0) + ε
0 < f(x0)/2 < f(x) < 3f(x0)+ ε

for |xx0| < δ. The other statement can be proved in a similar manner.  □

Infinite Limits

Definition 4.1.18. We say that f approaces infinity as x tends to x0 and write

lim x x 0 f ( x ) =

if for every positive real number M there exists a corresponding δ > 0 such that for all x

0 < |xx0| < δ  ⇒  f(x) > M. □

Definition 4.1.19. We say that f approaces minus infinity as x tends to x0 and write

if for every negative real number L there exists a corresponding δ > 0 such that for all x

0 < |xx0| < δ  ⇒  f(x) < L. □

«The e number Index Exercises on series»