We proceed by induction on . In the case , we suppose
is a basis for the inner product space . Letting , it is clear that , whence it follows that . Thus is an orthonormal basis for , and the result holds for . Now let , and suppose the result holds for arbitrary . Let be a basis for an inner product space . By the inductive hypothesis we may use to construct an orthonormal set of vectors such that . In accordance with the procedure outlined in the statement of the theorem, let be defined as
|
|
|
First we show that the vectors are mutually orthogonal.
Consider the inner product of
with for . By construction, we have
|
|
|
Now since is an orthonormal set of vectors, whence
, each term in the summation on the right-hand side of the preceding equation will vanish except for the term where . Thus by this and the preceding equation, we have
|
|
|
Thus is orthogonal to for , so we may take to have an orthonormal set of vectors. Finally we show that is a basis for .
By construction, each is a linear combination of the vectors , so we have orthogonal, hence linearly independent vectors in the dimensional space , from which it follows that is a basis for . Thus the result holds for , and by the principle of induction, for all .
∎