Sunteți pe pagina 1din 29

Lecture 4

Econ 2001

2015 August 13
Lecture 4 Outline

1 Open and Closed Set


2 Continuity

Announcements:
- Tomorrow: rst test at 3pm, in WWPH 4716. The exam will last an hour.
- Tomorrow: recitation at 1pm, in WWPH 4716.
Open and Closed Sets

A set is open if at any point we can nd a neighborhood of that point


contained in the set.

Denition
Let (X ; d) be a metric space. A set A X is open if
8x 2 A 9" > 0 such that B" (x) A

Remember that B" (x) = fy 2 X : d(y ; x) < "g... so openness depends on X .

Denition
A set C X is closed if X n C is open.

Draw Pictures
Open and Closed Sets: Examples
Open Interval in R
(a; b) is open in R (with the usual Euclidean metric).
Given x 2 (a; b), a < x < b. Let
" = minfx a; b xg > 0
Then
y 2 B" (x) ) y 2 (x "; x + ") (x (x a); x + (b x)) = (a; b)
Hence B" (x) (a; b), so (a; b) is open.

" must depend on x; in particular, " gets smaller as x nears the boundaries of
the interval.

Closed Interval in R
[a; b] is closed in R (with the usual Euclidean metric).
R n [a; b] = ( 1; a) [ (b; 1) is the union of two open sets, which must be
open (prove this later).
Open and Closed Sets: Examples

An open ball is always an open set


Suppose y 2 B" (x). Then d(x; y ) < ".
Let
=" d(x; y ) > 0
If d(z; y ) < , then
d(z; x) d(z; y ) + d(y ; x)
< + d(x; y )
= " d(x; y ) + d(x; y )
= "
Hence B (y ) B (x), so B" (x) is open.

This is very usefuly since it holds for any X ; d.


Open and Closed Sets: Examples

Openness and closedness depend on the underlying metric space


In the metric space X = [0; 1] (with standard metric), [0; 1] is open.
Since [0; 1] is the underlying metric space,
B" (0) = fx 2 X : d(x; 0) < "g = fx 2 [0; 1] : jx 0j < "g = [0; ")

Most sets are neither open nor closed


[0; 1] [ (2; 3) is neither open nor closed.

An open set may consist of a single point


If X = N and d(m; n) = jm nj, then
B1=2 (1) = fm 2 N : jm 1j < 1=2g = f1g
Since 1 is the only element of the set f1g and B1=2 (1) = f1g f1g, the set
f1g is open.
Open and Closed Sets: Examples

In any metric space (X ; d), ; and X are both open... and closed
To see that ; is open, note that the statement
8x 2 ; 9" > 0 such that B" (x) ;
is vacuously true since there arent any x 2 ; (any statement about points in
the empty set is true).
To see that X is open, note that B" (x) = fz 2 X : d(z; x) < "g is trivially
contained in X .
Since ; is open, X is closed; since X is open, ; is closed.
Open and Closed Sets: Results

Theorem
Let (X ; d) be a metric space. Then
1 ; and X are both open and closed.
2 The union of an arbitrary (nite, countable, or uncountable) collection of
open sets is open.
3 The intersection of a nite collection of open sets is open.

Proof.
1 Already done.
2 Suppose fA g 2 is a collection of open sets.
S
x2 2 A ) 9 0 2 such that x 2 A 0

