math3301-exercises1-co
math3301-exercises1-co
Dr H. Gebran
1. Let X be a set and A ⊂ X. Let U ⊂ IR. Let 1A be the characteristic function of A. Show
that
X if 1 ∈ U and 0 ∈ U
A if 1 ∈ U and 0 ∈
/U
1−1
A (U ) = c
A if 1 ∈
/ U and 0 ∈ U
∅ if 1 ∈
/ U and 0 ∈
/ U.
Solution.
Case 3: 1 ∈
/ U and 0 ∈ U . This case is similar to case 2.
(a) 1A∩B = 1A 1B .
(b) 1Ac = 1 − 1A .
(c) 1A∪B = 1A + 1B − 1A 1B .
1
c) We also distinguish between two cases.
Case 1. x ∈
/ A ∪ B. Then x ∈
/ A and x ∈
/ B. Therefore both sides are equal to zero.
Case 2. x ∈ A ∪ B. Then either x ∈ A or x ∈ B. Here we must distinguish between three
subcases. If x ∈ A but x ∈ / B, then 1A (x) + 1B (x) − 1A (x)1B (x) = 1 + 0 − 0 = 1. If x ∈ B
but x ∈/ A, then 1A (x) + 1B (x) − 1A (x)1B (x) = 0 + 1 − 0 = 1. If x ∈ A and x ∈ B, then
1A (x) + 1B (x) − 1A (x)1B (x) = 1 + 1 − 1 = 1. Thus, in all cases, the two sides coincide.
b) Use a similar reasoning as in part a) (or use part a) and De Morgan’s law).
a) Suppose that (An ) is increasing. Show that lim inf An = lim sup An = ∪n An .
b) Suppose that (An ) is decreasing. Show that lim inf An = lim sup An = ∩n An .
5. Let (Ai )i∈I and (Bi )j∈J be two partitions of a set E. Show that the collection
(Ai ∩ Bj )(i,j)∈I×J
is also a partition of E.
Solution. Let Ci,j = Ai ∩ Bj . We have to prove that i) ∪i,j Ci,j = E and that ii)
Ci,j ∩ Ck,l = ∅ if (i, j) 6= (k, l).
S S S S S S S
For i), we can write i,j Ci,j = i j Ai ∩ Bj = i (Ai ∩ j Bj ) = i Ai ∩ E = i Ai = E.
Alternatively, we can say: let x ∈ E. Since (Ai ) is a partition of E, then x ∈ Ai for some
i ∈ I. Also, since (Bj ) is a partition of E, then x ∈ Bj for some j ∈ J. Thus x ∈ Ai ∩ Bj
for some couple (i, j) ∈ I × J.
For ii) If (i, j) 6= (k, l), then i 6= k or j 6= l. Now Ci,j ∩ Ck,l = Ai ∩ Bj ∩ Ak ∩ Bl . If i 6= k then
Ai ∩ Ak = ∅ and so Ci,j ∩ Ck,l = ∅. If j 6= l, then Bj ∩ Bl = ∅ and so again Ci,j ∩ Ck,l = ∅.
2
6. Let (An ) be an arbitrary sequence of sets.
Solution.
Remark. Note that we can also write Bn = An \(B1 ∪· · ·∪Bn−1 ) because B1 ∪· · ·∪Bn−1 =
A1 ∪ · · · ∪ An−1 .
7. Let (X, d) be a metric space. For a subset E of X, let δ(E) = sup{d(x, y) | x, y ∈ E} be the
diameter of E. Show that if A and B are two subsets of X with A ∩ B 6= ∅, then
So in all cases, d(x, y) ≤ δ(A) + δ(B) and therefore δ(A ∪ B) ≤ δ(A) + δ(B).
3
8. Let I be an interval of IR. Show that the length of I is equal to its diameter.
Case 2. I is bounded, so I is of the form ]a, b[, ]a, b], [a, b[, [a, b]. But all these intervals
have the same length and the same diameter. So it is enough to consider the case I =]a, b[
for example. Let first x, y ∈]a, b[, then a − b < x − y < b − a and so |x − y| < b − a so
taking the sup we get, δ(I) ≤ b − a = `(I). Next, let ε > 0 be given, and let x = a + 2ε and
y = b − 2ε . Then |x − y| = b − a − ε. Consequently, δ(I) ≥ |x − y| = b − a − ε = `(I) − ε.
Since ε is arbitrary, we conclude that δ(I) ≥ `(I). Hence the equality.
n
Pnof IR and let {Ii }i=1 be a finite family of open intervals that cover I.
9. Let I be an interval
Show that `(I) ≤ i=1 `(In ). Hint. Use induction and the connectedness of I.
Solution. The proposition is true for n = 1. Assume that it holds for some n. Let
I ⊂ I1 ∪ · · · ∪ In ∪ In+1 . We distinguish between two cases.
X X n+1
X
`(I) ≤ `(Ii ) + `(J) ≤ `(Ii ) + `(In+1 ) + `(Ik ) = `(Ii ).
i6=k,n+1 i6=k,n+1 i=1
Solution. Let us prove first that `(I) = sup{`(K)|K is a compact interval ⊂ I}. It is
clear that sup `(K) ≤ `(I) because `(K) ≤ `(I). Now we distinguish between two cases.
Case 1. I is bounded. So it is of the form ]a, b[, ]a, b], [a, b[, [a, b]. Let ε > 0 be given and
let Kε = [a + ε, b − ε]. Then `(Kε ) = `(I) − 2ε. Therefore
Since ε was arbitrary, we conclude that sup `(K) ≥ `(I). Hence the equality.
Case 2. I is unbounded. So it is of the form |a, ∞[, ] − ∞, a|, or IR. Suppose for example
that I =]a, ∞[ (the other cases being similar). For ε > 0 and n ∈ IN, set Kε,n = [a + ε, n].
Then
sup `(K) ≥ `(Kε,n ) = n − a − ε
4
for all n ∈ N . This means that sup `(K) = +∞ and so sup `(K) = `(I) = +∞.
X ∞
X
`(K) ≤ `(In ) ≤ `(In ),
n∈J n=1
and so
∞
X
`(I) = sup `(K) ≤ `(In ).
n=1
Show that the oscillation of f is also equal to sup{|f (x) − f (y)| | x, y ∈ [α, β]}.
Solution. Let M = supx∈[α,β] f (x) and m = inf x∈[α,β] f (x). Then for every x, y ∈ [α, β],
we have f (x) − f (y) ≤ M − m and f (y) − f (x) ≤ M − m. Therefore |f (x) − f (y)| ≤ M − m
and so
sup |f (x) − f (y)| ≤ M − m.
x,y∈[α,β]
Now let ε > 0. By the properties of the sup and inf there exit x1 , x2 ∈ [α, β] such that
M − ε < f (x1 ) and f (x2 ) < m + ε. Therefore
13. Let {xn } be a sequence in IR. Show that lim inf(−xn ) = − lim sup(xn ) and that lim sup(−xn ) =
− lim inf(xn ).
lim inf(−xn ) = sup inf (−xk ) = sup(− sup xk ) = − inf sup xk = − lim sup xn .
n≥1 k≥n n≥1 k≥n
5
14. Show that (whenever the sums are defined)
lim inf xn + lim inf yn ≤ lim inf(xn + yn ) and lim sup(xn + yn ) ≤ lim sup xn + lim sup yn .
Solution. Note first that inf k≥n xk ≤ xk for all k ≥ n. Therefore inf k≥n xk + inf k≥n yk ≤
xk + yk . Therefore inf k≥n xk + inf k≥n yk ≤ inf k≥n (xk + yk ). Now take the limit as n → ∞.
The other inequality is obtained in a similar way or deduced from the first one by using the
previous exercise. Now suppose that xn converges to `. By what we proved,
lim inf(xn +yn )−lim(xn ) = lim inf(xn +yn )+lim(−xn ) = lim inf(xn +yn )+lim inf(−xn ) ≤ lim inf(yn )
15. Let X be a compact metric space with no isolated points. Show that X is uncountable.
Conclude that IR is uncountable.
Hint. Show first that given any nonempty open set U of X and any point x ∈ X, there
exists a nonempty open set V ⊂ U such that x ∈
/ V̄ .