Calculating Matrices

Matrix Calculator

The Matrix Calculator allows you to do Matrix algebra (Matrix addition, Matrix multiplication, Matrix inverses, etc.) and solve systems of linear equations.

Matrix Algebra

Press the relevant buttons on the top of the Matrix Calculator to calculate the determinant, inverse, reduced row echelon form, adjugate, lower/upper triangular forms and transpose of the matrix A (initially selected).

You can do similarly as above with other matrices by first selecting them from the right of the Matrix Calculator.

The matrices (A, B, C, ..., H with the exception of the identity matrix I) are initially filled with 0's.

You can set the numbers of rows and columns of a Matrix by pressing the buttons to the left and above the matrix, respectively. You can also add rows or columns by pressing the relevant + button.

This Matrix Calculator allows you to use any numeric (constant) expression, e.g., 1/2+2sin(3pi/2) for Matrix elements (entries).

Under the Quick Calculations you can calculate frequently used Matrix expressions involving two or more matrices.

If a Matrix expression is not listed under the quick calculation menu, you can enter it in the expression box provided and press Calculate.

The matrix expression can be in the most general form, such as (2+sin(pi/3))A + inv(A+B/det(A))(B/2 + BC^4)/D^(3+2^5)

If the matrix expression is a valid expression and contains no operations of incompatible matrices, the result will be displayed. Otherwise an error message is displayed.

All 1x1 matrices are treated as scalars by this Matrix. They can be multiplied by any Matrix (on either side) regardless of its dimension. 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([2]) which will be given as [0.5].

This Matrix Calculator is also a Scientific Calculator. You can use it to calculate numeric expressions such as 2 + sin(pi/3). The result is given as a 1x1 matrix.

You can also use this Matrix Calculator as a multi-variable function evaluator. Type in a function expression containing up to 8 variables (use A, B, C, ... as variables, instead of x,y,z, ...). Set all matrices involved as 1x1 matrices. Assign numbers (or constant expressions) to the variables (i.e., 1x1 matrices) and press Calculate. The value of the function is given as a 1x1 Matrix (scalar).

You can use the following in your expressions:








1/A and I/A are the same as inv(A)

A/B is the same as A*inv(B)

Solving Linear Systems

Not yet available.

To solve a system of linear equations with coefficient matrix, say A, first select the Linear System check-box. Then enter the associated column vector (the right hand side of the equation) in the highlighted column adjacent to A to form the associated augmented matrix and press Solve.

The reduced row echelon form of the augmented Matrix will be displayed on a separate window. If the coefficient Matrix is a square matrix and the system has a unique solution, the vector representing the unique solution will also be displayed.