Try it with your numbers
Show every step
That recipe fits on one line, but the details are where points get lost: which entries move, which only change sign, and what to do when the numbers are negative or fractions. The sections below cover the method, the reason it works, the zero-determinant failure, and a few checks that catch mistakes in seconds.
How do you find the inverse of a 2×2 matrix?
Work in this order, because the determinant decides whether the rest is worth doing:
- Compute the determinant of the 2×2 matrix: . If it is , stop. No inverse exists.
- Swap the two diagonal entries and .
- Change the signs of and , leaving them in their positions.
- Multiply every entry by .
Example 1. Find the inverse of .
The determinant is . Swapping and and negating and gives . Then divide by :
Leaving the factor out front is a perfectly good final answer, and it is easier to check than a grid of fractions. The classic slip is forgetting the factor entirely. The swapped matrix on its own is not the inverse, and the next section shows exactly how far off it is.
Why does the inverse formula work?

An inverse must satisfy , where is the identity matrix. Multiply by the swapped-and-negated matrix and watch what happens, using the usual rule from matrix multiplication:
The off-diagonal terms cancel in pairs, and the diagonal terms both equal the determinant. So the product is , not . Dividing by is the only correction needed, and that is the entire origin of the factor out front.
The swap-and-negate matrix has a name: the adjugate. For any square matrix, , which is why the inverse is always the adjugate divided by the determinant.
This also explains the failure case. If , the product above is the zero matrix, and no amount of dividing can turn zero into .
Quick check
Answer: , so the inverse is of the second matrix
What does a zero determinant mean for the inverse?
A matrix with is called singular, and it has no inverse. Take : the determinant is , and the formula would ask you to divide by zero. The second row is exactly times the first, so the rows carry only one independent piece of information.
Geometrically, a singular matrix flattens the whole plane onto a single line. Many different points land on the same spot, so there is no way to run the process backwards and recover where each one started. In a system of equations, the same thing appears as two lines that are parallel (no solution) or identical (infinitely many). The rows being proportional means the lines share a slope, which is exactly what expresses.
The determinant plays the role the discriminant plays in the quadratic formula: one number, computed first, that tells you whether the main calculation will behave. If you have practiced with quadratic formula problems, the habit transfers directly. Check the gatekeeper number before you build the answer.
One more point: a negative determinant is fine. Only exactly blocks the inverse.
Inverse of a 2×2 matrix with negatives and fractions
Negatives cause most of the errors, and nearly all of them come from two places: computing and negating an entry that is already negative.
Example 2. Find the inverse of .
Here , , , . The determinant is . A common slip is writing , so remember that a product of two negatives is positive before you subtract (the order of operations applies to every term). Swapping the diagonal puts in the top left and in the bottom right. Negating and gives and :
When an off-diagonal entry is already negative, negating it makes it positive. The rule is “change the sign”, not “put a minus in front”.
Example 3, fractional entries. Find the inverse of .
Factor out the fractions first: with . For , the determinant is , so . Since :
Working directly with gives the same result: simplifies to . Pulling out a common factor keeps the arithmetic in whole numbers.
Quick check
Answer:
How do you check that an inverse is correct?

