The math optional, made finite. Daily Practice

Inverse of a matrix (adjoint and row reduction)

At a Glance

Why This Chapter Matters

Matrix inversion by row operations is the most reliably “easy” computation in the linear algebra section — all three appearances are rated easy, and two ask you to use the result to solve a linear system (doubling the payoff for the same inverse computation). The Gauss–Jordan method ([AI][IA1][A|I]\to[I|A^{-1}]) is a universal technique that never fails when AA is invertible. The 2024 variant (operator invertibility) extends naturally: write the matrix, read off the triangular determinant, back-substitute for T1T^{-1}. These are guaranteed full-marks questions once the technique is automatic.

Minimum Theory

Existence. An n×nn\times n matrix AA is invertible iff detA0\det A\neq 0. Equivalently, AA has full rank nn.

Gauss–Jordan method. Form the augmented matrix [AIn][A\,|\,I_n]. Apply elementary row operations to reduce the left block to InI_n. The right block becomes A1A^{-1}: [AI]  row ops  [IA1].[A\,|\,I]\;\xrightarrow{\text{row ops}}\;[I\,|\,A^{-1}].

Adjoint (classical adjugate). A1=1detAadj(A)A^{-1}=\dfrac{1}{\det A}\,\operatorname{adj}(A), where adj(A)ij=(1)i+jMji\operatorname{adj}(A)_{ij}=(-1)^{i+j}M_{ji} (cofactors, transposed). Efficient for 2×22\times2 and 3×33\times3 matrices; cumbersome for larger ones.

Solving Ax=bA\mathbf x=\mathbf b via the inverse. Once A1A^{-1} is known, x=A1b\mathbf x=A^{-1}\mathbf b — a single matrix–vector multiplication. This is why computing A1A^{-1} and then solving the system is profitable when the same matrix appears in multiple right-hand-sides.

Triangular matrices. The determinant of a triangular matrix is the product of its diagonal entries. For a lower-triangular matrix, inversion by back-substitution (solving column by column) is faster than full Gauss–Jordan.

Invertibility of a linear operator. For T:RnRnT:\mathbb R^n\to\mathbb R^n, invertibility is equivalent to det[T]0\det[T]\neq0. T1T^{-1} can be found by solving T(x)=yT(x)=y for xx in terms of yy.

Question Archetypes

ArchetypeYou are seeing this when…
inverse-by-row-ops”Find the inverse by elementary row operations; hence solve the linear system”
operator-invertibility”Is the linear operator TT invertible? Find T1T^{-1}.“

inverse-by-row-ops (2 question(s); 2013, 2016)

Recognition Cues

Solution Template

  1. Check invertibility. Compute detA\det A; if detA=0\det A=0, the inverse does not exist.
  2. Form [AI3][A\,|\,I_3].
  3. Forward elimination. Clear below each pivot using row operations; normalise each pivot to 1.
  4. Back elimination. Clear above each pivot.
  5. Read off A1A^{-1} from the right block.
  6. Solve Ax=bA\mathbf x=\mathbf b (if required): x=A1b\mathbf x=A^{-1}\mathbf b.
  7. Verify: substitute x\mathbf x back into the original system.

Worked Example(s)

2013 Paper 1, 2013-P1-Q1a (10 marks)

Find the inverse of A=(131217321)A=\begin{pmatrix}1&3&1\\2&-1&7\\3&2&-1\end{pmatrix} by elementary row operations. Hence solve x+3y+z=10x+3y+z=10, 2xy+7z=212x-y+7z=21, 3x+2yz=43x+2y-z=4.

Step 1. detA=1(114)3(221)+1(4+3)=13+69+7=630\det A=1(1-14)-3(-2-21)+1(4+3)=-13+69+7=63\neq0. ✓

Step 2. Augment: [131100217010321001].\left[\begin{array}{ccc|ccc}1&3&1&1&0&0\\2&-1&7&0&1&0\\3&2&-1&0&0&1\end{array}\right].

Step 3 — Forward sweep. R2R22R1R_2\to R_2-2R_1, R3R33R1R_3\to R_3-3R_1: [131100075210074301].\left[\begin{array}{ccc|ccc}1&3&1&1&0&0\\0&-7&5&-2&1&0\\0&-7&-4&-3&0&1\end{array}\right]. R3R3R2R_3\to R_3-R_2: [131100075210009111].\left[\begin{array}{ccc|ccc}1&3&1&1&0&0\\0&-7&5&-2&1&0\\0&0&-9&-1&-1&1\end{array}\right]. R217R2R_2\to-\tfrac{1}{7}R_2, R319R3R_3\to-\tfrac{1}{9}R_3: [131100015/72/71/700011/91/91/9].\left[\begin{array}{ccc|ccc}1&3&1&1&0&0\\0&1&-5/7&2/7&-1/7&0\\0&0&1&1/9&1/9&-1/9\end{array}\right].

Step 4 — Back sweep. R2R2+57R3R_2\to R_2+\tfrac{5}{7}R_3: R2=(0,1,0    23/63,4/63,5/63).R_2=(0,1,0\;|\;23/63,\,-4/63,\,-5/63). R1R1R3R_1\to R_1-R_3: (1,3,0    8/9,1/9,1/9)(1,3,0\;|\;8/9,\,-1/9,\,1/9). Then R1R13R2R_1\to R_1-3R_2: R1=(1,0,0    8/969/63,  1/9+12/63,  1/9+15/63)=(1,0,0    13/63,  5/63,  22/63).R_1=\bigl(1,0,0\;\big|\;8/9-69/63,\;-1/9+12/63,\;1/9+15/63\bigr)=\bigl(1,0,0\;\big|\;-13/63,\;5/63,\;22/63\bigr).

