logo

The Importance of Compactness Conditions in Metric Spaces 📂MetricSpace

The Importance of Compactness Conditions in Metric Spaces

Overview

Many theorems in analysis require compactness as a necessary condition (Reference1, Reference2, Reference3, Reference4). While it’s taken for granted that ‘if it’s compact, then it’s fine’ due to the assumption of compactness in the proof process, one might wonder why ‘if it’s not compact, then it’s not fine’. If the condition of being compact is absent, the following undesirable situations can occur.

Theorem1

Let’s say ERE\subset \mathbb{R} is a non-compact set. Then,

(a) There exists a continuous function defined above EE that is not bounded.

(b) There exists a continuous and bounded function defined above EE that does not have a maximum value.

(c) Now let’s assume the condition that EE is bounded. Then, there exists a continuous function defined above EE that is not uniformly continuous.


(a), (b), (c) demonstrate that the condition of being compact is necessary for the respective theorems ‘A continuous function in a compact metric space is bounded’, ‘Extreme Value Theorem’, ‘A continuous function in a compact metric space is uniformly continuous’ to hold.

Proof

(c)

The equivalent condition for compactness in R\mathbb{R} is being closed and bounded. So, let’s assume that EE is just bounded. Then, since it’s not closed, there exists a limit point of EE that is not included in EE, let’s call this point x0x_{0}. Now, consider the following function.

f(x)=1xx0(xE) f(x)=\frac{1}{x-x_{0}}\quad (x \in E)

Since both the numerator and the denominator are continuous functions, ff is also a continuous function in EE. Clearly, ff is not bounded. Furthermore, now consider xEx \in E that satisfies the following equation for arbitrary two positive numbers ε\varepsilon and δ\delta.

xx0<δ    f(x)f(x0)<ε \left|x-x_{0} \right|< \delta \implies \left|f(x)-f(x_{0}) \right|<\varepsilon

However, by choosing tt sufficiently close to x0x_{0}, the difference in function values can be made larger than ε\varepsilon as follows.

tx0<δ    f(t)f(x0)>ε \left|t-x_{0} \right|<\delta \implies \left|f(t)-f(x_{0}) \right|>\varepsilon

Therefore, ff is not uniformly continuous.

(a)

Bringing the same notation used above, consider the following function.

g(x)=11+(xx0)2(xE) g(x)=\frac{1}{1+(x-x_{0})^{2}}\quad (x\in E)

Then, gg is still continuous in EE, and since 0<g(x)<10<g(x)<1, it is bounded. However,

supxEg(x)=1 \sup \limits_{x\in E}g(x)=1

and since g(x)<1g(x)<1, gg cannot have a maximum value in EE. Therefore, we can see that just the condition of being bounded is insufficient for EE. This was demonstrated in the condition where EE is bounded. Assume EE is not even bounded. Then,

f(x)=x f(x)=x

is a function that is continuous but not bounded.

(b)

Consider the following.

h(x)=x21+x2(xE) h(x)=\frac{x^{2}}{1+x^{2}} \quad (x\in E)

Then, it’s continuous in EE.

supxEh(x)=1 \sup \limits_{x\in E}h(x)=1

Since for all xEx\in E, h(x)<1h(x) <1, hh is a continuous and bounded function but does not have a maximum value.


  1. Walter Rudin, Principles of Mathmatical Analysis (3rd Edition, 1976), p91-92 ↩︎