102 Chapter 5 Higher Dimensional Linear Algebra
An interesting kind of subset of R
n
is a set that is both open and dense.
Such a set
U is characterized by the following properties: Every point in
the complement of
U can be approximated arbitrarily closely by points of
U (since U is dense); but no point in U can be approximated arbitrarily closely
by points in the complement (because
U is open).
Here is a simple example of an open and dense subset of
R
2
:
V ={(x, y) ∈ R
2
|xy = 1}.
This, of course, is the complement in
R
2
of the hyperbola defined by xy = 1.
Suppose (x
0
, y
0
) ∈ V. Then x
0
y
0
= 1 and if |x −x
0
|, |y −y
0
|are small enough,
then xy = 1; this proves that
V is open. Given any (x
0
, y
0
) ∈ R
2
, we can find
(x, y) as close as we like to (x
0
, y
0
) with xy = 1; this proves that V is dense.
An open and dense set is a very fat set, as the following proposition shows:
Proposition. Let
V
1
, ..., V
m
be open and dense subsets of R
n
. Then
V = V
1
∩ ...∩ V
m
is also open and dense.
Proof: It can be easily shown that the intersection of a finite number of open
sets is open, so
V is open. To prove that V is dense let U ⊂ R
n
be a nonempty
open set. Then
U ∩ V
1
is nonempty since V
1
is dense. Because U and V
1
are
open,
U ∩V
1
is also open. Since U ∩V
1
is open and nonempty, (U ∩V
1
) ∩V
2
is nonempty because V
2
is dense. Since V
1
is open, U ∩V
1
∩V
2
is open. Thus
(
U ∩ V
1
∩ V
2
) ∩ V
3
is nonempty, and so on. So U ∩ V is nonempty, which
proves that
V is dense in R
n
.
We therefore think of a subset of R
n
as being large if this set contains an
open and dense subset. To make precise what we mean by “most” matrices, we
need to transfer the notion of an open and dense set to the set of all matrices.
Let L(
R
n
) denote the set of n ×n matrices, or, equivalently, the set of linear
maps of
R
n
. To discuss open and dense sets in L(R
n
), we need to have a notion
of how far apart two given matrices in L(
R
n
) are. But we can do this by simply
writing all of the entries of a matrix as one long vector (in a specified order)
and thereby thinking of L(
R
n
)asR
n
2
.
Theorem. The set
M of matrices in L(R
n
) that have n distinct eigenvalues is
open and dense in L(
R
n
).
Proof: We first prove that
M is dense. Let A ∈ L(R
n
). Suppose that A has
some repeated eigenvalues. The proposition from the previous section states