Invertible matrices

Some square matrices have a true "opposite" under multiplication — a partner matrix that undoes them completely, sending them back to the identity. That partner is the inverse, and deciding when it exists (and proving it is one specific matrix, not several) is the capstone idea of the Matrices chapter. The definition looks deceptively simple: AB=BA=IAB = BA = I. But hidden inside it are three separate claims worth separating — that only square matrices can even qualify, that the inverse, when it exists, is unique, and that plenty of nonzero square matrices still fail to have one at all. This section builds all three carefully with worked verification, so that when the Determinants chapter hands you the formula A−1=1∣A∣adj⁡(A)A^{-1} = \frac{1}{|A|}\operatorname{adj}(A), you already know exactly what that formula is claiming to produce.

The core insight

A square matrix AA is invertible if some square matrix BB of the same order satisfies AB=BA=IAB = BA = I, and whenever such a BB exists it is the unique inverse A−1A^{-1}.

The core idea

Definition. A square matrix AA of order nn is invertible (or non-singular) if there exists a square matrix BB of order nn such that

AB=BA=InAB = BA = I_n

where: InI_n is the identity matrix of order nn, and BB — when it exists — is called the inverse of AA, written A−1A^{-1}. Notice both products are demanded, and both must equal the identity; checking only one side is not a complete verification (see Common traps).

Why only square matrices qualify. If AA has order m×nm \times n with m≠nm \neq n, then for ABAB to even be defined BB must have nn rows, and for BABA to be defined BB must have mm columns — but for both ABAB and BABA to equal identity matrices they would additionally need to be square themselves, of orders mm and nn respectively. Since m≠nm \neq n, no single matrix BB can satisfy every one of these size constraints at once. So invertibility, in this sense, is a concept reserved for square matrices from the outset.

Singular vs. non-singular. Not every square matrix has an inverse. A square matrix with an inverse is called non-singular; one without an inverse is singular. The syllabus does not yet give you a quick test for which is which — that arrives in the Determinants chapter as the condition ∣A∣≠0|A| \neq 0 — but you can already prove singularity directly for a specific matrix, as the worked example below shows for a matrix with proportional rows.

Why the identity matrix is the natural target. The identity matrix InI_n is the multiplicative "do nothing" matrix — for any matrix AA of compatible order, AI=IA=AAI = IA = A. Demanding AB=BA=IAB = BA = I is therefore demanding that multiplying by BB exactly undoes whatever AA did, in both directions, so that the pair together behaves like doing nothing at all. This is the same intuition as reciprocals of ordinary numbers, where a⋅a−1=1a \cdot a^{-1} = 1 undoes multiplication by aa — except here order can matter for matrices in general, which is exactly why the definition insists on checking ABAB and BABA separately rather than assuming one gives the other for free.

Figure
Two boxes labelled matrix A and matrix B connected by arrows both ways each producing the identity matrix showing the two-sided condition AB equals BA equals I
Invertibility: a two-sided partnership A B = A⁻¹ AB = I BA = I Both products must equal the identity matrix — one-sided equality is not enough Only square matrices of the same order can stand on both sides of this equation
Derivation AThe inverse, if it exists, is unique

Prove that a square matrix AA cannot have two different inverses — that is, if BB and CC are both square matrices satisfying the defining condition AB=BA=IAB = BA = I and AC=CA=IAC = CA = I, then BB and CC must in fact be the same matrix, so the symbol A−1A^{-1} names one specific matrix and never an ambiguous choice among several candidates.

Step 1. Assume BB and CC are both inverses of AA. By definition this means AB=BA=IAB = BA = I and also AC=CA=IAC = CA = I, where II is the identity matrix of the same order as AA.

Step 2. Start from BB and use the fact that multiplying any matrix by the identity leaves it unchanged: B=BIB = BI.

Step 3. Replace II using the second assumption, I=ACI = AC, so B=BI=B(AC)B = BI = B(AC).

Step 4. Matrix multiplication is associative, so the grouping of the brackets can be shifted freely: B(AC)=(BA)CB(AC) = (BA)C.

Step 5. From the first assumption, BA=IBA = I, so (BA)C=IC(BA)C = IC.

Step 6. Multiplying by the identity again leaves the matrix unchanged: IC=CIC = C.

