Kittttttan*s Web

日本語 | English

Calculus

Derivatives

2.7 Continuous Functions

This will be a brief section. It was originally included with limits, but the combination was too long. We are still concerned with the limit of ƒ(x) as x → a, but a new number is involved. That number is ƒ(a), the value of ƒ at x = a. For a "limit," x approached a but never reached it—so ƒ(a) was ignored. For a "continuous function," this final number ƒ(a) must be right.

May I summarize the usual (good) situation as x approaches a?

  1. The number ƒ(a) exists (f is defined at a)
  2. The limit of ƒ(x) exists (it was called L)
  3. The limit L equals ƒ(a) (ƒ(a) is the right value)

In such a case, ƒ(x) is continuous at x = a. These requirements are often written in a single line: ƒ(x) → ƒ(a) as x → a. By way of contrast, start with four functions that are not continuous at x = 0.

Four types of discontinuity (others are possible) at x = 0.
[Fig. 2.20]

In Figure 2.20, the first function would be continuous if it had ƒ(0) = 0. But it has ƒ(0) = 1. After changing ƒ(0) to the right value, the problem is gone. The discontinuity is removable. Examples 2, 3, 4 are more important and more serious. There is no "correct" value for ƒ(0):

  1. ƒ(x) = step function (jump from 0 to 1 at x = 0)
  2. ƒ(x) = 1/x² (infinite limit as x → 0)
  3. ƒ(x) = sin (1/x) (infinite oscillation as x → 0).

The graphs show how the limit fails to exist. The step function has a jump discontinuity. It has one-sided limits, from the left and right. It does not have an ordinary (two-sided) limit. The limit from the left (x → 0-) is 0. The limit from the right (x → 0+) is 1. Another step function is x/lxl, which jumps from -1 to 1.

In the graph of 1/x², the only reasonable limit is L= +∞. I cannot go on record as saying that this limit exists. Officially, it doesn't—but we often write it anyway: 1/x² → ∞ as x → 0. This means that 1/x² goes (and stays) above every L as x → 0.

In the same unofficial way we write one-sided limits for ƒ(x)= 1/x:
From the left, limx→0- 1/x = -∞. From the right, limx→0+ 1/x = +∞.   (1)

Remark   1/x has a "pole" at x = 0. So has 1/x² (a double pole). The function 1/(x² − x) has poles at x = 0 and x = 1. In each case the denominator goes to zero and the function goes to +∞ or -∞. Similarly llsin x has a pole at every multiple of n (where sin x is zero). Except for 1/x² these poles are "simple"—the functions are completely smooth at x = 0 when we multiply them by x:
(x)(1/x) = 1   and   (x)(1 ⁄ (x² − x)) = 1 ⁄ (x − 1)   and   (x)(1/sin x)   are continuous at x = 0.

1/x² has a double pole, since it needs multiplication by x² (not just x). A ratio of polynomials P(x)/Q(x) has poles where Q = 0, provided any common factors like (x + 1)/(x+ 1) are removed first.

Jumps and poles are the most basic discontinuities, but others can occur. The fourth graph shows that sin(1/x) has no limit as x → 0. This function does not blow up; the sine never exceeds 1. At x = 1/3 and 1/4 and 1/1000 it equals sin 3 and sin 4 and sin 1000. Those numbers are positive and negative and (?). As x gets small and 1/x gets large, the sine oscillates faster and faster. Its graph won't stay in a small box of height ε, no matter how narrow the box.

CONTINUOUS FUNCTIONS

DEFINITION   ƒ is "continuous at x = a" if ƒ(a) is defined and ƒ(x) → ƒ(a) as x → a. If ƒ is continuous at every point where it is defined, it is a continuous function.

Objection   The definition makes ƒ(x) = 1/x a continuous function! It is not definedat x = 0, so its continuity can't fail. The logic requires us to accept this, but we don'thave to like it. Certainly there is no ƒ(0) that would make 1/x continuous at x = 0.

It is amazing but true that the definition of "continuous function" is still debated(Mathematics Teacher, May 1989). You see the reason—we speak about a discontinuity of 1/x, and at the same time call it a continuous function. The definition missesthe difference between 1/x and (sin x)/x. The function ƒ(x) = (sin x)/x can be madecontinuousat all x. Just set ƒ(0) = 1.

We call a function "continuable" if its definition can be extended to all x in a waythat makes it continuous. Thus (sin x)/x and √x are continuable. The functions 1/x and tan x are not continuable. This suggestion may not end the debate, but I hopeit is helpful.

EXAMPLE 1   sin x and cos x and all polynomials P(x) are continuous functions.

EXAMPLE 2   The absolute value |x| is continuous. Its slope jumps (not continuable).

EXAMPLE 3   Any rational function P(x)/Q(x) is continuous except where Q = 0.

EXAMPLE 4   The function that jumps between 1 at fractions and 0 at non-fractionsis discontinuous everywhere. There is a fraction between every pair of non-fractions and vice versa. (Somehow there are many more non-fractions.)

EXAMPLE 5   The function 0x2 is zero for every x, except that 00 is not defined. Sodefine it as zero and this function is continuous. But see the next paragraph where 00 has to be 1.

