
Exercises 1.17. Key concepts/results: Suprema/Completeness, Sequential & ϵ-δ continuity
1. Give examples to show that g ◦ f being continuous can happen with:
(a) f continuous and g discontinuous. (b) g continuous and f discontinuous.
(c) Both f , g discontinuous.
You may use pictures, but make sure they clearly describe the functions f , g.
2. (a) Prove that the function f (x) = x
3
is continuous at x = −2 using an ϵ–δ argument.
(b) Prove that f (x) = x
3
is continuous at x = u using an ϵ–δ argument.
3. Prove that the following are discontinuous at x = 0: use both definitions of continuity.
(a) f (x) = 1 for x < 0 and f (x) = 0 for x ≥ 0.
(b) g(x) = sin(1/x) for x = 0 and g(0) = 0.
4. If f is continuous at u, prove that it is bounded on some set (u −δ, u + δ) ∩dom( f ).
5. Prove the following parts of Theorem 1.9 using ϵ–δ arguments.
(a) If f , g are continuous at u, then f − g is continuous at u.
(b) If f , g are continuous at u, then f g is continuous at u.
(c) If f is continuous at u and h at f (u), then h ◦ f is continuous at u.
6. Suppose f : U → R is a function whose domain U contains an isolated point a: i.e. ∃r > 0 such
that (a −r, a + r) ∩U = {a}. Prove that f is continuous at a.
7. Refresh your prerequisites by giving formal proofs:
(a) (Suprema and sequences) If M = sup U, then ∃(x
n
) ⊆ U such that x
n
→ M.
(This has to work even if M = ∞!)
(b) (Limit of a bounded sequence) If (x
n
) ⊆ [a, b] and x
n
→ x, then x ∈ [a, b].
(c) (Bolzano–Weierstraß) Every bounded sequence in R has a convergent subsequence.
(Hint: If (x
n
) ⊆ [a, b], explain why there exist intervals I
1
⊇ I
2
⊇ I
3
⊇ ··· such that infinitely
many (x
n
) lie in each interval I
k
. Hence obtain a subsequence (x
n
k
) and prove that it is Cauchy.
1
)
8. (Very Hard) Consider the function f : R → R where
f (x) =
(
1
q
whenever x =
p
q
∈ Q with q > 0 and gcd(p, q) = 1
0 if x ∈ Q
For example, f (1) = f (2) = f (−7) = 1, and f (
1
2
) = f (−
1
2
) = f (
3
2
) = ··· =
1
2
, etc. Prove that f
is continuous at each point of R \Q and discontinuous at each point of Q.
(Hint: for continuity, consider A = {r ∈ Q : f (r) ≥
1
q
} where q ≥
1
ϵ
. . . )
1
This is a good moment to review Cauchy completeness: that a sequence is convergent if and only if it is Cauchy:
∀ϵ > 0, ∃N such that m, n > N =⇒
|
x
m
− x
n
|
< ϵ
5