Professional Documents
Culture Documents
WALTER RUDIN
Disclaimer: these solutions were typed at warp speed, often with little or
no preparation. And very little proofreading. Consequently, there are bound to be
loads of mistakes. Consider it part of the challenge of the course to find these errors.
(And when you do find some, please let me know so I can fix them!)
1
Principles of Mathematical Analysis — Walter Rudin
= sup{|fn gn (x) − f gn (x) + f gn (x) − f g(x)|}
x∈E
≤ sup{|fn (x) − f (x)||gn (x)| + |f (x)||gn (x) − g(x)|}
x∈E
≤ sup |fn (x) − f (x)||gn (x)| + sup |f (x)||gn (x) − g(x)|
x∈E x∈E
≤ sup |fn (x) − f (x)| · Mg + sup Mf · |gn (x) − g(x)|.
x∈E x∈E
We can introduce the uniform bounds Mf and Mg by problem 1 and the
additional hypothesis. Then it is clear that the last line goes to 0 as n → ∞.
3. Construct sequences {fn }, {gn } which converge uniformly on a set E, but such
that {fn gn } does not converge uniformly.
Work on I = (0, 1). Let fn (x) = x1 + nx and gn (x) = − 1−x 1
− 1−x
n
so that
gn is the horizontal reflection of fn , translated 1 to the right. (Graph them to
see it.)
1 x n→∞ 1
fn (x) = x
+ n
−−−−−→ x
= f (x) sup |fn − f | = sup nx = 1
n
→0
0≤x≤1 x∈I
1 1−x n→∞ 1
gn (x) = − 1−x − n
−−−−−→ − 1−x = g(x) sup |gn − g| = sup 1−x
n
= 1
n
→0
0≤x≤1 x∈I
1, 2, . . .
To be completed.
2
Solutions by Erin P. J. Pearse
n
<x .
Show that the series {fPn } converges to a continuous function, but not uni-
formly. Use the series fn to show that absolute convergence, even for all x,
does not imply uniform convergence.
For x ≤ 0, fn (x) = 0 for every n, so lim fn (x) = 0. For x > 0,
£ ¤
n > N := x1 =⇒ n1 < x =⇒ fn (x) = 0.
pw
Thus fn (x) −−−→ f (x) := 0 for x ∈ R.
To see that the convergence is not uniform, consider
¡ ¢¡ ¢¡ ¢
fn0 (x) = 2 sin πx cos πx − xπ2 .
fn0 (x) = 0 when
• sin πx = 0, in which case x = k1 for some k ∈ Z, or
• cos πx = 0, in which case x = 2k+1
2
for some k ∈ Z.
For each fn , only a few of these values occur where fn is not defined to be 0,
so checking these values of x,
¡ ¢
fn n1 = sin(nπ) = 0
¡ 1 ¢
fn n+1 = sin((n + 1)π) = 0
¡ 2 ¢ ¡ ¢
fn 2n+1 = sin 2n+1 2
π = 1.
So Mn = supxP {|fn (x) − f (x)|} = 1 for each n, and clearly Mn → 1 6= 0.
The series ∞ n=1 fn (x) converges absolutely for all x ∈ R: for any fixed x,
there is only one
P∞ nonzero term in the sum.
The series n=1 fn (x) does not converge uniformly: check partial sums.
¯ ¯
¯X N N
X +1 ¯
¯ ¯
sup ¯ fn (x) − fn (x)¯ = sup |fN +1 (x)| = 1,
x ¯ ¯ x
n=1 n=1
so the sequence of partial sums is not Cauchy (in the topology of uniform
convergence), hence cannot converge.
3
Principles of Mathematical Analysis — Walter Rudin
n¯X∞ ¯o
¯ 2 ¯
= ¯ (−1)n c n+n
2 ¯ (7.1)
n=N +1
where c := max{|a|, |b|}. We will use the alternating series test to show
P∞ n c2 +n
n=1 (−1) n2
converges. From this, it will follow that (7.1) goes to 0 as
N → ∞.
2
(i) For all x ∈ R, x n+n
2 > 0. So the sum alternates.
x2 +n 1
(ii) For fixed x, lim n2 = lim 2n = 0. (L’Hôp)
(iii) To check monotonicity, prove
x2 + n + 1 x2 + n
≤
(n + 1)2 n2
by cross-multiplying.
x
7. For n = 1, 2, 3, . . . , and x ∈ R, put fn (x) = 1+nx2 . Show that {fn } converges
uniformly to a function f , and that the equation f 0 (x) = limn→∞ fn0 (x) is
correct if x 6= 0 but false if x = 0.
8. If (
0 (x ≤ 0),
I(x) =
1 (x > 0),
P
if {xn } is a sequence of distinct points in (a, b), and if |cn | converges, then
prove that the series
X∞
f (x) = cn I(x − xn ) (a ≤ x ≤ b)
n=1
converges uniformly, and that f is continuous for every x 6= xn .
4
Solutions by Erin P. J. Pearse
unif
9. {fn } are continuous and fn −−−→ f on E. Show lim fn (xn ) = f (x) for every
sequence {xn } ⊆ E with xn → x.
Pick N1 such that
n ≥ N1 =⇒ sup |fn (x) − f (x)| < ε/2.
x∈E
Then surely |fn (xn ) − f (xn )| < ε/2 holds for each n ≥ N1 . By Thm. 7.12, f
is continuous, so pick N2 such that
n ≥ N2 =⇒ |f (xn ) − f (x)| < ε/2.
Then we are done because
|fn (xn ) − f (x)| ≤ |fn (xn ) − f (xn )| + |f (xn ) − f (x)|.
by Thm. 3.42.
5
Principles of Mathematical Analysis — Walter Rudin
With
|fni (r) − fni (s)| ≤ |fni (r) − f (r)| + |f (r) − f (s)| + |f (s) − fni (s)|,
some large N2 , i ≥ N2 gives |fni (r) − fni (s)| < ε. By (7.3), this shows
|fni (r) − fni (x)| < ε.
pw
16. {fn } is equicontinuous on a compact set K, fn −−−→ f on K. Prove {fn }
converges uniformly on K.
Define f by f (x) := lim fn (x). Fix ε. From equicontinuity, find δ such that
|fn (x) − f (x)| ≤ |fn (x) − fn (xj )| + |fn (xj ) − f (xj )| + |f (xj ) − f (x)|.
6
Solutions by Erin P. J. Pearse
Rx
18. Let {fn } be uniformly bounded and Fn (x) := a f (t) dt for x ∈ [a, b]. Prove
∃{Fnk } which converges uniformly on [a, b]
We need to show {Fn } is equicontinuous. Then by Thm. 6.20, each Fn is
continuous; and by Thm. 7.25(b), we’re done. So fix ε > 0, let x < y, and let
M be the uniform bound on the {fn }.
¯Z y ¯ Z y
¯ ¯
|Fn (x) − Fn (y)| = ¯¯ fn (t) dt¯¯ ≤ |fn (t)| dt ≤ M (y − x)
x x
Then pick any δ < ε/M and
|x − y| < δ =⇒ |Fn (x) − Fn (y)| ∀n,
so {Fn } is equicontinuous.
7
Principles of Mathematical Analysis — Walter Rudin
R1
20. f is continuous on [0, 1] and 0 f (x)xn dx = 0, n = 0, 1, 2, . . . . Prove that
f (x) ≡ 0.
Let g be any polynomial. Then g(x) = a0 + a1 x + a2 x2 + · · · + aK xK . By
linearity of the integral,
Z 1 K
X Z 1 K
X
k
f (x)g(x) dx = ak f (x)x dx = 0 = 0.
0 k=0 0 k=0
To see that A separates points and vanishes at no point, note that A con-
tains the identity function f (eiθ ) = eiθ .
To see that there are continuous functions on K that are not in the uniform
closure of A, note that
Z 2π
f (eiθ )eiθ dθ = 0 ∀f ∈ A, (7.4)
0
by Thm. 7.16. Thus, all functions in the closure of A satisfy (7.4). However,
if we choose an h which is not in A, like
h(eiθ ) = e−iθ ,
8
Solutions by Erin P. J. Pearse
22. Assume f ∈ R(α) on [a, b] and prove that there are polynomials Pn such that
Z b
lim |f − Pn |2 dα = 0.
n→∞ a
n→∞
We need to find {Pn } such that kf −Pn k2 −−−−−→ 0. Fix ε > 0. By Chap. 6,
Exercise 12, we can find g ∈ C[a, b] such that kf − gk2 < ε/2. Note that
Z b Z b
2
|g − P | ≤ sup |g − P |2 = sup |g − P |2 (b − a).
a a
Then by the Weierstrass theorem, we can find a polynomial P such that
kg − P k2 ≤ sup |g − P |(b − a) < ε/2.
By Chap. 6, Exercise 11, this gives kf − P k2 < ε.
23. Put P0 = 0 and define Pn+1 (x) := Pn (x) + (x2 − Pn2 (x)) /2 for n = 0, 1, 2, . . . .
Prove that limn→∞ Pn (x) = |x| uniformly on [−1, 1].
Note that if Pn is even, the definition will force Pn+1 to be even, also. Now
2
P1 = x2 , so assume 0 ≤ Pn−1 ≤ 1 for |x| ≤ 1. Then
2
µ ¶
x2 Pn−1 x2 Pn−1
Pn = Pn−1 + − = + Pn−1 1 − .
2 2 2 2
By elementary calculus,
0≤y≤1 =⇒ f (y) = y(1 − y2 ) takes values in [0, 21 ]. (7.5)
x2
Since |x| ≤ 1 also implies 2
∈ [0, 1], this gives 0 ≤ Pn ≤ 1. Then
|x| + Pn (x)
0≤ ≤1
2
|x| + Pn (x)
0≤1− ≤ 1. (7.6)
2
To see Pn (x) ≤ |x|, consider that for x ≥ 0, the inequality
x − P1 (x) = x − x2 /2 ≥ 0
holds in virtue of the positivity of f in (7.5). Then by the symmetry of even
functions, this is true for |x| ≤ 1. Now suppose Pn−1 ≤ |x|, i.e., |x|−Pn−1 (x) ≥
0. Then the given identity, and (7.6), give
¡ ¢
|x| − Pn = (|x| − Pn−1 ) 1 − 12 (|x| + Pn−1 ) ≥ 0.
We have established
0 ≤ Pn (x) ≤ Pn+1 (x) ≤ |x| for − 1 ≤ x ≤ 1. (7.7)
Now, for n = 1, it is clear that
³ ´1
|x|2 |x|
|x| − P1 (x) = |x| − 2
≤ |x| 1 − 2
.
9
Principles of Mathematical Analysis — Walter Rudin
³ ´n−1
|x|
So suppose |x| − Pn−1 (x) ≤ |x| 1 − 2
. Then, multiplying each side by
³ ´
1 − |x|
2
− Pn−12 (x) and using the identity, we get
³ ´ ³ ´n−1 ³ ´
|x| Pn−1 (x) |x| |x| Pn−1 (x)
(|x| − Pn−1 (x)) 1 − 2 − 2 ≤ |x| 1 − 2 1− 2 − 2
³ ´n−1 ³ ´
|x| |x|
|x| − Pn (x) ≤ |x| 1 − 2 1− 2
³ ´n
|x| − Pn (x) ≤ |x| 1 − |x|2
.
¡ ¢n ¡ ¢n−1 ³ ´
Now consider gn (x) = x 1 − x2 on [0, 1]. gn (x) = 1 − x2 1 − (n+1)x
2
2
shows that gn has extrema at 2 and n+1 ; only the latter is in [0, 1]. Then for
³ ´n
|x|
fn (x) = |x| 1 − 2 , fn has extrema
¡ 2 ¢ 2
¡ n ¢n 2
fn ± n+1 = n+1 n+1
< n+1 .
We have established
³ ´n
2 |x|2
|x| − Pn (x) ≤ |x| 1 − < n+1 .x
(7.8)
¯ ¯
¯ ¯ 2 n→∞ unif
Now sup ¯|x| − Pn (x)¯ < n+1 −−−−−→ 0 and Pn −−−→ |x|.
10
Solutions by Erin P. J. Pearse
11
Principles of Mathematical Analysis — Walter Rudin
1 1
we have f 0 (x) = x − 1 + 1+x and f 00 (x) = 1 = (1+x) 0
2 . This gives f (0) = 0
and f 00 (x) > 0 for all x > 0, so that f is always positive for x > 0 and
x2
0 ≤ x − log(1 + x) ≤ .
2
P 1
In particular, this is true for x = k1 . Since k2
converges, this shows
N
X ³ ´
lim ak = lim sN − log(N + 1)
N →∞ N →∞
k=1
exists. Finally,
µ ¶
1 N →∞
log(N + 1) − log N = log 1 + −−−−−→ log 1 = 0
N
shows that limN →∞ (sN − log N ) = 0.
(b) Roughly how large must m be such that N = 10m satisfies sN > 100?
From the above, and problem #13, we have
π2 π2
0 ≤ sN − log N ≤ =⇒ log N ≤ sN ≤ log N + .
6 6
m
Then m ≈ 43.43 will ensure log 10 > 100.
12. Suppose that f is periodic with f (x) = f (x + 2π), and for δ ∈ (0, π),
(
1, |x| ≤ δ,
f (x) =
0, δ < |x| < π.
X X sin nδ
=
n∈Z n∈Z
πn
∞
X 1 X sin nδ
2 cn = .
n=1
π n∈Z πn
12
Solutions by Erin P. J. Pearse
13. Put f (x) = x for 0 ≤ x < 2π, and apply Parseval’s Theorem to conclude
X∞
1 π2
2
= .
n=1
n 6
Apply it to the 2π-periodic function f (x) = x on (−π, π) instead. Integra-
tion by parts gives
Z π
1 (−1)n
cn = xeinx dx = ,
2π −π in
so with Parseval’s theorem,
X 1 X Z π
2 1 2 π2
2
= |c n | = |f (x)| dx = .
n∈Z
n n∈Z
2π −π 3
Since we have |cn | = |c−n |, we find the desired series by subtracting
Z π
1
c0 = x dx = 12 [x2 ]π−π = 0
2π −π
13
Principles of Mathematical Analysis — Walter Rudin
6. If f (0, 0) = 0 and
x1 x2
f (x1 , x2 ) = , for (x1 , x2 ) 6= 0,
x21
+ x22
prove that D1 f (x1 , x2 ) and D2 f (x1 , x2 ) exist for every point (x1 , x2 ) ∈ R2 ,
although f is not continuous at (0, 0).
14
Solutions by Erin P. J. Pearse
Since |vk | < r for 1 ≤ k ≤ n, and since B = B(x, r) is convex, the segments
with endpoints x + vj−1 and x + vj lie in B. Then vj = vj−1 + hj ej , where
hj ej = (0, . . . , 0, hj , 0, . . . , 0).
Then the Mean Value Theorem applies to the partials and shows that the j th
summand is
hj (Dj f )(x + vj−1 + tj hj ej )
for some tj ∈ (0, 1). By hypothesis, we have M such that
|(Dj f )(x)| ≤ M j = 1, . . . , n, ∀x ∈ E.
Applying this to the absolute value of the above difference,
n
X
|f (x + h) − f (x)| ≤ |hj | · M ≤ nM max{|hj |} ≤ nM khk.
j=1
15
Principles of Mathematical Analysis — Walter Rudin
16
Solutions by Erin P. J. Pearse
14. Define f (0, 0) = 0 and f (x, y) = x3 /(x2 + y 2 ) for (x, y) 6= (0, 0).
2 1
0
-1
-2
2
1
0
-1
-2
1 2
-1 0
-2
(b) Let u ∈ R2 , |u| = 1. Show (Du f )(0, 0) exists and |(Du f )(0, 0)| ≤ 1.
The directional derivative is
f [(0, 0) + tu] − f (0, 0) 1 t 3 x3
Du f (0, 0) = lim = lim · 2 2
t→0 t t→0 t t (x + y 2 )
x3
= 2 ,
x + y2
17
Principles of Mathematical Analysis — Walter Rudin
x(h)3 h2
= lim ·
h→0 h3 x(h)2 + y(h)2
µ ¶3 µ ¶
x(h) h2
= lim lim
h→0 h h→0 x(h)2 + y(h)2
3 1
= (x0 (0)) · 0 .
|γ (0)|2
The last two lines are easiest to see by working backwards.
Also show γ ∈ C 0 =⇒ g ∈ C 0 .
Note that g 0 (t) = f 0 (γ(t))γ 0 (t). Since the additional hypothesis is that
γ 0 (t) is continuous (which is equivalent to saying x(t), y(t) are continuous,
by Thm. 4.10), we just need that f 0 (γ(t)) is continuous. Since the chain
rule gives
x(t)2 (x(t)2 x0 (t) + 3y(t)2 x0 (t) − 2x(t)y(t)y 0 (t))
g 0 (t) = ,
(x(t)2 + y(t)2 )2
it is clear that g 0 (t) is continuous whenever x, y are not simultaneously 0.
For t = 0 (or other t0 s.t. x(t0 ) = y(t0 ) = 0), replace x(t) by x0 (0)t + o(t)
(using Taylor’s Thm.) and similarly replace y(t) by y 0 (0)t + o(t). Thus
(x0 (0)t+o(t))2 ((x0 (0)t+o(t))2 x0 (t)+3(y 0 (0)t+o(t))2 x0 (t)−2(x0 (0)t+o(t))(y 0 (0)t+o(t))y 0 (t))
g 0 (t) ≈ ((x0 (0)t+o(t))2 +(y 0 (0)t+o(t))2 )2
,
1By (a), the partials of f exist and are continuous in an open nbd of (0, 0). Hence, f is continuously
differentiable at (0, 0) by Thm. 9.21.
18
Solutions by Erin P. J. Pearse
t→0
so that g 0 (t) −−−−→ g 0 (0).
0.5
0.25
0
-1 -0.25
-0.5
-0.5 1
0
0
0.5
-1
1
0
lim f (γ∞ (t)) = lim = 0,
t→0 t→0 0 + t2
To see the other part, approach the origin along a parabolic curve: let γ(t) =
(x(t), y(t)) = (t, t2 ). Then
t2 t2 t4 1 1
lim f (γ(t)) = lim 4 2 2
= lim 4
= lim = 6= 0.
t→0 t→0 t + (t ) t→0 2t t→0 2 2
19
Principles of Mathematical Analysis — Walter Rudin
4x6 y 2
15. Define f (x, y) = x2 + y 2 − 2x2 y − (x4 +y 2 )2
.
0 -1 -2
1
2
20
10
0
-10
-2
-1
0
1
2
(b) For 0 ≤ θ < π, t ∈ R, let gθ (t) = f (t cos θ, t sin θ). Show that gθ (0) = 0,
gθ0 (0) = 0, gθ00 (0) = 2. Each gθ thus has a strict local minimum at t = 0,
i.e., on each line through (0, 0), f has a strict local minimum at (0, 0).
Since sin θ, cos θ are bounded, gθ (0) = f (0, 0) = 0 by (a). By some
nightmarishly tortuous (but elementary) calculation, get the other two
results.
(c) Show that (0, 0) is not a local minimum of f , since f (x, x2 ) = −x4 .
Substituting in y = x2 :
4x10
f (x, x2 ) = x2 + x4 − 2x4 −
(2x4 )2
= x2 − x4 − x2
= −x4 .
¡ ¢
16. Define f (t) = t + 2t2 sin 1t , f (0) = 0. Then f 0 (0) = 1, f 0 bounded in (−1, 1),
but f is not injective in any nbd of 0.
20
Solutions by Erin P. J. Pearse
0.2
0.1
-0.1
-0.2
¡1¢ ¡1¢
First note that f 0 (t) = 1 − 2 cos t
+ 4t sin t
for t 6= 0. Since sin t, cos t
are bounded by 1, we have
|f 0 (t)| ≤ 1 + 4 + 2 = 7, for t ∈ (−1, 1) \ {0}.
At t = 0, we have that
f (t) − f (0) t + 2t2 sin 1t
= = 1 + 2t sin 1t
t t
shows f (0) = 1 by the Sandwich theorem applied to t + 2t2 and t − 2t2 . So
0
21
Principles of Mathematical Analysis — Walter Rudin
(b) Show that the Jacobian of f is nonzero. Thus, every point of R2 has a
neighbourhood in which f is injective. However, f is not injective.
The Jacobian is the determinant of partials:
¯ x ¯
¯ e cos y −ex sin y ¯
¯ x ¯ 2x 2 2 2x
¯ e sin y ex cos x ¯ = e (cos x + sin x) = e 6= 0.
But f is not injective, since f (x, y) = f (x, y + 2nπ), for n ∈ Z.
(d) What are the images under f of lines parallel to the coordinate axes?
Lines parallel to the x-axis are mapped to straight lines through the
origin, parameterized exponentially. Lines parallel to the y-axis are cir-
cles about the origin of radius ex , parameterized with constant speed.
Diagonal lines γ(t) = (at + b, btc ) will get mapped to (et cos t, et sin t),
counterclockwise logarithmic spirals emanating from the origin.
22