The Steinitz exchange lemma is a basic theorem in linear algebra used, for example, to show that any two bases for a finite-dimensional vector space have the same number of elements. The result is named after the German mathematician Ernst Steinitz. The result is often called the Steinitz–Mac Lane exchange lemma, also recognizing the generalization[1] by Saunders Mac Lane of Steinitz's lemma to matroids.[2]
Contents |
If {v1, ..., vm} is a set of m linearly independent vectors in a vector space V, and {w1, ..., wn} span V then m ≤ n and, possibly after reordering the wi, the set {v1, ..., vm, wm + 1, ..., wn} spans V.
We are going to show that for any integer satisfying , the following assertion is valid:
(1) we have , and the set spans .
In fact, we will prove (1) by induction over : Being clear for , the only thing that needs to be done is the induction step. So assume that some satisfying is such that and such that the set spans . Then, (because otherwise, we would have , so that the set would be equal to the set , but this set cannot span since and since the set is linearly independent), and thus can be sharpened to .
Since , we may write . As also are linearly independent not all the may be zero. Thus without loss of generality, by reordering the , we may assume that is not zero. Therefore, the equation can be used to write as a linear combination of . In other words, is in the span of and so the latter must be the whole of . This completes the induction step, and (1) follows by induction on . The Lemma now follows from (1), applied to .
The Steinitz exchange lemma is a basic result in computational mathematics, especially in linear algebra and in combinatorial algorithms.[3]