Find the Variables
Problem
Solution
Write the augmented matrix representing the system of linear equations to prepare for Gaussian elimination.
Eliminate the first column entries below the pivot by adding the first row to the second row (
(R_2)+(R_1)⇒(R_2) and subtracting the first row from the third row ((R_3)−(R_1)⇒(R_3) .
Swap rows to make the arithmetic easier, moving the row with the smaller coefficient to the second position (
(R_2)↔(R_3) .
Eliminate the second column entry below the pivot by subtracting twice the second row from the third row (
(R_3)−2*(R_2)⇒(R_3) .
Solve for b using the third row of the resulting upper triangular matrix.
Solve for x by substituting
b=24 into the second row equationx+b=−5
Solve for q by substituting
x=−29 andb=24 into the first row equationq−2*x−3*b=7
Final Answer
Want more problems? Check here!