Break down any rectangular matrix into an orthonormal basis and an upper‑triangular factor with clear, auditable working. Enter dimensions, paste values, and see each projection, normalization, and coefficient revealed step by step. Explore numerical stability, rank warnings, and reconstruction error. Copy tables, export results, and learn the Modified Gram–Schmidt process interactively. Includes sample matrices, rounding control, and latex-friendly formatting options.
R
is ~0, the algorithm reports a likely rank deficiency.
This tool computes the factorization A = Q R
using the Modified Gram–Schmidt procedure.
Each step removes projections of the current column onto previously constructed orthonormal columns, then normalizes the remainder.
The result is a matrix Q
whose columns are orthonormal and an upper‑triangular matrix R
.
A
into an orthonormal matrix Q
and an upper‑triangular matrix R
, so that A = Q R
. It is widely used in least squares, eigenvalue algorithms, and numerical linear algebra.Q
and the entries of R
.r[k,k]
is near zero, the tool flags a rank warning and sets the corresponding unit vector to zeros. You can still inspect R
and the partial orthonormal basis.||A − Q R||
is a helpful indicator of numerical accuracy; it should be close to zero for well‑conditioned inputs.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.