Inverse as Undo
An inverse matrix undoes a linear transformation. If the determinant is zero, the transformation collapses space and cannot be undone.
A⁻¹ = [1.00, -0.80; 0.00, 1.00]
Choose a matrix, then apply it to the square.
Apply A, then use A⁻¹ to undo it. The inverse exists only when the determinant is nonzero. Try the singular matrix to see the square collapse onto a line; information is lost, so it cannot be undone.
What you are seeing
The inverse satisfies A⁻¹A = I, so applying A and then A⁻¹ returns every point to its starting position.
For a 2×2 matrix, A⁻¹ = (1/det A) [d, −b; −c, a]. The determinant must be nonzero.
A singular matrix has determinant zero. It squashes the plane onto a line or point, so information is lost and no inverse exists.
Why it matters
Inverses solve linear systems, reverse graphics transforms, decode signals, and define when a transformation is reversible.
Complexity & details
A 2×2 inverse costs O(1). Applying A and A⁻¹ to a point also costs O(1).
Frequently asked questions
Why does a zero determinant prevent an inverse?+
A zero determinant means the transformation collapses area. Multiple input points map to the same output, so there is no unique way to undo it.
Does every square matrix have an inverse?+
No. Only square matrices with nonzero determinant are invertible. A singular matrix has no inverse.