SOLUTION: Use the gauss Jordan Method to solve the system 2x+y-z=2 x+y+z=2 x+3y+2z=1

Algebra ->  Matrices-and-determiminant -> SOLUTION: Use the gauss Jordan Method to solve the system 2x+y-z=2 x+y+z=2 x+3y+2z=1      Log On


   



Question 533050: Use the gauss Jordan Method to solve the system
2x+y-z=2
x+y+z=2
x+3y+2z=1

Answer by Edwin McCravy(20059) About Me  (Show Source):
You can put this solution on YOUR website!
2x +  y -  z = 2 
 x +  y +  z = 2 
 x + 3y + 2z = 1



The object is to get the matrix like this:



Start with:



Swap rows 1 and 2, because it's easier when there's a 1
in the upper left corner.

R1 <-> R2


 
Multiply row 1 by -2
-2R1->R1



Add Row 1 and Row 2 and put that in place of Row 2

R1+R2->R2 



Restore Row 1 both 

R1/(-2) -> R1



Multiply Row 1 by -1



Add row 1 to Row 3



Restore row 1

-R1 <-> R1



Multiply row 2 by -1

-R2 <-> R2




Multiply Row by -2



Add row 2 and Row 3 and put that sum in row 3

R2+R3 -> R3



Restore Row 2

R2/(-2) -> R2



Rewrite as a system of equations:

1x + 1y + 1z =  2
0x + 1y + 3z =  2
0x + 0y - 5z = -5

Remove the understood 1's and 0's

x + y +  z =  2
    y + 3z =  2
       -5z = -5
         
Solve the bottom equation of the system for z

       -5z = -5
         z = 1

Substitute in the middle equation of the system for y:

    y + 3z =  2
  y + 3(1) =  2
     y + 3 =  2
         y = -1
 
 Substitute in the top equation of the system for z

    x + y +  z = 2
x + (-1) + (1) = 2
             x = 2  

(x,y,z) = (2,-1,1)

Edwin