Step 7. Chaining Steps 2 through 6 gives B=BI=B(AC)=(BA)C=IC=CB = BI = B(AC) = (BA)C = IC = C, so B=CB = C. Two matrices that were each assumed to be an inverse of AA turn out to be identical, which proves the inverse — when it exists — is unique.

Worked example

Verify that A=[2111]A = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} and B=[1−1−12]B = \begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix} are inverses of each other.

Step 1. Compute ABAB entry by entry: (1,1)=2(1)+1(−1)=1(1,1) = 2(1)+1(-1) = 1; (1,2)=2(−1)+1(2)=0(1,2) = 2(-1)+1(2) = 0; (2,1)=1(1)+1(−1)=0(2,1) = 1(1)+1(-1) = 0; (2,2)=1(−1)+1(2)=1(2,2) = 1(-1)+1(2) = 1. So AB=[1001]=I2AB = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I_2.

Step 2. Compute BABA entry by entry: (1,1)=1(2)+(−1)(1)=1(1,1) = 1(2)+(-1)(1) = 1; (1,2)=1(1)+(−1)(1)=0(1,2) = 1(1)+(-1)(1) = 0; (2,1)=−1(2)+2(1)=0(2,1) = -1(2)+2(1) = 0; (2,2)=−1(1)+2(1)=1(2,2) = -1(1)+2(1) = 1. So BA=[1001]=I2BA = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I_2.

Step 3. Both AB=I2AB = I_2 and BA=I2BA = I_2 hold, so the full two-sided condition is satisfied. Therefore BB is the inverse of AA, and by the uniqueness result above, B=A−1B = A^{-1} is the only matrix with this property — A−1=[1−1−12]A^{-1} = \begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix}.

Competitive stretch

Show that M=[1224]M = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} has no inverse. Suppose B=[abcd]B = \begin{bmatrix} a & b \\ c & d \end{bmatrix} satisfies MB=I2MB = I_2. Multiplying out gives four equations: a+2c=1a+2c=1, b+2d=0b+2d=0, 2a+4c=02a+4c=0, 2b+4d=12b+4d=1. Doubling the first equation gives 2a+4c=22a+4c=2, which directly contradicts the third equation, 2a+4c=02a+4c=0. No values of a,ca,c can satisfy both, so no such BB exists — MM is singular. The underlying reason is visible in MM itself: row 2 is exactly 2×2\times row 1, a proportionality that recurs as the real test for singularity once determinants are introduced.

Common traps

  • Trying to talk about "the inverse" of a non-square matrix — invertibility in this sense is only defined for square matrices.
  • Checking only AB=IAB = I and stopping there — a complete verification needs both AB=IAB = I and BA=IBA = I.
  • Assuming every nonzero square matrix has an inverse — the competitive-stretch example is a nonzero matrix that is still singular.
  • Trying to compute an inverse here using row operations or the adjoint formula — that machinery belongs to the Determinants chapter; this section only covers the definition, uniqueness, and direct verification.

Ask the tutor: Want to walk through the uniqueness proof again step by step, or try verifying a fresh pair of candidate inverse matrices together?

Why can a rectangular matrix never have an inverse

Because the defining condition AB=BA=IAB = BA = I forces ABAB and BABA to both be square identity matrices of specific, and different, orders whenever AA is m×nm \times n with m≠nm \neq n — ABAB would need order mm and BABA would need order nn. No single matrix BB can satisfy both size requirements simultaneously, so the concept of an inverse is simply never set up for non-square matrices.

Do I need to check both AB equals I and BA equals I, or is one enough

For this chapter, always check both, since that is the definition you are asked to verify and it is what an exam expects. It is a deeper theorem (proved later, once determinants are available) that for square matrices, AB=IAB=I alone actually forces BA=IBA=I too — but relying on that shortcut without justification is not accepted as a complete verification at this stage.

If a matrix is singular does that mean it equals the zero matrix

No. The competitive-stretch example, M=[1224]M = \begin{bmatrix}1&2\\2&4\end{bmatrix}, is singular but clearly nonzero. Singularity just means no inverse exists — commonly because one row (or column) is a scalar multiple of another, as here, which collapses the system MB=IMB=I into a contradiction. The precise numerical test, ∣A∣=0|A|=0, comes in the Determinants chapter.

Before this

Where this leads