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 xn ⟶ c. □
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
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
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
Definition 4.1.3 (Continuity of Functions). Let D ⊆ ℝ and consider the function f: D → ℝ and a point c ∈ D. We say that f is continuous at c if
for any sequence {xn} in D such that xn → c ⇒ 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 x0 ∈ D, 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 + 2nπ. 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
Indeed we can consider two sequences {xn} and {yn} converging to 0. Let xn = 1/(2πn) and yn = 1/(π/2 + 2nπ). 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.
■
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
x ∈ D and |x − x0| < δ ⇒ |f(x) − ℓ| < ε (4.1.6)
Proof. Let ε > 0 and assume there exists δ > 0 such that the implication 4.1.6 holds. Let xn ⟶ x0 and xn ≠ x0, then there exists N ∈ ℕ such that 0 < |x − x0| < δ, and consequently |f(xn) − ℓ| < ε, for n > N. This prove f(xn) ⟶ ℓ and hence limx ⟶ x0 f(x) = ℓ.
Conversely assume f has limit ℓ but that it not true that for every ε > 0 there exists δ > 0, there is is x ∈ D satisfying 4.1.6. Then there is a sequence {xn} in D such that |xn − x0| < 1/n, but |f(xn) − f(x0)| ≥ ε for all N ∈ ℕ. But then xn ⟶ x0 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.
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,
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,
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 limx ⟶ x0 f(x) = ℓ. Then for any ε > 0, there exists some δ > 0 such that
|f(x) − ℓ | < ε, when x0 − δ < x < x0 + δ, x ≠ x0
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 + δ, x ≠ x0
Hence,
Example 4.1.14. The function sign of x
defined as
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
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
For the right hand limit, x ⟶ 1+, put x = 1 + h, h > 0.
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
When x ⟶ 0+, 1/x ⟶ ∞ and e1/x ⟶ 0
As x ⟶ 0−, 1/x ⟶ − ∞ and e1/x ⟶ 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 |x − x0| < δ. 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
if for every positive real number M there exists a corresponding δ > 0 such that for all x
0 < |x − x0| < δ ⇒ 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 < |x − x0| < δ ⇒ f(x) < L. □