For num­bers, divid­ing by aa is the same as mul­ti­ply­ing by 1a\displaystyle \frac{1}{a}, the num­ber with a×1a=1\displaystyle a \times \frac{1}{a} = 1. Matri­ces have no divi­sion, but many square matri­ces have an inverse: a matrix A−1A^{-1} with AA−1=A−1A=IAA^{-1} = A^{-1}A = I. The inverse is what lets you "divide" a matrix equa­tion, and it is the key to solv­ing sys­tems of equa­tions in the next les­son. This les­son shows how to find the inverse using the adjoint, and when an inverse exists.

The adjoint

The adjoint of a square matrix AA, writ­ten adj A\text{adj}\,A, is the trans­pose of the matrix of cofac­tors of AA.

So to find adj A\text{adj}\,A: replace each entry of AA by its cofac­tor, then trans­pose.

Short­cut for 2×22 \times 2. For A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, the cofac­tors are C11=dC_{11} = d, C12=−cC_{12} = -c, C21=−bC_{21} = -b, C22=aC_{22} = a. Trans­pos­ing gives

adj A=[d−b−ca]\text{adj}\,A = \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

In words: swap the two diag­o­nal entries and change the signs of the other two.

The key fact

Result. For any square matrix AA,

A(adj A)=(adj A)A=∣A∣ IA(\text{adj}\,A) = (\text{adj}\,A)A = |A|\,I

The rea­son: the diag­o­nal entries of A(adj A)A(\text{adj}\,A) are rows of AA times their own cofac­tors, which is the expan­sion of ∣A∣|A|. The off-diag­o­nal entries are rows times the cofac­tors of a dif­fer­ent row, which is the expan­sion of a deter­mi­nant with two equal rows, and so is 00.

The inverse

If ∣A∣≠0|A| \neq 0, divide the key fact by ∣A∣|A|:

A(1∣A∣adj A)=I\displaystyle A\left(\frac{1}{|A|}\text{adj}\,A\right) = I

So

A−1=1∣A∣ adj A\displaystyle A^{-1} = \frac{1}{|A|}\,\text{adj}\,A

A square matrix has an inverse exactly when it is non-sin­gu­lar, that is, ∣A∣≠0|A| \neq 0. A sin­gu­lar matrix (∣A∣=0|A| = 0) has no inverse.

For a 2×22 \times 2 matrix with ad−bc≠0ad - bc \neq 0:

[abcd]−1=1ad−bc[d−b−ca]\displaystyle \begin{bmatrix} a & b \\ c & d \end{bmatrix}^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

Exam­ple 1

Find the inverse of A=[3512]A = \begin{bmatrix} 3 & 5 \\ 1 & 2 \end{bmatrix} and check it.

∣A∣=6−5=1|A| = 6 - 5 = 1, so A−1=[2−5−13]A^{-1} = \begin{bmatrix} 2 & -5 \\ -1 & 3 \end{bmatrix}.

Check: AA−1=[6−5−15+152−2−5+6]=[1001]=IAA^{-1} = \begin{bmatrix} 6 - 5 & -15 + 15 \\ 2 - 2 & -5 + 6 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I.

Exam­ple 2

Find the inverse of B=[4726]B = \begin{bmatrix} 4 & 7 \\ 2 & 6 \end{bmatrix}.

∣B∣=24−14=10|B| = 24 - 14 = 10, so

B−1=110[6−7−24]=[35−710−1525]\displaystyle B^{-1} = \frac{1}{10}\begin{bmatrix} 6 & -7 \\ -2 & 4 \end{bmatrix} = \begin{bmatrix} \frac{3}{5} & -\frac{7}{10} \\ -\frac{1}{5} & \frac{2}{5} \end{bmatrix}

Exam­ple 3

Find the inverse of A=[211132100]A = \begin{bmatrix} 2 & 1 & 1 \\ 1 & 3 & 2 \\ 1 & 0 & 0 \end{bmatrix}.

Step 1: the deter­mi­nant. Expand along the third row, which has two zeros:

∣A∣=1×∣1132∣=2−3=−1|A| = 1 \times \begin{vmatrix} 1 & 1 \\ 3 & 2 \end{vmatrix} = 2 - 3 = -1

∣A∣≠0|A| \neq 0, so the inverse exists.

