QR Decomposition Calculator
Enter the four entries of your 2×2 matrix.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
QR decomposition factors a matrix A into the product of an orthogonal matrix Q (whose columns are unit vectors, mutually perpendicular) and an upper-triangular matrix R. For a 2×2 matrix, this calculator applies the Gram-Schmidt process to the column vectors: the first column is normalized to form Q's first column, then the second column has its projection onto the first removed and is normalized to form the second — the projection coefficients and remaining lengths become the entries of R.
QR decomposition is a workhorse of numerical linear algebra, underpinning the least-squares method used to fit regression lines and curves to data, and forming the basis of the QR algorithm used to compute eigenvalues of a matrix. It's also more numerically stable than solving normal equations directly, which is why statisticians, engineers, and scientific-computing libraries such as LAPACK use it for solving linear systems and fitting models in practice.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)