Exercise 18.6

Find a function f : that is continuous at precisely one point.

Answers

For any real x define

f(x) = { 0x x x .

We claim that this is continuous only at x = 0.

Proof. As it is easier to do so, we show this using the 𝜖-δ definition of continuity, which we know implies the open set definition by Exercise 18.1. First we note that f(0) = 0 since 0 is rational. Now consider any 𝜖 > 0 and let δ = 𝜖. Suppose real y where |y 0| = |y| < δ. If y is rational then y = 0 so that |f(y) f(0)| = |0 0| = |0| = 0 < 𝜖. If y is irrational then |f(y) f(0)| = |y 0| = |y| < δ = 𝜖 again. Since 𝜖 was arbitrary this shows that f is continuous at x = 0.

Now consider any x0. Let 𝜖 = |x|2, noting that 𝜖 > 0 since x0 so that |x| > 0. Now consider any δ > 0.

Case: x . Then f(x) = 0 but there is clearly an irrational y close enough to x so that |y x| < min (𝜖,δ), and hence both |y x| < 𝜖 and |y x| < δ. We also have that f(y) = y. We then have that

2𝜖 = |x| = |x 0| |x y| + |y 0| < 𝜖 + |y|

so that

𝜖 < |y| = |f(y)| = |f(y) 0| = |f(y) f(x)|.

Case: x. Then f(x) = x, and there is clearly a rational y close enough to x that |y x| < δ. We then also have f(y) = 0 so that

|f(y) f(x)| = |0 x| = |x| = 2𝜖 > 𝜖

since 𝜖 > 0.

Hence in either case there is a y such that |y x| < δ but |f(y) f(x)| 𝜖. This suffices to show that f is not continuous at x. □

User profile picture
2019-12-01 00:00
Comments