S
) 9" > 0 such that B" (x) A 0 2 A
so [ 2 A is open.
Prove that the intersection of a nite collection of open sets is open.

Proof.
Suppose A1 ; : : : ; An X are open sets.
If x 2 \ni=1 Ai , then
x 2 A1 ; x 2 A2 ; : : : ; x 2 An
so
9"1 > 0; : : : ; "n > 0 such that B"1 (x) A1 ; : : : ; B"n (x) An
Let
" = minf"1 ; : : : ; "n g > 0
Then
n
\
B" (x) B"1 (x) A1 ; : : : ; B" (x) B"n (x) An hence B" (x) Ai
i =1
which proves that \ni=1 Ai is open.

This needs nite intersection as the inmum of an innite set of positive


numbers could be zero and the proof would fail.
The intersection of an innite collection of open sets need not be open.
Interior, Closure, Exterior and Boundary
Let (X ; d) be a metric space and A X.

Denition
The interior of A, denoted intA, is the largest open set contained in A
(alternatively, the union of all open sets contained in A).

Denition
The closure of A, denoted A, is the smallest closed set containing A
(alternatively, the intersection of all closed sets containing A).

Denition
The exterior of A, denoted ext A, is the largest open set contained in X n A.

Note that ext A = intX n A.

Denition
The boundary of A, denoted @A is equal to (X n A) \ A.
Interior, Closure, Exterior and Boundary

Let (X ; d) be a metric space and A X.

FACTS
A point is interior if and only if it has an open ball that is a subset of the set
x 2 intA , 9" > 0; B" (x) A
A point is in the closure if and only if any open ball around it intersects the set
x 2A , 8" > 0; B" (x) \ A 6= ?
A point is exterior if and only if an open ball around it is entirely outside the
set
x 2 extA , 9" > 0; B" (x) X n A
A point is on the boundary if any open ball around it intersects the set and
intersects the outside of the set
B" (x) \ A 6= ?
x 2 @A , 8" > 0; and
B" (x) \ X n A 6= ?
Interior, Closure, Exterior and Boundary

Interior, Closure, Exterior and Boundary Example


Let A = [0; 1] [ (2; 3). Then

int A = (0; 1) [ (2; 3)

A = [0; 1] [ [2; 3]

ext A = int (X n A)
= int (( 1; 0) [ (1; 2] [ [3; +1))
= ( 1; 0) [ (1; 2) [ (3; +1)

@A = (X n A) \ A
= (( 1; 0] [ [1; 2] [ [3; +1)) \ ([0; 1] [ [2; 3])
= f0; 1; 2; 3g
Sequences and Closed Sets

We can characterize closedness also using sequences: a set is closed if it


contains the limit of any convergent sequence within it, and a set that
contains the limit of any sequence within it must be closed.

Theorem
A set A in a metric space (X ; d) is closed if and only if
fxn g A
and )x 2A
xn ! x 2 X

We will prove the two directions in turn.


A set is closed if it contains the limit of any convergent sequence within it.

Proof.
Let A be closed. Then X n A is open.
Consider a convergent sequence xn ! x 2 X , with xn 2 A for all n.
We need to show that x 2 A. Suppose not.
If x 62 A, then x 2 X n A, so there is some " > 0 such that B" (x) X n A (by
the denition of open set).
Since xn ! x, there exists N(") such that
n > N(") ) xn 2 B" (x)
) xn 2 X n A
) xn 62 A
This is a contradiction. Therefore,
fxn g A; xn ! x 2 X ) x 2 A
as desired.
A set that contains the limit of any sequence within it must be closed

Proof.
fxn g A
Suppose and ) x 2 A.
xn ! x 2 X
We need to show that A is closed (or equivalently, that X n A is open).
Suppose not: X n A is not open. Hence, there exists x 2 X n A such that for
every " > 0,
B" (x) 6 X n A
So there exists y 2 B" (x) such that y 2
6 X n A. Then y 2 A, hence
\
B" (x) A 6= ;
Construct a sequence fxn g as follows: for each n, choose
xn 2 B n1 (x) \ A
Given " > 0, by the Archimedean Property we can nd N(") such that
N(") > "1 , so n > N(") ) n1 < N (")
1
< ", therefore xn ! x.
Then fxn g A, xn ! x, so x 2 A, a contradiction. Therefore, X n A is open,
and A is closed.
Familiar (maybe) Terminology

Denitions
Let (X ; d) be a metric space and E X.
A point x is a limit point of E if every B" (x) contains a point y 6= x such that
y 2 E.
If x 2 E and x is not a limit point of E , then x is called an isolated point of E .
E is dense in X if every point of X is a limit point of E , or a point of E (or
both).

Results
E is closed if every limit point of E is a point of E .
E is open if every point of E is an interior point of E .
Limits of Functions in Metric Spaces
Yesterday we dened the limit of a sequence, and now we extend those ideas
to functions from one metric space to another.
For functions from reals to reals: f : (c; d) ! R, y is the limit of f at x0 if
for each " > 0 there is a (") > 0 such that 0 < jx x0 j < (") ) jf (x) y j < "

We extend this to metric spaces by replacing each absolute value with a


metric.

Denition
Let (X ; d) and (Y ; ) be metric spaces with A X , f : A ! Y , and x0 2 A. We
say that f has limit y0 as x ! x0 if
8" > 0 9 (") > 0 such that 0 < d(x; x0 ) < (") ) (f (x); y0 ) < "

Notation
When f has limit y0 as x goes to x0 we write
f (x) ! y0 as x ! x0 or lim f (x) = y0
x!x0

Notice the dierent metrics.


Limits of Functions and Sequences
Standard results like the uniqueness of limits theorem hold. Also, the results
we saw on sequences about sums, multiplication by a scalar, products, and
division extend to functions (when appropriate).

The limit of a function can also be characterized using sequences.

Theorem
Let (X ; d) and (Y ; ) be metric spaces, f : X ! Y , and x0 2 X . Then
lim f (x) = y0
x!x0
if and only if
for each fxn g ! x0 in (X ; d) the sequence ff (xn )g
with xn 6= x0 converges to y0 in (Y ; )

For every sequence that converges in the domain, the corresponding sequence
given by the function converges to in the range.
Prove these results as part of Problem Set 4.
Continuity in Metric Spaces
For functions from reals to reals: f : (a; b) ! R is continuous at x0 means
for each " > 0 there is a (") > 0 such that jx x0 j < (") ) jf (x) f (x0 )j < "
which is easy to generalize.

Denition
Let (X ; d) and (Y ; ) be metric spaces. A function f : X ! Y is continuous at a
point x0 2 X if
8" > 0 9 (x0 ; ") > 0 such that d(x; x0 ) < (x0 ; ") ) (f (x); f (x0 )) < "

Notice that dierent metrics are used when appropriate.


Continuity at x0 requires:
f (x0 ) is dened;
and either
x0 is an isolated point of X (i.e. 9" > 0 such that B " (x0 ) = fx0 g); or
lim f (x) exists and equals f (x0 )
x!x0

Denition
f is continuous if it is continuous at every element of its domain.

(x0 ; ") means that can depend on x0 . What if it does not? Later.
Continuity in Metric Spaces
Remember, given f : X ! Y and A Y the inverse image is a subset of X
dened as:
f 1 (A) = fx 2 X : f (x) 2 Ag X
The inverse image is used to provide a characterization of continuous
functions.

Theorem
Let (X ; d) and (Y ; ) be metric spaces, and f : X ! Y . Then
f is continuous
if and only if
1
f (A) is open in X for every A Y such that A is open in Y

Continuity is equivalent to the fact that the inverse image of every open set in
the range is an open set in the domain.

NOTE: an equivalent statement of the theorem


1
f is continuous if and only if f (C ) is closed in X for every closed C Y.
1
f is continuous ) f (A) is open in X for every A Y such that A is open in Y .

Proof.
Suppose f is continuous.
1
Given A Y , with A open, we must show that f (A) is open in X .
1
Suppose x0 2 f (A). Let y0 = f (x0 ) 2 A.
Since A is open, we can nd " > 0 such that B" (y0 ) A.
Since f is continuous, there exists > 0 such that
d(x; x0 ) < ) (f (x); f (x0 )) < "
) f (x) 2 B" (y0 )
) f (x) 2 A
1
) x2f (A)
1 1
So B (x0 ) f (A), and therefore f (A) is open.
The inverse image of any open set in the range is an open set in the domain ) f
is continuous.

Proof.
Suppose
1
f (A) is open in X for each A Y such that A is open in Y
We need to show that f is continuous.
Let x0 2 X , with " > 0, and let A = B" (f (x0 )).
1
A is an open ball, hence an open set, so f (A) is open in X .
1 1
x0 2 f (A), so there exists > 0 such that B (x0 ) f (A).
d(x; x0 ) < ) x 2 B (x0 )
1
) x2f (A)
) f (x) 2 A which is nothing but B" (f (x0 ))
) (f (x); f (x0 )) < "
Thus, we have shown that f is continuous at x0 .
Since x0 is an arbitrary point in X , f is continuous.
Algebra of Continuity
The composition of continuous functions is continuous:
Theorem
Let (X ; dX ), (Y ; dY ) and (Z ; dZ ) be metric spaces. If f : X ! Y and g : Y ! Z
are continuous, then g f : X ! Z is continuous.

