Matrix Inverse
The inverse is the matrix that undoes . This lesson shows you when a matrix has an inverse, how to compute it with a one-line formula, and how inverses behave under multiplication.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Find the inverse of . Enter .
Find the inverse of . Enter .
What you’ll be able to do
- Define the inverse of a square matrix and state the defining equation .
- Compute the determinant of a matrix and use it to decide whether the matrix is invertible.
- Apply the inverse formula to compute by hand and verify the result.
- State and use the product rule and explain why the order reverses.
In your course
· MATH2015 · Linear Algebra & Probability- Theorem 4.4When an inverse exists (equivalent conditions)For square these are equivalent: exists; the map is bijective; the columns of form a basis; the columns of are linearly independent.
- Proposition 4.1 and
What an inverse undoes
Think of a square matrix as a transformation: it sends a vector to the vector . The inverse is the transformation that undoes this — it sends back to .
Formally, for a square matrix (equal number of rows and columns), its inverse is the matrix satisfying where is the identity matrix: the square matrix with 's on the main diagonal and 's elsewhere. In the case, The identity plays the role of the number for matrices: for every vector , and for every compatible matrix .
Key facts to anchor your intuition:
- Only square matrices can have an inverse.
- Not every square matrix has one. A matrix with an inverse is invertible (also called nonsingular); one without is singular.
- When the inverse exists, it is unique — there is exactly one matrix that undoes .
- Inverses solve equations: if is invertible, the system has the single solution .
The determinant decides everything (2x2)
For a matrix the determinant is the single number Here are the four entries of : is top-left, top-right, bottom-left, bottom-right.
The determinant is the gatekeeper for invertibility: When , the inverse is given by a one-line formula:
A handy way to remember the matrix part (before dividing): swap the diagonal entries ( and trade places) and negate the off-diagonal entries ( and get minus signs). Then divide every entry by .
If , the formula would require dividing by zero — a signal that no inverse exists. Geometrically, a zero determinant means collapses the plane onto a line (or a point), squashing out information that cannot be recovered, so there is nothing to undo it.
Inverting products: socks and shoes
Suppose and are both invertible square matrices of the same size. Their product is invertible too, and its inverse reverses the order:
Why the flip? A quick check confirms it: using associativity and , The inner factors and cancel first, then and .
The classic mnemonic is socks and shoes: to get dressed you put on socks, then shoes ( then ); to undo it you must take off shoes first, then socks ( then ). You reverse the order when you undo a sequence.
Two more useful identities in the same spirit:
- — undoing the undo returns the original.
- — the defining relation, which also tells you is itself invertible with inverse .
A square matrix is invertible if there exists a square matrix of the same size such that , where is the identity matrix. When such a matrix exists it is unique and is called the inverse of .
For with , the matrix is invertible if and only if . In that case .
If and are invertible square matrices of the same size, then is invertible and .
Worked examples
Find the inverse of , and verify your answer.
- 1
Label the entries. Compare with the template . Reading off: (top-left), (top-right), (bottom-left), (bottom-right).
- 2
Compute the determinant. Using : .
- 3
Check invertibility. Since , the matrix is invertible, so the formula applies.
- 4
Build the adjugate part. Swap the diagonal entries and , and negate the off-diagonal entries and : .
- 5
Divide by the determinant. Here , so .
- 6
Verify. Multiply . Top-left: . Top-right: . Bottom-left: . Bottom-right: . The product is , confirming the answer.
Determine whether is invertible, and if so find .
Let and . Verify that .