SOLUTION: Solve the system of equations using matrices (row operations). -4x-6y-z=-25 x-4y+3z=9 -7x+y+z=-7

Algebra ->  Matrices-and-determiminant -> SOLUTION: Solve the system of equations using matrices (row operations). -4x-6y-z=-25 x-4y+3z=9 -7x+y+z=-7      Log On


   



Question 173732: Solve the system of equations using matrices (row operations).
-4x-6y-z=-25
x-4y+3z=9
-7x+y+z=-7

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

Put 1's in front of the single letters

system%28-4x-6y-1z=-25%2C+1x-4y%2B3z=9%2C+-7x%2B1y%2B1z=-7%29 

Separate into terms, erasing the plus signs, keeping
the minus signs as negative signs:


 

Erase all the letters and replace the equal signs
with "|"'s:

 

Erase the brace and put parentheses around it:



Now we want to end up with a matrix like this,
with three zeros on the the bottom left, and
numbers everywhere else:



Start with this:



Swap the rows so that the smallest number in absolute
value in the first column is on the far left of the 
top row.  Since 1 is the smallest number in absolute
value in row 1, I will swap rows 1 and 2:



Now we will add 4 times the top row to the 2nd row,
to get a zero where the -4 is. It's easier if you
write 4 to the left of the top row and 1 to the left
of the second row,and write that equal to a new matrix
with the same 1st and 3rd rows, with a blank middle row:

matrix%283%2C1%2C4%2C1%2C%22%22%29

Then you can easily fill in the blank row term by term as:



Since all the numbers in the middle row are divisible by
11, we can multiply it through by 1%2F11:



Now we will add 7 times the top row to the 3rd row,
to get a zero where the -7 is. It's easier if you
write 7 to the left of the top row and 1 to the left
of the bottom row,and write that equal to a new matrix
with the same 1st and 2nd rows, with a blank bottom row:

matrix%283%2C1%2C-7%2C%22%22%2C1%29

Then you can easily fill in the blank row term by term as:



---

Now we will add -27 times the middle row to 2 times
the 3rd row, to get a zero where the -27 is. It's 
easier if you write -27 to the left of the middle row 
and 2 to the left of the bottom row,and write that 
equal to a new matrix with the same 1st and 2nd rows,
with a blank bottom row:

matrix%283%2C1%2C%22%22%2C-27%2C2%29

Then you can easily fill in the blank row term by term as:



The bottom row can be multiplied through by 1%2F17

matrix%283%2C1%2C%22%22%2C%22%22%2C1%2F17%29




Now we put the letters back as we took them out, and
put equal signs where the "|"'s are:



So we have this system:

system%28x-4y%2B3z=9%2C-2y%2B1z=1%2Cz=5%29

Now we do what is called "back-substitution":

Substitute z=5 into the middle equation:

matrix%284%2C1%2C%0D%0A-2y%2B1%285%29=1%2C%0D%0A-2y%2B5=1%2C%0D%0A-2y=-4%2C%0D%0Ay=2%29

Finally substitute both z=5 and y=2 in
the top equation:




So x=2, y=2, z=5.

Edwin