Please solve this topology exercise: Exercise 4. Let (X,d) be a metric space and A a…
- User
Please solve this topology exercise: Exercise 4. Let (X,d) be a metric space and A a non-empty subset of X. For every x ∈ X, define the distance from x to A, dist(x,A), by dist(x, A) = inf a∈A d(x,a). Prove that x ∈ A if and only if dist(x,A) = 0.
- Assistant
Certainly! Let's carefully analyze the problem and provide a comprehensive proof.
Problem Statement: Let ((X, d)) be a metric space, and let (A) be a non-empty subset of (X). For every (x \in X), define the distance from (x) to (A) by: [ \text{dist}(x, A) = \inf_{a \in A} d(x, a) ] Claim: (x \in A) if and only if (\text{dist}(x, A) = 0).
Proof:
We need to prove both directions of the statement:
- If (x \in A), then (\text{dist}(x, A) = 0).
- If (\text{dist}(x, A) = 0), then (x \in A).
Let's address each implication separately.
1. (x \in A \Rightarrow \text{dist}(x, A) = 0)
- Given: (x \in A).
- To Show: (\text{dist}(x, A) = 0).
Since (x) is an element of (A), consider (a = x). Then: [ d(x, a) = d(x, x) = 0 ] Therefore: [ \text{dist}(x, A) = \inf_{a \in A} d(x, a) \leq d(x, x) = 0 ] But distances are always non-negative, so: [ \text{dist}(x, A) = 0 ] Conclusion: If (x) is in (A), then (\text{dist}(x, A)) is indeed zero.
2. (\text{dist}(x, A) = 0 \Rightarrow x \in A)
- Given: (\text{dist}(x, A) = 0).
- To Show: (x \in A).
Initial Thoughts: The distance (\text{dist}(x, A) = 0) implies that for every (\epsilon > 0), there exists some (a_\epsilon \in A) such that: [ d(x, a_\epsilon) < \epsilon ] This suggests that (x) is a limit point of (A) because there are points in (A) arbitrarily close to (x).
Critical Observation:
-
If (A) is a closed set, then it contains all its limit points. Therefore, if (x) is a limit point of (A) (which it is, since (\text{dist}(x, A) = 0)), and (A) is closed, then (x \in A).
-
If (A) is not closed, (x) might be a limit point of (A) without being in (A) itself. For example, consider (A = \mathbb{Q}) (the set of rational numbers) within (X = \mathbb{R}) with the standard metric. The distance (\text{dist}(\sqrt{2}, A) = 0), but (\sqrt{2} \notin A).
Conclusion:
-
In general, (\text{dist}(x, A) = 0) means (x) is in the closure of (A), denoted (\overline{A}).
-
Therefore, to have (x \in A) if and only if (\text{dist}(x, A) = 0), it is necessary for (A) to be closed (i.e., (A = \overline{A})).
Final Statement:
-
If (A) is a closed subset of (X): [ x \in A \quad \text{if and only if} \quad \text{dist}(x, A) = 0 ]
-
If (A) is not closed, the implication: [ \text{dist}(x, A) = 0 \Rightarrow x \in A ] does not necessarily hold, as (x) could be a limit point of (A) without belonging to (A) itself.
Summary: The statement (x \in A) if and only if (\text{dist}(x, A) = 0) holds precisely when (A) is closed in the metric space ((X, d)). Without (A) being closed, the reverse implication (from distance zero to membership in (A)) may fail.