How do you solve using gaussian elimination or gauss-jordan elimination, #x+3y+z=7#, #x+y+4z=18#, #-x-y+z=7#?
2 Answers
Explanation:
Initial Augmented Matrix:
Pivot Action
pivot row = n; pivot column = n; pivot entry augmented matrix entry at (n,n)
1. convert pivot n row so pivot entry = 1
2. adjust non-pivot rows so entries in pivot column = 0
Pivot 1
Pivot Row 1 reduced by dividing all entries by 1.00 so pivot entry = 1
Non-pivot rows reduced for pivot column
by subtracting appropriate multiple of pivot row 1 from each non-pivot row
Pivot 2
Pivot Row 2 reduced by dividing all entries by -2.00 so pivot entry = 1
Non-pivot rows reduced for pivot column
by subtracting appropriate multiple of pivot row 2 from each non-pivot row
Pivot 3
Pivot Row 3 reduced by dividing all entries by 5.00 so pivot entry = 1
Non-pivot rows reduced for pivot column
by subtracting appropriate multiple of pivot row 3 from each non-pivot row
An alternate way to word the explanation follows a similar logic in solving for the row echelon form:
- Use elementary row operations to achieve
#0# 's below all leading entries in each row. i.e. switch two rows, add scaled row to another row, or scale a row. - Each leading entry should be a
#1# , and each new row's leading#1# must be at least one column to the right of that from the previous row. - Any rows with all zeroes must be at the bottom. If one such row exists, then consider checking whether there is one, infinite, or no solutions.
(reduced row echelon form would ask for
The augmented matrix is:
#[(1,3,1,|,7),(1,1,4,|,18),(-1,-1,1,|,7)]#
Now, operating on it, where the second indicated row number is the one that the operation is applied to, we get:
#stackrel(R_2 + R_3" ")(->)[(1,3,1,|,7),(1,1,4,|,18),(0,0,5,|,25)]#
#stackrel(-R_1 + R_2" ")(->)[(1,3,1,|,7),(0,-2,3,|,11),(0,0,5,|,25)]#
At this point we know enough to back-substitute via the Gaussian Elimination method.
Therefore, this method also gives you