Invertible Matrices

The definition

Definition. A square matrix AA of order nn is invertible if there exists a square matrix BB of the same order such that AB=BA=IAB = BA = I Then BB is called the inverse of AA, written A−1A^{-1}.

Only square matrices can be invertible. If AA were m×nm \times n with m≠nm \neq n, the products ABAB and BABA (for any BB making them defined) would have different orders — they could never both equal one identity matrix.

Verification is direct multiplication. To confirm B=A−1B = A^{-1}, compute both ABAB and BABA and check each equals II: A=(2312),B=(2−3−12):AB=(1001)=BAA = \begin{pmatrix} 2 & 3 \\ 1 & 2 \end{pmatrix}, \quad B = \begin{pmatrix} 2 & -3 \\ -1 & 2 \end{pmatrix}: \qquad AB = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = BA so B=A−1B = A^{-1} (and equally A=B−1A = B^{-1}). Not every square matrix qualifies — the zero matrix has no inverse (OB=O≠IOB = O \neq I always), and the next chapter's determinant will give the precise test.

Uniqueness

Theorem. If an inverse exists, it is unique.

Proof (a beautiful three-liner): suppose BB and CC are both inverses of AA. Then B=BI=B(AC)=(BA)C=IC=C■B = BI = B(AC) = (BA)C = IC = C \qquad \blacksquare Associativity is the engine — the whole argument is regrouping one triple product two ways.

The two inverse laws

(A−1)−1=A(AB)−1=B−1A−1  (socks-shoes: undo in reverse order)\big(A^{-1}\big)^{-1} = A \qquad \qquad (AB)^{-1} = B^{-1}A^{-1} \ \ (\text{socks-shoes: undo in reverse order})

Proof of the reversal law: check that B−1A−1B^{-1}A^{-1} undoes ABAB: (AB)(B−1A−1)=A(BB−1)A−1=AIA−1=AA−1=I(AB)(B^{-1}A^{-1}) = A(BB^{-1})A^{-1} = AIA^{-1} = AA^{-1} = I and similarly (B−1A−1)(AB)=I(B^{-1}A^{-1})(AB) = I. By uniqueness, B−1A−1B^{-1}A^{-1} is the inverse of ABAB. ■\blacksquare

Two companions worth noting:  I−1=I\ I^{-1} = I, and (A′)−1=(A−1)′\big(A'\big)^{-1} = \big(A^{-1}\big)' (transpose the equation AA−1=IAA^{-1} = I with the reversal law of transposes).

What invertibility buys back: cancellation

Section 3's bad news was AB=AC⇏B=CAB = AC \not\Rightarrow B = C. With an invertible AA the cancellation returns: AB=AC  ⟹  A−1(AB)=A−1(AC)  ⟹  IB=IC  ⟹  B=CAB = AC \implies A^{-1}(AB) = A^{-1}(AC) \implies IB = IC \implies B = C Multiplying both sides by A−1A^{-1} (on the correct side!) is the matrix world's substitute for division.

Common mistakes to avoid

Mistake 1 — writing 1A\frac{1}{A} or BA\frac{B}{A}. There is no division of matrices — only multiplication by A−1A^{-1}, and the side matters: A−1B≠BA−1A^{-1}B \neq BA^{-1} in general.

Mistake 2 — (AB)−1=A−1B−1(AB)^{-1} = A^{-1}B^{-1}. The order must reverse.

Mistake 3 — assuming every nonzero square matrix is invertible. False: (1111)\begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix} has no inverse (next chapter: its determinant is 0).

Mistake 4 — checking only one product. The definition asks for AB=IAB = I and BA=IBA = I. (For square matrices one implies the other — a deep fact — but the safe board answer verifies both.)

Solved Examples

Example 1 — Verifying an inverse pair

Show that B=(2−3−12)B = \begin{pmatrix} 2 & -3 \\ -1 & 2 \end{pmatrix} is the inverse of A=(2312)A = \begin{pmatrix} 2 & 3 \\ 1 & 2 \end{pmatrix}.

Step 1 — compute ABAB: AB=(4−3−6+62−2−3+4)=(1001)AB = \begin{pmatrix} 4 - 3 & -6 + 6 \\ 2 - 2 & -3 + 4 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

Step 2 — compute BABA: BA=(4−36−6−2+2−3+4)=(1001)BA = \begin{pmatrix} 4 - 3 & 6 - 6 \\ -2 + 2 & -3 + 4 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

Answer: both products equal II, so B=A−1B = A^{-1}. (Notice the pattern for 2×22 \times 2: swap the diagonal, negate the off-diagonal — it works here because 2⋅2−3⋅1=12 \cdot 2 - 3 \cdot 1 = 1; the general recipe divides by that number, next chapter.)

