Gram–Schmidt Process
The Gram–Schmidt process turns a list of linearly independent vectors into orthogonal vectors spanning the same space by subtracting projections. It is used to build orthonormal bases and the QR decomposition.
LaTeX
\mathbf u_1=\mathbf v_1,\qquad \mathbf u_2=\mathbf v_2-\frac{\mathbf v_2\cdot\mathbf u_1}{\mathbf u_1\cdot\mathbf u_1}\,\mathbf u_1Variables
- original vectors
- orthogonal vectors produced
Example
Orthogonalize , .
- .
- .
- Check: .
Answer: , .