Gram-Schmidt Orthogonalization & QR
Orthonormalize 2D or 3D basis vectors step-by-step into Q and upper-triangular R with orthogonal projection visuals. Built for Linear Algebra, this workbench updates the basis vs. orthonormal frame and scalar readouts in real time as parameters change.
Technical Reference & Equations
- Rank-Nullity Theorem:
\operatorname{rank}(A) + \operatorname{nullity}(A) = n(A is an m x n matrix; rank equals the number of pivot columns.) - Eigenvalue Equation & Diagonalization:
A\mathbf{v} = \lambda\mathbf{v}, \quad \det(A - \lambda I) = 0, \quad A = P D P^{-1}(lambda: eigenvalue, v: non-zero eigenvector, D: diagonal matrix of eigenvalues.) - Gram-Schmidt Orthogonalization:
\mathbf{u}_k = \mathbf{v}_k - \sum_{j=1}^{k-1} \frac{\mathbf{v}_k \cdot \mathbf{u}_j}{\mathbf{u}_j \cdot \mathbf{u}_j}\mathbf{u}_j, \quad \mathbf{q}_k = \frac{\mathbf{u}_k}{\|\mathbf{u}_k\|}(Transforms linearly independent columns into an orthonormal basis Q.)
Related Linear Algebra Calculators
- RREF, Null Space & Four Fundamental Subspaces: Row-reduce 3×3 or 3×4 matrices to RREF, identify pivot vs. free columns, and find explicit bases for Col(A), Row(A), Null(A), and Null(Aᵀ).
- Least Squares & Orthogonal Projection: Solve inconsistent overdetermined systems Ax ≈ b via normal equations AᵀAx̂ = Aᵀb, projection matrix P, and orthogonal residual e.
- Eigenspaces & Matrix Diagonalization: Inspect characteristic polynomials, invariant eigendirections, A = PDP⁻¹ factorization, defective matrices, and exact powers Aᵏ.
- Matrix & Linear Transform: Determinant, inverse, trace, rank, and eigenvalues with 2D basis vector transforms.
- 3D Vector Dot, Cross & Projection: Compute dot product, cross product, angle, and projection on a 3D isometric vector plot.
- Linear System Solver (Ax = b): Solve 2×2 or 3×3 systems via Gaussian elimination with RREF matrix and 2D line intersection plot.