Linear Algebra & Matrices
Decompose any matrix A into the product A = QR, where Q is an orthogonal matrix and R is an upper triangular matrix. This fundamental matrix factorization is essential for solving linear systems, eigenvalue problems, and least squares approximations.
Enter real numbers separated by spaces for each row. Use new lines to separate rows.
Try these sample matrices to understand QR decomposition better
Simple 2×2 matrix decomposition using Gram-Schmidt
Size: 2×2
Method: Gram-Schmidt Process
1 0 0 1
Overdetermined system with more rows than columns
Size: 3×2
Method: Gram-Schmidt Process
1 2 3 4 5 6
Full rank square matrix decomposition
Size: 3×3
Method: Householder Reflections
1 2 3 4 5 6 7 8 10
Symmetric positive definite matrix
Size: 3×3
Method: Gram-Schmidt Process
4 2 1 2 3 0.5 1 0.5 2