In the calculus of a single variable, we deal with open and closed intervals. The extension of these concepts to two and higher dimensional spaces are open and closed sets. First, we extend the concept of a neighborhood to
Definition 1. Let
- In other words,
consists of all points whose distance from the point is less than . is also called the open ball of radius and center .- When
, is an open interval with its center at the point ; that is, (See Figure 1 (a)). - In the plane (or when
), is a circular disk with center and radius given by the inequality
(See Figure 1 (b)). - In
, is a spherical solid with center and radius given by the inequality
(See Figure 1 (c)). - The points
whose distance from is exactly form the boundary of .
![]() |
![]() |
![]() |
(a) Open interval | (b) Circular disk | (c) Spherical solid |
Figure 1: Neighborhoods in (a)
Definition 2. Let
- A point
is called an interior point of if there exists some neighborhood of such that all of its points belong to . In other words, there exists such that . The set of all interior points of is called the interior of and denoted by . - A point
is called a boundary point of , if every neighborhood of contains at least one point in and at least one point not in . The set of all boundary points of is called the boundary of and denoted by . - A point
is called an exterior point of if it is neither an interior nor a boundary point of . The point is an interior point of the complement of , . The set of all exterior points of is called the exterior of and is denoted by ext .
Interior, boundary, and exterior points are depicted in Figure 2. Note that ‘not belonging to

Definition 3. A set
A set
- A set is open if and only if it contains no boundary point
- A set is closed if and only if it contains its boundary.
Figure 3 (a) shows an open set because it does not include its boundary. Figure 3 (b) shows a closed set because the set contains its boundary. Figure 3 (c) shows a set that is neither open nor closed, because the set contains some boundary points (so it cannot be an open set) and does not include the entire of its boundary (so it cannot be a closed set).
![]() |
![]() |
![]() |
(a) Open set | (b) Closed set | (c) neither open nor closed |
Figure 3
- An open interval
is an open set in because it does not contain its boundary points and . A closed interval is closed in , but the intervals and are neither open nor closed.
- The interval
is an open set but the interval is a closed set in .
is an open set. Therefore, its complement (the empty set) is closed.
- The empty set is also an open set (since the empty set has no point, there is no point that is NOT interior. Hence the empty set is an open set); therefore,
is a closed set. In other words, and are both open and closed.
- The union or the intersection of two or more open intervals is open, and the union or the intersection of two or more closed intervals is closed.
- The Cartesian product of two open intervals
is an open set. The Cartesian product of two closed intervals is a closed set. However, , are neither open nor closed.
- Note that an open interval in
is not an open set when it is considered as a subset of , because any neighborhood of its points contains some points that do not belong to this interval. In fact, no subset of (except the empty set) is open in .
- Let
and , then is an open set; due to the strict inequality in Definition 1, does not include any boundary point.