Proving the Minimum Property of Continuous Functions on Compact Subsets

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

Homework Help Overview

The discussion revolves around proving a property of continuous functions defined on compact subsets of metric spaces. The specific question involves showing that for a nonempty compact set A in a metric space X, the distance from a point x to the set A attains a minimum value at some point in A.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the continuity of the distance function and its implications for compact sets. There are attempts to construct proofs using properties of compactness and the definition of infimum. Some participants question the necessity of completeness in the context of the problem.

Discussion Status

Participants are actively engaging with the problem, offering various approaches and questioning assumptions related to compactness and continuity. Some guidance has been provided regarding the properties of continuous functions on compact sets, but there is no explicit consensus on the best approach to the proof.

Contextual Notes

There is a discussion about the completeness of the metric space and its relevance to the problem. Participants note the importance of the extreme value theorem in the context of continuous functions mapping to real numbers.

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
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
7
Views
2K
  • · 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