Worked solution: solve x+y+z=6, 2x-y+z=3, x+2y-z=2 using matrices
Step-by-step working for this solve linear systems with matrices problem, produced and checked by the solver.
Solve using matrices Answer checked
Answer
- Write the equations as a matrix equation AX = B
- Find the determinant of A
- Find the inverse matrix A⁻¹ (swap and negate for 2×2, or use cofactors for 3×3, then divide by the determinant)
- Multiply: X = A⁻¹B
- Check by substituting the answer into every equation
Change the numbers and solve your own
The method in brief
- Write the coefficients as matrix A, the unknowns as X and the right-hand sides as B.
- Find det A. If it is 0 there is no unique solution.
- Find A⁻¹: for 2×2 swap, negate and divide by det; for 3×3 use cofactors.
- Multiply A⁻¹ by B.
Full guide: Solving simultaneous equations with matrices.