homw5sol
homw5sol
homw5sol
Fall 2024
Solutions to problem set 5
Exercise 2.
(a) Let f, g : R → R be differentiable functions s.t. f (x) ≤ g(x),
f (x0 ) = g(x0 ). Show that f ′ (x0 ) = g ′ (x0 ).
(b) Suppose that f, g are as in (a), and h : R → R is a function
such that f ≤ h ≤ g. Show that h is differentiable at x0 , and
h′ (x0 ) = f ′ (x0 ) = g ′ (x0 ).
Define now f (x) = x2 sin(1/x2 ) for x ̸= 0, f (0) = 0.
(c) Show that f is differentiable on R (distinguish the cases x ̸= 0,
x = 0).
(d) Verify that f ′ is unbounded on any neighborhood of x = 0.
Can the fundamental theorem of calculus (in the form seen in class)
be applied to f on [−1, 1]?
provided that the limit exists (in that case we say that the integral
converges). (Note: lim g(b) = ℓ ⇔ ∀ϵ > 0 ∃N ∈ R : ∀b ≥
b→+∞
N, |g(b) − ℓ| < ϵ. The
R +∞characterization via sequences also holds).
(a) Prove that a f (t)dt converges if and only if the following
Cauchy criterion is satisfied: for all ϵ > 0 there exists M ≥ a such
Rx
that, for all x2 > x1 ≥ M , x12 f (t)dt < ϵ.
R +∞
(b) Show that 1 sin(t)t2
dt is convergent.
Rb
Solution. (a) Suppose first that limb→+∞ f (t)dt = ℓ exists. Let
a
Rb
ϵ > 0: there exists M ≥ a such that, for all b ≥ M , a f (t)dt − ℓ <
ϵ/2. Then for all b2 ≥ b1 ≥ M , we also have
Z b2 Z b2 Z b1
f (t)dt = f (t)dt − f (t)dt =
b1 a a
Z b2 Z b1
= f (t)dt − ℓ − f (t)dt − ℓ ≤
a a
Z b2 Z b1
ϵ ϵ
≤ f (t)dt − ℓ + f (t)dt − ℓ <
+ = ϵ.
a a 2 2
Vice versa, suppose that the Cauchy condition is satisfied. Let
Rx R x′′
F (x) = a f (t)dt, so that F (x′′ ) − F (x′ ) = x′ f (t)dt, and let {xn }
be any sequence diverging to infinity. Fixed ϵ > 0, let M ≥ a be as
provided by the Cauchy condition: then, there exists N ∈ N such
that xn > M for all n ≥ N , and therefore |F (xm ) − F (xn )| < ϵ
for all m, n ≥ N . This implies that the sequence F (xn ) is Cauchy,
and therefore converges to a finite limit. However, to apply the
characterization in terms of sequences, we still need to show that
this limit is the same for any choice of {xn }. Let then {x′n }, {x′′n } be
any two sequences diverging to infinity, and define {x′′′ ′′′ ′′
n } as x2n = xn ,
x′′′ ′ ′′′
2n+1 = xn . It is easy to show that {xn } diverges to infinity, and
thus by the argument above F (xn ) → ℓ ∈ R. But F (x′n ), F (x′′n ) are
′′′
−x + n
lim− fn (x) = lim− = 0 = fn (n) = lim+ 0 = lim + fn (x),
x→n x→n n2 x→n x→−n
x+n 1 −x + n
lim− fn (x) = lim− 2
= = fn (0) = lim+ = lim+ fn (x).
x→0 x→0 n n x→0 n2 x→0
It follows that fn is also continuous at x = −n, 0, n, and thus is
continuous everywhere on R.
(b) It is clear that supx∈(−∞,−n) |fn (x)| = 0 = supx∈(n,+∞) |fn (x)|.
On the other intervals we have supx∈[−n,0] |fn (x)| = fn (0) = n1
(note that fn is positive and increasing on the interval [−n, 0]),
supx∈[0,n] |fn (x)| = fn (0) = n1 (fn is positive and decreasing on the
interval [0, n]). It follows that
1
d(fn , 0) = sup |fn (x) − 0| = sup |fn (x)| = .
x∈R x∈R n
It immediately follows that d(fn , 0) → 0 as n → ∞, which means
that fn → 0 uniformly as n → ∞.
(c) We can compute the integral of fn directly. Since fn (x) = 0
for |x| > n,R we are reduced to an integral over a finite interval (in
particular R fn (t)dt converges):
Z n Z 0 Z n
−t + n
Z
t+n 1 1
fn (t)dt = f (t)dt = 2
dt + 2
dt = + = 1
R −n −n n 0 n 2 2
R
R all n ∈ N. It follows that R fn (t)dt does not converge to
for
R
0dt = 0 as n → ∞, despite the fact that fn → 0 uniformly
as n → ∞. (Note that the theorem about convergence of integrals
does not apply here, since the domain of integration is not compact).
(c) FixedPϵ > 0, show that there exists k ∈ N such that, for all
0 < x < 1, | ∞ n
n=k (ℓ − sn )x | < ϵ/(1 − x).
(d) Using (a,b,c), show that limx→1− f (x) = ℓ (Abel’s theorem).
(−1)n+1
(e) Prove that ∞
P
n=1 n
= log(2).
n
lim supn→∞ C = 1, meaning that the radius of convergence of
PN −1 n
n=0 sn x is at least 1) we can take the limit as N → ∞:
∞
X ∞
X
an tn−1 (x) = − sn xn + lim sN tN −1 (x) =
N →∞
n=0 n=0
∞ ∞ ∞ ∞
X
n1 X
n
X
n
X
=− sn x + ℓ · =− sn x + ℓ x = (ℓ − sn )xn .
n=0
1 − x n=0 n=0 n=0
(c) Let ϵ > 0. Then there exists k ∈ N such that |sn − ℓ| < ϵ for
all n ≥ k. Using this fact, we can estimate the tail of the series as
follows:
∞ ∞ ∞ ∞
X X X X ϵ
(ℓ − sn )xn ≤ |ℓ − sn |xn < ϵ xk ≤ ϵ xk = .
n=k n=k n=k n=0
1 − x
(d) Using (a) and (b), for 0 < x < 1 we can rewrite |f (x) − ℓ| as
∞
X ∞
X
|f (x) − ℓ| = |x − 1| an tn−1 (x) = (1 − x) (ℓ − sn )xn .
n=0 n=0
(−1)n+1
Furthermore, the alternating series ∞
P
n=1 n
is convergent. We
have thus the right to apply the result of part (d):
∞
X (−1)n+1
= lim− log(1 + x) = log(2)
n=1
n x→1