Proof.
Suppose A Z is open.
1 1 1
g is continuous, thus g (A) is open in Y ; f is continuous, thus f (g (A))
is open in X .
1 1 1
I claim that f (g (A)) = (g f) (A)
Observe 1 1 1
x2f (g (A)) , f (x) 2 g (A)
, g (f (x)) 2 A
, (g f )(x) 2 A
1
, x 2 (g f) (A)

which establishes the claim.


1
This shows that (g f) (A) is open in X , so g f is continuous.
Uniform Continuity

The denition of continuity at a point allows for to depend on that point.


When it does not, the function is, for lack of a better expression, more
continuous.

Denition (Uniform Continuity)


Let (X ; d) and (Y ; ) be metric spaces and f : X ! Y . We say f is uniformly
continuous if
8" > 0 9 (") > 0 such that 8x0 2 X ; d(x; x0 ) < (") ) (f (x); f (x0 )) < "

Contrast with the earlier denition of continuity at a point x0 :


8" > 0 9 (x0 ; ") > 0 such that d(x; x0 ) < (x0 ; ") ) (f (x); f (x0 )) < ". This
allows to depend on x0 and ".
Uniform continuity requires to depend only on ". It is more restrictive than
continunity.
Uniform Continuity: Example

A continuous function that is not uniformly continuous


Consider f : (0; 1] ! R dened as f (x) = x1 .
f is continuous (check this) but not uniformly continuous.
x0
Fix " > 0 and x0 2 (0; 1]. Let x = 1+"x0 . Clearly, x < x0 . Then
1 1
> 0
x x0
1 1 1 1 1 + "x0 1 "x0
jf (x) f (x0 )j = = = = ="
x x0 x x0 x0 x0 x0
Thus, in the denition of continuity (x0 ; ") must be chosen small enough so
that
x0 "(x0 )2
(x0 ; ") x0 = < "(x0 )2
1 + "x0 1 + "x0
which converges to zero as x0 ! 0.
Hence there is no (") > 0 that will work for all x0 2 (0; 1].
Uniform Continuity: Example
An f : [a; b] ! R that has a bounded derivative is uniformly continuous on [a; b].
However, a function with an unbounded derivative can also be uniformly
continuous.
A function with an unbounded derivative that is uniformly continuous
p
Consider f : [0; 1] ! R dened as f (x) = x.
f is continuous (verify this) and also uniformly continuous.
Given " > 0, let = "2 (notice this does not depend on x).
Then given any x0 2 [0; 1], jx x0 j < implies (by the Fundamental Theorem
of Calculus)
Z x
1
jf (x) f (x0 )j = p dt
x0 2 t
Z jx x0 j p
1
p dt = jx x0 j
0 2 t
p p
< = "2
= "
Thus, f is uniformly continuous on [0; 1], even though f 0 (x) ! 1 as x ! 0.
Lipschitz Continuity
Denition
Let X ; Y be normed vector spaces. A function f : X ! Y is Lipschitz on E X if
9K > 0 such that kf (x) f (z)jjY K kx zkX 8x; z 2 E
f is locally Lipschitz on E X if
8x0 2 E 9" > 0 such that f is Lipschitz on B" (x0 ) \ E

The function is locally Lipschitz if every point in its domain has a


neighborhood on which the function is Lipschitz.

Remark
Lipschitz continuity is stronger than either continuity or uniform continuity:
locally Lipschitz ) continuous
Lipschitz ) uniformly continuous

Every C 1 function is locally Lipschitz (a function f : Rm ! Rn is said to be C 1 if


all its rst partial derivatives exist and are continuous).
Homeomorphisms
Denition
Let (X ; d) and (Y ; ) be metric spaces. A function f : X ! Y is called a
homeomorphism if it is one-to-one, onto, continuous, and its inverse function is
continuous.

Note
1
Suppose that f is a homeomorphism and U X , and let g = f : Y ! X.
Then
1
y2g (U) , g (y) 2 U , y 2 f (U)
and
1
U open in X ) g (U) is open in (f (X ); ) ) f (U) is open in (f (X ); )
Therefore (X ; d) and f (X ); jf (X ) are identical in terms of properties that
can be characterized solely in terms of open sets.
Such properties are called topological properties.

Remark
Topological properties are invariant under homeomorphisms.
Tomorrow

We study more properties of functions from R to R.


1 Boudedness and Extreme Value Theorem
2 Intermediate Value Theorem and Fixed Points
3 Monotonicity
4 Complete Spaces and Cauchy Sequences
5 Contraction Mappings

S-ar putea să vă placă și