Solucoes
Solucoes
Solucoes
Solutions
If x = y, then the left hand side is zero and the inequality certainly
holds. If x 6= y, then the left hand side is equal to 1. Since x 6= y,
we must have either z 6= x or else z 6= y. Thus, the right hand side
is at least 1 and the triangle inequality holds in any case.
Homework 1. Solutions
h(x) = |x − x4 | = x − x4 , 0 ≤ x ≤ 1.
The first function does not satisfy any of the desired properties. For
instance, d(1, 1) = 1 6= 0, while d(2, 1) = 0 and d(2, 1) 6= d(1, 2).
Finally, the third function is symmetric, but it does not satisfy the
other two properties. For instance, d(0, 1) = 0 and d(1, 1) = 1 6= 0.
Homework 1. Solutions
4. Consider the space C[0, 1] with the d1 metric. For which values of
the integer n ≥ 1 does f (x) = xn lie in the open ball B(x, 2/5)?
To say that xn lies in the open ball B(x, 2/5) is to say that
Since xn ≤ x for all x ∈ [0, 1], the left hand side is equal to
1
1 1
Z
n
d1 (x , x) = (x − xn ) dx = − .
0 2 n+1
1. Consider the upper half plane A = {(x, y) ∈ R2 : y > 0}. Use the
definition of an open set to show that A is open in R2 .
Let (x, y) ∈ A be given. Then y > 0 and we claim that the open
ball B((x, y), y) is contained entirely within A. In fact, one has
B2 = (x, y) ∈ R2 : y > 0 .
Note that B2 is the upper half plane and this is open in R2 by the
previous problem. The set B1 can be expressed in the form
x1 = 1.4,
x2 = 1.41,
x3 = 1.414,
x4 = 1.4142
and so on.
√ This is a convergent sequence of rational numbers, but
its limit 2 is not a rational number. Thus, Q is not closed in R.
Homework 3. Solutions
X − A = {x ∈ X : f (x) 6= 0}
= {x ∈ X : f (x) < 0} ∪ {x ∈ X : f (x) > 0},
√
2. Show that f (x) = x2 + 1 is Lipschitz continuous on [0, 1].
3. Let (X, d) be a metric space and fix some y ∈ X. Show that the
function f : X → R defined by f (x) = d(x, y) is Lipschitz continuous.
1
sup |fn (x)| = sup fn (x) = fn (1/n) = .
0≤x≤1 0≤x≤1 ne
Let ε > 0 be given. Then there exist integers N1 , N2 > 0 such that
√
|xm − xn | < ε/ 2 for all m, n ≥ N1 ;
√
|ym − yn | < ε/ 2 for all m, n ≥ N2 .
ε2 ε2
(xm − xn )2 + (ym − yn )2 < + = ε2
2 2
for all m, n ≥ N . Thus, {(xn , yn )} is a Cauchy sequence in R2 .
Homework 4. Solutions
L = sup |f ′ (x)|
a≤x≤b
satisfies L < 1. Show that f has a unique fixed point in [a, b].
Let x, y ∈ [a, b]. Using the mean value theorem, one finds that