In some of the subsequent discussions, it is convenient to discuss how a subspace may converge to another subspace.

Consider two subspaces and . We can define two orthogonal projects and unto and . Then the generalized angle or distance between these subspaces is defined by

We can make sense of this definition on a simple example. Consider and 2 unit vectors. What is the distance between span and span?

Denote by the angle between and , and denote by , . Then, there exists a unit vector orthogonal to in span such that

Then

Since the matrix

is orthogonal, we have that:

since

is orthogonal.

So the distance between these subspaces is equal to . That distance is 0 if the subspaces are equal. The maximum distance is 1.