Professional Documents
Culture Documents
Solution. We will only prove the rst inequalities. Given x, y ∈ Rn let j ∈ {1, ..., n} be such that
|xj − yj | = max {|xi − yi |}.
1≤i≤n
Then, we have d(x, y) = |xj − yj |. Now, since the (xi − yi )2 are all nonnegative, we have
v
u n q
0
uX
d (x, y) = t (xi − yi )2 ≥ (xj − yj )2 = |xj − yj | = d(x, y) (∗).
i=1
On the other hand, since |xj − yj | ≥ |xi − yi | for all i ∈ {1, ..., n}, we have
v v
u n u n
0
uX uX q √
d (x, y) = t (xi − yi )2 ≤ t (xj − yj )2 = n(xi − yj )2 = n|xj − yj | (†).
i=1 i=1
√
Combining (∗) and (∗∗) yields d(x, y) ≤ d0 (x, y) ≤ nd(x, y).
Using appropriate theorems from Calculus, prove that (X, d) is a metric space.
Solution. Let f, g, h ∈ X . There are four things to check.
(1) d(f, g) ≥ 0: Since |f (t) − g(t)| ≥ 0 for all t ∈ [a, b], from the properties of integrals we have
Z b Z b
d(f, g) = |f (t) − g(t)|dt ≥ 0dt = 0.
a a
Conversely, suppose that f 6= g and so f (t0 ) 6= g(t0 ) for some t0 ∈ [a, b]. Consider h : [a, b] → R dened by
h(t) = |f (t) − g(t)|, which is continuous since f and g are continuous. We have h(t0 ) = |f (t0 ) − g(t0 )| > 0.
Since h is continuous, for ε = h(t0 )/2 > 0, there exists δ > 0 such that
|h(t) − h(t0 )| < h(t0 )/2 for all t ∈ [a, b] such that |t − t0 | < 2δ.
1
Making δ > 0 smaller if necessary, we may assume that [t0 − δ, t0 + δ] ⊂ [a, b] (this will not be true if
t0 = a or t0 = b; if you rewrite the proof that "f 6= g =⇒ d(f, g) = 0" in your own words and ll in the
details for the case t0 = a or t0 = b, I will give you two points back on homework 3; but you must it in
with a homework assignment that is due before the midterm). Notice that |h(t) − h(t0 )| < h(t0 )/2 implies
h(t) ≥ h(t0 )/2. So, we have
Z b
d(f, g) = |f (t) − g(t)|dt
a
Z t0 +δ
= |f (t) − g(t)|dt (since |f (t) − g(t)| ≥ 0)
t0 −δ
Z t0 +δ
= |h(t)|dt
t0 −δ
Z t0 +δ
= |h(t0 )|/2dt
t0 −δ
= |h(t0 )| · 2δ/2
> 0.
2
We set δ = ε. Then, for any g ∈ X with
Z b
∗
d (f, g) = |f (t) − g(t)|dt < δ,
a
we have
Z b Z b
d(I(f ), I(g)) = d( f (t)dt, g(t)dt)
a a
Z b Z b
= | f (t)dt − g(t)dt| (denition of d)
a a
Z b
= | [f (t) − g(t)]dt| (linearity of integrals)
a
Z b
≤ |f (t) − g(t)|dt (properties of integrals)
a
= d(f, g)
< δ
= ε.
3. Dene the function f : R2 → R by f (x1 , x2 ) = x1 + x2 . Prove the f is continuous, where the distance
function on R2 is either d or d0 .
Solution. We will only prove that f is continuous when the metric on R is given by d. Fix (x1 , x2 ) ∈ R
2 2
we have
|f (y1 , y2 ) − f (x1 , x2 )| = |(y1 + y2 ) − (x1 + x2 )|
= |(y1 − x1 ) + (y2 − x2 )|
≤ |y1 − x1 | + |y2 − x2 | (triangle inequality)
≤ 2 · max{|x1 − y1 |, |x2 − y2 |}
< 2·δ
= ε.
In either case, we have |f (x) − f (x0 )| < ε, proving that f is continuous at x0 . If you are the rst person to
email me (cindytsy@math.ucsb.edu) to tell me that you have read this proof I will give you a point back
on homework 3; you must do so by the last day of class).
To show f is not continuous at a, we need to nd ε > 0 such that for any δ > 0, there is x ∈ R with
|x − a| < δ but |f (x) − f (a)| > ε.
Set ε = 1
2
and let δ > 0 be given. Then x = a + 2δ satises |x − a| = δ
2
< δ but
8. Let f : R → R be a continuous function. Suppose that a ∈ R is such that f (a) > 0. Prove that there
is a k > 0 and a closed interval F = [a − δ, a + δ] for some δ > 0 such that f (x) ≥ k for all x ∈ F .
Solution. Let ε = f (a)/2 > 0. Since f is continuous at a, there exists δ0 > 0 such that