Solve a System Using the Matrix Inverse
Use a supplied inverse to compute a solution vector and verify it against the recovered original system.
Multiply the inverse by b
Compute two row-by-column dot products: 7·3 − 2·10 = 1 and −3·3 + 1·10 = 1. The solution vector is therefore 1, 1.
inverseSolve([[7, −2], [−3, 1]], [[3], [10]])Track negative components
The inverse entries can produce negative solution components. The engine also recovers the original coefficient matrix and checks Ax = b directly.
inverseSolve([[1, −1], [−1, 2]], [[1], [2]])Use the identity inverse
The identity matrix is its own inverse, so multiplication leaves b unchanged. Substitution confirms every original row immediately.
inverseSolve([[1, 0], [0, 1]], [[4], [−2]])Practice
Practice: problems like this one, made and checked in your browser.
Recap
- When A⁻¹ is known, compute x = A⁻¹b.
- The inverse must have dimensions compatible with b.
- Verify the vector by substituting it into the original system.