Okay, so I never learned Gram-Schmidt when I took Linear Algebra 4-5 years ago. This book says
Let $\mathscr{N}$ be a space with basis $\{x_1, \dots, x_r\}$. There exists an orthonormal basis for $\mathscr{N}$, say $\{y_1, \dots, y_r\}$ with $y_s$ in the space spanned by $x_1, \dots, x_s$, $s = 1, \dots, r$.
I am to complete this proof.
It gives me the first step, saying
Define the $y_i$s inductively: $y_1 = \dfrac{x_1}{\|x_1\|}$, $w_s = x_s - \sum\limits_{i=1}^{s-1}\left(x^{\prime}_s y_i\right)y_i$, $y_s = \dfrac{w_s}{\|w_s\|}$ (I assume this is meant for $s > 1$). So how do I complete…