Skip to content
Algebra

Matrices: Determinant and Inverse, Step by Step

Two 2×2 matrix skills that unlock linear algebra — determinant with ad − bc and inverse with the swap-and-negate trick, with worked examples.

By Muddassar Ali · · 5 min read

A matrix is a grid of numbers, and two operations on 2×2 matrices unlock most of linear algebra: the determinant (one number that summarizes the matrix) and the inverse (the matrix that undoes it). Both have short, reliable methods.

The determinant:

For the matrix , the determinant is:

Worked example: for :

The full formula with more examples is on the determinant of a 2×2 matrix page. One fact worth remembering: if the determinant is zero, the matrix has no inverse.

The inverse: swap, negate, divide

For the same matrix, the inverse is:

In words: swap and , negate and , then divide everything by the determinant.

Worked example: for with :

Check by multiplying : the result is the identity matrix , which confirms the inverse is right. The inverse of a 2×2 matrix page shows the same method with more examples.

Common mistakes

  • Subtracting the wrong way round in the determinant — it is , not .
  • Forgetting to divide by the determinant after swapping and negating.
  • Negating the wrong entries — negate and (the off-diagonal), never and .
  • Trying to invert a matrix with determinant zero. It has no inverse; stop and check the determinant first.

Practice it

Want to check your work? Try the Matrix Calculator — determinant, inverse, transpose and more, all with steps. Then try similar problems on the practice page.

#matrices#determinant#inverse#linear algebra

Keep reading

Algebra

Logarithms Explained with Examples

A logarithm is just the question "to what power?" Learn what logs mean, the three rules that solve almost every problem, and worked examples.

Oct 27, 2026 · 5 min read

Algebra

How to Factor Quadratics Step by Step

Factoring turns a quadratic into two brackets you can solve in seconds. Learn the method, see worked examples, and avoid the mistakes most students make.

Oct 27, 2026 · 5 min read

Practice what you just learned

Solve your own problems step by step and ask the AI tutor about anything that's unclear.