What is the Gram-Schmidt process?
We use the Gram-Schmidt process to calculate an orthogonal basis
Background
Before getting started with the Gram-Schmidt process, here are a few things that we need to recall:
| Concept | Example |
|---|---|
| Vector inner product | Let , |
| Vector norm | Let |
Note: An orthogonal set contains non-zero vectors
. Both are orthogonal to each other— for .
Process
Suppose the arbitrary set of linearly independent vectors
Step 1
We calculate the first vector,
Step 2
We calculate the second vector,
Step 3
We calculate the third vector,
Step 4
We calculate the
The vectors
Example
Find an orthogonal basis for the following vectors that span
Step 1
The vector
Step 2
The vector
We get the following equation upon calculation:
Step 3
The vector
We get the following equation upon calculation:
Solution
The following vectors have been calculated using the Gram-Schmidt process that forms the orthogonal basis for
Orthonormal basis
Using the Gram-Schmidt process, an orthonormal basis
Note: An orthonomal set has non-zero vectors
with a norm equal to one— .
Procedure
To calculate an orthonormal basis, we follow the steps below:
We convert the given set of vectors into an orthogonal basis using the Gram-Schmidt process.
We divide the resulting vectors by their norm to achieve an orthonormal basis.
Example
Let's use the previous example:
The orthogonal set of vectors achieved for
The orthonormal vectors will be calculated in the following way:
Quiz
To help you completely grasp the Gram-Schmidt process, here are a few questions with solutions:
Find an orthogonal basis for the following vectors that span
Find an orthonormal basis for the following vectors that span
Free Resources