Proving the Minimum Property of Continuous Functions on Compact Subsets

  • Thread starter Thread starter sammycaps
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on proving that if A is a compact subset of a metric space X, then the distance function d(x, A) attains a minimum at some point a in A. The participants clarify that the distance function is continuous and that the compactness of A ensures that the image of a continuous function on a compact set is also compact. They conclude that the minimum distance is achieved due to the properties of continuous functions and the extreme value theorem, confirming that d(x, A) = d(x, p) for some p in A.

PREREQUISITES
  • Understanding of metric spaces and the properties of compact sets.
  • Familiarity with continuous functions and their behavior in topology.
  • Knowledge of the extreme value theorem in real analysis.
  • Concept of the infimum and its significance in metric spaces.
NEXT STEPS
  • Study the properties of continuous functions on compact sets in topology.
  • Explore the extreme value theorem and its applications in real analysis.
  • Learn about the finite intersection property and its implications in compactness.
  • Investigate the relationship between completeness and compactness in metric spaces.
USEFUL FOR

Mathematicians, students of real analysis, and anyone studying topology or metric spaces will benefit from this discussion, particularly those interested in the properties of continuous functions and compact sets.

sammycaps
Messages
89
Reaction score
0
1. So I worked on this problem, only to find that the solutions claim a fairly simple answer. The question is as follows

Let X be a metric space with metric d; let A \subset X be nonempty. Show that if A is compact, d(x,A)=d(x,a) for some a\inA.



Homework Equations


d(x,A)=inf{d(x,a)|a\inA}


The Attempt at a Solution


So the solutions claimed an easy fix. The function is continuous in both variables so a continuous image of a compact set is compact and so on the set {x} × A, it reaches a minimum.

My solution was more convoluted, because I did not immediately see that the distance function was continuous in the second variable. This is how I did it.

Pf:
Consider the collection, ℂ, of all sets ℂε, ε>d(x,A) , such that a\inℂε if and only if d(x,a)<ε.

Then, for any arbitrary finite collection {Cεi}, we can order them by set inclusion and we see that their intersection is nonempty, for if it were empty, then this would imply that d(x,A)≠inf{d(x,a)|a\inA}.

Then, by the finite intersection property of a compact set, the intersection of all of these sets must be nonempty, so let p be that element in the intersection. Then I claim that d(x,p)≤d(x,a) for all a\inA, for if not then d(x,p)>d(x,a) for some a, so then we can fit an ε between d(x,p) and d(x,a) (by the order properties of ℝ). Then, the infinite intersection will not contain p, a contradiction.

So, then d(x,p)≤d(x,a) for all a\inA. So, by the definition, d(x,A)≤d(x,p) but similarly, d(x,p)≤d(x,A) since it is a lower bound of the set. Therefor d(x,A)=d(x,p).


There are a few places where I was lax on the rigor (like claiming my formation of the collection is actually ok), but let me know if it looks right.
 
Physics news on Phys.org
I'm going to assume that X is complete, because otherwise the proposition that a continuous function on a compact set attains its bounds does not hold.

sammycaps said:
My solution was more convoluted, because I did not immediately see that the distance function was continuous in the second variable.

By definition d(x,y) = d(y,x) for all x and y. Thus if f(x) = d(x,a) for some fixed a is continuous, we have immediately that f(x) = d(a,x) is continuous.

This is how I did it.

Pf:
Consider the collection, ℂ, of all sets ℂε, ε>d(x,A) , such that a\inℂε if and only if d(x,a)<ε.

So C_\epsilon = \{a \in A: d(x,a) &lt; \epsilon \} and \mathcal{C} <br /> = \{C_\epsilon: \epsilon &gt; d(x,A)\}.

Then, for any arbitrary finite collection {Cεi}, we can order them by set inclusion and we see that their intersection is nonempty, for if it were empty, then this would imply that d(x,A)≠inf{d(x,a)|a\inA}.

