Loading…

qR Decomposition Preview

Math Linear Algebra • Matrices and Systems of Equations

View all topics

Factor \(A\) into \(A=QR\) using modified Gram–Schmidt, where \(Q\) has orthonormal columns and \(R\) is upper triangular. Includes checks for orthonormality (\(Q^TQ\approx I\)) and reconstruction (\(QR\approx A\)). Optional solve: \(Ax=b\) (least-squares if \(m>n\)).

Play animates Gram–Schmidt snapshots once and stops automatically. Drag to pan • wheel to zoom • double-click to reset.

Matrix \(A\)
2×2
Vector \(\mathbf{b}\)
2×1
Ready
Matrix \(Q\)
Orthonormal columns (m×n)
Matrix \(R\)
Upper triangular (n×n)
Check \(Q^TQ\)
Should be close to \(I_n\)
Modified Gram–Schmidt animation
Shows how \(Q\) and \(R\) are built column-by-column. Pivot cell indicates the current \(r_{jk}\) being written.
Q R current entry current column
Enter \(A\) (and optionally \(\mathbf{b}\)) and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.