Calculate with Real or Complex matrices, evaluate arbitrry complicated matrix expressions and solve systems of linear equations.
The matrices (A, B, C, ..., H) are initially filled with randomly generated integers between -10 and 10 (except for a few entries of the matrix A). The entries in the shaded boxes are not taken into calculations. If necessary, click Clear (it does not delete the entries, it only hides them).
Pressing Refresh will clear the entries off the matrix (entries in the shaded boxes). It also recalls the Matrix after clearing it.
You can set the numbers of rows and columns of a matrix by pressing the buttons on the left or above the matrix, respectively.
Type in the matrix entries. In general a matrix entery can be any constant expression such as 1 + 2/3 -sin(π/4) +5i. Note: matrix enteries can also contain the imaginary number i.
Click the relevant buttons provided at the top of the Matrix Calculator to calculate determinant (e.g., |A|), inverse, reduced row echelon form, upper / lower triangular forms, adjoint and transpose of a matrix.
Or, type in a matrix expression and click Calculate. The matrix expression can be in the most general form, such as (2+sin(π/3 -i))A + inv(A+B/det(A))(B/2 + BC^4)/D^(3+2^5)
If the matrix expression is valid and contains no operations of incompatible matrices, the result will be displayed. Otherwise an error message is displayed.
To solve a system of linear equations first select Linear system, type in the column vector to form the augmented matrix and click Solve.
All 1x1 matrices are treated as scalars by this Matrix Calculator. They can be multiplied by any matrix (on either side) regardless of their dimensions. Also if, for example A = [1/2], then sin(A) is treated as sin(1/2). Conversely, whenever appropriate, scalars are treated as 1x1 matrices. For example, inv(2) is treated as inv() which will be given as [0.5].