

Graphs Numbers 
Matrices : InverseBasic  Help DescriptionThe inverse command in the matrices section of QuickMath allows you to find the inverse of any nonsingular, square matrix. A nonsingular matrix is one which has a nonzero determinant, whilst a square matrix is one which has the same number of rows and columns. The inverse of a square matrix A is another matrix B of the same size such that A B = B A = I where I is the identity matrix. The inverse of A is commonly written as A^{1}.To use the inverse command, simply go to the inverse page, type in your matrix and hit the "Inverse" button. Your question will be automatically answered by computer and the reply will be shown in your browser within a few seconds. The answer will be given in two forms : a 'natural' form, which mimics the row and column layout normally used for matrices, and an 'input' form, which is the form required for the entry of matrices into QuickMath. The input form of a solution can be copied and pasted into a matrix input field, so you can use the result from one calculation in another calculation without having to retype it. ExamplesHere are some examples illustrating the types of matrices you can use the inverse command on and the results which QuickMath will return.
Finding the Inverse of a MatrixFINDING THE INVERSE OF A 2 X 2 MATRIX Given find A^{1}. Find A^{1} by going through the following steps. Step 1 Form the augmented matrix [AI]. Perform row operations on [Al] until a new matrix of the form [IB] is obtained, as follows. Step 2 Interchanging the first and second rows gives a l in the upper lefthand corner. Step 3 Multiplying the elements of the first row by 2 and adding the results to the second row gives a 0 in the lower lefthand corner. Step 4 Multiplying the elements of the second row by 1/5 gives a 1 for the second element in that row. Step 5 Replacing the first row by the sum of the first row and the second row gives a 0 as the second element in the first row. This last matrix is in the form [IB], where which should equal A^{1}. To check, multiply B and A. The result should be I. Verify that AB also equals I, so that FINDING THE INVERSE OF A 3 X 3 MATRIX find A^{1} Use row transformations as follows. Step 1 Write the augmented matrix [AI]. Step 2 Since l is already in the upper lefthand comer as desired, begin by using the row transformation that will result in a 0 for the first element in the second row. Multiply the elements of the first row by 2, and add the results to the second row. Step 3 To get 0 for the first element in the third row, multiply the elements of the first row by  3 and add to the third row Step 4 To get 1 for the second element in the second row, multiply the elements of the second row by  1/2. Step 5 To get 1 for the third element in the third row, multiply the elements of the third row by 1/3. Step 6 To get 0 for the third element in the first row, multiply the elements of the third row by  I and add to the first row Step 7 to get 0 for the third element in the second row, multiply the elements of the third row by 3/2 and add to the second row. The last transformation shows that the inverse is Confirm this by forming the products A^{1} *A and A*A^{1}, each of which should equal the matrix I. As illustrated by the examples, the most efficient order of steps is to make the changes column by column from left to right, so that for each column the required 1 is the result of the first change. Next, perform the steps that obtain the zeros in that column. Then proceed to another column. Since it is tedious to find an inverse with paper and pencil, these same steps can be adapted for a computer program. A computer can produce the inverse of a large matrix, even a 100 X 100 matrix, in a milisecond. IDENTIFYING A MATRIX WITH NO INVERSE Example 5 Using row transformations to change the first column of the augmented matrix results in the following matrices:
MATRIX EQUATIONS Matrix equations are solved in much the same way as realnumber equations. Properties of matrices are used, together with a multiplication property of equality for matrices that allows both sides of a matrix equation to be multiplied by any appropriate matrix. The next example shows how to solve a matrix equation. Example 6 Given Since A is 2 X 2 and B is 2 X l, matrix X will be a 2 X 1 matrix, like B. The matrix equation AX = B can be solved as a linear equation is solved, with the properties of matrices and the facts that if A^{1} exists, A^{1}A = I and IX= X, as follows. To find X, first find A^{1}. Verify that As shown above, Check:
