Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Determinants and Inverse

Cofactor Matrix

Recall that every entry in a square matrix AA has an associated cofactor called CijC_{ij}.

We can form a matrix called the matrix of cofactors of AA. For example, for A3×3A_{3 \times 3}:

CA=[C11C12C13C21C22C23C31C32C33]=[+M11−M12+M13−M21+M22−M23+M31−M32+M33]C_A =\left[ \begin{array}{c} C_{11} & C_{12} & C_{13}\\ C_{21} & C_{22} & C_{23}\\ C_{31} & C_{32} & C_{33} \end{array}\right] =\left[ \begin{array}{c} +M_{11} & -M_{12} & +M_{13}\\ -M_{21} & +M_{22} & -M_{23}\\ +M_{31} & -M_{32} & +M_{33} \end{array}\right]

Adjoint Matrix

The adjoint matrix of AA, denoted adj(A)\text{adj}(A), is the transpose of the matrix of cofactors of AA.

adj(A)=(CA)T\boxed{\quad {\rm adj}(A)=\big(C_A\big)^T \quad}


Example

Given A=[abcd]A=\left[\begin{array}{rr}a&b\\c&d\end{array}\right], find adj(A){\rm adj}(A).

The minors of each entry are:

M11=dM12=cM21=bM22=aM_{11}=d \qquad M_{12}=c \qquad M_{21}=b \qquad M_{22}=a

Then the matrix of cofactors of AA is

CA=[C11C12C21C22]=[+M11−M12−M21+M22]=[d−c−ba]C_A= \left[\begin{array}{rr} C_{11}&C_{12}\\ C_{21}&C_{22} \end{array}\right] = \left[\begin{array}{rr} +M_{11}&-M_{12}\\ -M_{21}&+M_{22} \end{array}\right] = \left[\begin{array}{rr} d&-c\\ -b&a \end{array}\right]

Therefore, the adjoint is:

adj(A)=(CA)T=[d−b−ca] \text{adj}(A) =\big(C_A\big)^T =\left[\begin{array}{rr}d&-b\\-c&a\end{array}\right]



Matrix Inverse Formula

We can generalize this result to write a formula for the inverse of any n×nn \times n matrix AA:

A−1=1det(A) adj(A)\boxed{\quad A^{-1} = \dfrac{1}{\text{det}(A)}\ {\rm adj}(A) \quad}




Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Example: Inverse and Determinants

Find the inverse of matrix A=[−20131−1047]A=\left[\begin{array}{rrr} -2&0&1\\ 3&1&-1\\ 0&4&7 \end{array}\right] using the adjoint.


Find the cofactor of each entry, keeping in mind the "checkerboard pattern" of when to change the sign of the minor:

C11=∣1−147∣=11C12=−∣3−107∣=−21C13=∣3104∣=12C21=−∣0147∣=4C22=∣−2107∣=−14C23=−∣−2004∣=8C31=∣011−1∣=−1C32=−∣−213−1∣=1C33=∣−2031∣=−2\begin{array}{lll} C_{11}=\left|\begin{array}{rr}1&-1\\4&7\end{array}\right|=11 \qquad& C_{12}=-\left|\begin{array}{rr}3&-1\\0&7\end{array}\right|=-21 \qquad& C_{13}=\left|\begin{array}{rr}3&1\\0&4\end{array}\right|=12\\[1.5em] C_{21}=-\left|\begin{array}{rr}0&1\\4&7\end{array}\right|=4 & C_{22}=\left|\begin{array}{rr}-2&1\\0&7\end{array}\right|=-14 & C_{23}=-\left|\begin{array}{rr}-2&0\\0&4\end{array}\right|=8\\[1.5em] C_{31}=\left|\begin{array}{rr}0&1\\1&-1\end{array}\right|=-1 & C_{32}=-\left|\begin{array}{rr}-2&1\\3&-1\end{array}\right|=1 & C_{33}=\left|\begin{array}{rr}-2&0\\3&1\end{array}\right|=-2 \end{array}

Arranging these into a matrix we get the matrix of cofactors of AA:

CA=[11−21124−148−11−2]C_A=\left[\begin{array}{rrr} 11&-21&12\\ 4&-14&8\\ -1&1&-2 \end{array}\right]

Then the adjoint of AA is the transpose of this matrix:

adj(A)=[114−1−21−141128−2]\text{adj}(A)= \left[\begin{array}{rrr} 11&4&-1\\ -21&-14&1\\ 12&8&-2 \end{array}\right]

The inverse formula requires us to find det⁡A\det A.

Since we already have the cofactors, we can easily write the cofactor expansion along Row 1 of AA:

det⁡A=a11C11+a12C12+a13C13=(−2)(11)+(0)(−21)+(1)(12)=−10\begin{aligned} \det A &= a_{11}C_{11}+a_{12}C_{12}+a_{13}C_{13}\\ &=(-2)(11) + (0)(-21) + (1)(12)\\ &=-10 \end{aligned}

∴ A−1=1det⁡A adj(A)=−110[114−1−21−141128−2]\therefore \ A^{-1} = \dfrac{1}{\det A}\ {\rm adj}(A) =-\dfrac{1}{10} \left[\begin{array}{rrr} 11&4&-1\\ -21&-14&1\\ 12&8&-2 \end{array}\right]

Let B=[1−102111000−11−21−2−1]B=\left[\begin{array}{rrrr} 1&-1&0&2\\ 1&1&1&0\\ 0&0&-1&1\\ -2&1&-2&-1 \end{array}\right], and note that det(B)=−1\text{det}(B)=-1.

Use the inverse formula to find the (4,3)(4,3)-entry of B−1B^{-1}.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice