SOLUTION: 2x-y+4z+t=-2 3x+2y-t=-3 x+2y+2t=10 x+y+2z=-2

Algebra ->  Matrices-and-determiminant -> SOLUTION: 2x-y+4z+t=-2 3x+2y-t=-3 x+2y+2t=10 x+y+2z=-2      Log On


   



Question 1013631: 2x-y+4z+t=-2
3x+2y-t=-3
x+2y+2t=10
x+y+2z=-2

Answer by Edwin McCravy(20060) About Me  (Show Source):
You can put this solution on YOUR website!
This comes out with very terrible answers, so I'll bet anything
you copied something wrong, like a number or a sign.  So you'll
probably have to do it over after correcting your error of 
copying, because the tiniest error in a problem like this will
make the answers come out terrible.  But here it is exactly
as you copied it.

Line up the terms with like letters under like letters,
like this: 



Put in all the understood zero terms for missing letters
and understood 1 coefficients:




Move the - signs close to the terms, erase the + signs
and all the letters and put a vertical line where the
= signs are.  Then enclose the whole thing in parentheses.
This is called an augmented matrix, augmented because of
the vertical line:



It's easier if you have a 1 as the upper left element.
So we switch the 1st and 3rd rows.  We write that operation as
R1<->R3



To get a 0 where the 3 is in the 2nd row, 1st column, multiply
R1 by -3 and add R2 to it:

            -3  -6   0  -6  |  30
             3   2   0  -1  |  -3
           ------------------------
             0  -4   0  -7  | -33

Now replace R2 by that.  This operation is written as

-3R1+R2->R2



--
To get a 0 where the 2 is in the 3rd row, 1st column, multiply
R1 by -2 and add R3 to it:

            -2  -4   0  -4  | -20
             2  -1   4   1  |  -2
           ------------------------
             0  -5   4  -3  | -22

Now replace R3 by that.  This operation is written as

-2R1+R2->R2



--
To get a 0 where the 1 is in the 4th row, 1st column, multiply
R1 by -1 and add R4 to it:

            -1  -2   0  -2  | -10
             1   1   2   0  |  -2
           ------------------------
             0  -1   2  -2  | -12

Now replace R4 by that.  This operation is written as

-1R1+R4->R4



Now we work on the second column.  Things will be easier
if we can get a 1 where the -4 is on the 2nd row 2nd column.
So we multiply R3 by -1 and swap it with R2.

That operation is written as

-R4<->R2

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

To get a 0 where the -5 is in the 3rd row, 2nd column, multiply
R2 by 5 and add R3 to it:

             0   5  -10  10  |  60
             0  -5    4  -3  | -22
           ------------------------
             0   0   -6   7  |  38

Now replace R3 by that.  This operation is written as

-5R2+R3->R3


--
To get a 0 where the -4 is in the 4th row, 2nd column, multiply
R2 by 4 and add R4 to it:

             0   4  -8   8  |  48
             0  -4   0  -7  | -33
           ------------------------
             0   0  -8   1  |  15

Now replace R4 by that.  This operation is written as

-4R2+R4->R4



To get a 0 where the -8 is in the 4th row, 3rd column, multiply
R3 by 4, and add -3 times R4 to it:


             0   0  -24  28  | 152
             0   0   24  -3  | -45
           ------------------------
             0   0    0  25  | 107

Now replace R4 by that.  This operation is written as

-4R2-3R4->R4



Convert the augmented matrix back to a system of equations:



Get rid of the understood 0 terms and 1 coefficients:



Solve the 4th equation to find t

25t%22%22=%22%22107
t%22%22=%22%22107%2F25

Substitute in the 3rd equation to find z

-6z%2B7t%22%22=%22%2238
-6z%2B7%28107%2F25%29%22%22=%22%2238
-6z%2B749%2F25%22%22=%22%2238
Clear of fractions by multiplying through by 25
-150z%2B749%22%22=%22%22950
-150z%22%22=%22%22201
z%22%22=%22%22-201%2F150
Reduce the fraction:
z%22%22=%22%22-67%2F50

Substitute in the 2nd equation to find y

y-2z%2B2t%22%22=%22%2212
y-2%28-67%2F50%29%2B2%28107%2F25%29%22%22=%22%2212
y%2B134%2F50%2B214%2F25%22%22=%22%2212
Clear of fractions by multiplying through by 50
50y%2B134%2B428%22%22=%22%22600
50y%2B562%22%22=%22%22600
50y%22%22=%22%2238
y%22%22=%22%2238%2F50
Reduce the fraction:
y%22%22=%22%2219%2F25

Substitute in the 1st equation to find x

x%2B2y%2B2t%22%22=%22%2210
x%2B2%2819%2F25%29%2B2%28107%2F25%29%22%22=%22%2210
x%2B38%2F25%2B214%2F25%22%22=%22%2210
Clear of fractions by multiplying through by 25
25x%2B38%2B214%22%22=%22%22250
25x%2B252%22%22=%22%22250
25x%22%22=%22%22-2
x%22%22=%22%22-2%2F25

So the terrible solution is

%28matrix%281%2C7%2Cx%2C%22%2C%22%2Cy%2C%22%2C%22%2Cz%2C%22%2C%22%2Ct%29%29%22%22=%22%22

Now find your mistake in copying the problem and
re-do it with the correction.

Edwin