Working with Matrices

You can use TEMATH's Matrix Calculator to do matrix arithmetic, solve systems of linear equations, perform elementary row or column operations, find the inverse of a matrix, find the eigenvalues and eigenvectors of a matrix, calculate the norm, determinant, and trace of a matrix, and much more.


Basic Matrix Calculator Operations

  1. Entering a Matrix


  2. Selecting a Row or Column of a Matrix

    To select a row or column,
  3. Deleting Rows or Columns from a Matrix


  4. Storing and Recalling Matrices


  5. Canceling a Matrix Arithmetic Operation


  6. Saving (Adding) a Matrix to the Work window



Matrix Arithmetic

We'll start by entering three matrices A, B, and C and storing them into the memory location with the same name.

The matrices A, B, C

To enter these matrices into TEMATH and store them in the memory locations A, B, and C, do the following:

Warning: Here "Enter" means to press the Enter key and not the Return key!.


In the middle of a calculation, the Matrix Calculator automatically recalls a matrix when a memory button is clicked. For example, to carry out a calculation involving scalar multiplication such as

4A - 3/2 B


you need only to do the following:


If you make a mistake entering an operation, for example, you click the "-" button instead of the "*" button, you can clear the pending operation by clicking the ce (Clear Entry) button. Also, notice that when you type a scalar or scalar expression into the command area, an OK button appears to the left of the command area. Clicking the OK button evaluates the scalar expression. If the value is the one that you want, click the enter button to complete the pending operation, otherwise, click the ce button to clear the pending operation and to start over.

Assuming A and B are square matrices, an expression involving the identity matrix I such as


5A - 4I + B


can be evaluated by doing the following:


To evaluate an expression involving matrix multiplication such as

ABC



To evaluate an expression involving matrix multiplication and parentheses such as

A(B - A) - I



To raise a matrix to a power, for example, A^5,



Using the Matrix Commands

In the following, we will work with several of the matrix commands contained in the scrolling list located along the bottom left edge of the Matrix Calculator.

First 20 matrix commands Last 20 matrix commands

To enter the 5 X 5 matrix M, where the element in the i-th row and j-th column is given by mij = i - j r (r is a random number between 0 and 1),


To find the Determinant of the matrix M,


To find the matrix norm ||M||inf,


To find the eigenvalues of the matrix M,


To find the inverse of the matrix M,


To verify that M^(-1)M = I, where M^(-1) is the inverse matrix of M and I is the identity matrix,



Using Elementary Row Operations

To find the row reduced echelon form of the matrix

the Matrix N


Of course, you could have used the RowRed... command to find the row reduced echelon form in one step.


Solving a System of Linear Equations

To solve the system of linear equations

5x - 5y + 4z = 17<BR>  
                                                                3y +  z =  6<BR>
                                                            2x - y + 2z = 17<BR>


Return to Topic Start Return to Examples Menu

Copyright 2000-2008 Adam O. Hausknecht and Robert E. Kowalczyk