Analysis Midterm Sol
Analysis Midterm Sol
Analysis Midterm Sol
10/25/2022
TA: J.-Z. Phoong & S.-Y. Yeh
1. (20 points) Let N be the set of natural number. On the product set N × N, we define the
following relation ∼ : for any ai = (mi , ni ) ∈ N × N(i = 1, 2), we say that a1 ∼ a2 if the
following identity holds
m1 + n2 = m2 + n1 .
(a) (4 points) Show that ∼ is an equivalent relation defined on N × N.
(b) (4 points) Show that the binary operator × is well-defined.
(c) (2 points) Show that [a] × O = O for all [a] ∈ Z = N × N.
(d) (2 points) Show that [a] × I = [a] for all [a] ∈ Z = N × N.
(e) (3 points) For [a] = [(m, n)] ∈ Z. find the element [b] ∈ Z such that [a] + [b] = O.
(f) (3 points) Show that I > O > −I.
(g) (2 points) Show that (−I) × (−I) = I.
Solution:
(b) Let a1 , a′1 ∈ [a1 ] and a2 , a′2 ∈ [a2 ]. Write ai = [(mi , ni )] and a′i = [(m′i , n′i )] for all
i = 1, 2. First, consider a1 ∼ a′1 . We have
m1 + n′1 = m′1 + n1
m1 n2 + n′1 n2 = m′1 n2 + n1 n2
m1 m2 + n′1 m2 = m′1 m2 + n1 m2
We can get
Thus, [1 pt]
Page 1 of 11
Grading Scheme.
[a] × O = [(m, n)] × [(1, 1)] = [(m + n, m + n)] = [(1, 1)] = O , [1 pt]
(d) Do it by yourself.
(f) Check I > O and O > −I and I > −I. [1,1,1 pt]
(g) (−I) × (−I) = [(1, 2)] × [(1, 2)] = [(5, 4)] = [(2, 1)] = I, [1 pt]
where apply 5 + 1 = 4 + 2 to the third equality. [1 pt]
Page 2 of 11
1 n 1 n+1 x n
2. (30 points) Let an = 1 + n
and bn = 1 + n
and define exp(x) = limn→∞ 1 + n
, ln x =
Rx 1
1 t
dt. Show that
(a) (5 points) {an } is an increasing sequence and {bn } is a decreasing sequence.
(b) (5 points) an < bm for any m, n ∈ N.
n P
(c) (5 points) Show that limn→∞ 1 + nx = ∞ n=0
xn
n!
for x > 0 (Here, we adopt 0! = 1.)
(d) (5 points) Show that exp(x) exp(y) = exp(x + y).
(e) (5 points) Show that for a, b > 0, we have ln(ab) = ln a + ln b.
(f) (5 points) Show that ln exp(1) = 1.
Solution:
1
Since − (n+1)2 > −1, we have [2 pt]
1
n+1 n+1
1+
n+1 1 1 1 1
n = 1+ 1− > 1+ 1−
1 + n1 n (n + 1)2 n n+1
n+1 n+1
= × =1 [1 pt]
n n
By the similar work, we can prove bn is decreasing. [2 pt]
Grading Scheme. lose 1 point if one didn’t check the condition of (1+x)n < 1+nx.
1
(b) First, claim bi > ai for all i. Since 1 + i
>1
i+1 i
1 1
1+ > 1+ , [3 pt]
i i
Page 3 of 11
we can get the claim. Second, if m ≤ n, by the claim and (a)
bm > bn > an . [1 pt]
If m > n, by the claim and (a)
bm > am > an . [1 pt]
(c) Method I: First, we show that “≥”. Let n > 0, for any m ≥ n,
m n k
x m X m xk X m x
1+ = ≥
m k=0
k mk k=1
k mk
x2 xn
1 1 n−1
=1+x+ 1− + ··· + 1− ··· 1 − [2 pt]
2! m n! m m
x m x m
We know supm≥n1 1 + m ≥ supm≥n2 1 + m if n2 ≥ n1 . Take m → ∞,
n
x m x m X xk
lim sup 1 + = lim sup 1 + ≥ . [1 pt]
m→∞ m ℓ→∞ m≥ℓ m k=0
k!
Page 4 of 11
|x|k
Second, we have to claim that ∞
P
k=N +1 k! approach to zero as N → ∞. By ratio
|x|k |x|k
test, we can show ∞
P P∞
k=0 k! pointwise converge. Thus, k=N +1 k! → 0 as N → ∞.
Therefore, we can control remainder term sufficient small, i .e. N sufficient large.
Note that LHS independ on N . Then, the result follows.
Grading Scheme.
(e) Consider
Z ab Z ab Z a Z b Z a
dt dt dt du dt
ln(ab) = = + = + = ln(a) + ln(b)
1 t a t 1 t 1 u 1 t
Page 5 of 11
t
where apply u =to the third equality.
a
Rb
Complicated method: Focus on a dtt . Let partition
j/n
b
Pn = {a = ξ0 < ξ1 < · · · < ξn = b : ξj = a }
a
b
n−1
where ∥Pn ∥ = b − a a
n
. Then,
n−1 1/n !
X 1 b
(ξj+1 − ξj ) = n −1
ξ
j=0 j
a
Hence, !
Z x 1/n
dt b
= lim n −1
1 t n→∞ a
Finally, apply the equality in original method, the result follows.
R•
(f) Since 1 f (t)dt is continuous function,
Z (1+ 1 )n n−1 Z (1+ 1 )k+1
n dt X n dt
ln exp(1) = lim = lim
n→∞ 1 t n→∞ 1
k=0 (1+ n )
k t
1
Let’s focus on one term. Since t
is decreasing function,
Z (1+ 1 )k+1 " k+1 k # −k
n dt 1 1 1 1
≤ 1+ − 1+ 1+ ≤
(1+ n1 )
k t n n n n
and
Z (1+ 1 )k+1 " k+1 k # −(k+1)
n dt 1 1 1 1
≥ 1+ − 1+ 1+ ≤
(1+ n1 )
k t n n n n+1
Pn−1 1
Pn−1 1
Since limn→∞ k=0 n = limn→∞ k=0 n+1 = 1 by Sandwidch law,
ln exp(1) = 1 .
Page 6 of 11
3. (10 points) Calculate the following integrals:
R π sin t
(a) (5 points) 02 cos 5 t dt.
R4 q
(b) (5 points) 13 x12 1 − x1 dx.
Solution:
(b) Let u = x1 ,
4 r
√ 3/4
Z Z
3 1 1
1 − dx = − 1 − u du [3 pt]
1 x2 x 1
1
−2
3/2 1
= (1 − u) = [2 pt]
3 u=4/3 12
Page 7 of 11
4. (35 points) Prove or disprove each of the following statements. (To disprove, you have to
give a counter example.)
(a) (interior of A) ∪ ( interior of B) = interior of (A ∪ B) for any sets A, B ⊂ R2 .
P∞ 1
(b) n=2 n(ln n)2 converges.
P∞ 1
(c) n=2 (ln n)4 converges.
P∞ 1
(d) n=1 ln cos n converges.
(e) lim supn→∞ sin n = 1.
(f) Let f : X → Y be a function. f (A) ∩ f (B) = f (A ∩ B) for any A, B ⊂ X.
(g) Let f : X → Y be a function. f −1 (C) ∩ f −1 (D) = f −1 (C ∩ D) for any C, D ⊂ Y .
Solution:
Grading Scheme.
If your conclusion is correct and provided a reasonable justification, then you get
full marks.
If you are able to show one of the inclusion, you get 2 marks.
If your conclusion is correct and provided an explanation with minor mistake, then
2 marks will be deducted.
(a) Equality doesn’t hold. Proof: (⊇, by counterexample) Any two sets with over-
lapping boundaries will do the trick.
(⊆) Let x ∈ int(A) ∩ int(B) then this implies
(c) The series diverges. Observe that, for n large enough, we have n > (ln n)4 ,
P∞ 1
therefore n1 < (ln1n)4 for large n. By comparison test, since n=2 n diverges,
P∞ 1
n=2 (ln n)4 must be divergent as well.
Page 8 of 11
(d) The series converges. Observe that, the limit
ln cos n1 L′ H
1
− n2 tan n1
lim 1 = lim −2
n→∞ 2
n→∞ 3
n n
tan n1
= lim −2
n→∞
n
1
= <∞
2
Therefore, by limit comparison test, the series converges.
(e) TBA
(f) The equality doesn’t hold. (⊆, Counterexample) Consider any constant function,
f on R and A, B disjoint.
(⊇) Let y ∈ f (A ∩ B), let x ∈ A ∩ B such that f (x) = y. Now
x∈A∩B
=⇒ x ∈ A and x ∈ B
=⇒ y = f (x) ∈ f (A) and y = f (x) ∈ f (B)
=⇒ y ∈ f (A) ∩ f (B)
x ∈ f −1 (C) ∩ f −1 (D)
⇐⇒ x ∈ f −1 (C) and x ∈ f −1 (D)
⇐⇒ f (x) ∈ C and f (x) ∈ D
⇐⇒ f (x) ∈ C ∩ D
⇐⇒ x ∈ f −1 (C ∩ D)
Page 9 of 11
5. (10 points) Show that a monotone increasing sequence which has an upper bound is a
Cauchy sequence.
Solution:
Grading Scheme.
Minor mistake -2
Major mistake -5
Wrong proof -10
Let {an }∞
n=1 be a monotone increasing sequence which has an upper bound, say M .
Suppose this sequence is not Cauchy, that is, there exist ϵ > 0, for all N > 0, there
exist k > l ≥ N such that ak − al > ϵ.
Now, let N1 = 1, we have that k1 > l1 ≥ N1 = 1 such that ak1 − al1 > ϵ.
Next, let N2 ≥ k1 , we have that k2 > l2 ≥ N2 such that ak2 − al2 > ϵ.
Continuing in this way, we have for Nm ≥ km−1 , there exist km > lm ≥ Nm such that
akm − alm > ϵ for m > 1.
Observe that,
akm = (akm − alm ) + (alm − akm−1 ) + (akm−1 − alm−1 ) + ... + (ak1 − al1 ) + al1
> (akm − alm ) + (akm−1 − alm−1 ) + ... + (ak1 − al1 ) + al1
> mϵ + al1
Since m can be arbitrary large, we see that akm > M for m large enough, this contradicts
the fact that M is an upper bound of the sequence {an }∞ n=1 . Hence, every monotone
increasing sequence which bounded above is Cauchy.
Page 10 of 11
6. (15 points) Let f : X → Y be a function, where X, Y are metric spaces. Show that the
following two definitions are equivalent.
(a) f −1 (B) is an open set in X for any open set B in Y .
(b) limn→∞ f (xn ) = f (x) for all {xn }∞
n=1 ⊂ X that converges to x ∈ X.
Solution:
Grading Scheme.
Each direction worth 8 marks, if you are able to give a correct proof then you get
15 marks.
Minor mistake for each direction -2
Major mistake for each direction -5
Page 11 of 11