What the Inverse of a Matrix Is
The inverse A⁻¹ undoes A: A × A⁻¹ = A⁻¹ × A = I, where I is the identity matrix of ones on the diagonal. It plays the role of 1/a for ordinary numbers, and just like 1/0 it does not always exist. A square matrix has an inverse exactly when its determinant is not zero.
The 2×2 Shortcut
For [[a, b], [c, d]], swap a and d, flip the signs of b and c, and divide everything by ad − bc.
[[4, 7], [2, 6]]
- Determinant: 4·6 − 7·2 = 24 − 14 = 10.
- Swap and negate: [[6, −7], [−2, 4]].
- Divide by 10.
Answer: [[3/5, −7/10], [−1/5, 2/5]]
Check: first row of A times first column of A⁻¹ is 4·(3/5) + 7·(−1/5) = 12/5 − 7/5 = 1 ✓.
Gauss-Jordan for Any Size
- Write A and the identity side by side: [A | I].
- Use row operations to turn the left block into I.
- Apply every operation to the whole row, including the right block.
- When the left block is I, the right block is A⁻¹.
[[2, 1, 1], [1, 3, 2], [1, 0, 0]]
- det A = 1, so the inverse exists and has whole-number entries.
- Row operations reduce [A | I] to [I | A⁻¹].
Answer: A⁻¹ = [[0, 0, 1], [−2, 1, 3], [3, −1, −5]]
If a zero row appears on the left during the process, the matrix is singular and no inverse exists. The calculator reports that instead of guessing.
Solving A x = b With the Inverse
A = [[2, 1], [5, 3]], b = (4, 7)
- det A = 6 − 5 = 1, so A⁻¹ = [[3, −1], [−5, 2]].
- x = A⁻¹ b = (3·4 − 7, −5·4 + 2·7) = (5, −6).
Answer: x = 5, y = −6
Substituting back gives 2·5 − 6 = 4 and 5·5 − 18 = 7 ✓.
When Not to Use an Inverse
Computing A⁻¹ to solve A x = b is fine for small classroom problems, but numerical analysts avoid it for large or delicate systems, because elimination is faster and more accurate. Some matrices are so close to singular that tiny input errors explode. The condition number measures this: the 5×5 Hilbert matrix has a condition number near 4.8 × 10⁵ and the 10×10 one is about 1.6 × 10¹³, which means almost all the digits of a floating-point inverse are noise.
That is one reason this calculator works in exact fractions: there is no rounding to amplify.
What We Think Is Overrated, Underrated and Wrong
A Worked Example and a Warning
For A = [[2, 1], [5, 3]] the determinant is 1, so A⁻¹ = [[3, −1], [−5, 2]]. Check: row 1 × column 1 is 2·3 + 1·(−5) = 1. For 2×2 the formula is A⁻¹ = (1 ÷ det)[[d, −b], [−c, a]].
Warning: the 3×3 Hilbert matrix has inverse [[9, −36, 30], [−36, 192, −180], [30, −180, 180]], with entries far larger than the original. Matrices like this are ill-conditioned, and a tiny rounding error in the input can wreck the answer.
Our Take: What Is Overrated, Underrated and Plain Wrong
Overrated: the inverse as a way to solve Ax = b. Elimination is faster and more accurate.
Underrated: the A·A⁻¹ = I check. It confirms the answer in one multiplication.
Plain wrong: trying to invert a singular matrix. If det = 0, no inverse exists.
Inverse Matrix Mistakes That Cost Marks
- Trying to invert a matrix with determinant 0.
- Forgetting to divide by the determinant in the 2×2 formula.
- Changing only the left block during Gauss-Jordan.
- Multiplying in the wrong order when solving: it is A⁻¹b, not bA⁻¹.
- Inverting a non-square matrix. Only square matrices have inverses.
Why Students Get Stuck on Inverse Matrices, and What a Good Calculator Should Do
Searching for help with inverse matrices usually starts late at night with one problem that will not work out. The adjugate method has many signs, and Gauss-Jordan has many rows. A good calculator fixes that by showing each step, checking its own answer and explaining the idea in plain words. This section covers what students struggle with, what they want, and how this page responds.
In short: students need to find A⁻¹ and verify that A·A⁻¹ = I, not just see a final number, and a calculator earns trust only when its steps can be checked.
Understand the pain points
What students get stuck on
Most mistakes here are not about arithmetic. They come from one rule applied the wrong way round, which is why seeing every step matters.
- Forgetting that a zero determinant means no inverseInverse of [[2,1],[5,3]]↗
- Sign errors in the cofactor matrixInverse of [[1,2],[3,4]]↗
- Forgetting to transpose the cofactorsInverse of [[4,7],[2,6]]↗
- Dividing by the determinant at the wrong stageInverse of [[1,0,2],[0,1,0],[0,0,1]]↗
Understand the frustrations and desires
What they feel, and what they want
Each frustration points to a wish: a clearer step, a built-in check, an explanation in plain words.
- Wants both methods compared
- Wants A·A⁻¹ = I checked
- Wants to know early if the inverse exists
Build the page around their intent
Each intent has a place on this page
The page follows intent, not features, so each need has a clear starting point.
- I need an answer now: type the problem into the calculator at the top of this page.Inverse of [[2,1],[5,3]]↗
- I need to understand: the sections below explain the idea in plain words and list the common mistakes.
- I need to check my work: every step is shown, so the first line that differs from yours is the one to study.
- I need practice: open the solver, tap + and choose Create Practice Test.
- I need it explained aloud: in the solver, tap + and choose Create Video.