Build an orthonormal basis using structured Gram-Schmidt steps. Inspect normalized vectors, coefficients, and span rank. Download clean reports and verify every derived basis vector.
| Example | Dimension | Input vectors | Method | Expected rank | Purpose |
|---|---|---|---|---|---|
| Set A | 3 | (1,1,0), (1,0,1), (0,1,1) | Modified Gram-Schmidt | 3 | Creates a full orthonormal basis for ℝ³. |
| Set B | 3 | (1,2,3), (2,4,6), (1,0,1) | Classical Gram-Schmidt | 2 | Shows how dependent vectors are discarded. |
| Set C | 4 | (1,0,0,1), (0,1,1,0), (1,1,0,0) | Modified Gram-Schmidt | 3 | Builds an orthonormal spanning set in ℝ⁴. |
If the orthogonal component norm falls below the tolerance, the vector is treated as dependent and excluded from the orthonormal basis.
An orthonormal basis is a set of basis vectors that are mutually perpendicular and each have unit length. It simplifies projections, coordinate changes, least squares work, and many matrix factorizations.
A vector is discarded when its orthogonal component becomes zero, or nearly zero, after removing projections onto earlier basis vectors. That means it does not add a new independent direction.
Classical Gram-Schmidt subtracts the full combined projection at once. Modified Gram-Schmidt updates the working vector after each projection subtraction, which is often numerically more stable for close or ill-conditioned vectors.
Tolerance decides when a very small orthogonal component is treated as zero. Larger tolerances discard near-dependent vectors sooner, while smaller tolerances keep more vectors but may preserve numerical noise.
The QᵀQ table checks whether the computed basis is truly orthonormal. Ideally, diagonal values are one, off-diagonal values are zero, and the maximum deviation from identity stays very small.
Yes. Dependent vectors are identified automatically. The tool keeps only the independent directions, so the final orthonormal basis spans the same subspace as the valid input vectors.
This page accepts up to ten vectors and dimensions between two and ten. Those limits keep the layout readable while still supporting many practical linear algebra and teaching examples.
Use CSV when you want spreadsheet-friendly data. Use PDF when you need a fixed report for printing, sharing, study notes, or attaching a clean summary to coursework.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.