Solve the system x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2
The solution of the system is
Answer
System of linear equationsChecked numerically before it is shown
Step-by-step solution
Solve by
Gaussian elimination
Augmented matrix
Write the augmented matrix [A | b]:
Row operation
Row operation :
Row operation
Row operation :
Row operation
Row operation :
Triangular system
The matrix is triangular; write it back as equations:
Last equation
The last equation has only ; solve it:
Divide both sides
Divide both sides by :
Back-substitute
Put the known values into the equation above and solve for :
Simplify
Simplify both sides:
Add to both sides
Add to both sides:
Divide both sides
Divide both sides by :
Back-substitute
Put the known values into the equation above and solve for :
Simplify
Simplify both sides:
Subtract from both sides
Subtract from both sides:
Cramer's rule
Matrix form
Write the system in matrix form:
Determinant
Determinant of the coefficients:
Determinant with constants
Replace the column with the constants and compute the determinant:
Cramer's rule
Cramer's rule for :
Determinant with constants
Replace the column with the constants and compute the determinant:
Cramer's rule
Cramer's rule for :
Determinant with constants
Replace the column with the constants and compute the determinant:
Cramer's rule
Cramer's rule for :
Change the problem in the solver Equation solver