Difference between revisions of "Open Sets and Closed Sets in Metric Spaces"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
Line 1: Line 1:
 +
=== Open and Closed Balls in Metric Spaces ===
 +
<p>Recall from the <a href="/open-and-closed-balls-in-euclidean-space">Open and Closed Balls in Euclidean Space</a> page that if <span class="math-inline"><math>\mathbf{a} = (a_1, a_2, ..., a_n) \in \mathbb{R}^n</math></span> then the open ball centered at <span class="math-inline"><math>\mathbf{a}</math></span> with radius <span class="math-inline"><math>r > 0</math></span> is as the set of points <span class="math-inline"><math>\mathbf{x} = (x_1, x_2, ..., x_n) \in \mathbb{R}^n</math></span> contained in:</p>
  
 +
<div style="text-align: center;"><math>\begin{align} \quad B(\mathbf{a}, r) = \left \{ \mathbf{x} \in \mathbb{R}^n : \| \mathbf{x} - \mathbf{a} \| < r \right \} = \left \{ \mathbf{x} \in \mathbb{R}^n : \sqrt{(x_1 - a_1)^2 + (x_2 - a_2)^2 + ... + (x_n - a_n)^2} \leq r \right \} \end{align}</math></div>
 +
<p>Similarly, the closed ball centered at <span class="math-inline"><math>\mathbf{a}</math></span> with radius <span class="math-inline"><math>r \geq 0</math></span> is the set of points <span class="math-inline"><math>\mathbf{x} \in \mathbb{R}^n</math></span> contained in:</p>
 +
 +
<div style="text-align: center;"><math>\begin{align} \quad \bar{B}(\mathbf{a}, r) = \left \{ \mathbf{x} \in \mathbb{R}^n : \| \mathbf{x} - \mathbf{a} \| \leq r \right \} = \left \{ \mathbf{x} \in \mathbb{R}^n : \sqrt{(x_1 - a_1)^2 + (x_2 - a_2)^2 + ... + (x_n - a_n)^2} \leq r \right \} \end{align}</math></div>
 +
<p>Now notice that <span class="math-inline"><math>\| \mathbf{x} - \mathbf{a} \|</math></span> is simply the Euclidean distance function <span class="math-inline"><math>d : \mathbb{R}^n \to [0, \infty)</math></span> for the metric space <span class="math-inline"><math>(\mathbb{R}^n, d)</math></span>. We can extend the concept of open and closed balls to any metric space with its own defined metric as defined below.</p>
 +
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
 +
<td><strong>Definition:</strong> If <span class="math-inline"><math>(M, d)</math></span> is a metric space, <span class="math-inline"><math>a \in M</math></span>, and <span class="math-inline"><math>r > 0</math></span> then the <strong>Open Ball</strong> centered at <span class="math-inline"><math>a</math></span> with radius <span class="math-inline"><math>r</math></span> is defined to be the set <span class="math-inline"><math>B(a, r) = \{ x \in M : d(x, a) < r \}</math></span>.</td>
 +
</blockquote>
 +
<p>For example, consider the metric space <span class="math-inline"><math>(\mathbb{R}^2, d)</math></span> where the metric <span class="math-inline"><math>d : \mathbb{R}^2 \times \mathbb{R}^2 \to [0, \infty)</math></span> for all <span class="math-inline"><math>\mathbf{x} = (x_1, x_2), \mathbf{y} = (y_1, y_2) \in \mathbb{R}^2</math></span> by:</p>
 +
 +
<div style="text-align: center;"><math>\begin{align} \quad d(\mathbf{x}, \mathbf{y}) = \mid x_1 - y_1 \mid + \mid x_2 - y_2 \mid \end{align}</math></div>
 +
<p>Then for each <span class="math-inline"><math>\mathbf{a} = (a_1, a_2) \in \mathbb{R}^2</math></span>, we can define the open ball centered at <span class="math-inline"><math>\mathbf{a}</math></span> and with radius <span class="math-inline"><math>r > 0</math></span> to be the set of all points <span class="math-inline"><math>\mathbf{x} \in \mathbb{R}^2</math></span> contained in:</p>
 +
 +
<div style="text-align: center;"><math>\begin{align} \quad B(\mathbf{a}, r) = \{ \mathbf{x} \in \mathbb{R}^2 : d(\mathbf{x}, \mathbf{a}) < r \} = \{\mathbf{x} \in \mathbb{R}^2 : \mid x_1 - a_1 \mid + \mid x_2 - a_2 \mid < r \} \end{align}</math></div>
 +
 +
<p>We can likewise define the closed ball centered at <span class="math-inline"><math>\mathbf{a} \in M</math></span> for some metric space <span class="math-inline"><math>(M, d)</math></span> as follows.</p>
 +
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
 +
<td><strong>Definition:</strong> If <span class="math-inline"><math>(M, d)</math></span> is a metric space, <span class="math-inline"><math>a \in M</math></span>, and <span class="math-inline"><math>r > 0</math></span> then the <strong>Closed Ball</strong> centered at <span class="math-inline"><math>a</math></span> with radius <span class="math-inline"><math>r</math></span> is defined to be the set <span class="math-inline"><math>\bar{B}(a, r) = \{ x \in M : d(x, a) \leq r \}</math></span>.</td>
 +