We could fill the book with proofs of continuity, but usually the situation is clear. "A function is continuous if you can draw its graph without lifting up your pen." At a jump, or an infinite limit, or an infinite oscillation, there is no way across thediscontinuity except to start again on the other side. The function xn is continuous for n > 0. It is not continuable for n < 0. The function x0 equals 1 for every x, exceptthat 00 is not defined. This time continuity requires 00 = 1.

The interesting examples are the close ones—we have seen two of them:

EXAMPLE 6   (sin x)/x and (1 − cos x)/x are both continuable at x = 0.

Those were crucial for the slope of sin x. The first approaches 1 and the secondapproaches 0. Strictly speaking we must give these functions the correct values (1 and 0) at the limiting point x = 0 —which of course we do.

It is important to know what happens when the denominators change to x².

EXAMPLE 7   (sin x)/x² blows up but (1 − cos x)/x² has the limit at x = 0.

Since (sin x)/x approaches 1, dividing by another x gives a function like 1/x. Thereis a simple pole. It is an example of 0/0, in which the zero from x² is reached morequickly than the zero from sin x. The "race to zero" produces almost all interestingproblems about limits.

For 1 − cos x and x² the race is almost even. Their ratio is 1 to 2:
(1 − cos x)/x² = (1 − cos² x) ⁄ (x²(1 + cos x)) = (sin² x ⁄ x²)·(1 ⁄ (1 + cos x)) → 1 ⁄ (1 + 1)   as   x → 0.

This answer will be found again (more easily) by "l'Hôpital's rule." Here I emphasize not the answer but the problem. A central question of differential calculus is to know how fast the limit is approached. The speed of approach is exactly the information in the derivative.

These three examples are all continuous at x = 0. The race is controlled by the slope—because ƒ(x) − ƒ(0) is nearly ƒ'(0) times x:

derivative of sin x is 1 ↔ sin x decreases like x
derivative of sin²x is 0 ↔ sin² x decreases faster than x
derivative of x1/3 is ∞ ↔ x1/3 decreases more slowly than x.

DIFFERENTIABLE FUNCTIONS

The absolute value |x| is continuous at x = 0 but has no derivative. The same is true for x1/3. Asking for a derivative is more than asking for continuity. The reason is fundamental, and carries us back to the key definitions:
Continuous at x: ƒ(x + Δx) − ƒ(x) → 0 as Δx → 0
Derivative at x: (ƒ(x + Δx) − ƒ(x)) ⁄ Δx → ƒ'(x) as Δx → 0.

In the first case, Δƒ goes to zero (maybe slowly). In the second case, Δƒ goes to zero as fast as Ax (because Δƒ/Δx has a limit). That requirement is stronger:

2l   At a point where ƒ(x) has a derivative, the function must be continuous. But ƒ(x) can be continuous with no derivative.

Proof   The limit of Δƒ = (Δx)(Δƒ/Δx) is (0)(dƒ/dx) = 0. So ƒ(x + Δx) − ƒ(x) → 0.

The continuous function x1/3 has no derivative at x = 0, because 1/3x-2/3 blows up. The absolute value |x| has no derivative because its slope jumps. The remarkable function ½cos 3x + 1/4 cos 9x + … is continuous at all points and has a derivative at no points. You can draw its graph without lifting your pen (but not easily—it turns at every point). To most people, it belongs with space-filling curves and unmeasurable areas—in a box of curiosities. Fractals used to go into the same box! They are beautiful shapes, with boundaries that have no tangents. The theory of fractals is very alive, for good mathematical reasons, and we touch on it in Section 3.7.

I hope you have a clear idea of these basic definitions of calculus:
1 Limit (n → ∞ or x → a)   2 Continuity (at x = a)   3 Derivative (at x = a).

Those go back to ε and δ, but it is seldom necessary to follow them so far. In the same way that economics describes many transactions, or history describes many events, a function comes from many values ƒ(x). A few points may be special, like market crashes or wars or discontinuities. At other points dƒ/x is the best guide to the function.

This chapter ends with two essential facts about a continuous function on a closed interval. The interval is a ≤ x ≤ b, written simply as [a, b].* At the endpoints a and b we require ƒ(x) to approach ƒ(a) and ƒ(b).

Extreme Value Property   A continuous function on the finite interval [a, b] has a maximum value M and a minimum value m. There are points xmax and xmin in [a, b] where it reaches those values:
ƒ(xmax)=M ≥ ƒ(x) ≥ ƒ(xmin) = m   for all x in [a, b].

Intermediate Value Property   If the number F is between ƒ(a) and ƒ(b), there is a point c between a and b where ƒ(c) = F. Thus if F is between the minimum m and the maximum M, there is a point c between xmin and xmax where ƒ(c) = F.

Examples show why we require closed intervals and continuous functions. For 0 < x ≤ 1 the function ƒ(x) = x never reaches its minimum (zero). If we close the interval by defining ƒ(0) = 3 (discontinuous) the minimum is still not reached. Because of the jump, the intermediate value F = 2 is also not reached. The idea of continuity was inescapable, after Cauchy defined the idea of a limit.