0:00 / 0:00

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]=[+M11M12+M13M21+M22M23+M31M32+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]
PAGE BREAK

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]=[+M11M12M21+M22]=[dcba]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=[dbca] \text{adj}(A) =\big(C_A\big)^T =\left[\begin{array}{rr}d&-b\\-c&a\end{array}\right]

Wize Concept
The result is the same matrix found in the formula for finding the inverse of a 2×22\times 2 matrix.
Given A=[abcd]A=\left[\begin{array}{rr}a&b\\c&d\end{array}\right],
A1=1adbc[dbca]adj(A)=1det(A)adj(A)A^{-1} =\dfrac{1}{ad-bc} \underbrace{\left[\begin{array}{rr}d&-b\\-c&a\end{array}\right]}_{\colorThree{\normalsize {\rm adj}(A)}} =\dfrac{1}{\text{det}(A)}\colorThree{{\rm adj}(A)}


PAGE BREAK

Matrix Inverse Formula

We can generalize this result to write a formula for the inverse of any n×nn \times n matrix AA:
A1=1det(A) adj(A)\boxed{\quad A^{-1} = \dfrac{1}{\text{det}(A)}\ {\rm adj}(A) \quad}
Watch Out!
The notation for the determinant and adjoint are similar, but they produce very different results.
  • The determinant is a scalar: det(A)=aRsingle number\det A = a \in \reals \quad \longleftarrow \text{single number}
  • The adjoint is a matrix: adj(A)=(CA)TRn×nn×n  matrix{\rm adj}(A) = (C_A)^T \in \reals^{n \times n} \quad \longleftarrow n \times n \ \ \text{matrix}


Wize Tip
If det(A)=0\text{det}(A)=0, then the inverse A1A^{-1} does not exist.

So, for AA to be invertible, we must have that det(A)0\det{A}\neq0

0:00 / 0:00

Example: Inverse and Determinants

Find the inverse of matrix A=[201311047]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=1147=11C12=3107=21C13=3104=12C21=0147=4C22=2107=14C23=2004=8C31=0111=1C32=2131=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=[1121124148112]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)=[1141211411282]\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}
 A1=1det(A) adj(A)=110[1141211411282]\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=[1102111000112121]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 B1B^{-1}.
Extra Practice