Gram-Schmidt Method

Given a basis (Not necessarily Orthogonal) of a subspace , we want to find an Orthogonal Basis that spans . To do this we use the Gram-Schmidt Method to construct a new basis .

To get an Orthonormal Basis that spans we can take our orthogonal basis that we calculated with Gram-Schmidt, then we can construct a new basis by normalizing each vector like so: