Quick description
If you want to prove that a set is open or closed, then it is tempting to argue directly from the definitions of "open" and "closed". But one can often argue much more cleanly by using some basic facts instead.
Prerequisites
Basic analysis, definitions of open and closed sets, easy theorems about open and closed sets.
![]() |
General discussion
Here are some theorems that can be used to shorten proofs that a set is open or closed.
A union of open sets is open, as is an intersection of finitely many open sets.
An intersection of closed sets is closed, as is a union of finitely many closed sets.
If
is a continuous function and
is open/closed, then
is open/closed.A subset
of
(or more generally of a metric space) is closed if and only if whenever
is a sequence of elements of
and
, then
is also an element of
.
Example 1
Let
be the set of all real numbers
such that there exists a rational number
such that
. What is the neatest way of showing that
is open?
One method that involves nothing more than formal manipulations is to express the definition of
as
where
is the continuous function
and
is the open interval
. Since each
is open and
is continuous, so is each
, and therefore so is their union. And we have shown this without dirtying our hands with epsilons and deltas.
General discussion
Often in analysis it is helpful to bear in mind that "there exists" goes with unions and "for all" goes with intersections. For example, the set of all real numbers
such that there exists a positive integer
with
is the union over all
of the set of
with
. Perhaps writing this symbolically makes it clearer:
This often makes it possible to show that a set is open by showing that it is a union of sets that are more obviously open. Similarly, one can often express the set of all
that satisfy some condition as the inverse image of another set under a continuous function. For example, a quick proof that the set of all non-singular
matrices is open (in any reasonable metric that you might like to put on them) is that it is equal to
, which is the inverse image of the open set
under the continuous map
.
Tricki