Definition (Point)

Let and . Let . We say is continuous at if such that with we have

Proposition (Isolated implies Continuity)

If is an isolated point of , then any function is continuous at .

Proof: is an isolated point means that such that . Indeed, for every neighborhood of , it does intersect with .

Since no neighborhoods intersect, there is some “minimal distance” where there are no points from to . So, the only point must be itself.

Let . Choose . Then we have

and so it is continuous.

Definition (Set)

Let . Then is continuous on if , is continuous at .

Examples:

  1. Every polynomial is continuous on when .
  2. Let where for . Then is continuous on iff is continuous on for .

Lemma (Continuity of Composition)

Let . Let . Define , where .

Proof: Suppose . WTS .

  1. Note since and is continuous at , then . Let . Note .
  2. Since by and is continuous at then then . Thus by .

Proposition (Topological Characterization of Continuity)

Let . Then is continuous on iff open sets , the preimage is open in .

Proof: Suppose is continuous on and let be an open set in .

The goal is that is open in . That is, , we need to find such that .

  1. Since then .
  2. Since is open, such that .
  3. Since is continuous at , such that . That is, . So, . Let to get . So is an interior point of and is open.

Assumption: for every open in , then is open in .

Goal, is continuous at every .

Let . Let . is open in . So, by assumption, is open in . Note . So is an interior point.

This implies such that . This implies , we have .

So with , we have .

Proposition (Continuity Retains Compactness)

Let be continuous. Let be compact. Then is compact.

Proof: To show is compact, let be an open cover of .

Goal is to show there exists a finite subcover.

Since we have a cover,

Take the preimage of this containment. Then

Note . So

Since is continuous and is open, then is open by lemma. So is an open cover of . Since is compact, such that

Apply to this containment,

Thus has a finite subcover and is compact by definition.

Corollary (Extreme Value Theorem)

Let be a metric space that is compact. Suppose is continuous. Then attains its and . That is, such that

In particular, if is continuous, then has a .

Proof: For the second claim, note is compact by Heine-Borel Theorem so it follows from the first.

Note that is compact by theorem and so by Heine-Borel Theorem is closed and bounded. Then,

So such that and . Note that are in the closure by Lemma (Bounded).

Definition (Uniformly Continuous)

Let . We say is Uniformly Continuous if

  • Note that compared to the definition of continuity, we are saying there is a that “works” for all points in .
  • In particular, uniformly continuous implies continuous.

Example 1

Consider with . We saw is continuous. However, is not uniformly continuous.

Proof: Assume by contradiction that is uniformly continuous. Let . Then by definition, such that and so .

Fix . Let . Then . So by uniform continuity,

Let . Then

which is a contradiction.

Example 2

where is uniformly continuous.

Example 3

where is uniformly continuous.

Proof: Let . Let .

Thus, .

Example 4

where is uniformly continuous.

Proof: Let . Then let . Suppose for . Then

Done.

Theorem (Continuity + Compact = Uniform Continuity)

Let be a compact metric space. Let continuous. Then is uniformly continuous.

Proof: Suppose by contradiction that is not uniformly continuous. Then

Now since is compact, , there convergent subsequence .

I claim . Proof:
This is argument. Let . Choose large enough so that

and

for which we can do since and by premise + Archimedean Property. Then , and so they converge to the same point.

Since is continuous on and . Then since , then

by Lemma (Sequential Characterization of Limits). Indeed,

So for large, . This is a contradiction.

Lemma (Cauchy Test for Uniform Continuity)

Suppose is uniformly continuous. Then for every Cauchy Sequence in , we have is Cauchy.

Proof: Let . Since is uniformly continuous, such that

Given that is Cauchy, such that . So since is uniformly continuous, and so is Cauchy.

Example 5

for is not uniformly continuous.

Proof: Note is Cauchy. So suppose by contradiction that is uniformly continuous. Then by lemma, is Cauchy. But which is not Cauchy (the sequence becomes ), a contradiction.

Proposition (Noncompactness Properties)

Let be not compact.

  1. There exists a continuous function on which is not bounded.
  2. There exists a bounded continuous function that has no max on .
  3. If is bounded, then a continuous function on which is not uniformly continuous. In general, boundedness is necessary in . Indeed if , then every function on is uniformly continuous because , so , if then so .

Proof: Consider the case where is bounded but not compact. Since , by Heine-Borel Theorem, cannot be closed.

Then such that is a limit point, but .

Consider . Since , is defined and it is continuous on by algebra of continuous functions and by Example 2.

  • But is not bounded. (Prove this)
  • is not uniformly continuous. (Prove this)

Let

Note . So . However since we see . It is bounded, but max.

Exercise.

Theorem (Continuity Retains Connectedness)

If is a continuous mapping of a metric space into a metric space , and if is a connected subset of , then is connected.

Proof: Suppose by contradiction that is separated. Then where both sets are nonempty. Then, we get

Let and . Note that . Both are empty; otherwise, , and a contradiction.

Since , then . As is continuous and is closed, by theorem, we have that is closed. So

Then, . Thus,

OTOH, . Indeed,

and similarly for . Thus, are separated, a contradiction, as is connected.

Theorem (Continuity + Compact = sup/inf)

Suppose is a continuous real function on a compact metric space , and

Then there exists such that and . The proof uses Heine-Borel Theorem.

Intermediate Value Theorem

Let be a real valued continuous function on . If for ,

then such that .

Proof: WLOG, suppose . Let . WLOG, suppose . By the theorem, is connected. Let . Since is an interval, and . then for some .

Definition (Directional Limits)

Let . Let . We say the limit from the right at equals and write

if

Equivalently, we say if in such that we have . This is denoted as and for the limit from the left.

Remark (Equivalent Limit Direction)

  1. has a limit at . In particular, both exist.
  2. is continuous at .

Definition (Discontinuity)

Let . We say has a discontinuity of the first kind at if is discontinuous at but and both exist.

Otherwise, we say has a discontinuity of the second kind.