SOLUTION: 10x+y+z=12,x+10y+z=12,x+y+z=12 by gausse jordan method

Algebra ->  Linear-equations -> SOLUTION: 10x+y+z=12,x+10y+z=12,x+y+z=12 by gausse jordan method      Log On


   



Question 923799: 10x+y+z=12,x+10y+z=12,x+y+z=12 by gausse jordan method
Answer by Edwin McCravy(20055) About Me  (Show Source):
You can put this solution on YOUR website!

system%2810x+%2B+y+%2B+z=+12%2C%0D%0Ax+%2B+10y+%2B+z=+12%2C%0D%0Ax+%2B+y+%2B+z=+12%29

or rather

system%2810x+%2B+1y+%2B+1z=+12%2C%0D%0A1x+%2B+10y+%2B+1z=+12%2C%0D%0A1x+%2B+1y+%2B+1z=+12%29

Write that as a matrix by dropping the letters
and putting a vertical line instead of equal signs:



Things are easier if it is possible to get a 1 in 
the upper left corner by swapping rows. So let's 
begin by swapping rows 1 and 3.  That operation is
written as 

R1<->R3



The idea is to get three zeros in the three positions
in the lower left corner of the matrix, where the elements
I've colored red are:

To get a 0 where the red 1 on the left of the middle row is,
multiply R1 by -1 and add it to 1 times R2, and put it in place 
of the present R2.  That's written as

-1R1+1R2->R2

To make it easy, write the multipliers to the left of the two
rows you're working with; that is, put a -1 by R1 and a 1 by R2

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


We are going to change only R2.  Although R1 gets multiplied
by -1 we are going to just do that mentally and add it to R2, but
not really change R1.



-----

To get a 0 where the lower left red 10 is, multiply R1
by -10 and add it to 1 times R3.  That's written as

-10R1+1R3->R3

Write the multipliers to the left of the two rows you're 
working with; that is, put a -10 by R1 and a 1 by R3

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


We are going to change only R3. 




---------------

To get a 0 where the red -9 is, multiply R2
by 1 (leave it as it is) and add it to 1 times R3.
We're just adding row 2 as is to row 3 as is. 
That's written as

1R2+1R3->R3

Write the multipliers to the left of the two
rows you're working with; that is, put a 1 by R2 
and a 1 by R3:

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

We are going to change only R3. 



Now that we have 0's in the three positions in the
lower left corner of the matrix, we change the matrix
back to equations:

system%28x%2By%2Bz=12%2C0x%2B9y%2B0z=0%2C0x%2B0y-9z=-108%29

or just

system%28x%2By%2Bz=12%2C9y=0%2C-9z=-108%29

Solve the third equation for z:

-9z=-108
z=%28-108%29%2F%28-9%29
z=12

Solving the middle system:

9y=0
y=0

Substitute 12 for z and 0 for y in the top equation:

x%2By%2Bz=12
x%2B%280%29%2B%2812%29=12
x%2B0%2B12=12
x%2B12=12
x=0

So the solution is %22%28x%2Cy%2Cz%29%22=%22%280%2C0%2C12%29%22

Edwin