Multiply the original by your answer. For square matrices, one product equal to is enough. For Example 1, the first row of times the first column of gives , which is the top-left entry of . Checking just the diagonal entries of the product takes about ten seconds and catches most sign errors, but a full check also confirms the zeros.
Two faster sanity checks need no multiplication. First, the determinant of the inverse must be the reciprocal of the original determinant: . In Example 1, , matching .
Second, the formula can be rewritten so you never have to remember which entries move. The trace is , and subtracting from flips the diagonal and negates the rest:
This is subtracting matrices entry by entry. In Example 1, , the same matrix as before. It works because each diagonal entry becomes , and the off-diagonal entries become and .
Try this: Take . Its determinant is , so write with no division at all, then multiply to confirm you get . (You should find .)
Solving a system of equations with the inverse
A system , is the single matrix equation . Multiply both sides by on the left and the unknowns drop out: . Each equation is a line, which you may know in slope-intercept form, and the solution is where the two lines cross. A nonzero determinant guarantees they cross at exactly one point.
Example 4. Solve and .
The coefficient matrix is with , so . Then:
Check in both equations: and . Both hold.
Each entry of is a determinant divided by . Here and .
The trap is the side you multiply on. Matrix multiplication is not commutative, so is not even defined for these shapes. The inverse always goes on the left of .
Inverse rules: products, transposes and scalar multiples
A few identities save a lot of work once the 2×2 case is automatic:
- (the order reverses)
- for
The reversed order in a product is the one students forget. Think of putting on socks and then shoes: to undo it, the shoes come off first. The algebra confirms it, since . A product is invertible only when both and are.
There is no rule for sums. In general is not , and a sum of two invertible matrices can even be singular: and are each invertible, but their sum is the zero matrix.
Quick check
Answer:
Does the 2×2 shortcut work for 3×3 matrices?
No. The swap-and-negate pattern is special to size two. The idea behind it still scales, because the inverse is always the adjugate divided by the determinant. For a 3×3 matrix, though, the adjugate is built from nine cofactors, and each cofactor is itself a 2×2 determinant. You also need the determinant of a 3×3 matrix for the denominator, and the same rule holds: determinant zero means no inverse.
In practice, row reduction on is usually quicker for 3×3 and larger. That method works at every size, which is why it is the standard one in textbooks and software. If your 2×2 inverses are solid and you want to build toward the next size, try the 3×3 determinant practice problems first, since every step of a 3×3 inverse depends on getting those determinants right.
Where is the inverse of a 2×2 matrix used?
Graphics and geometry use it to undo a transformation. A rotation by angle has matrix with determinant . Swapping and negating gives , which is the rotation by , exactly the move that undoes the original.
Cryptography uses it too. The Hill cipher encrypts pairs of letters with a 2×2 key matrix, and decrypting needs the key’s inverse. Because letters are numbered to , all arithmetic is mod . For the key the determinant is , and , so becomes . That gives . A determinant sharing a factor with (like or ) would make the key unusable, the same zero-determinant failure in modular form.
Everywhere else, the 2×2 inverse is the quickest route to solving two linear equations exactly, which is why it is the first inverse most students learn.
Practice problems
0 of 5 solved
- Find the inverse of .
Answer:
The determinant is . Swap and , and negate and . Dividing by changes nothing, so the inverse is . - Find the inverse of .
Answer:
The determinant is . Swap and , and negate and to get . Multiply by . - Find the inverse of .
Answer:
The determinant is . Swap and . Negate and to get and . With determinant the result is . - For which value of does have no inverse?
Answer:
No inverse means the determinant is . Here . Solve to get . - Use an inverse matrix to solve and .
Answer:
The coefficient matrix has , so its inverse is . Multiply by on the left: .
Common questions
What is the formula for the inverse of a 2×2 matrix?
For a matrix with rows and , swap and , negate and , and multiply the result by . The formula only works when is not zero.
Can every 2×2 matrix be inverted?
No. A 2×2 matrix has an inverse only when its determinant is nonzero. If the determinant is , the rows are proportional, the matrix is called singular, and no inverse exists.
How do you find the inverse of a 2×2 matrix using row operations?
Write the matrix next to the 2×2 identity matrix as , then use row operations until the left side becomes . The right side is then the inverse. It gives the same answer as the formula but takes more steps for a 2×2.
Is the inverse of a matrix the same as taking reciprocals of its entries?
No. Taking of every entry does not undo the matrix. The inverse is the matrix that multiplies with the original to give the identity, and for a 2×2 it comes from the swap, negate, divide recipe.
Why do you swap a and d and change the signs of b and c?
That arrangement makes the product with the original matrix equal , because the off-diagonal terms cancel exactly. Dividing by then turns that product into the identity matrix.
What is the inverse of the identity matrix?
The identity matrix is its own inverse, since . The formula agrees: with and the determinant is and nothing changes.