Tested tool guide
Tested browser tools
Checked August 16, 2026
What Matrix Decomposition Tool does, with a checked example
Depending on its shape and properties, a matrix entered here can be analyzed with one or more of four factorizations: LU for triangular factors, QR for orthogonal and triangular factors, SVD for singular vectors and singular values, or Cholesky for a triangular factor paired with its transpose. The tool shows the factor matrices, explanatory steps, and a visual representation of their entries. The main source of confusion is that these methods are not interchangeable: Cholesky has stricter input requirements, while pivoting, signs, ordering, and reduced versus full forms can make other valid results look different.
Worked example
A concrete input and expected output from the current implementation.
Input
Decomposition: Cholesky
Matrix:
4 0
0 9
->
Expected output
L =
2 0
0 3
L^T =
2 0
0 3
L L^T =
4 0
0 9
The positive diagonal entries have square roots 2 and 3. Multiplying the lower-triangular factor by its transpose gives diagonal entries 2 squared = 4 and 3 squared = 9, with zero off-diagonal entries.