Step 2: the cofac­tors.

C11=∣3200∣=0,C12=−∣1210∣=2,C13=∣1310∣=−3C_{11} = \begin{vmatrix} 3 & 2 \\ 0 & 0 \end{vmatrix} = 0, \quad C_{12} = -\begin{vmatrix} 1 & 2 \\ 1 & 0 \end{vmatrix} = 2, \quad C_{13} = \begin{vmatrix} 1 & 3 \\ 1 & 0 \end{vmatrix} = -3

C21=−∣1100∣=0,C22=∣2110∣=−1,C23=−∣2110∣=1C_{21} = -\begin{vmatrix} 1 & 1 \\ 0 & 0 \end{vmatrix} = 0, \quad C_{22} = \begin{vmatrix} 2 & 1 \\ 1 & 0 \end{vmatrix} = -1, \quad C_{23} = -\begin{vmatrix} 2 & 1 \\ 1 & 0 \end{vmatrix} = 1

C31=∣1132∣=−1,C32=−∣2112∣=−3,C33=∣2113∣=5C_{31} = \begin{vmatrix} 1 & 1 \\ 3 & 2 \end{vmatrix} = -1, \quad C_{32} = -\begin{vmatrix} 2 & 1 \\ 1 & 2 \end{vmatrix} = -3, \quad C_{33} = \begin{vmatrix} 2 & 1 \\ 1 & 3 \end{vmatrix} = 5

Step 3: the adjoint. The cofac­tor matrix is [02−30−11−1−35]\begin{bmatrix} 0 & 2 & -3 \\ 0 & -1 & 1 \\ -1 & -3 & 5 \end{bmatrix}; trans­pos­ing,

adj A=[00−12−1−3−315]\text{adj}\,A = \begin{bmatrix} 0 & 0 & -1 \\ 2 & -1 & -3 \\ -3 & 1 & 5 \end{bmatrix}

Step 4: the inverse.

A−1=1−1 adj A=[001−2133−1−5]\displaystyle A^{-1} = \frac{1}{-1}\,\text{adj}\,A = \begin{bmatrix} 0 & 0 & 1 \\ -2 & 1 & 3 \\ 3 & -1 & -5 \end{bmatrix}

Check the first row of AA against each col­umn of A−1A^{-1}: (2)(0)+(1)(−2)+(1)(3)=1(2)(0) + (1)(-2) + (1)(3) = 1, (2)(0)+(1)(1)+(1)(−1)=0(2)(0) + (1)(1) + (1)(-1) = 0, (2)(1)+(1)(3)+(1)(−5)=0(2)(1) + (1)(3) + (1)(-5) = 0. That is the first row of II, as it should be.

Prop­er­ties of the inverse

For non-sin­gu­lar matri­ces of the same order:

  1. (A−1)−1=A(A^{-1})^{-1} = A
  2. (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1} (the rever­sal law again)
  3. (A′)−1=(A−1)′(A')^{-1} = (A^{-1})'
  4. ∣A−1∣=1∣A∣\displaystyle |A^{-1}| = \frac{1}{|A|}

Exam­ple 4

If A=[2312]A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}, show that A2−4A+I=OA^2 - 4A + I = O, and use this to find A−1A^{-1}.

A2=[4+36+62+23+4]=[71247],A2−4A+I=[7−8+112−124−47−8+1]=OA^2 = \begin{bmatrix} 4 + 3 & 6 + 6 \\ 2 + 2 & 3 + 4 \end{bmatrix} = \begin{bmatrix} 7 & 12 \\ 4 & 7 \end{bmatrix}, \qquad A^2 - 4A + I = \begin{bmatrix} 7 - 8 + 1 & 12 - 12 \\ 4 - 4 & 7 - 8 + 1 \end{bmatrix} = O

Mul­ti­ply A2−4A+I=OA^2 - 4A + I = O by A−1A^{-1}: A−4I+A−1=OA - 4I + A^{-1} = O, so

A−1=4I−A=[2−3−12]A^{-1} = 4I - A = \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix}

which agrees with the 2×22 \times 2 short­cut, since ∣A∣=1|A| = 1.

