The Inverse of a Matrix
The inverse is the transformation that undoes , so doing one and then the other changes nothing: . It exists exactly when doesn't flatten anything, and you find it with a short formula for or by row reducing .
What the symbols mean
- Determinant
If it's zero, there is no inverse.
Explanation
The inverse of a matrix is simply the transformation that undoes it, the same way dividing by 3 undoes multiplying by 3. It's good for running a process backward: decoding a message, or working out what input produced the output you see. The formula looks odd, but it's just three small moves: swap the two diagonal entries and , flip the signs of and , and divide everything by (the determinant, a number that says how much stretches area). If that number is zero, there's nothing to divide by, and there's no inverse. That's the whole formula.
Solving systems. You know that is solved by dividing by 3. Matrices work the same way: if is invertible, has exactly one solution, . (Computers usually row reduce instead, because it's faster and more accurate.)
Finding inverses. Row reduce . If the left side becomes , the right side is . If a row of zeros appears on the left, isn't invertible. Think about why this works: the row operations that turn into are exactly what does, and applying them to writes that down for you.
Rules. , and .
A common mistake. It's tempting to write , because that's how it works for numbers. It isn't: means "do , then ," so undoing it means undoing first, then . It's like putting on socks and then shoes. To undo that, the shoes come off first.
See it
Worked examples
Find the inverse of .
- 1
The determinant is , which isn't zero, so the inverse exists.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Find the inverse of , row by row.
Find the inverse of , row by row.
Use the inverse to solve .
What is ?
Is invertible?
A message vector was encoded as with , and arrived. Decode it: find .
The hardest one here. Get it, and you've got this lesson.
Find the inverse of , row by row.
Where it's used
Undoing a camera's projection to recover 3D positions, decoding error-correcting codes, and inverting a known blur all rely on matrix inverses (or solving the equivalent systems).