HexMathv1.0.4
Inverse matrix calculator
This inverse matrix calculator finds the inverse of a 2×2 or 3×3 matrix. Type the matrix or scan it. HexMath computes the determinant first, tells you when no inverse exists, and otherwise returns the inverse matrix with every step shown: the swap-and-negate formula for 2×2, and cofactors with the adjugate or row reduction for 3×3.
Loading math input...
What this page covers
- The inverse of a 2×2 matrix with the swap-and-negate formula.
- The inverse of a 3×3 matrix with cofactors and the adjugate, or with row reduction.
- Solving a square linear system as .
- Not covered here: determinants on their own and row reduction of non-square matrices (see the matrix calculator).
How to enter the problem
- Type it or paste it. Write the matrix row by row, for example [[4, 7], [2, 6]], followed by ^-1, or write inverse of and the matrix.
- Scan it. Fit the one problem in the frame.
- Choose a photo. Several problems in one photo are solved as a list.
- Then tap Solve.
Worked examples
Example 1: Find the inverse of [4, 7; 2, 6].
Problem
Find the inverse of .
Answer
VerifiedThe answer is
Explanation
- Find the determinant. It is not , so the inverse exists.
- Swap and negateFor a matrix, swap the diagonal entries and change the sign of the other two: .
- Divide by the determinant
- Check one entry ofRow 1 of times column 1 of : , as the identity requires.
Example 2: Solve 3x + 2y = 7 and x + y = 3 with an inverse matrix.
Problem
Solve and with an inverse matrix.
Answer
VerifiedThe answer is
Explanation
- Write the system as a matrix equation, , and .
- Find the inverse. Swap the diagonal entries and negate the others
- Multiply, so and .
Common mistakes
- Adding instead of subtracting in the 2×2 determinant. For the example in the solver above, is wrong; the determinant is .
- Swapping the off-diagonal entries instead of the diagonal ones. In the 2×2 formula the diagonal entries swap and the other two change sign.
- Forgetting to transpose the cofactor matrix before dividing by the determinant.
- Looking for an inverse when the determinant is 0. Such a matrix is singular and has no inverse.
Checks, assumptions and limits
- Check by multiplying. must be the identity matrix. For the example in the solver above, the top-left entry is .
- Only square matrices with a nonzero determinant have an inverse. Entries are kept as exact fractions.
- HexMath can make mistakes. Double check important steps.
Frequently asked questions
If the determinant is 0 the matrix is singular. The steps show the determinant and say that no inverse exists, instead of dividing by zero.
Yes. The steps find the determinant, the cofactors, the adjugate and then the inverse. Ask a follow-up if you want the row reduction method instead.
Yes. Use the camera on the one problem, or choose a photo. Several problems in one photo are solved as a list.
Multiply the matrix by its inverse. The product must be the identity matrix. You can run that product on the matrix multiplication calculator.
Related tasks
Ready to solve your next math problem?
Create a free account for 3 math questions a day in your browser. No card.
Last updated: · HexMath