\(\renewcommand{\R}{\mathbb R }\)
\(\Leftarrow\) \(\Uparrow\) \(\Rightarrow\)
The most important point in this section is to understand the definitions of open and closed sets, and to develop a good intuitive feel for what these sets are like. This requires some understanding of the notions of boundary, interior, and closure.
In fact, we will see soon that many sets can be recognized as open or closed, by the nature of their description, without appealing to \((\varepsilon, \delta)\) arguments. Just like limits of functions in single variable calculus, we want to ensure that they have a solid definition, and that we can explain with \((\varepsilon, \delta)\) if we need to. But we won’t always need to.
Some proofs are given here and in the lectures. These sorts of proofs are good practice for theorem-proving skills, and straightforward proofs of this sort would be reasonable test questions.
The interval is a fundamental object in \(\R\). Most of the theorems in one variable involve functions with an open or closed interval as a domain, so we would like to generalize the concept of an interval. The first way to do it is to think of the interval as the set of points close to the centre of the interval. In \(\R^n\), we call this an open ball.
We may say “ball” instead of “open ball”, and may call this the neighbourhood of radius \(r\) around \(\mathbf a\).
Although “sphere” and “ball” may be used interchangeably in ordinary English, in mathematics they have different meanings. We will not use sphere often enough to warrant a special notation. The union of an open ball and its sphere is called the closed ball with centre \(\mathbf a\) and radius \(r\), \(\overline B(\mathbf a;r)=\{ \mathbf x \in \R^n : |\mathbf x - \mathbf a|\leq r\}\), named like a closed interval.
We will write \(\mathbf 0\), in boldface, to denote the origin in \(\R^n\).
Compare this to your definition of bounded sets in \(\R\).
Assume that \(S\subseteq \R^n\) and that \(\mathbf x\) is a point in \(\R^n\). Imagine you zoom in on \(\mathbf x\) and its surroundings with a microscope that has unlimited powers of magnification. This is an experiment that is beyond the reach of current technology but can be carried out with perfect accuracy in your mind. One of three possibilities must occur:
There is some magnification beyond which you see only points that belong to \(S\). More precisely, \[\begin{equation}\label{interior}\exists \varepsilon>0 : B(\mathbf x;\varepsilon)\subseteq S. \end{equation}\]
There is some magnification beyond which you see only points that do not belong to \(S\) (or equivalently, that belong to \(S^c\)). More precisely, \[\begin{equation}\label{compint}\exists \varepsilon>0 : B(\mathbf x;\varepsilon)\subseteq S^c.\end{equation}\]
None of the above: no matter how much you turn up the magnification, you always see both some points that belong to \(S\), and some that do not. More precisely, \[\begin{equation}\label{boundary} \forall \varepsilon>0 : \left(B(\mathbf x;\varepsilon)\cap S\ne \emptyset \ \text{ and } \ B(\mathbf x;\varepsilon)\cap S^c\ne \emptyset\ \right).\end{equation}\]
What about Case 2 above? Recall that if \(S\subseteq \R^n\), then the complement of \(S\), denoted \(S^c\), is \(\{ \mathbf x\in \R^n : \mathbf x \not\in S\}.\) In Case 2, there is an open ball around \(\mathbf x\) that is contained entirely outside of \(S\), so \(\mathbf x\) is in the interior of the complement of \(S\), in symbols, \(\mathbf x \in (S^c)^{int}\). Equivalently, \(\mathbf x \in \left(\overline S\right)^c\). Try to show that these are equivalent.
Here are some basic properties of interiors, boundaries and closures. Try to write out formal proofs of these before looking at the proofs.
For any \(S\subseteq \R^n\), \[ S^{int} \subseteq S \subseteq \overline S. \] In particular, every point of \(S\) is either an interior point or a boundary point.
To prove that \(S^{int}\subseteq S\), consider an arbitrary point \(\mathbf x \in S^{int}\). By definition of interior, there exists \(\varepsilon>0\) such that \(B(\mathbf x;\varepsilon)\subseteq S\). Since \(\mathbf x\in B(\mathbf x;\varepsilon)\), it follows that \(\mathbf x\in S\). Since \(\mathbf x\) was an arbitrary point of \(S^{int}\), it follows that \(S^{int}\subseteq S\).
Next, consider an arbitrary point \(\mathbf x\) of \(S\). Then for every \(\varepsilon>0\), both \(\mathbf x \in B(\mathbf x;\varepsilon)\) and \(\mathbf x \in S\) are true. Hence \(B(\mathbf x;\varepsilon)\cap S\ne \emptyset\) for every \(\varepsilon>0\). This says that \(\mathbf x\in \overline S\). Since \(\mathbf x\) was an arbitrary point of \(S\), it follows that \(S\subseteq \overline S\).
Finally, the statement that \(S\subseteq \overline S\) says exactly that every point of \(S\) is either an interior point or a boundary point, since \(\overline S = S^{int}\cup \partial S\).First we claim that \[\begin{equation}\label{cc} (S^c)^c = S. \end{equation}\]
This is probably familiar from earlier classes, and can be checked by unwinding the definitions: \[\begin{align*} \mathbf x\in (S^c)^c &\quad\iff\qquad \mathbf x\not\in S^c = \{ \mathbf y\in \R^n : \mathbf y\not\in S\} \\\ &\quad\iff\qquad\mathbf x\in S \end{align*}\] This proves \(\eqref{cc}\). Next, we use \(\eqref{cc}\) to deduce that \[\begin{align*} \mathbf x \in \partial(S^c) &\iff \ \forall \varepsilon>0, \ \ B(\mathbf x; \varepsilon)\cap S^c\ne \emptyset \ \text{ and } \ B(\mathbf x; \varepsilon)\cap (S^c)^c\ne \emptyset\ \\\ &\iff \ \forall \varepsilon>0, \ \ B(\mathbf x; \varepsilon)\cap S^c\ne \emptyset \ \text{ and } \ B(\mathbf x; \varepsilon)\cap S\ne \emptyset\ \\\ &\iff \mathbf x\in \partial S \end{align*}\] This completes the proof.What are the interior, boundary, and closure of an open ball \(B(\mathbf a, r)\), for \(\mathbf a\in \R^n\) and \(r>0\)?
If we want to prove these (not recommended, for the assertion about \(\partial S\)), we can do so as follows:
Let \(T=\{ \mathbf x \in \R^n : |\mathbf x - \mathbf a| = r\}.\) This proof is pretty complicated, because there are a lot of details to keep straight. We must prove that \(\partial S \subseteq T\) and that \(T\subseteq \partial S\). * \(\partial S\subseteq T\): We already know that if \(|\mathbf x-\mathbf a|<r\), then \(\mathbf x\in S^{int}\), and thus \(\mathbf x\not\in \partial S\).
* Essentially the same argument shows that if \(|\mathbf x-\mathbf a|>r\), then \(\mathbf x\in (S^c)^{int}\), and thus \(\mathbf x\not\in \partial S\). This completes the proof that \(\partial S\subseteq T\).
To show \(T\subseteq \partial S\), let \(\mathbf x\in T\). We must check that that for every \(\varepsilon>0\), \(B(\mathbf x, \varepsilon)\) intersects both \(S\) and \(S^c\). Thus we consider: * \(B(\mathbf x, \varepsilon)\cap S^c\ne \emptyset\). This is clear, since \(\mathbf x\in T \subseteq S^c\). * \(B(\mathbf x, \varepsilon)\cap S\ne \emptyset\). This is the hardest point. One way to do it is to specify a point \(\mathbf y\) that belongs to both \(S\) and \(B(\mathbf x; \varepsilon)\). This can be done by choosing \(\mathbf y\) on the line segment from \(\mathbf a\) to \(\mathbf x\), that is \(\mathbf y = \mathbf a + t(\mathbf x - \mathbf a)\) for \(0<t<1\), and then taking \(t>1-\varepsilon\).
Should you practice rigorously proving that the interior/boundary/closure of a set is what you think it is? This will mostly be unnecessary, due to an easy test that we will introduce in Section 1.2.3. In general, we do not recommend spending a lot of time proving these the long way.
On the other hand, the proof that every point of an open ball is an interior point is fundamental, and you should understand it well.
For each of the sets below, determine (without proof) the interior, boundary, and closure. Some of these examples, or similar ones, may be discussed in the lectures.
\(\quad S = \left\{(x,y)\in \R^2 : x>0 \text{ and } y\ge 0\right\}\).
\(\quad S = \left\{ \left(\dfrac 1n, \dfrac 1{n^2}\right) \in \R^2 : n\text{ is a positive integer}\right\}.\)
\(\quad S = \left\{ (x,y)\in \R^2 : y = x^2 \right\}\).
\(\quad S = \left\{ (x,y,z)\in \R^3 : z > x^2 + y^2 \right\}\).
\(\quad S = \left\{ x\in (0,1) : x\text{ is rational} \right\}\).
\(\quad S = \left\{ (x,y)\in \R^2 : x\text{ is rational} \right\}\).
\(\quad S = \left\{ \mathbf x \in \R^3 : 0< |\mathbf x| < 1, \ |\mathbf x| \text{ is irrational} \right\}\).
Considering only open or closed balls will not be general enough for our domains. To generalize open and closed intervals, we will consider their boundaries and interiors. By our definition, the boundary of an interval is the set of two endpoints. Then we categorize types of intervals by whether they contain all of their boundary points or not. The closed interval \([a,b]\) contains all of its boundary points, while the open interval \((a,b)\) contains none of them. We generalize these terms to sets in \(\R^n\):
In Section 1.2.3, we will see how to quickly recognize many sets as open or closed.
Contrary to what the names “open” and “closed” might suggest,
In this class, we will mostly see open and closed sets. For example,
Here are alternate characterizations of open and closed sets that are often useful in proofs.
First, if \(S\) is open, then \(S = S^{int}\), which certainly implies that \(S\subseteq S^{int}\), or in other words that every point of \(S\) is an interior point.
Conversely, assume that every point of \(S\) is an interior point, or in other words that \(S\subseteq S^{int}\). We know from Theorem 1 above that \(S^{int}\subseteq S\). Combining these, we conclude that \(S=S^{int}\). This completes the proof of the first “\(\iff\)” in the statement of the theorem. The second “\(\iff\)” follows directly from the definition of interior point.By definition, if \(S\) is closed, then \(S = \overline S = S^{int}\cup \partial S\). This certainly implies that \(\partial S\subseteq S\), or in other words that every boundary point of \(S\) belongs to \(S\).
Conversely, assume that \(\partial S\subseteq S\). We know from Theorem 1 above that \(S^{int}\subseteq S\). Combining these, we conclude that \(\overline S\subseteq S\). Again using Theorem 1, we recall that \(S\subseteq \overline S\). It follows that \(\overline S = S\), and hence that \(S\) is closed. This completes the proof of the first “\(\iff\)” in the statement of the theorem.
Next, since \(\partial S = \partial S^c\) and every point of \(S^c\) belongs either to \((S^c)^{int}\) or \(\partial(S^c)\), \[\begin{align*} S\text{ is closed } &\iff \partial S \subseteq S \iff \partial (S^c) \subseteq S \\\ &\iff \text{ no point of $S^c$ is a boundary point } \iff S^c\text{ is open}. \end{align*}\] This completes the proof.Every open ball \(B(\mathbf a; r)\) is an open set. Although this sounds obvious, the proof given above requires a few steps.
The above definitions (open ball, open set, closed set …) all make sense when \(n=1\), that is, for subsets of \(\R\). In this case,
an open interval \((a,b)\) is an open set. This is also true for intervals of the form \((a,\infty)\) or \((-\infty, b)\).
A closed interval \([a,b]\) is a closed set.
Try to find other examples of open sets and closed sets in \(\R\).
Give an example of a set \(S\subseteq \R^n\) that is both open and closed. Can you think of two different sets with this property? How about three?
For the sets in problems 1-9, determine:
No proof is necessary.
\(\quad S = \{ \mathbf x \in \R^n : |\mathbf x|<1\}\).
\(\quad S = \{(x,y)\in \R^2 : x>0 \text{ and } y\ge 0\}\).
\(\quad S = \left\{ \left(\dfrac 1n, \dfrac 1{n^2}\right) \in \R^2 : n\text{ is a positive integer}\right\}.\)
\(\quad S = \{ (x,y)\in \R^2 : y = x^2 \}\).
\(\quad S = \{ (x,y,z)\in \R^3 : z > x^2 + y^2 \}\).
\(\quad S := \{ x\in\R : x\in (0,1)\text{ and } x\text{ is rational} \}\).
\(\quad S = \{ (x,y)\in \R^2 : x\text{ is rational } \}\).
\(\quad S = \{ \mathbf x \in \R^3 : 0< |\mathbf x| < 1, \ |\mathbf x| \text{ is irrational} \}\).
\(\quad S = \{ \mathbf x \in \R^n : |\mathbf x| = 2^{-j} \text{ for some }j\in {\mathbb N}\}\).
Can a set be both open and closed at the same time?
Must a set be either open or closed?
Can a set be both bounded and unbounded at the same time?
Must a set be either bounded or unbounded?
Advanced
Prove that if \(A, B\) are open subsets of \(\R^n\) then \(A\cup B\) and \(A\cap B\) are open.
Deduce from this and de Morgan’s laws that if \(A, B\) are closed subsets of \(\R^n\) then \(A\cup B\) and \(A\cap B\) are closed.
If \(A_1, A_2, \ldots\) is a sequence of subsets of \(\R^n\), then we define \[ \bigcup_{j\ge 1} A_j := \{ \mathbf x\in \R^n : \exists j \ge 1\text { such that }\mathbf x\in A_j \}. \] Prove that if \(A_j\) is open for every \(j\), then so is \(\bigcup_{j\geq 1} A_j\).
If \(A_1, A_2, \ldots\) is a sequence of subsets of \(\R^n\), then we define \[ \bigcap_{j\ge 1} A_j := \{ \mathbf x\in \R^n : \mathbf x\in A_j \,\forall j\ge 1 \}. \]
Is it true that if \(A_j\) is closed for every \(j\), then \(\bigcup_{j\ge 1} A_j\) must be closed?
Hint
It may be relevant to note that \(\left(\bigcup_{j\ge 1} A_j\right)^c = \bigcap_{j\ge 1} A_j^c\).
Assume that \(A\) is a nonempty open subset of \(\R\), and let \[ S = \{ (x,0) : x\in A \} \subseteq \R^2. \]That is, \(S\) is a copy of \(A\) on the \(x\)-axis in \(\R^2\). Is \(S\) open, closed, or neither? Prove that your answer is correct.
Assume that \(A_1\) and \(A_2\) are nonempty open subsets of \(\R\), and let \[ S := \{ (x,y) : x\in A_1, y\in A_2 \} \subseteq \R^2. \] Is \(S\) open, closed, or neither? Prove that your answer is correct.
\(\Leftarrow\) \(\Uparrow\) \(\Rightarrow\)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Canada License.