SOLUTION: Hi, I need help with a problem and I cannot use matrices for it. SOLVE: x+y=7 y+z=8 x+2z=2 THANK YOU!

Algebra.Com
Question 989618: Hi,
I need help with a problem and I cannot use matrices for it.
SOLVE:
x+y=7
y+z=8
x+2z=2
THANK YOU!

Found 2 solutions by rothauserc, Edwin McCravy:
Answer by rothauserc(4718)   (Show Source): You can put this solution on YOUR website!
x+y=7
y+z=8
x+2x=2
solve third equation for x
3x = 2
x = 2/3
solve first equation for y
(2/3) + y = 7
y = 19/3
solve second equation for z
(19/3) + z = 8
z = 5/3
***********************************
solution is x = 2/3, y = 19/3, z = 5/3

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

x+y=7
y+z=8
x+2z=2

Write it neatly lined up so that
the like terms are under each other
and the coefficients, + and = signs 
line up vertically:

  x +  y      =  7
       y +  z =  8
  x +      2z =  2

Indicate missing terms with the letters
with 0 coefficients and put 1's for the
coefficients of the letters that don't show
their coefficients:

 1x + 1y + 0z =  7
 0x + 1y + 1z =  8
 1x + 0y + 2z =  2 

Erase the letters and the + signs.
Replace the equal signs by a vertical
line.  Enclose the array in a bracket:

[1    1    0  |  7]
[0    1    1  |  8]
[1    0    2  |  2] 

The opect is to get that with 1's on
the diagonal (left of the vertical bars,
and 0's elsewhere.

Multiply the top row temporarily by -1,
getting:

-1   -1    0    -7

and add it to the 3rd row to
get a 0 where the 1 is on the
bottom left.  We denote that 
operation by -R1+R3->R3

[1    1    0  |  7]
[0    1    1  |  8]
[0   -1    2  | -5]

Add row 2 to row 3 to get a 0 where 
the -1 is.  We denote that operation
by R2+R3->R3

[1    1    0  |  7]
[0    1    1  |  8]
[0    0    3  |  3]

Divide the bottom row through by 3
We denote that operation by 
1/3R3->R3

[1    1    0  |  7]
[0    1    1  |  8]
[0    0    1  |  1]

Multiply the bottom row temporarily
by -1, getting: 

 0    0   -1    -1

and add it to the middle row to get a
0 where the 1, which is the 3rd 
element on the second row, is.
That operation is denoted by 
-R3+R2->R2

[1    1    0  |  7]
[0    1    0  |  7]
[0    0    1  |  1]

Multiply the middle row by -1 

 0   -1    0    -7

and add it to the top row to get a
0 where the 1, which is the 2nd 
element on the top row, is.
This is denoted by -R2+R1->R1

[1    0    0  |  0]
[0    1    0  |  7]
[0    0    1  |  1]

That is in row reduced echelon form
If we were to convert that back to a
system of equations we would have:

 1x + 0z + 0z =  0
 0x + 1y + 0z =  7
 0x + 0y + 1z =  1

which is the same as

  x           =  0
       y      =  7
            z =  1

And the solution is

(x,y,z) = (0,7,1)

which we could have told from
the last column of the final
matrix above.

This was an easy one. Others
are not so easy, but the
principle is the same.

Edwin

RELATED QUESTIONS

Hi, I have a problem that deals with linear equations with three variables: SOLVE:... (answered by stanbon,MathTherapy)
Solve for X, Y and Z using Matrices. I have tried over 20 times to get this; and I'm just (answered by Alan3354)
hi, i'm having trouble with one specific problem which you use "substitution" in order to (answered by stanbon)
Hi, I'm in homeschooling and I'm having trouble with matrices. I was wondering how to... (answered by venugopalramana)
Hi, Could someone please help be solve this problem. It is a maxtrix problem and I need (answered by Fermat)
Please help me with this, I tried to solve it, but cannot get the solution Solve the... (answered by Edwin McCravy,AnlytcPhil)
Can you help me with this question. Here is what it reads: Use matrices to solve the... (answered by venugopalramana)
2x-3y+z=2 x-5y+5z=3 3x+y=3z=5 This is a matrices problem I am having difficutl... (answered by stanbon)
Hi,- I have a problem with substitution that does not allow the use of matrices: 2x + (answered by Alan3354)