Prac­tice

  1. Write the adjoint of [5273]\begin{bmatrix} 5 & 2 \\ 7 & 3 \end{bmatrix} and find its inverse.
  2. Find the inverse of [2−134]\begin{bmatrix} 2 & -1 \\ 3 & 4 \end{bmatrix}.
  3. Does [6432]\begin{bmatrix} 6 & 4 \\ 3 & 2 \end{bmatrix} have an inverse? Give a rea­son.
  4. For which value of kk does [k346]\begin{bmatrix} k & 3 \\ 4 & 6 \end{bmatrix} have no inverse?
  5. Find the adjoint and the inverse of [101210011]\begin{bmatrix} 1 & 0 & 1 \\ 2 & 1 & 0 \\ 0 & 1 & 1 \end{bmatrix}.
  6. Find the inverse of [120013001]\begin{bmatrix} 1 & 2 & 0 \\ 0 & 1 & 3 \\ 0 & 0 & 1 \end{bmatrix}.
  7. If ∣A∣=5|A| = 5 for a 3×33 \times 3 matrix AA, find ∣A−1∣|A^{-1}|.
  8. Ver­ify (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1} for A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[2011]B = \begin{bmatrix} 2 & 0 \\ 1 & 1 \end{bmatrix}.
  9. If A2−5A+2I=OA^2 - 5A + 2I = O for some square matrix AA, express A−1A^{-1} in terms of AA and II.

Answers

Show answers
  1. adj=[3−2−75]\text{adj} = \begin{bmatrix} 3 & -2 \\ -7 & 5 \end{bmatrix}; the deter­mi­nant is 15−14=115 - 14 = 1, so the inverse is the same matrix.
  2. The deter­mi­nant is 8+3=118 + 3 = 11, so the inverse is 111[41−32]\displaystyle \frac{1}{11}\begin{bmatrix} 4 & 1 \\ -3 & 2 \end{bmatrix}.
  3. No: the deter­mi­nant is 12−12=012 - 12 = 0, so the matrix is sin­gu­lar.
  4. 6k−12=06k - 12 = 0, so k=2k = 2.
  5. The deter­mi­nant is 1(1−0)−0+1(2−0)=31(1 - 0) - 0 + 1(2 - 0) = 3. adj=[11−1−2122−11]\text{adj} = \begin{bmatrix} 1 & 1 & -1 \\ -2 & 1 & 2 \\ 2 & -1 & 1 \end{bmatrix}, and the inverse is 13[11−1−2122−11]\displaystyle \frac{1}{3}\begin{bmatrix} 1 & 1 & -1 \\ -2 & 1 & 2 \\ 2 & -1 & 1 \end{bmatrix}.
  6. The deter­mi­nant is 11 (upper tri­an­gu­lar), and the inverse is [1−2601−3001]\begin{bmatrix} 1 & -2 & 6 \\ 0 & 1 & -3 \\ 0 & 0 & 1 \end{bmatrix}.
  7. 15\displaystyle \frac{1}{5}.
  8. AB=[42104]AB = \begin{bmatrix} 4 & 2 \\ 10 & 4 \end{bmatrix} with deter­mi­nant 16−20=−416 - 20 = -4, so (AB)−1=−14[4−2−104]=[−11252−1]\displaystyle (AB)^{-1} = -\frac{1}{4}\begin{bmatrix} 4 & -2 \\ -10 & 4 \end{bmatrix} = \begin{bmatrix} -1 & \frac{1}{2} \\ \frac{5}{2} & -1 \end{bmatrix}. Also B−1=12[10−12]\displaystyle B^{-1} = \frac{1}{2}\begin{bmatrix} 1 & 0 \\ -1 & 2 \end{bmatrix} and A−1=−12[4−2−31]\displaystyle A^{-1} = -\frac{1}{2}\begin{bmatrix} 4 & -2 \\ -3 & 1 \end{bmatrix}, and mul­ti­ply­ing gives B−1A−1=[−11252−1]\displaystyle B^{-1}A^{-1} = \begin{bmatrix} -1 & \frac{1}{2} \\ \frac{5}{2} & -1 \end{bmatrix}.
  9. Mul­ti­ply by A−1A^{-1}: A−5I+2A−1=OA - 5I + 2A^{-1} = O, so A−1=12(5I−A)\displaystyle A^{-1} = \frac{1}{2}(5I - A).