Problem 50

Question

(a) write the system of linear equations as a matrix equation \(A X=B\), and (b) use Gauss-Jordan elimination on the augmented matrix \([A: B]\) to solve for the matrix \(X\). $$ \left\\{\begin{aligned} x+y-3 z &=-1 \\ -x+2 y &=1 \\ x-y+z &=2 \end{aligned}\right. $$

Step-by-Step Solution

Verified
Answer
The solution to the system of equations is: \(x = 1\), \(y = 1.5\), \(z = 1.5\)
1Step 1: Convert the system of linear equations into a matrix equation
We can write the system of equations in the form of \(AX = B\), where \(A\) is the coefficient matrix, \(X\) is the matrix containing the variables (\(x, y, z\)) and \(B\) is the matrix of the constants. From the given equation, we find: \( A = \[[1, 1, -3], [-1, 2, 0], [1, -1, 1]\]\), \(X = \[[x], [y], [z]\]\) and \(B = \[[-1], [1], [2]\]\)
2Step 2: Create the augmented matrix [A:B]
We now create an augmented matrix by appending \(B\) onto \(A\). This gives: \([A:B] = \[[1,1,-3|-1],[-1,2,0|1],[1,-1,1|2]\]\)
3Step 3: Apply Gauss-Jordan Elimination
Starting with our augmented matrix, we perform row operations to make a designated pivot element 1, and every other element in its column 0: \n - Swap row 2 and row 1 to bring the -1 at the beginning to the top: \[[-1, 2, 0 | 1], [1, 1, -3 | -1], [1, -1, 1 | 2]\]\n - Multiply row 1 by -1 for simplicity: \[[1, -2, 0 | -1], [1, 1, -3 | -1], [1, -1, 1 | 2]\]\n - Subtract row 1 from row 2 and row 3 to make first element of these rows equal to zero: \[[1, -2, 0 | -1], [0, 3, -3 | 0], [0, 1, 1 | 3]\]\n - Swap row 2 and row 3 to bring the 1 at the beginning of the second column to the middle: \[[1, -2, 0 | -1], [0, 1, 1 | 3], [0, 3, -3 | 0]\]\n - Subtract 3 times row 2 from row 3 to make the second element of the third row 0: \[[1, -2, 0 | -1], [0, 1, 1 | 3], [0, 0, -6 | -9]\]\n - Divide row 3 by -6 to make the last element of the third row (the last pivot) a 1: \[[1, -2, 0 | -1], [0, 1, 1 | 3], [0, 0, 1 | 1.5]\]\n - Finally, subtract row 3 from row 2 to make the third element of the second row 0 and add 2 times row 2 to row 1 to make the second element of the first row 0, which gives us the final form: \[[1, 0, 0 | 1], [0, 1, 0 | 1.5], [0, 0, 1 | 1.5]\]\n These operations yield a matrix in reduced row echelon form, giving us the solution to the system: \(x = 1\), \(y = 1.5\), \(z = 1.5\)

Key Concepts

Matrix EquationSystem of Linear EquationsReduced Row Echelon FormAugmented Matrix