The Gram–Schmidt process is a method for orthonormalising a set of vectors in an inner product space and the trivial way to remember this is through an ansatz :
Let be a set of normalized basis vectors but we would also like to make them orthogonal. We will call be the orthonormalized set of basis vectors formed out .
Let’s start with the first vector:
Now we construct a second vector out of and :
But what must be true of is that and must be orthogonal i.e .
Therefore we get the following expression for ,
which upon normalization looks like so:
That might have seemed trivial geometrically, but this process can be generalized for any complete n-dimensional vector space. Let’s continue the Gram – Schmidt for the third vector by choosing of the following form and generalizing this process:
The values for and are found out to be as:
Therefore we get,
Generalizing, we obtain:
Now although you would never need to remember the above expression because you can derive it off the bat with the above procedure, it is essential to understand how it came out to be.
Example (to be added soon):