Inverting a matrix is a short checklist: confirm it is square, compute the determinant , and — if that number is nonzero — swap the diagonal entries, negate the off-diagonal entries, and divide by the determinant. An inverse matrix undoes another matrix, so if exists,
where is the identity. Multiplying by does something; multiplying by reverses it.
When this method applies
Reach for an inverse matrix when you need to reverse a linear transformation or solve a system with a unique solution. If
and is invertible, then — but only when exists. Inverses also show up in change-of-coordinates problems and across physics, engineering, and computer graphics. In practice people often solve systems by row reduction or factorization rather than forming a full inverse, yet the inverse still tells you when a transformation can be undone. The existence test is simple: for a matrix, the inverse exists exactly when the determinant is nonzero.
The procedure, step by step
- Check the matrix type. It must be square. Non-square matrices have no inverse in the usual sense.
- Test invertibility. For
compute . If it is zero, stop — the matrix is singular and has no inverse.
- Apply the formula. If ,
This form is for matrices only; larger matrices use row reduction on .
- Verify. Multiply by the candidate. If you get , the inverse is correct.
A full run-through
Let
Step 2, the determinant:
Since , continue. Step 3, swap and , negate and , divide by :
Step 4, multiply back:
A matrix only counts as an inverse if the product is the identity, so this check is not a formality.
Where each step trips people up
- At "test invertibility," continuing past . A singular matrix has no inverse; pushing ahead produces nonsense.
- At "apply the formula," forgetting the swap or the negation. Dividing by the determinant without swapping the diagonal and negating the off-diagonal entries is the most common error, closely followed by a sign slip in or .
- Earlier, trying to invert a non-square matrix with the rule, or thinking the inverse comes from taking reciprocals of the entries. Self-check: square first, then determinant, then formula.
FAQ
Run the steps on
check the determinant, apply the formula, then multiply back to confirm you land on .
Frequently Asked Questions
- When does a matrix have an inverse?
- A matrix can have an inverse only if it is square and its determinant is not zero. For a 2 x 2 matrix, that condition is $ad - bc \ne 0$.
- Is dividing every entry by the determinant the inverse?
- No. For a 2 x 2 matrix, you must also swap the diagonal entries and change the signs of the off-diagonal entries before multiplying by $1/(ad-bc)$.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →