Cholesky decomposition calculator

Saved

English

English

Loading...
Matrix A
Loading...

  About matrix Сholesky decomposition calculator

This is a free online matrix Сholesky decomposition calculator with complete, detailed, step-by-step description of solutions, that performs operations with matrices up to 99x99 in size with matrix elements of this type: decimal numbers, fractions, complex numbers, variables.

To start the calculation, you need to first enter the size of the matrix in the input field that you can find from the very top of the screen, also there you can choose the desired method of calculation.

A little below you will find a matrix window in which you need to enter matrix elements using the keyboard. The matrix control panel is also located here, which simplifies work with matrices and contains the following control elements:

  • The first element allows you to expand the matrix window. This can be especially useful in cases where you need to perform calculations with very large matrices that do not fit completely. If the matrix is still not visible after expanding the window, you can change the scale of the matrix using the + / - buttons;
  • The second element performs the function of copying the matrix input to the memory buffer. This can be useful in cases where you often use the same matrix for calculations, or if you need to move matrices between operations;
  • And the last element inserts the previously copied matrix, which allows you to speed up the process of entering the matrix to just a few clicks, instead of doing it manually;

And further down you will find a toolbar that allows you to customize the calculator and make it easier to work with it. It is visually divided into three parts, each of which is responsible for the following functionality:

  • The first allows you to select the number format when the solution result is displayed. Also, here you can turn off comments to the solution of the problem if you have already understood how to solve this problem, and you use the calculator to speed up or check your own calculations. Or you can turn off the step-by-step solution entirely if you only need the result of the solution;
  • The second contains buttons that allow you to change the type of the matrix input field, erase its elements or the entire matrix, and the largest button with an equal sign, which will take you to the screen with the solution of the problem. All these buttons are duplicated by keys on the keyboard. To find out which key on the keyboard to press, simply hover over one of the buttons and a tooltip will appear with the name of the key. You can also use the arrow keys on your keyboard to move the cursor between matrix input fields;
  • And the last one allows you to choose the number of digits after the decimal point for rounding non-integer numbers. Also, here you can immediately see an example of how rounded fractions will look;

  What is the Сholesky decomposition of a matrix?

Cholesky decomposition is the factorization of a symmetric positive definite matrix into a lower triangular matrix and the transpose of the lower triangular matrix, and the product of these matrices should give the original matrix. A matrix is symmetric if it is equal to its transpose matrix, and positive definite if all its upper-left sub-matrices are positive.

  How to perform the Сholesky decomposition of a matrix?

First, we need to make sure that the matrix is symmetric positive definite. Then the iterative process of finding the lower triangular matrix begins. There will be the same number of iterations as there are elements under the main diagonal of the original matrix, each element has its own iteration. And the result of each iteration will be one element of the lower triangular matrix. To find the elements of the lower triangular matrix, we need to use two formulas (1) and (2), see below. After all the elements of the lower triangular matrix are found, it just remains to transpose it.

  Sources

Matrix operations
google play iconapp store icon