SOLUTION: I don't understand the steps of the Matrix for these equations. Could you please show me? 7x+8y-z=9 x-2y-5z=-31 -7x+y+z=0 Your help is highly appreciated! Thank you so muc

Algebra ->  Algebra  -> Matrices-and-determiminant -> SOLUTION: I don't understand the steps of the Matrix for these equations. Could you please show me? 7x+8y-z=9 x-2y-5z=-31 -7x+y+z=0 Your help is highly appreciated! Thank you so muc      Log On

Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help!
Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!

   


Question 171695: I don't understand the steps of the Matrix for these equations. Could you please show me?
7x+8y-z=9
x-2y-5z=-31
-7x+y+z=0
Your help is highly appreciated!
Thank you so much!

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

Put 1's in front of the single letters

system%287x%2B8y-1z=9%2C+1x-2y-5z=-31%2C+-7x%2B1y%2B1z=0%29 

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


system%28matrix%283%2C5%2C7x%2C8y%2C-1z%2C%27=%27%2C9%2C%0D%0A+++++++++++1x%2C-2y%2C-5z%2C+%27=%27%2C-31%2C%0D%0A++++++++++-7x%2C1y%2C1z%2C%27=%27%2C0%29%29 

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

system%28matrix%283%2C5%2C7%2C8%2C-1%2C%27%7C%27%2C9%2C%0D%0A+1%2C-2%2C-5%2C+%27%7C%27%2C-31%2C-7%2C1%2C1%2C%27%7C%27%2C0%29%29 

Erase the brace and put parentheses around it:

%28matrix%283%2C5%2C7%2C8%2C-1%2C%27%7C%27%2C9%2C%0D%0A+++++++++++1%2C-2%2C-5%2C+%27%7C%27%2C-31%2C%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29

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

%28matrix%283%2C5%2C%27%23%27%2C%27%23%27%2C%27%23%27%2C%27%7C%27%2C%27%23%27%2C%0D%0A+++++++++++0%2C%27%23%27%2C%27%23%27%2C+%27%7C%27%2C%27%23%27%2C%0D%0A++++++++++0%2C0%2C%27%23%27%2C%27%7C%27%2C%27%23%27%29%29

Start with this:

%28matrix%283%2C5%2C7%2C8%2C-1%2C%27%7C%27%2C9%2C%0D%0A+++++++++++1%2C-2%2C-5%2C+%27%7C%27%2C-31%2C%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29

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:

%28matrix%283%2C5%2C1%2C-2%2C-5%2C+%27%7C%27%2C-31%2C7%2C8%2C-1%2C%27%7C%27%2C9%2C%0D%0A+++++++++++%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29

Now we will add -7 times the top row to the 2nd 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 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%2C-7%2C1%2C%27%27%29%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++7%2C8%2C-1%2C+%27%7C%27%2C9%2C%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29=%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++%27%27%2C%27%27%2C%27%27%2C+%27%7C%27%2C%27%27%2C%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29

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

%28matrix%283%2C5%2C1%2C-2%2C-5%2C+%27%7C%27%2C-31%2C0%2C22%2C34%2C%27%7C%27%2C226%2C%0D%0A+++++++++++%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29

Since all the numbers in the middle row are even, we can
multiply it through by 1%2F2:

matrix%283%2C1%2C%27%27%2C1%2F2%2C%27%27%29%2A%28matrix%283%2C5%2C1%2C-2%2C-5%2C+%27%7C%27%2C-31%2C0%2C22%2C34%2C%27%7C%27%2C226%2C%0D%0A+++++++++++%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29=%28matrix%283%2C5%2C1%2C-2%2C-5%2C+%27%7C%27%2C-31%2C0%2C11%2C17%2C%27%7C%27%2C113%2C%0D%0A+++++++++++%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29

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%27%27%2C1%29%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C22%2C34%2C+%27%7C%27%2C226%2C%0D%0A++++++++++-7%2C1%2C1%2C%27%7C%27%2C0%29%29=%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C11%2C17%2C+%27%7C%27%2C113%2C%0D%0A++++++++++%27%27%2C%27%27%2C%27%27%2C%27%7C%27%2C%27%27%29%29

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

%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C11%2C17%2C+%27%7C%27%2C113%2C%0D%0A++++++++++0%2C-13%2C-34%2C%27%7C%27%2C-217%29%29

---

Now we will add 13 times the middle row to 11 times
the 3rd row, to get a zero where the -13 is. It's 
easier if you write 13 to the left of the middle row 
and 11 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%27%27%2C13%2C11%29%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C11%2C17%2C+%27%7C%27%2C113%2C%0D%0A++++++++++0%2C-13%2C-34%2C%27%7C%27%2C-217%29%29=%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C11%2C17%2C+%27%7C%27%2C113%2C%0D%0A++++++++++%27%27%2C%27%27%2C%27%27%2C%27%7C%27%2C%27%27%29%29

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

%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C11%2C17%2C+%27%7C%27%2C113%2C%0D%0A++++++++++0%2C0%2C-153%2C%27%7C%27%2C-918%29%29

The bottom row can be multiplied through by -1%2F153

matrix%283%2C1%2C%27%27%2C%27%27%2C-1%2F153%29%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C11%2C17%2C+%27%7C%27%2C113%2C%0D%0A++++++++++0%2C0%2C-153%2C%27%7C%27%2C-918%29%29

%28matrix%283%2C5%2C1%2C-2%2C-5%2C%27%7C%27%2C-31%2C%0D%0A+++++++++++0%2C11%2C17%2C+%27%7C%27%2C113%2C%0D%0A++++++++++0%2C0%2C1%2C%27%7C%27%2C6%29%29


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

%28matrix%283%2C5%2C1x%2C-2y%2C-5z%2C%27=%27%2C-31%2C%0D%0A+++++++++++0x%2C11y%2C17z%2C+%27=%27%2C113%2C%0D%0A++++++++++0x%2C0y%2C1z%2C%27=%27%2C6%29%29

So we have this system:

system%28x-2y-5z=-31%2C11y%2B17z=113%2Cz=6%29

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

Substitute z=6 into the middle equation:

matrix%284%2C1%2C%0D%0A11y%2B17%286%29=113%2C%0D%0A11y%2B102=113%2C%0D%0A11y=11%2C%0D%0Ay=1%29

Finally substitute both z=6 and y=1 in
the top equation:


matrix%285%2C1%2C%0D%0Ax-2y-5z=-31%2C%0D%0Ax-2%281%29-5%286%29=-31%2C%0D%0Ax-2-30=-31%2C%0D%0Ax-32=-31%2C%0D%0Ax=1%29

So x=1, y=1, z=6.

Edwin