Interior vs. Exterior vs. Boundary
Given a set in a space, every point of the space falls into exactly one of three parts. The interior of a set is the part well inside it, the exterior is the part well outside it, and the boundary is where the two meet. Every point of the space is in exactly one of the three.
For every set $A$, the space is the disjoint union of $\operatorname{int} A$, $\partial A$, and $\operatorname{ext} A$.
Definitions
The interior of a shape is the part on its inside, not including its edge.
A point $x$ is in the interior of $A$ if there exists an open ball around $x$ that is contained in $A$.
Worked examples
-
Value:
The inside of the square, without its edges
Every point inside the square has a small disk around it within the square, so the inside is the interior. -
Value:
$\operatorname{int} D = \setdef{(x, y) \suchthat x^2 + y^2 < 1}$
The interior of the closed unit disk $D$ is the open disk. -
Value:
$\operatorname{int} [0, 1] = (0, 1)$
The interior of $[0, 1]$ is $(0, 1)$, because no interval around $0$ or $1$ stays inside $[0, 1]$. -
Value:
$\emptyset$
The circle is a curve, so no open ball around any of its points is contained in the circle, and its interior is empty. The open disk $\setdef{(x, y) \suchthat x^2 + y^2 < 1}$ that the circle encloses is the interior of the closed disk, not of the circle. -
Value:
$\operatorname{int} [0, 1) = (0, 1)$
The interior of $[0, 1)$ is $(0, 1)$, because every point of $(0, 1)$ has a small interval around it within $[0, 1)$. -
Value:
$\operatorname{int} (0, 1) = (0, 1)$
The interior of $(0, 1)$ is $(0, 1)$, because every point of $(0, 1)$ has a small interval around it inside $(0, 1)$; that is, $(0, 1)$ is open. -
Value:
$\operatorname{int} \rationals = \emptyset$
Every interval contains rational and irrational numbers, so $\rationals$ has an empty interior and an empty exterior.
Think of a shape drawn on paper, with an inside, an edge, and an outside. The exterior of the shape is everything outside it, not including its edge.
Consider a set $A \subseteq \reals^n$ and a point $x$. The point $x$ is in the exterior of $A$ if there exists an open ball around $x$ that does not contain any points in $A$.
Worked examples
-
Value:
Everything outside the square
The rest of the page is the exterior. -
Value:
$\operatorname{ext} D = \setdef{(x, y) \suchthat x^2 + y^2 > 1}$
The boundary is the unit circle, which $D$ contains, and the exterior is everything outside the circle. -
Value:
$\operatorname{ext} [0, 1] = (-\infty, 0) \cup (1, \infty)$
The exterior of $[0, 1]$ is everything outside $[0, 1]$, because each of those points has a small interval around it that misses $[0, 1]$. -
Value:
$\operatorname{ext} [0, 1) = (-\infty, 0) \cup (1, \infty)$
-
Value:
$\operatorname{ext} (0, 1) = (-\infty, 0) \cup (1, \infty)$
The exterior of $(0, 1)$ is everything outside $[0, 1]$, because each of those points has a small interval around it that misses $(0, 1)$. -
Value:
$\operatorname{ext} \rationals = \emptyset$
Consider a shape drawn on a piece of paper using a continuous line that forms a closed loop. There is a portion of the paper that is inside the shape and a portion that is outside. The boundary of the shape is curve that separates the inside from the outside.
Consider a set $A \subseteq \reals^n$ and a point $x$. The point $x$ is in the boundary of $A$ if every open ball around $x$ contains both a point of $A$ and a point not in $A$.
Consider a subset $A$ of a topological space, with its closure $\closure{A}$ and its interior $\operatorname{int}(A)$. The boundary of $A$ is
\[\partial A = \closure{A} \setdiff \operatorname{int}(A).\]Examples
-
The six faces form the boundary of the solid cube because every ball around a point of a face contains points inside and outside the cube.
-
The unit circle is the boundary of the closed unit disk because every ball around a point of the circle contains points inside and outside the disk.
-
$\reals$ is the boundary of $\rationals$ because every interval contains rational and irrational numbers, so every real number is a boundary point of $\rationals$.
Non-examplesThings that may be mistaken for examples of this term.
-
One side of a square is not the boundary of the square, because the boundary consists of all four sides.
-
The connection between two people in a social network is not a boundary, because a graph edge is a pair of vertices, with no geometry.
Worked examples
-
Value:
Its four edges
Every small disk around a point on an edge reaches both inside and outside the square, so the edges are the boundary. -
Value:
$\partial D = \setdef{(x, y) \suchthat x^2 + y^2 = 1}$
The boundary of the closed unit disk $D$ is the unit circle. -
Value:
$\partial [0, 1] = \setdef{0, 1}$
The boundary of $[0, 1]$ is $\setdef{0, 1}$, because every interval around $0$ or $1$ contains points inside and outside $[0, 1]$. -
Value:
$\partial [0, 1) = \setdef{0, 1}$
The boundary contains $1$ even though the set does not, and $0$ even though the set does. -
Value:
$\partial (0, 1) = \setdef{0, 1}$
The boundary of $(0, 1)$ is $\setdef{0, 1}$, because every interval around $0$ or $1$ contains points inside and outside $(0, 1)$. -
Value:
$\partial \rationals = \reals$
Every interval contains both rational and irrational numbers, so every real number is a boundary point.
Properties
- $\partial A = \closure{A} \cap \closureOf{X \setdiff A}$, so a set and its complement have the same boundary.
- The boundary of every set is closed.
- A set $A$ is closed if and only if it contains its boundary: $\partial A \subset A$,
- A set $A$ is open if and only if it is disjoint from its boundary: $\partial A \cap A = \emptyset$.
Consider a set $A$ of points on the number line, in the plane, or in space. The closure of $A$ is $A$ together with all of its boundary points.
Consider a set $A$ in a metric space. The closure $\closure{A}$ of $A$ is the set of limits of convergent sequences of points of $A$.
Consider a set $A$ in a topological space. The closure $\closure{A}$ of $A$ is the intersection of all closed sets that contain $A$.
Worked examples
-
Value:
$\closureOf{[0, 1]} = [0, 1]$
The closure of $[0, 1]$ is $[0, 1]$ itself, because $[0, 1]$ is closed. -
Value:
$\closureOf{[0, 1)} = [0, 1]$
The closure of $[0, 1)$ adds the missing boundary point $1$. -
Value:
$\closureOf{(0, 1)} = [0, 1]$
The closure of $(0, 1)$ adds its boundary points $0$ and $1$. -
Value:
$\closure{\rationals} = \reals$
The closure of $\rationals$ is $\reals$, because every real number is a limit of rational numbers.
Properties
- The closure of $A$ is the smallest closed set that contains $A$, and $A$ is closed if and only if $A = \closure{A}$.
- The closure of $A$ is the union of the interior and the boundary of $A$.
Examples
A solid square, drawn on a page
| interior | The inside of the square, without its edges |
|---|---|
| exterior | Everything outside the square |
| boundary | Its four edges |
$(0, 1)$
| interior | $\operatorname{int} (0, 1) = (0, 1)$ |
|---|---|
| exterior | $\operatorname{ext} (0, 1) = (-\infty, 0) \cup (1, \infty)$ |
| boundary | $\partial (0, 1) = \setdef{0, 1}$ |
| closure | $\closureOf{(0, 1)} = [0, 1]$ |
$[0, 1]$
| interior | $\operatorname{int} [0, 1] = (0, 1)$ |
|---|---|
| exterior | $\operatorname{ext} [0, 1] = (-\infty, 0) \cup (1, \infty)$ |
| boundary | $\partial [0, 1] = \setdef{0, 1}$ |
| closure | $\closureOf{[0, 1]} = [0, 1]$ |
$[0, 1)$, as a subset of $\reals$
| interior | $\operatorname{int} [0, 1) = (0, 1)$ |
|---|---|
| exterior | $\operatorname{ext} [0, 1) = (-\infty, 0) \cup (1, \infty)$ |
| boundary | $\partial [0, 1) = \setdef{0, 1}$ |
| closure | $\closureOf{[0, 1)} = [0, 1]$ |
The closed unit disk $D = \setdef{(x, y) \suchthat x^2 + y^2 \leq 1}$
| interior | $\operatorname{int} D = \setdef{(x, y) \suchthat x^2 + y^2 < 1}$ |
|---|---|
| exterior | $\operatorname{ext} D = \setdef{(x, y) \suchthat x^2 + y^2 > 1}$ |
| boundary | $\partial D = \setdef{(x, y) \suchthat x^2 + y^2 = 1}$ |
$\rationals$, as a subset of $\reals$
| interior | $\operatorname{int} \rationals = \emptyset$ |
|---|---|
| exterior | $\operatorname{ext} \rationals = \emptyset$ |
| boundary | $\partial \rationals = \reals$ |
| closure | $\closure{\rationals} = \reals$ |
The circle $\setdef{(x, y) \suchthat x^2 + y^2 = 1}$ in $\reals^2$
| interior | $\emptyset$ |
|---|
Notes
- “Inside” in everyday speech often means “enclosed by.” A circle encloses a disk, but the circle’s interior, as a set, is empty.
- The closure of a set is its interior together with its boundary.