Advanced Calculus I: (Midterm Exam)
Advanced Calculus I: (Midterm Exam)
Advanced Calculus I: (Midterm Exam)
3. Show that Q is dense in R, that is, every open interval (a, b) contains
a rational number. (10 points)
(i) Show that there exist sequences {an } and {bn } such that
an ∈ A, bn ∈ B and lim |an − bn | = d(A, B).
n→∞
(5 points)
1
2
(ii) Show that if A, B are closed and B is bounded, then there exist
a ∈ A and b ∈ B such that |a − b| = d(A, B). (10 points)
Hint: Use the Bolzano-Weierstrass theorem.
8. Define f : R → R by
½
2x − 1 if x is rational
f (x) =
5 − x if x is irrational.
Show that limx→a f (x) exists if and only if a = 2. (10 points)
9. Prove one of the following two theorems, which are the most impor-
tant results in Chapter 2. (15 points)
(i) The Bolzano-Weierstrass theorem: every bounded infinite subset
of R has at least one limit point.
(ii) The Heine-Borel theorem: every bounded and closed subset of R
is compact.
Notations
N: the set of all natural numbers
Q: the set of all rational numbers
R: the set of all real numbers