Contraction Mapping and Connectedness
Before talking about continuity, I wanted to discuss a very important result regarding compactness known as the contraction mapping theorem:
Theorem (Contraction Mapping Theorem):
Let

be a complete metric space, and

be a contraction, i.e.

for some

Then,

has a unique fixed point

such that
Proof:
Our goal is to construct a Cauchy sequence. Define

Then,

so iterating yields

Moreover, by the triangle inequality and the geometric series formula, one obtains
![Rendered by QuickLaTeX.com \[d(x_n,x_m) \leq (K^n + K^{n+1}+... + K^{m-1}) d(x_0,x_1) = K^n(1 + K + ... +K^{m-1}) d(x_0,x_1) \leq \frac{K^n}{1-K} d(x_0,x_1) \to 0\]](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-94e48c6758bae82da3dbc9e5ddf8bf81_l3.png)
as

Thus, the sequence is Cauchy, so it has a limit

But then,
![Rendered by QuickLaTeX.com \[f(y) = f(\lim_{n \to \infty} x_n) = \lim_{n \to \infty} f(x_n) = \lim_{n \to \infty} x_{n+1} = y,\]](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-ec899009011ef3777098b02156ec2e79_l3.png)
so

is a fixed point of

If there were two fixed points

then

which is a contradicton, so uniqueness follows.
Example:
When using a calculator, when you press

many times and enter some number in radians, you will always get a value very close to

Why? Well, suppose one lets

Then, by the mean value theorem,
![Rendered by QuickLaTeX.com \[\frac{|\cos(x)-\cos(y)|}{|x-y|} = |\sin(x')| \leq 1,\]](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-1a43267957d0404c6b52b6a0be01792e_l3.png)
i.e.

for

Then only thing left to show is that

We know

only when

so let’s consider the interval
![Rendered by QuickLaTeX.com [-1,1].](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-7e4267be7aac7aab1faab7987a7cbe44_l3.png)
We can apply the contraction mapping theorem on this interval to guarantee the existence of a unique fixed point

such that

Then, for any
![Rendered by QuickLaTeX.com \cos x_0 \in [-1,1],](https://www.stepanmalkov.com/wp-content/ql-cache/quicklatex.com-80a07b9ac4a16f69b4b803cb3562cc36_l3.png)
which guarantees the convergence of our sequence to the fixed point
We now briefly discuss the definition of continuity between metric spaces.
Definition
A map

between two metric spaces is
continuous if any of the following equivalent conditions hold:
- For any open
is open.
- For every sequence

- For every
there exists a
such that
whenever 
Similarly, one can define a local notion of continuity at a single point.
Definition:

is
continuous at 
if:
- For all
neighborhood of
there exists a neighborhood
of
such that 
- For all
there exists a
such that
whenever 
implies 
Examples:
- The function
defined to be
for
and
is not continuous at
since setting
implies 
-
For a discrete metric space
and a subset
suppose
is equipped with the discrete metric
and
is equipped with an arbitrary metric
Then, the inclusion map
is always continuous, since
for
for 
We now consider another very important property of sets in metric spaces known as connectedness.
Definition:
A set
is said to be disconnected if there exist non-empty open sets
such that
and
If a set is not disconnected, it is called connected.
Definition:
A set
is called path-connected if for every
there exists a continuous map
such that
and
Such a map is called a path from
to
Examples:
- As seen in lecture, a set in
is connected if and only if it is an interval.
is not connected, since
for some
disconnects
into two disjoint components.
Proposition:
If
is continuous and
is connected, then
is connected in
Proof:
Suppose not. Then, there exist
open such that
Then, by the topological definition of continuity,
are open,
and
But this implies
is disconnected, which is a contradiction.
Proposition:
If a set
is path-connected, it is connected.
Proof:
For sake of contradiction, suppose
is path-connected but not connected. Then, there exist
open such that
and
Pick
and a path
such that
Since the image of a connected set under a continuous map is connected,
is connected. But
so
is disconnected, which is a contradiction.
Corollary
is connected, since for any
given by
is a continuous map satisfying