</blockquote>
 +
<p><em>Note the subtle but important difference between the definitions of open and closed balls centered at <span class="math-inline"><math>a</math></span> with radius <span class="math-inline"><math>r</math></span>.</em></p>
 +
<p>From the example above, we can define the closed ball centered at <span class="math-inline"><math>\mathbf{a}</math></span> and with radius <span class="math-inline"><math>r > 0</math></span> to be the set of all points <span class="math-inline"><math>\mathbf{x} \in \mathbb{R}^2</math></span> contained in:</p>
 +
 +
<div style="text-align: center;"><math>\begin{align} \quad \bar{B}(\mathbf{a}, r) = \{ \mathbf{x} \in \mathbb{R}^2 : d(\mathbf{x}, \mathbf{a}) \leq r \} = \{\mathbf{x} \in \mathbb{R}^2 : \mid x_1 - a_1 \mid + \mid x_2 - a_2 \mid \leq r \} \end{align}</math></div>
 +
 +
 +
===Open and Closed Sets in Metric Spaces===
 
A set <span class="math-inline"><math>S \subseteq \mathbb{R}^n</math></span> is said to be open if <span class="math-inline"><math>S =\mathrm{int} (S)</math></span>, that is, for every point <span class="math-inline"><math>\mathbf{a} \in S</math></span> we have that there exists a positive real number <span class="math-inline"><math>r > 0</math></span> such that the ball centered at <span class="math-inline"><math>\mathbf{a}</math></span> with radius <span class="math-inline"><math>r</math></span> is contained in <span class="math-inline"><math>S</math></span>, i.e., <span class="math-inline"><math>B(\mathbf{a}, r) \subseteq S</math></span>.</p>
 
A set <span class="math-inline"><math>S \subseteq \mathbb{R}^n</math></span> is said to be open if <span class="math-inline"><math>S =\mathrm{int} (S)</math></span>, that is, for every point <span class="math-inline"><math>\mathbf{a} \in S</math></span> we have that there exists a positive real number <span class="math-inline"><math>r > 0</math></span> such that the ball centered at <span class="math-inline"><math>\mathbf{a}</math></span> with radius <span class="math-inline"><math>r</math></span> is contained in <span class="math-inline"><math>S</math></span>, i.e., <span class="math-inline"><math>B(\mathbf{a}, r) \subseteq S</math></span>.</p>
 
<p>Furthermore, we said that <span class="math-inline"><math>S \subseteq \mathbb{R}^n</math></span> is closed if <span class="math-inline"><math>S^c</math></span> is open.</p>
 
<p>Furthermore, we said that <span class="math-inline"><math>S \subseteq \mathbb{R}^n</math></span> is closed if <span class="math-inline"><math>S^c</math></span> is open.</p>

Revision as of 10:31, 8 November 2021

Open and Closed Balls in Metric Spaces

Recall from the <a href="/open-and-closed-balls-in-euclidean-space">Open and Closed Balls in Euclidean Space</a> page that if then the open ball centered at with radius is as the set of points contained in:

Similarly, the closed ball centered at with radius is the set of points contained in:

Now notice that is simply the Euclidean distance function for the metric space . We can extend the concept of open and closed balls to any metric space with its own defined metric as defined below.

Definition: If is a metric space, , and then the Open Ball centered at with radius is defined to be the set .

For example, consider the metric space where the metric for all by:

Then for each , we can define the open ball centered at and with radius to be the set of all points contained in:

We can likewise define the closed ball centered at for some metric space as follows.

Definition: If is a metric space, , and then the Closed Ball centered at with radius is defined to be the set .

Note the subtle but important difference between the definitions of open and closed balls centered at with radius .

From the example above, we can define the closed ball centered at and with radius to be the set of all points contained in:


Open and Closed Sets in Metric Spaces

A set is said to be open if , that is, for every point we have that there exists a positive real number such that the ball centered at with radius is contained in , i.e., .

Furthermore, we said that is closed if is open.

For any general metric space , we define open and closeds subsets of in a similar manner.

Definition: If is a metric space and then is said to be Open if and is said to be Closed if is open. Moreover, is said to be Clopen if it is both open and closed.

It is important to note that the definitions above are somewhat of a poor choice of words. A set may just be open, just closed, open and closed (clopen), or even neither. Unfortunately these definitions are standard and we should note that saying a set is "not open" does not mean it is closed and likewise, saying a set is "not closed" does not mean it is open.

Now consider the whole set . Is open or closed? Well by definition, for every there exists a positive real number such that since the ball centered at with radius is defined to be the set of all points IN that are of a distance less than of . Therefore is an open set.

So then the complement of is is a closed set. However, it is vacuously true that for all there exists a ball centered at fully contained in since contains no points to begin with. Therefore is also an open set and so is also a closed set.

This is the case for all metric spaces . The whole set and empty set are trivially clopen sets!

Licensing

Content obtained and/or adapted from: