SOLUTION: Solve the system of equations using matrices. Use Gaussian elimination with back-substitution. x + y + z = -5 x - y + 3z = -1 4x + y + z = -2

Algebra ->  sets and operations -> SOLUTION: Solve the system of equations using matrices. Use Gaussian elimination with back-substitution. x + y + z = -5 x - y + 3z = -1 4x + y + z = -2       Log On


   



Question 1105260: Solve the system of equations using matrices. Use Gaussian elimination with back-substitution. x + y + z = -5
x - y + 3z = -1
4x + y + z = -2

Found 2 solutions by greenestamps, richwmiller:
Answer by greenestamps(13200) About Me  (Show Source):
You can put this solution on YOUR website!


I'm not sure what you mean by "Gaussian elimination with back substitution". Gaussian elimination solves the system; there is no substitution required.

matrix%283%2C4%2C1%2C1%2C1%2C-5%2C1%2C-1%2C3%2C-1%2C4%2C1%2C1%2C-2%29

You have the required "1" in position (1,1). Use it to get 0 in positions (2,1) and (3,1):
R2 <-- R1-R2; R3 <-- R3-4*R1: matrix%283%2C4%2C1%2C1%2C1%2C-5%2C0%2C2%2C-2%2C-4%2C0%2C-3%2C-3%2C18%29

Take out the common factors in rows 2 and 3: matrix%283%2C4%2C1%2C1%2C1%2C-5%2C0%2C1%2C-1%2C-2%2C0%2C1%2C1%2C-6%29

Use the 1 in position (2,2) to get 0 in positions (1,2) and (3,2):
R1 <-- R1-R2; R3 <-- R3-R2: matrix%283%2C4%2C1%2C0%2C2%2C-3%2C0%2C1%2C-1%2C-2%2C0%2C0%2C2%2C-4%29

Take out the common factor in row 3: matrix%283%2C4%2C1%2C0%2C2%2C-3%2C0%2C1%2C-1%2C-2%2C0%2C0%2C1%2C-2%29

Use the 1 in position (3,3) to get 0 in positions (1,3) and (2,3):
R1 <-- R1-2*R3; R2 <-- R2+R3: matrix%283%2C4%2C1%2C0%2C0%2C1%2C0%2C1%2C0%2C-4%2C0%2C0%2C1%2C-2%29

We are done; the system has a unique solution
x = 1; y = -4, z = -2

Answer by richwmiller(17219) About Me  (Show Source):
You can put this solution on YOUR website!
back substitution would be to take the solution in row three and apply it to row two
matrix%283%2C4%2C1%2C0%2C2%2C-3%2C0%2C1%2C-1%2C-2%2C0%2C0%2C1%2C-2%29

then take the solution in row two and apply it to row one