M125a Sample Final Solutions
M125a Sample Final Solutions
M125a Sample Final Solutions
• It follows that
|f (x) − f (y)| ≤ 2|x − y| for all x, y ∈ R.
Therefore f is Lipschitz continuous on R, which implies that it is uni-
formly continuous (take δ = ǫ/2).
1
2. Does there exist a differentiable function f : R → R such that f ′ (0) = 0
but f ′ (x) ≥ 1 for all x 6= 0?
Solution.
• We have
′ f (x) − f (0)
f (0) = lim .
x→0 x
The mean value theorem implies that for for every x 6= 0, there is some
ξ strictly between 0 and x (so ξ 6= 0) such that
f (x) − f (0)
= f ′ (ξ) ≥ 1.
x
2
3. (a) Write
√ out the Taylor polynomial P2 (x) of order two at x = 0 for the
function 1 + x. and give an expression for the remainder R2 (x) in Taylor’s
formula √
1 + x = P2 (x) + R2 (x) − 1 < x < ∞.
(b) Show that the limit
√
1 + x/2 − 1+x
lim
x→0 x2
exists and find its value.
Solution.
• (a) The function and its derivatives are given by
√
f (x) = 1 + x, f (0) = 1,
1 1
f ′ (x) = (1 + x)−1/2 , f ′ (0) = ,
2 2
′′ 1 −3/2 ′′ 1
f (x) = − (1 + x) , f (0) = − ,
4 4
′′′ 3 −5/2
f (x) = (1 + x) .
8
• The Taylor polynomial and remainder are
2
X 1 (k) 1 ′′′
P2 (x) = f (0)xk , R2 (x) = f (ξ)x3 ,
k=0
k! 3!
3
4. (a) Suppose fn : A → R is uniformly continuous on A for every n ∈ N
and fn → f uniformly on A. Prove that f is uniformly continuous on A.
(b) Does the result in (a) remain true if fn → f pointwise instead of uni-
formly?
Solution.
|f (x) − f (y)| ≤ |f (x) − fn (x)| + |fn (x) − fn (y)| + |fn (y) − f (x)| < ǫ,
• (b) The result does not remain true if fn → f pointwise. For example,
consider fn : [0, 1] → R defined by fn (x) = xn . Then fn is uniformly
continuous on [0, 1] because it is a continuous function on a compact
interval, but fn → f pointwise where
(
0 if 0 ≤ x < 1,
f (x) =
1 if x = 1.
4
5. Define fn : [0, ∞) → R by
sin(nx)
fn (x) = .
1 + nx
(a) Show that fn converges pointwise on [0, ∞) and find the pointwise limit
f.
(b) Show that fn → f uniformly on [a, ∞) for every a > 0.
(c) Show that fn does not converge uniformly to f on [0, ∞).
Solution.
• (b) We have
1 1
|fn (x)| ≤ < for all a ≤ x < ∞,
1 + na na
so given ǫ > 0 take N = 1/a and then |fn (x)| < ǫ for all n > N,
meaning that fn → 0 uniformly on [a, ∞).
• (c) If (fn ) converges uniformly on [0, ∞), then it must converge to the
pointwise-limit 0. Let xn = π/(2n). Then
1
fn (xn ) = .
1 + π/2
fn (x) ≥ ǫ0 ,
5
0.5
0.4
0.3
0.2
0.1
0
y
−0.1
−0.2
−0.3
−0.4
−0.5
0 0.2 0.4 0.6 0.8 1
x
kf ka = sup |f (x)|
x∈[a,∞)
6
6. Suppose that
∞ ∞
X sin nx X cos nx
f (x) = , g(x) = .
n=1
n3 n=1
n2
Solution.
• (a) Since
∞
sin nx 1 X 1
n3 ≤ n3 , <∞
n3
n=1
cos nx ∞
1 X 1
2 ≤ 2, < ∞,
n n n=1
n2
the Weierstrass M-test implies that both series converge uniformly (and
absolutely) on R.
• Each term in the series is continuous, and the uniform limit of contin-
uous functions is continuous, so f , g are continuous on R.
• (b) The series for g is the term-by-term derivative of the series for f .
Since the series for g converges uniformly, the theorem for the differen-
tiation of sequences implies that f is differentiable and f ′ = g.
7
7. Let P = {2, 3, 5, 7, 11, . . . } be the set of prime numbers.
(a) Find the radius of convergence R of the power series
X
f (x) = xp = x2 + x3 + x5 + x7 + x11 + . . .
p∈P
x2
0 ≤ f (x) ≤ for all 0 ≤ x < 1.
1−x
Solution.
where (
1 if n is prime,
an =
0 if n isn’t prime.
• Then
|an xn | ≤ |x|n for every n = 2, 3, 4, . . . .
Therefore, if |x| < 1 the P
series converges by comparison with the con-
vergent geometric series |x|n . Furthermore, if |x| > 1, the terms in
the series do not approach 0. So the radius of convergence of the series
is R = 1.
• (b) As in (a), and using the sum of the geometric series, we have for
0 ≤ x < 1 that
∞ ∞
X
p
X
n 2
X x2
0≤ x ≤ x =x xn = ,
p∈P n=2 n=0
1−x
8
8. Let (X, d) be a metric space.
(a) Define the open ball Br (x) of radius r > 0 and center x ∈ X.
(b) Define an open set A ⊂ X.
(c) Show that the open ball Br (x) ⊂ X is an open set.
Solution.
• (b) A set A ⊂ X is open if for every x ∈ A there exists r > 0 such that
Br (x) ⊂ A.
s = r − d(x, y) > 0.
meaning that z ∈ Br (x). Thus, Bs (y) ⊂ Br (x), which proves the result.