Okay so I just wanna confirm this, the Gram-Schmidt process, as my book has like 2 pages missing from it and only has the intro to this process. Just wanna confirm if this is correct:
Let V be any nonzero finite-dimensional inner product space, and suppose that

is any basis for V. It suffices to show that V has an orthogonal basis. Let

be the orthogonal basis for V.
Step 1: Let

Step 2: We can find a vector

orthogonal to

by computing the component of

that is orthogonal to the space

spanned by

. This is given by

Step 3: We can find a vector

orthogonal to

and

by computing the component of

that is orthogonal to the space

spanned by

and

. This is given by

We keep going until we have found

.
Now is my step 3 correct? It's missing in my book lol