Step 5 — Inverse.   A1=163(135222345777).  \boxed{\;A^{-1}=\frac{1}{63}\begin{pmatrix}-13&5&22\\23&-4&-5\\7&7&-7\end{pmatrix}.\;}

Step 6 — Solve. x=A1(10,21,4)T=163(130+105+88,  2308420,  70+14728)T=163(63,126,189)T\mathbf x=A^{-1}(10,21,4)^T=\dfrac{1}{63}(-130+105+88,\;230-84-20,\;70+147-28)^T=\dfrac{1}{63}(63,126,189)^T:   x=1,  y=2,  z=3.  \boxed{\;x=1,\;y=2,\;z=3.\;}

Verify: 1+6+3=101+6+3=10 ✓, 22+21=212-2+21=21 ✓, 3+43=43+4-3=4 ✓.


2016 Paper 1, 2016-P1-Q1a-i (6 marks)

Using elementary row operations, find the inverse of A=(121132101)A=\begin{pmatrix}1&2&1\\1&3&2\\1&0&1\end{pmatrix}.

Step 1. detA=1(30)2(12)+1(03)=3+23=20\det A=1(3-0)-2(1-2)+1(0-3)=3+2-3=2\neq0. ✓

Step 2–3 — Forward sweep. R2R2R1R_2\to R_2-R_1, R3R3R1R_3\to R_3-R_1; then R1R12R2R_1\to R_1-2R_2, R3R3+2R2R_3\to R_3+2R_2; then R312R3R_3\to\tfrac{1}{2}R_3 (pivot =2=2): [1013200111100013/211/2].\left[\begin{array}{ccc|ccc}1&0&-1&3&-2&0\\0&1&1&-1&1&0\\0&0&1&-3/2&1&1/2\end{array}\right].

Step 4 — Back sweep. R1R1+R3R_1\to R_1+R_3, R2R2R3R_2\to R_2-R_3:   A1=12(321101321).  \boxed{\;A^{-1}=\frac{1}{2}\begin{pmatrix}3&-2&1\\1&0&-1\\-3&2&1\end{pmatrix}.\;}

Verify: AA1AA^{-1}: row 1 of AA (1,2,1)(1,2,1) times col 1 of A1A^{-1} (3/2,1/2,3/2)(3/2,1/2,-3/2): 3/2+13/2=13/2+1-3/2=1 ✓.

Common Traps


operator-invertibility (1 question(s); 2024)

Recognition Cues

Solution Template

  1. Write the matrix. Read off [T][T] from the formula: column jj is T(ej)T(e_j).
  2. Compute det[T]\det[T]. For triangular matrices, this is the product of diagonal entries.
  3. Conclude invertibility (det[T]0\det[T]\neq0) or non-invertibility (det[T]=0\det[T]=0).
  4. Find T1T^{-1} by solving T(x,y,z)=(a,b,c)T(x,y,z)=(a,b,c) for (x,y,z)(x,y,z) in terms of (a,b,c)(a,b,c) (back-substitution for triangular [T][T]).
  5. Verify: compute T(T1(a,b,c))=(a,b,c)T(T^{-1}(a,b,c))=(a,b,c).

Worked Example

2024 Paper 1, 2024-P1-Q2a (15 marks)

Consider T:R3R3T:\mathbb R^3\to\mathbb R^3 defined by T(x,y,z)=(2x,  4xy,  2x+3yz)T(x,y,z)=(2x,\;4x-y,\;2x+3y-z). Is TT invertible? If yes, find T1T^{-1}.

Step 1 — Matrix. [T]=(200410231)(lower triangular).[T]=\begin{pmatrix}2&0&0\\4&-1&0\\2&3&-1\end{pmatrix}\quad\text{(lower triangular).}

Step 2 — Determinant. Product of diagonal entries: det[T]=2(1)(1)=20\det[T]=2\cdot(-1)\cdot(-1)=2\neq0.

Step 3 — Invertible. det[T]0\det[T]\neq0, so TT is invertible. \checkmark

Step 4 — Compute T1T^{-1}. Solve T(x,y,z)=(a,b,c)T(x,y,z)=(a,b,c):

  T1(a,b,c)=(a2,  2ab,  7a3bc).  \boxed{\;T^{-1}(a,b,c)=\Bigl(\frac{a}{2},\;2a-b,\;7a-3b-c\Bigr).\;}

Verify: T(a/2,2ab,7a3bc)=(a,  b,  c)T(a/2,\,2a-b,\,7a-3b-c)=(a,\;b,\;c) — direct substitution confirms. ✓

Common Traps


Marks-Aware Writing

6-mark question (row-ops only, 2016): Three forward sweeps + one normalisation + two back-clears. Write each row operation label (R2R2R1R_2\to R_2-R_1) on the left side of the arrow. One verification row is expected. No system to solve, so the matrix inverse is the complete answer.

10-mark question (inverse + system, 2013): Two parts — finding A1A^{-1} (roughly 7 marks) and solving the system (3 marks). For the system, the computation is x=A1b\mathbf x=A^{-1}\mathbf b — one matrix–vector product — plus a three-equation verification. The verification is required and earns marks.

15-mark question (operator invertibility, 2024): Three parts — matrix (2), determinant + invertibility conclusion (4), find T1T^{-1} by back-substitution (6), verify (3). The verify step is essential at 15 marks: compute T(T1(a,b,c))T(T^{-1}(a,b,c)) explicitly.

Practice Set

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.