How to Use
Enter vectors:
- Input: Linearly independent vectors
- Output: Orthonormal basis
- Steps: All projections shown
Projection Formula
proj(e,v) = (v·e)e. This is the component of v in direction e. Gram-Schmidt subtracts all these components: what remains is orthogonal to all previous vectors.
Numerical Stability
Classical GS: project v against original vectors (unstable). Modified GS: project against already-orthogonalized vectors (stable). Same in exact arithmetic, different in floating point.
Step-by-Step Instructions
- 1Enter vectors.
- 2See projections.
- 3Watch orthogonalization.
- 4Get orthonormal basis.
- 5Verify orthonormality.