For many important results and definitions, we’ll require domains that have some nice properties. In particular, we’ll be concerned with the shapes of our domains. Thinking back to single variable calculus, continuous functions could behave very differently if they were defined on an open interval versus a closed interval.

For example, the extreme value theorem told us that a continuous function on a closed interval will always have an absolute maximum and an absolute minimum. However, a continuous function on the open interval might not have absolute extrema. The function is continuous on , but has an asymptote , and does not have an absolute maximum on the interval .

ADD GRAPH

On the other hand, open intervals were also important. In order for a limit to exist, the function needed to be defined on some open interval containing .

We’ll need to generalize these concepts of open and closed intervals in order to apply them to multivariable functions. Essentially, we’ll need to understand the shapes of our domains. We can do this using ideas from an area of mathematics called “topology.”

Topology is focused on the shape and spaces, and how to distinguish between different shapes and spaces. However, it takes a much more flexible perspective that you might have seen in geometry classes. In topology, deformations like stretching, shrinking, or bending a space aren’t viewed as changing a space. In particular, distance between points isn’t important. Instead, topology employs a much looser idea of closeness - provided by open sets, which are a generalization of open intervals.

In general, there are a lot of interesting and weird topological spaces which are not subspaces of any ! However, for our purposes, focusing on subspaces of will be sufficient, so our definitions might look different from some of the definitions you would see in a topology textbook.

Open Sets

You’ve probably seen many open sets before, without even realizing it! For example, the open interval is an open set, as is the disc and the open half-plane .

We begin by defining the most basic type of open set, called an open ball.

In words, this is the set of points within a fixed distance of a center point .

In each problem, describe the open ball.

In , is the
open interval inside of a circle inside of a sphere
.
In , is the
open interval inside of a circle inside of a sphere
of radius centered at .
In , is the
open interval inside of a circle inside of a sphere
of radius centered at .

Now we can define open sets in general, using our new idea of open balls.

In words, for any point in , we can find a radius small enough that the entire ball of radius centered at is contained in .

_

Even if we don’t have an open set, it’s possible that there might be some points in with this special property. We call these interior points.

So, we can restate the definition of an open set as “every point is an interior point.”

For each of the following, determine whether or not the set is open.

(a)
in
open not open
(b)
in
open not open
(c)
in
open not open
(d)
in
open not open
(e)
in
open not open
(f)
in
open not open

We finish this section by proving an important result about open sets: that the union of a collection of open sets is itself an open set.

Proof
Let . We will show that is an interior point.

Since , there is some such that . Since is open, there is a radius such that is contained entirely in . Then, since , we have that . This shows that is an interior point, and that is an open set.

Closed Sets

We now introduce closed sets, which are defined via their relationship to open sets. Closed sets can be thought of as a generalization of closed intervals.

Recall that the complement of a subset of consists of the elements of which are not in . That is, and are both common notations for complements. has the advantage of being succinct, while has the advantage of referring to the larger set , which can help avoid confusion.

We now give a couple examples of closed sets.

It’s very important to remember that, even though closed sets are defined in relation to open sets, “closed” is not the same as “not open”. It is possible for a set to be neither closed nor open, and it’s possible for a set to be both open and closed.

We’ve used the word “boundary” to refer to the “edge” of a set. This intuitive idea is useful in working with example, however we do need a rigorous definition of the boundary of a set, which we now give.

From working with examples of open and closed sets, you may have guessed that closed sets tend to contain their boundary points, while open sets do not. This is supported by the following theorem.

Proof
If is closed, then its complement is open. Consider a boundary point of . For any radius , contains points in and points in . Since is open, this means that . Thus , as desired.

Working in the other direction, suppose that contains all of its boundary points. We will show that the complement of , , is open. Let . Since is not a boundary point of , and any open ball centered at contains at least one point not in (namely, ), there must be an open ball with containing no points in . Then . This shows that is open, and hence is closed.

For each of the following, determine if the natural domain of the given function is open, closed, both, or neither.

(a)
open closed both open and closed neither open nor closed
(b)
open closed both open and closed neither open nor closed
(c)
open closed both open and closed neither open nor closed
(d)
open closed both open and closed neither open nor closed
(e)
open closed both open and closed neither open nor closed
(f)
open closed both open and closed neither open nor closed

Neighborhoods

In calculus, we frequently need to talk about what happens “near” or “close to” a given point. For example, when defining a limit in single variable calculus, we talk about what happens to as gets close to . One of the challenges of calculus is figuring out how to make this idea of “close to” mathematically rigorous!

One of the ways that we can do this is using neighborhoods, which are really just open sets.

Here’s the key idea behind talking about neighborhoods: if something happens “near” a point, we can find an open set containing that point, where that thing happens. Let’s look at some examples.

As we continue in calculus, you’ll frequently come across the phrase “in a neighborhood of .” Intuitively, this means “close to .” The precise meaning is, “in some (possibly very small) open set containing .”