Matrix Inverse
The matrix that undoes a linear transformation โ when it exists, how to find it, and what its non-existence means for a system.
rotate 30ยฐ
scale x 1.5
Definition
The inverse of a square matrix is the matrix such that:
where is the identity matrix. exists iff is invertible (also called nonsingular), which happens iff .
2ร2 formula: for with :
Why it matters: lets you solve as .
Key properties
- The inverse, if it exists, is unique โ a matrix can't have two different inverses
- โ inverting twice returns the original matrix
- Only square matrices can have a two-sided inverse in this sense
- โ the identity is its own inverse
Common mistakes
- Assuming every square matrix is invertible: means no inverse exists, no matter how the matrix looks otherwise
- Computing just to solve : this is slower and less numerically accurate than directly solving the system (e.g.
solve(A,b)instead ofinv(A) @ b) โ explicit inversion is rarely the right tool
Solving a system via the inverse
, solve .
. .
.
Try it
Find for and verify .
Solution
. .
Verify: โ
Related concepts
Needs first