|
(i) if x and y are in [a,b] and | x-y| < d1, then | f(x)-f(y)| < e,
(ii) if x and y are in [b,c] and |x-y| < d2, then |f(x)-f(y)| < e.
Then there is a d > 0 such that
|
|
(iii) if |x-b| < d3 and |y-b| < d3 then |f(x)-f(y)| < e.
Choose d to be the minimum of d1,d2 and d3. We claim that this d works. In fact, suppose that x and y are any two points in [a,c] with |x-y| < d. If x and y are both in [a,b], then |f(x)-f(y)| < e by (i); and if x and y are both in [b,c], then |f(x)-f(y)| < e by (ii). The only other possibility is that
In either case, since | x-y| < d , we also have |x-b| < d and |y-b| < d. So |f(x)-f(y)| < e by (iii).
THEOREM If f is continuous on [a,b], then f is uniformly continuous on [a,b].
PROOF: For e > 0 let's say that f is e-good on [a,b] if there is some d > 0 such that, for all y and z in [a,b],if |y-z| < d, then |f(x)-f(y)| < e. Then we're trying to prove that f is e-good on [a,b] for all e > 0.
Consider any particular e > 0. Let
|
Suppose that we had a < b. Since f is continuous at a, there is some d0 > 0 such that, if |y-a| < d0, then |f(y)-f(a)| < e/2. Consequently, if |y-a| < d0 and |z-a| < d0, then |f(y)-f(z)| < e. So f is surely e-good on the interval [a-d0,a+d0]. On the other hand, since a is the least upper bound of A, it is also clear that f is e-good on [a,a-d0]. Then the above Lemma implies that f is e-good on [a,a+d0], so a+d0 is in A, contradicting the fact that a is an upper bound.
To complete the proof we just have to show that a = b is actually in A . The argument for this is practically the same: Since f is continuous at b, there is some d0 > 0 such that, if |y-b| < d0, then |f(y)-f(b)| < e/2. So f is e-good on [b-d0,b]. But f is also e-good on [a,b-d0], so the Lemma implies that f is e-good on [a,b].