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.Com
Question 1131309: 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 josgarithmetic, ikleyn:
Answer by josgarithmetic(39618)   (Show Source): You can put this solution on YOUR website!

Answer by ikleyn(52797)   (Show Source): You can put this solution on YOUR website!
.
Answer.  x = 1       
         y = -4     
         z = -2     

Solution

Your matrix

	X1	X2	X3	b
1	1	1	1	-5
2	1	-1	3	-1
3	4	1	1	-2

Find the pivot in the 1st column in the 1st row

	X1	X2	X3	b
1	1	1	1	-5
2	1	-1	3	-1
3	4	1	1	-2

Subtract the 1st row from the 2nd row

	X1	X2	X3	b
1	1	1	1	-5
2	0	-2	2	4
3	4	1	1	-2

Multiply the 1st row by 4

	X1	X2	X3	b
1	4	4	4	-20
2	0	-2	2	4
3	4	1	1	-2

Subtract the 1st row from the 3rd row and restore it

	X1	X2	X3	b
1	1	1	1	-5
2	0	-2	2	4
3	0	-3	-3	18

Make the pivot in the 2nd column by dividing the 2nd row by -2

	X1	X2	X3	b
1	1	1	1	-5
2	0	1	-1	-2
3	0	-3	-3	18

Subtract the 2nd row from the 1st row

X1	X2	X3	b
1	1	0	2	-3
2	0	1	-1	-2
3	0	-3	-3	18

Multiply the 2nd row by -3

	X1	X2	X3	b
1	1	0	2	-3
2	0	-3	3	6
3	0	-3	-3	18

Subtract the 2nd row from the 3rd row and restore it

	X1	X2	X3	b
1	1	0	2	-3
2	0	1	-1	-2
3	0	0	-6	12

Make the pivot in the 3rd column by dividing the 3rd row by -6

	X1	X2	X3	b
1	1	0	2	-3
2	0	1	-1	-2
3	0	0	1	-2

Multiply the 3rd row by 2

	X1	X2	X3	b
1	1	0	2	-3
2	0	1	-1	-2
3	0	0	2	-4

Subtract the 3rd row from the 1st row and restore it

	X1	X2	X3	b
1	1	0	0	1
2	0	1	-1	-2
3	0	0	1	-2

Multiply the 3rd row by -1

	X1	X2	X3	b
1	1	0	0	1
2	0	1	-1	-2
3	0	0	-1	2

Subtract the 3rd row from the 2nd row and restore it

	X1	X2	X3	b
1	1	0	0	1
2	0	1	0	-4
3	0	0	1	-2

Solution set:

x1 = 1      
x2 = -4   
x3 = -2   


RELATED QUESTIONS

Solve the system of equations using matrices. Use Gaussian elimination with... (answered by greenestamps,richwmiller)
Solve the system of equations using matrices. Use Gaussian elimination with... (answered by Fombitz)
Solve the system of equations to the right using matrices. Use Gaussian elimination with... (answered by JBarnum,richwmiller)
solve the system using matrices. Use Gaussian elimination with back-substitution or... (answered by nabla,richwmiller)
Solve the system of equations using matrices. Use Gaussian elimination with... (answered by josgarithmetic,MathTherapy)
Solve the following system of equations using Gaussian elimination (with a matrix) and... (answered by checkley71,richwmiller)
Solve the system of equations using Gaussian elimination. x+y-z=0 4x+2y-4z=0... (answered by Alan3354)
Use matrices to solve the system of equations (if possible). Use Gaussian elimination... (answered by richwmiller)
Use Gaussian elimination with backward substitution to solve the system of linear... (answered by venugopalramana)