Example 2 — A triangular inverse

Find the inverse of U=(1201)U = \begin{pmatrix} 1 & 2 \\ 0 & 1 \end{pmatrix} by inspection and verify.

Step 1 — guess the undo: UU adds twice the second coordinate to the first; the undo subtracts it: V=(1−201)V = \begin{pmatrix} 1 & -2 \\ 0 & 1 \end{pmatrix}.

Step 2 — verify: UV=(1−2+201)=I,VU=(12−201)=IUV = \begin{pmatrix} 1 & -2 + 2 \\ 0 & 1 \end{pmatrix} = I, \qquad VU = \begin{pmatrix} 1 & 2 - 2 \\ 0 & 1 \end{pmatrix} = I

Answer: U−1=(1−201)U^{-1} = \begin{pmatrix} 1 & -2 \\ 0 & 1 \end{pmatrix} — inverting a unit triangular matrix just negates the off-diagonal entry.

Example 3 — Inverse of a diagonal matrix

Find the inverse of D=(2005)D = \begin{pmatrix} 2 & 0 \\ 0 & 5 \end{pmatrix}.

Step 1 — diagonal matrices multiply diagonally, so the inverse must carry the reciprocal entries: D−1=(120015)D^{-1} = \begin{pmatrix} \frac{1}{2} & 0 \\ 0 & \frac{1}{5} \end{pmatrix}

Step 2 — verify: DD−1=(1001)=D−1DDD^{-1} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = D^{-1}D ✓.

Answer: reciprocals down the diagonal — and this fails the moment a diagonal entry is 0, one more glimpse of the invertibility test to come.

Example 4 — Uniqueness of the inverse

Prove that a matrix can have at most one inverse.

Step 1 — suppose two: let BB and CC both satisfy AB=BA=IAB = BA = I and AC=CA=IAC = CA = I.

Step 2 — evaluate BACBAC two ways using associativity: B=BI=B(AC)=(BA)C=IC=CB = BI = B(AC) = (BA)C = IC = C

Answer: B=CB = C — the inverse, when it exists, is unique, which is what entitles us to the notation A−1A^{-1}.

Example 5 — The reversal law

If AA and BB are invertible matrices of the same order, prove that (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}.

Step 1 — multiply ABAB by the candidate on the right: (AB)(B−1A−1)=A(BB−1)A−1=AA−1=I(AB)(B^{-1}A^{-1}) = A(BB^{-1})A^{-1} = AA^{-1} = I

Step 2 — and on the left: (B−1A−1)(AB)=B−1(A−1A)B=B−1B=I(B^{-1}A^{-1})(AB) = B^{-1}(A^{-1}A)B = B^{-1}B = I

Step 3 — invoke uniqueness: the matrix that undoes ABAB from both sides is its inverse.

Answer: (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1} — undo the last action first.

Example 6 — Cancelling with an inverse

Given that AA is invertible and AB=ACAB = AC, prove B=CB = C. Show by example that the hypothesis cannot be dropped.

Step 1 — left-multiply by A−1A^{-1}: A−1(AB)=A−1(AC)  ⟹  (A−1A)B=(A−1A)C  ⟹  B=CA^{-1}(AB) = A^{-1}(AC) \implies (A^{-1}A)B = (A^{-1}A)C \implies B = C

Step 2 — the counterexample without invertibility: A=(1111)A = \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix},  B=(1000)\ B = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix},  C=(0010)\ C = \begin{pmatrix} 0 & 0 \\ 1 & 0 \end{pmatrix}: both products ABAB and ACAC equal (1010)\begin{pmatrix} 1 & 0 \\ 1 & 0 \end{pmatrix}, yet B≠CB \neq C.

Answer: invertibility restores cancellation; without it, equal products prove nothing.

Example 7 — Transpose meets inverse

Prove that (A′)−1=(A−1)′\big(A'\big)^{-1} = \big(A^{-1}\big)' for an invertible matrix AA.

Step 1 — transpose the equation AA−1=IAA^{-1} = I using the reversal law of transposes: (AA−1)′=I′  ⟹  (A−1)′A′=I\big(AA^{-1}\big)' = I' \implies \big(A^{-1}\big)' A' = I

Step 2 — transpose A−1A=IA^{-1}A = I likewise: A′(A−1)′=IA'\big(A^{-1}\big)' = I.

Step 3 — uniqueness: (A−1)′\big(A^{-1}\big)' undoes A′A' from both sides.

Answer: the inverse of the transpose is the transpose of the inverse — the two operations commute.