It's obvious that, for a finite collection,
\bigcap_{i} C_{\epsilon_i} = C_{\min \epsilon_i}<br /> = \{a \in A : d(x,a) &lt; \min \epsilon_i \}.
But since \min \epsilon_i &gt; d(x,A), there must by definition of infimum exist some y \in A such that d(x,A) &lt; d(x,y) &lt; \min \epsilon_i, and so the intersection is not empty. This is so whether or not A is compact, provided the infimum exists (which it must do, because 0 is always a lower bound for d(x,y)).

The remainder of your proof is suspect since you've never actually used the assumption that A is compact (other than to invoke a proposition about intersections of compact sets, which as you are applying it says that if the C_{\epsilon_i} are compact then their intersection is compact; unfortunately the C_{\epsilon_i} are open and so not compact).

I think what you need to do is take a countable intersection, so that you may rightly conclude that
\bigcap_{i} C_{\epsilon_i} = \{a \in A : d(x,a) = d(x,A)\}.
Then you need to use compactness of A to show that this intersection is not empty: for example, by constructing a Cauchy sequence (a_i) whose limit is in the intersection (X is complete, so by definition every Cauchy sequence converges, and A is closed, so the limit of the sequence must be in A). But that's essentially the proof that a continuous function on a compact set is bounded and attains its bounds.
 
Last edited:
pasmith said:
I'm going to assume that X is complete, because otherwise the proposition that a continuous function on a compact set attains its bounds does not hold.



By definition d(x,y) = d(y,x) for all x and y. Thus if f(x) = d(x,a) for some fixed a is continuous, we have immediately that f(x) = d(a,x) is continuous.



So C_\epsilon = \{a \in A: d(x,a) &lt; \epsilon \} and \mathcal{C} <br /> = \{C_\epsilon: \epsilon &gt; d(x,A)\}.



It's obvious that, for a finite collection,
\bigcap_{i} C_{\epsilon_i} = C_{\min \epsilon_i}<br /> = \{a \in A : d(x,a) &lt; \min \epsilon_i \}.
But since \min \epsilon_i &gt; d(x,A), there must by definition of infimum exist some y \in A such that d(x,A) &lt; d(x,y) &lt; \min \epsilon_i, and so the intersection is not empty. This is so whether or not A is compact, provided the infimum exists (which it must do, because 0 is always a lower bound for d(x,y)).

The remainder of your proof is suspect since you've never actually used the assumption that A is compact (other than to invoke a proposition about intersections of compact sets, which as you are applying it says that if the C_{\epsilon_i} are compact then their intersection is compact; unfortunately the C_{\epsilon_i} are open and so not compact).

I think what you need to do is take a countable intersection, so that you may rightly conclude that
\bigcap_{i} C_{\epsilon_i} = \{a \in A : d(x,a) = d(x,A)\}.
Then you need to use compactness of A to show that this intersection is not empty: for example, by constructing a Cauchy sequence (a_i) whose limit is in the intersection (X is complete, so by definition every Cauchy sequence converges, and A is closed, so the limit of the sequence must be in A). But that's essentially the proof that a continuous function on a compact set is bounded and attains its bounds.

Well the solutions claim that d is a continuous function into ℝ, a set in the order topology, and so for fixed x, d(x,A) attains a minimum in ℝ (I guess by extreme value theorem). Is this not correct?

Also, there is no mention of completeness, and so I'm guessing the continuous function proof is the best way.

Anyway, I see now where I messed up in my construction, thanks very much.
 
sammycaps said:
Well the solutions claim that d is a continuous function into ℝ, a set in the order topology, and so for fixed x, d(x,A) attains a minimum in ℝ (I guess by extreme value theorem). Is this not correct?

Yes. I had overlooked that a continuous function from a compact space to \mathbb{R} is bounded and attains its bounds, whether or not that space is complete.
 
pasmith said:
Yes. I had overlooked that a continuous function from a compact space to \mathbb{R} is bounded and attains its bounds, whether or not that space is complete.

Not to worry, you've helped me plenty.

Out of curiosity then, is it true that a continuous function from a compact subset of a complete metric space attains a minimum?
 

Similar threads

Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K