SOLUTION: I need HELP using the Gauss-Jordan method to find A<sup>-1</sup> if it exists, {{{A=(matrix(3,3,1,1,1,2,1,1,2,2,3))}}}

Algebra ->  Matrices-and-determiminant -> SOLUTION: I need HELP using the Gauss-Jordan method to find A<sup>-1</sup> if it exists, {{{A=(matrix(3,3,1,1,1,2,1,1,2,2,3))}}}      Log On


   



Question 190355: I need HELP using the Gauss-Jordan method to find A-1 if it exists,
A=%28matrix%283%2C3%2C1%2C1%2C1%2C2%2C1%2C1%2C2%2C2%2C3%29%29

Found 2 solutions by jim_thompson5910, Edwin McCravy:
Answer by jim_thompson5910(35256) About Me  (Show Source):
You can put this solution on YOUR website!
Simply append the 3x3 identity matrix %28matrix%283%2C3%2C1%2C0%2C0%2C0%2C1%2C0%2C0%2C0%2C1%29%29 to the given matrix to get





Now use Gauss-Jordan Elimination (ie row reduce) to transform the left hand block matrix to the 3x3 identity matrix %28matrix%283%2C3%2C1%2C0%2C0%2C0%2C1%2C0%2C0%2C0%2C1%29%29. The right hand block 3x3 matrix will be the inverse of the given matrix.


So here are the steps needed to row reduce (provided by the Linear Algebra Toolkit):




Notice how the left hand block matrix is the 3x3 identity matrix %28matrix%283%2C3%2C1%2C0%2C0%2C0%2C1%2C0%2C0%2C0%2C1%29%29, so this means that 1) the inverse of A exists (and is unique), and 2) the right hand matrix is the inverse of A


Since the right hand block 3x3 matrix is %28matrix%283%2C3%2C-1%2C1%2C0%2C4%2C-1%2C-1%2C-2%2C0%2C1%29%29, this means that if A=%28matrix%283%2C3%2C1%2C1%2C1%2C2%2C1%2C1%2C2%2C2%2C3%29%29, then A%5E%28-1%29=%28matrix%283%2C3%2C-1%2C1%2C0%2C4%2C-1%2C-1%2C-2%2C0%2C1%29%29




Answer by Edwin McCravy(20060) About Me  (Show Source):
You can put this solution on YOUR website!
Edwin's solution:

A=%28matrix%283%2C3%2C1%2C1%2C1%2C2%2C1%2C1%2C2%2C2%2C3%29%29

We begin by augmenting that matrix on the right with the
identity matrix, and we have



We want to use row operations and end up with a matrix 
that has the identity of the left looking like this:



where there are numbers where the letters "a" through "i"
are.  The inverse will then be

A%5E%28-1%29=%28matrix%283%2C3%2Ca%2Cb%2Cc%2Cd%2Ce%2Cf%2Cg%2Ch%2Ci%29%29

We start with this:



We already have a 1 in the upper left corner.  We need to
get a 0 right under it.  So we multiply row 1 %28matrix%281%2C7%2C1%2C1%2C1%2C%22%7C%22%2C1%2C0%2C0%29%29
by -2 and get %28matrix%281%2C7%2C-2%2C-2%2C-2%2C%22%7C%22%2C-2%2C0%2C0%29%29
 and add it to row 2 which is %28matrix%281%2C7%2C2%2C1%2C1%2C%22%7C%22%2C0%2C1%2C0%29%29
 and get %28matrix%281%2C7%2C0%2C-1%2C-1%2C%22%7C%22%2C-2%2C1%2C0%29%29
.
Now we replace row 2 by that and we now have:



We need to
get a 0 where the 2 is in the lower left corner.  
So we multiply row 1 %28matrix%281%2C7%2C1%2C1%2C1%2C%22%7C%22%2C1%2C0%2C0%29%29
again by -2 and get %28matrix%281%2C7%2C-2%2C-2%2C-2%2C%22%7C%22%2C-2%2C0%2C0%29%29
 and add it to row 3 which is %28matrix%281%2C7%2C2%2C2%2C3%2C%22%7C%22%2C0%2C0%2C1%29%29
 and get %28matrix%281%2C7%2C0%2C0%2C1%2C%22%7C%22%2C-2%2C0%2C1%29%29
.
Now we replace row 3 by that and we now have:



We need to
get a 0 where the second 1 is in the top row.  
So we just add row 2 %28matrix%281%2C7%2C0%2C-1%2C-1%2C%22%7C%22%2C-2%2C1%2C0%29%29
to row 1 which is %28matrix%281%2C7%2C1%2C1%2C1%2C%22%7C%22%2C1%2C0%2C0%29%29
 and get %28matrix%281%2C7%2C1%2C0%2C0%2C%22%7C%22%2C-1%2C0%2C0%29%29 

Now we replace row 1 by that and we now have:



We need to
get a 1 where the -1 is in row column 2, so we just
divide that row through by -1, which means we just
change the signs of all the elements on row 2:



Finally we need to
get a 0 where 1 is in row 2, column 3.
 
So we multiply row 3 %28matrix%281%2C7%2C0%2C0%2C1%2C%22%7C%22%2C-2%2C0%2C1%29%29
again by -1 and get %28matrix%281%2C7%2C0%2C0%2C-1%2C%22%7C%22%2C2%2C0%2C-1%29%29
 and add it to row 2 which is %28matrix%281%2C7%2C0%2C1%2C1%2C%22%7C%22%2C2%2C-1%2C0%29%29
 and get %28matrix%281%2C7%2C0%2C1%2C0%2C%22%7C%22%2C4%2C-1%2C-1%29%29
.
Now we replace row 3 by that and we now have: 

 

Therefore the inverse of A is the 3x3
matrix on the right of the partition bar:

A%5E%28-1%29=%28matrix%283%2C3%2C-1%2C1%2C0%2C4%2C-1%2C-1%2C-2%2C0%2C1%29%29

Edwin