399 Sample
399 Sample
Stephen Abbott
Middlebury College
What began as a desire to sketch out a simple answer key for the problems
in Understanding Analysis inevitably evolved into something a bit more ambi-
tious. As I was generating solutions for the nearly 200 odd-numbered exercises
in the text, I found myself adding regular commentary on common pitfalls and
strategies that frequently arise. My sense is that this manual should be a use-
ful supplement to instructors teaching a course or to individuals engaged in an
independent study. As with the textbook itself, I tried to write with the in-
troductory student firmly in mind. In my teaching of analysis, I have come to
understand the strong correlation between how students learn analysis and how
they write it. A final goal I have for these notes is to illustrate by example how
the form and grammar of a written argument are intimately connected to the
clarity of a proof and, ultimately, to its validity.
The decision to include only the odd-numbered exercises was a compromise
between those who view access to the solutions as integral to their educational
needs, and those who strongly prefer that no solutions be available because of the
potential for misuse. The total number of exercises was significantly increased
for the second edition, and almost every even-numbered problem (in the regular
sections of the text) is one that did not appear in the first edition. My hope is
that this arrangement will provide ample resources to meet the distinct needs
of these different audiences.
I would like to thank former students Carrick Detweiller, Katherine Ott,
Yared Gurmu, and Yuqiu Jiang for their considerable help with a preliminary
draft. I would also like to thank the readers of Understanding Analysis for the
many comments I have received about the text. Especially appreciated are the
constructive suggestions as well as the pointers to errors, and I welcome more
of the same.
v
vi Author’s note
Contents
Author’s note v
3 Basic Topology of R 35
3.1 Discussion: The Cantor Set . . . . . . . . . . . . . . . . . . . . . 35
3.2 Open and Closed Sets . . . . . . . . . . . . . . . . . . . . . . . . 35
3.3 Compact Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.4 Perfect Sets and Connected Sets . . . . . . . . . . . . . . . . . . 41
3.5 Baire’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
vii
viii Contents
5 The Derivative 59
5.1 Discussion: Are Derivatives Continuous? . . . . . . . . . . . . . . 59
5.2 Derivatives and the Intermediate Value Property . . . . . . . . . 59
5.3 The Mean Value Theorems . . . . . . . . . . . . . . . . . . . . . 63
5.4 A Continuous Nowhere-Differentiable Function . . . . . . . . . . 65
Let us also assume that p and q have no common factor. Now, equation (1)
implies
(2) p2 = 3q 2 .
From this, we can see that p2 is a multiple of 3 and hence p must also be
a multiple of 3. This allows us to write p = 3r, where r is an integer. After
substituting 3r for p in equation (2), we get (3r)2 = 3q 2 , which can be simplified
to 3r2 = q 2 . This implies q 2 is a multiple of 3 and hence q is also a multiple of
3. Thus we have shown p and q have a common factor, namely 3, when they
were originally assumed to have no common
√ factor.
A similar argument will work for 6 as well because we get p2 = 6q 2 which
implies p is a multiple of 2 and 3. After making √ the necessary substitutions, we
can conclude q is a multiple of 6, and therefore 6 must be irrational.
(b) In this case, the fact that p2 is a multiple of 4 does not imply p is also a
multiple of 4. Thus, our proof breaks down at this point.
Exercise 1.2.2.
Exercise 1.2.3. (a) False, as seen in Example 1.2.2.
(b) True. This will follow from upcoming results about compactness in
Chapter 3.
1
2 Chapter 1. The Real Numbers
(c) False. Consider sets A = {1, 2, 3}, B = {3, 6, 7} and C = {5}. Note that
A ∩ (B ∪ C) = {3} is not equal to (A ∩ B) ∪ C = {3, 5}.
(d) True.
(e) True.
Exercise 1.2.4.
Exercise 1.2.5. (a) If x ∈ (A ∩ B)c then x ∈ / (A ∩ B). But this implies x ∈/A
or x ∈/ B. From this we know x ∈ Ac or x ∈ B c . Thus, x ∈ Ac ∪ B c by the
definition of union.
(b) To show Ac ∪ B c ⊆ (A ∩ B)c , let x ∈ Ac ∪ B c and show x ∈ (A ∩ B)c .
So, if x ∈ Ac ∪ B c then x ∈ Ac or x ∈ B c . From this, we know that x ∈ / A or
x∈/ B, which implies x ∈ / (A ∩ B). This means x ∈ (A ∩ B)c , which is precisely
what we wanted to show.
(c) In order to prove (A ∪ B)c = Ac ∩ B c we have to show,
(2) Ac ∩ B c ⊆ (A ∪ B)c .
To demonstrate part (1) take x ∈ (A ∪ B)c and show that x ∈ (Ac ∩ B c ). So,
if x ∈ (A ∪ B)c then x ∈ / (A ∪ B). From this, we know that x ∈A / and x ∈ / B
which implies x ∈ Ac and x ∈ B c . This means x ∈ (Ac ∩ B c ).
Similarly, part (2) can be shown by taking x ∈ (Ac ∩ B c ) and showing that
x ∈ (A ∪ B)c . So, if x ∈ (Ac ∩ B c ) then x ∈ Ac and x ∈ B c . From this, we know
that x ∈/ A and x ∈ / B which implies x ∈ / (A ∪ B). This means x ∈ (A ∪ B)c .
Since we have shown inclusion both ways, we conclude that (A ∪ B)c = Ac ∩ B c .
Exercise 1.2.6.
Exercise 1.2.7. (a) f (A) = [0, 4] and f (B) = [1, 16]. In this case, f (A ∩ B) =
f (A) ∩ f (B) = [1, 4] and f (A ∪ B) = f (A) ∪ f (B) = [0, 16].
(b) Take A = [0, 2] and B = [−2, 0] and note that f (A ∩ B) = {0} but
f (A) ∩ f (B) = [0, 4].
(c) We have to show y ∈ g(A ∩ B) implies y ∈ g(A) ∩ g(B). If y ∈ g(A ∩ B)
then there exists an x ∈ A ∩ B with g(x) = y. But this means x ∈ A and x ∈ B
and hence g(x) ∈ g(A) and g(x) ∈ g(B). Therefore, g(x) = y ∈ g(A) ∩ g(B).
(d) Our claim is g(A ∪ B) = g(A) ∪ g(B). In order to prove it, we have to
show,
Exercise 1.2.12.
Exercise 1.2.13. (a) From Exercise 1.2.5 we know (A1 ∪ A2 )c = Ac1 ∩ Ac2 which
proves the base case. Now we want to show that
c
if we have (A1 ∪ A2 ∪ · · · ∪ An ) = Ac1 ∩ Ac2 ∩ · · · ∩ Acn , then it follows that
which is equal to
(A1 ∪ A2 ∪ · · · ∪ An )c ∩ Acn+1 .
Now from our induction hypothesis we know that
∞
( ∞
)c
∩ ∪
(2) Acn ⊆ An .
n=1 n=1
∪∞ c ∩∞
To demonstrate
∪∞ part (1), we let x ∈ ( n=1 An ) and show x ∈ n=1 Acn . So, if
c
x ∈ ( n=1 An ) then x ∈ / An for all n ∈ N. This implies
∩∞ x iscin the complement
of each An and by the definition of intersection x ∈ n=1 ∩∞An . c
∪∞ To demonstrate the reverse
∩∞ inclusion, we let x ∈ n=1 An and show x ∈
c
( n=1 An ) . So, if x ∈ n=1 Acn then x∪∈ Acn for all n ∈ N which means
∞
x∈ ∪n∞for all cn ∈ N. This implies x ∈
/ A / ( n=1 An ) and we can now conclude
x ∈ ( n=1 An ) .
Exercise 1.3.2.
Exercise 1.3.3. (a) Because A is bounded below, B is not empty. Also, for
all a ∈ A and b ∈ B, we have b ≤ a. The first thing this tells us is that B is
bounded above and thus α = sup B exists by the Axiom of Completeness. It
remains to show that α = inf A. The second thing we see is that every element
of A is an upper bound for B. By part (ii) of the definition of supremum, α ≤ a
for all a ∈ A and we conclude that α is a lower bound for A.
Is it the greatest lower bound? Sure it is. If l is an arbitrary lower bound
for A then l ∈ B, and part (i) of the definition of supremum implies l ≤ α. This
completes the proof.
(b) We do not need to assume that greatest lower bounds exist as part of
the Axiom of Completeness because we now have a proof that they exist. By
demonstrating that the infimum of a set A is always equal to the supremum
of a different set, we can use the existence of least upper bounds to assert the
existence of greatest lower bounds.
Another way to achieve the same goal is to consider the set −A = {−a : a ∈
A}. If A is bounded below it follows that −A is bounded above and it is not
too hard to prove inf A = sup(−A).
Exercise 1.3.4.
Exercise 1.3.5. (a) In the case c = 0, cA = {0} and without too much difficulty
we can argue that sup(cA) = 0 = c sup A. So let’s focus on the case where c > 0.
Observe that c sup A is an upper bound for cA. Now, we have to show if d is
any upper bound for cA, then c sup A ≤ d. We know ca ≤ d for all a ∈ A, and
thus a ≤ d/c for all a ∈ A. This means d/c is an upper bound for A, and by
Definition 1.3.2 sup A ≤ d/c. But this implies c sup A ≤ c(d/c) = d, which is
precisely what we wanted to show.
6 Chapter 1. The Real Numbers
(b) Assuming the set A is bounded below, we claim sup(cA) = c inf A for the
case c < 0. In order to prove our claim we first show c inf A is an upper bound
for cA. Since inf A ≤ a for all a ∈ A, we multiply both sides of the equation
to get c inf A ≥ ca for all a ∈ A. This shows that c inf A is an upper bound for
cA. Now, we have to show if d is any upper bound for cA, then c inf A ≤ d. We
know ca ≤ d for all a ∈ A, and thus d/c ≤ a for all a ∈ A. This means d/c
is a lower bound for A and from Exercise 1.3.1, d/c ≤ inf A. But this implies
c inf A ≤ c(d/c) ≤ d, which is precisely what we wanted to show.
Exercise 1.3.6.
Exercise 1.3.7. Since a is an upper bound for A, we just need to verify the
second part of the definition of supremum and show that if d is any upper bound
then a ≤ d. By the definition of upper bound a ≤ d because a is an element of
A. Hence, by Definition 1.3.2, a is the supremum of A.
Exercise 1.3.8.
Exercise 1.3.9. (a) Set ϵ = sup B − sup A > 0. By Lemma 1.3.8, there exists
an element b ∈ B satisfying sup B − ϵ < b, which implies sup A < b. Because
sup A is an upper bound for A, then b is as well.
(b) Take A = [0, 1] and B = (0, 1).
Exercise 1.3.10.
Exercise 1.3.11. (a) True. Observe that all elements of B are contained in
A and hence sup A ≥ b for all b ∈ B. By Definition 1.3.2 part (ii), sup B is
less than or equal to any other upper bounds of B. Because sup A is an upper
bound for B, it follows that sup B ≤ sup A.
(b) True. Let c = (sup A + inf B)/2 from which it follows that
a ≤ sup A < c < inf B ≤ b.
(c) False. Consider, the open sets A = (d, c) and B = (c, f ). Then a < c < b
for every a ∈ A and b ∈ B, but sup A = c = inf B.
1 α2 − 2 2α
< or < α2 − 2.
n0 2α n0
With this choice of n0 , we have
This means (α − 1/n0 ) is an upper bound for T . But (α − 1/n0 ) < α and
α = sup T is supposed to be the least upper bound. This contradiction means
that the case α2 > 2 can be ruled out. Because√we have already ruled out
α2 < 2, we are left with α2 = 2 which implies α = 2 exists in R.
Exercise 1.4.8.
1.5 Cardinality
Exercise 1.5.1. Next let n2 = min{n ∈ N : f (n) ∈ A\{f (n1 )}} and set
g(2) = f (n2 ). In general, assume we have defined g(k) for k < m, and let
g(m) = f (nm ) where nm = min{n ∈ N : f (n) ∈ A\{f (n1 ) . . . f (nk−1 )}}.
8 Chapter 1. The Real Numbers
N: 1 2 3 4 5 6 ···
↕ ↕ ↕ ↕ ↕ ↕
A1 ∪ B2 : a1 b1 a2 b2 a3 b3 ···
To prove the more general statement in Theorem 1.5.8, we may use induction.
We have just seen that the result holds for two countable sets. Now let’s assume
that the union of m countable sets is countable, and show that the union of m+1
countable sets is countable.
Given m + 1 countable sets A1 , A2 , . . . , Am+1 , we can write
(c) Let’s first consider the case where the sets {A∪
n } are disjoint. In order to
∞
achieve 1-1 correspondence between the set N and n=1 An , we first label the
elements in each countable set An as
Exercise 1.5.4.
Exercise 1.5.5. (a) The identity function f (a) = a for all a ∈ A shows that
A ∼ A.
(b) Since A ∼ B we know there is 1-1, onto function from A onto B. This
means we can define another function g : B → A that is also 1-1 and onto. More
specifically, if f : A → B is 1-1 and onto then f −1 : B → A exists and is also
1-1 and onto.
(c) We will show there exists a 1-1, onto function h : A → C. Because
A ∼ B, there exists g : A → B that is 1–1 and onto. Likewise, B ∼ C implies
that there exists f : B → C that is also 1-1 and onto. So let’s define h : A → C
by the composition h = f ◦ g.
In order to show f ◦ g is 1-1, take a1 , a2 ∈ A where a1 ̸= a2 and show
f (g(a1 )) ̸= f (g(a2 )). Well, a1 ̸= a2 implies that g(a1 ) ̸= g(a2 ) because g is 1–1.
And g(a1 ) ̸= g(a2 ) implies that f (g(a1 )) ̸= (f (g(a − 2)) because f is 1–1. This
shows f ◦ g is 1–1.
In order to show f ◦ g is onto, we take c ∈ C and show that there exists an
a ∈ A with f (g(a)) = c. If c ∈ C then there exists b ∈ B such that f (b) = c
because f is onto. But for this same b ∈ B we have an a ∈ A such that g(a) = b
since g is onto. This implies f (b) = f (g(a)) = c and therefore f ◦ g is onto.
Exercise 1.5.6.
10 Chapter 1. The Real Numbers
Exercise 1.5.7. (a). The function f (x) = (x, 13 ) is 1–1 from (0, 1) to S.
(b) Given (x, y) ∈ S, let’s write x and y in their decimal expansions
where we make the convention that we always use the terminating form (or
repeated 0s) over the repeating 9s form when the situation arises.
Now define f : S → (0, 1) by
f (x, y) = .x1 y1 x2 y2 x3 y3 . . .
In order to show f is 1–1, assume we have two distinct points (x, y) ̸= (w, z)
from S. Then it must be that either x ̸= w or y ̸= z, and this implies that in
at least one decimal place we have xi ̸= wi or yi ̸= zi . But this is enough to
conclude f (x, y) ̸= f (w, z).
The function f is not onto. For instance the point t = .555959595 . . . is
not in the range of f because the ordered pair (x, y) with x = .555 . . . and
y = .5999 . . . would not be allowed due to our convention of using terminating
decimals instead of repeated 9s.
Exercise 1.5.8.
√ √
Exercise 1.5.9. (a) 2 is a√root √ of the polynomial x2 − 2, 3 2 is a root of
the polynomials x3 − 2, and 3 + 2 is a root of x4 − 10x2 + 1. Since all of
these numbers are roots of polynomials with integer coefficients, they are all
algebraic.
(b) Fix n, m ∈ N. The set of polynomials of the form
an xn + an−1 xn−1 + · · · + a1 x + a0
satisfying |an | + |an−1 | + · · · + |a0 | ≤ m is finite because there are only a finite
number of choices for each of the coefficients (given that they must be integers.)
If we let Anm be the set of all the roots of polynomials of this form, then because
each one of these polynomials has at most n roots, the set Anm is finite. Thus
An , the set of algebraic numbers obtained as roots of any polynomial (with
integer coefficients) of degree n, can be written as a countable union of finite
sets
∪∞
An = Anm .
m=1
Exercise 1.5.10.
Exercise 1.6.2.
Exercise 1.6.3. (a) If we imitate the proof to try and show that Q is uncount-
able, we can construct a real number x in the same way. This x will again
fail to be in the range of our function f , but there is no reason to expect x to
be rational. The decimal expansions for rational numbers either terminate or
repeat, and this will not be true of the constructed x.
(b) By using the digits 2 and 3 in our definition of bn we eliminate the
possibility that the point x = .b1 b2 b3 . . . has some other possible decimal repre-
sentation (and thus it cannot exist somewhere in the range of f in a different
form.)
Exercise 1.6.4.
Exercise 1.6.5. (a) P (A) = {∅, {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c}}.
12 Chapter 1. The Real Numbers
Exercise 1.6.6.
Exercise 1.6.7. This solution depends on the mappings chosen in the previous
exercise. The key point is that no matter how this is done, the resulting set B
should not be in the range of the particular 1–1 mapping used to create it.
Exercise 1.6.8.
produce a 1–1 function that goes the other direction. An example of such a
function would be the one that takes (xn ) ∈ S and maps it to the real number
with decimal expansion .x1 x2 x3 x4 . . .. Because the only decimal expansions
that aren’t unique involve 9s, we can be confident that this mapping is 1–1.
The Schröder–Bernstein Theorem now implies S ∼ (0, 1), and it follows that
P (N) ∼ R.
Exercise 1.6.10.
14 Chapter 1. The Real Numbers
Chapter 2
Exercise 2.2.2.
Exercise 2.2.3. a) There exists at least one college in the United States where
all students are less than seven feet tall.
b) There exists a college in the United States where all professors gave at
least one student a grade of C or less.
c) At every college in the United States, there is a student less than six feet
tall.
Exercise 2.2.4.
Exercise 2.2.5. a) The limit of (an ) is zero. To show this let ϵ > 0 be arbitrary.
We must show that there exists an N ∈ N such that n ≥ N implies |[[5/n]]−0| <
15
16 Chapter 2. Sequences and Series