How do you solve using gaussian elimination or gauss-jordan elimination, #5x + y + 5z = 3 #, #4x − y + 5z = 13 #, #5x + 2y + 2z = 2#?
1 Answer
Explanation:
To solve the system of linear equations
First convert it to the augmented matrix form
The goal is to write this in row-echelon form, which is triangular form where the leading coefficient is 1. The three row operations we can use are:
- Switch rows
- Multiply a row by a constant
- Add a multiple of a row to another
Multiply the first row by
Multiply first row by -4 and add to second row
Multiply first row by -5 and add to the third row
Multiply row 2 by
Multiply row 2 by -1 and add to row 3
Multiply the last row by -9/22
Plugging these values back into formulas gives
Using backwards substitution we get the remaining answers: