SOLUTION: I have to do the Gauss Method for: x+y+z=2 2x-3y+2z=4 4x+y-3z=1 My teacher doesn't require us to use a textbook.

Algebra ->  Matrices-and-determiminant -> SOLUTION: I have to do the Gauss Method for: x+y+z=2 2x-3y+2z=4 4x+y-3z=1 My teacher doesn't require us to use a textbook.      Log On


   



Question 182659: I have to do the Gauss Method for:
x+y+z=2
2x-3y+2z=4
4x+y-3z=1
My teacher doesn't require us to use a textbook.

Answer by MathGuyJoe(20) About Me  (Show Source):
You can put this solution on YOUR website!
Your first step is to write out the coefficient matrix:
+matrix%283%2C4%2C+1%2C1%2C1%2C2%2C+2%2C-3%2C2%2C4%2C+4%2C+1%2C+-3%2C+1%29+


You want to end up with a matrix that looks like this (triangular form):



To do that, you perform a combination of the elementary row operations:
1) Switch any 2 rows
2) Multiply each row element by a non-zero constant
3) Replace a row by adding its values to a multiple of another row


Since our first row is all 1's, it's easy to pick multipliers that will 'zero' out the required fields in rows 2 & 3 when we add the rows together (using row operation 3). So let's replace row 2 with (-2 * Row 1) + Row 2 -- here's the shorthand way to say that:
+-2R%5B1%5D+%2B+R%5B2%5D+-%3E+R%5B2%5D+
So basically, Row 1 and Row 3 remain the same, only row 2 changes:
+matrix%283%2C4%2C+1%2C+1%2C+1%2C+2%2C+0%2C+-5%2C+0%2C+0%2C+4%2C+1%2C+-3%2C+1%29+


So that got us a zero under the 1 in the first column which is why we picked -2 as the multiplier. Next, we'll replace row 3 with (-4 * Row 1) + Row 3:
+-4R%5B1%5D+%2B+R%5B3%5D+-%3E+R%5B3%5D+
+matrix%283%2C4%2C+1%2C+1%2C+1%2C+2%2C+0%2C+-5%2C+0%2C+0%2C+0%2C+-3%2C+-7%2C+-7%29+


So now, our 1st column looks like we want it. We only have one more zero to create (in the 3rd row, 2nd column), so we'll choose +-3%2F5+ as our multiplier and use it against row 2 this time:
+%28-3%2F5%29R%5B2%5D+%2B+R%5B3%5D+-%3E+R%5B3%5D+
+matrix%283%2C4%2C+1%2C+1%2C+1%2C+2%2C+0%2C+-5%2C+0%2C+0%2C+0%2C+0%2C+-7%2C+-7%29+


We now have our matrix in triangular form -- let's write the equations using the coefficients from it:
+x+%2B+y+%2B+z+=+2+
+-5y+=+0+
+-7z+=+-7+


So solving from the bottom up (reverse substitution), we know z = 1 and y = 0. Substituting these values into the top equation gives us x = 1. As a final check, you can substitute these values in each of the 3 original equations:
+1+%2B+0+%2B+1+=+2+
+2%281%29+-+3%280%29+%2B+2%281%29+=+4+
+4%281%29+%2B+0+-+3%281%29+=+1+


Hope this helps. ~ Joe