Linear AlgebraMatrix Algebra5 of 9
Matrix Algebra · 5

The Inverse of a Matrix

When a matrix AA transforms an unknown starting vector x⃗\unknown{\vec{x}} into a known output b⃗\vec{b} in Ax⃗=b⃗A\unknown{\vec{x}} = \vec{b}, there is no such thing as dividing by a matrix. Instead, we need a matrix that undoes whatever AA did.

1

Undoing a Matrix

The inverse of a square matrix AA, written A−1\undo{A^{-1}}, is the matrix that reverses the transformation AA and brings every vector back to where it started. Before using any formula, we can find the inverse of a simple matrix just by watching how it moves the starting grid arrows and doing the opposite move:

A=[1101],[1001]⏟identity I\displaystyle A = \begin{bmatrix} \firstcol{1} & \secondcol{1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix}, \qquad \underbrace{\begin{bmatrix} \firstcol{1} & \secondcol{0} \\ \firstcol{0} & \secondcol{1} \end{bmatrix}}_{\text{identity } I}
Undoing a Matrix
Ax⃗=b⃗A\htmlClass{lc-blue}{\vec{x}} = \vec{b}
b⃗\vec{b}
A\htmlClass{lc-violet}{A}
x⃗ ?\htmlClass{lc-blue}{\vec{x}\,?}
A=[1101]A = \begin{bmatrix} \htmlClass{lc-green}{1} & \htmlClass{lc-pink}{1} \\ \htmlClass{lc-green}{0} & \htmlClass{lc-pink}{1} \end{bmatrix}
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[11]\htmlClass{lc-pink}{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}
11
A−1=[1−101]\htmlClass{lc-violet}{A^{-1}} = \begin{bmatrix} \htmlClass{lc-green}{1} & \htmlClass{lc-pink}{-1} \\ \htmlClass{lc-green}{0} & \htmlClass{lc-pink}{1} \end{bmatrix}
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[−11]\htmlClass{lc-pink}{\begin{bmatrix} -1 \\ 1 \end{bmatrix}}
11
Text solution
Push the grid in the opposite directionSince A=[1101]A = \begin{bmatrix} \firstcol{1} & \secondcol{1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix} leaves the first arrow [10]\firstcol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} alone and pushes the second arrow [01]\secondcol{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} right by 11 to [11]\secondcol{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}, we undo it by pushing [01]\secondcol{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} left by 11 to [−11]\secondcol{\begin{bmatrix} -1 \\ 1 \end{bmatrix}}.
A−1=[1−101]\displaystyle \undo{A^{-1}} = \begin{bmatrix} \firstcol{1} & \secondcol{-1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix}
Multiply in both orders to get IIApplying AA and then A−1\undo{A^{-1}}, or A−1\undo{A^{-1}} and then AA, cancels out to the untouched identity matrix II.
A−1A=[1−101][1101]=[1001]=I,AA−1=[1101][1−101]=[1001]=I\displaystyle \begin{aligned} \undo{A^{-1}}A &= \begin{bmatrix} \firstcol{1} & \secondcol{-1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix}\begin{bmatrix} \firstcol{1} & \secondcol{1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix} \\ &= \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I, \\[0.6em] A\undo{A^{-1}} &= \begin{bmatrix} \firstcol{1} & \secondcol{1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix}\begin{bmatrix} \firstcol{1} & \secondcol{-1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix} \\ &= \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I \end{aligned}
Multiply to test a proposed inverseTo check whether [3−2−11]\begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} is the inverse of A=[1213]A = \begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix}, multiply them together to see if every entry matches II.
[3−2−11][1213]=[3(1)−2(1)3(2)−2(3)−1(1)+1(1)−1(2)+1(3)]=[1001]=I\displaystyle \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix}\begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix} = \begin{bmatrix} 3(1) - 2(1) & 3(2) - 2(3) \\ -1(1) + 1(1) & -1(2) + 1(3) \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I

So [3−2−11]\begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} really is A−1\undo{A^{-1}}, because multiplying it by AA gives the identity matrix II, and multiplying in the other order gives II too.

Whatever way AA moves the grid, A−1\undo{A^{-1}} does the opposite move to bring the grid back to II.

Every stretch, shear, or tilt you make is undone by the exact opposite move in the inverse, keeping their combined grid upright and still.
2

The 2×22 \times 2 Inverse Formula

For a simple push like [1101]\begin{bmatrix} \firstcol{1} & \secondcol{1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix}, you can spot the opposite grid move right away, though you also need a way to find A−1\undo{A^{-1}} when a matrix stretches and shears the grid at the same time. For any 2×22 \times 2 matrix that has an inverse, we can find A−1\undo{A^{-1}} directly from its four entries:

A=[abcd]\displaystyle A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}
The 2×2 Inverse Formula
[abcd]−1=  ?\displaystyle \undo{\begin{bmatrix} a & b \\ c & d \end{bmatrix}^{-1}} = \;?

Swapping the main diagonal entries and negating the off-diagonal entries makes the off-diagonal terms cancel to 00, leaving the number ad−bc\scaling{ad - bc} on the diagonal:

[abcd][d−b−ca]=[ad−bc00ad−bc]=(ad−bc)I\displaystyle \begin{bmatrix} a & b \\ c & d \end{bmatrix}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} = \begin{bmatrix} \scaling{ad - bc} & 0 \\ 0 & \scaling{ad - bc} \end{bmatrix} = \scaling{(ad - bc)}I

Dividing by ad−bc\scaling{ad - bc}, as long as it isn't 00, turns each diagonal entry into 11, giving the 2×22 \times 2 inverse formula:

A−1=1ad−bc⏟scaling number[d−b−ca]\displaystyle \begin{array}{|c|} \hline \\ \quad \undo{A^{-1}} = \dfrac{1}{\underbrace{\scaling{ad - bc}}_{\scaling{\text{scaling number}}}}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \quad \\ \\ \hline \end{array}
Text solution
Compute ad−bc\scaling{ad - bc} and swap/negateFor A=[1213]A = \begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix}, swap 11 and 33 on the main diagonal, negate 22 and 11 off the diagonal, and divide by ad−bc=(1)(3)−(2)(1)=1\scaling{ad - bc} = (1)(3) - (2)(1) = 1.
A−1=1(1)(3)−(2)(1)[3−2−11]=[3−2−11]\displaystyle \undo{A^{-1}} = \frac{1}{\scaling{(1)(3) - (2)(1)}}\begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} = \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix}

So A−1=[3−2−11]\undo{A^{-1}} = \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} without needing any fractions, because ad−bc=1\scaling{ad - bc} = 1.

3

Solving Equations with the Inverse

Once we know A−1\undo{A^{-1}}, we can find the unknown vector x⃗=[xy]\unknown{\vec{x}} = \unknown{\begin{bmatrix} x \\ y \end{bmatrix}} in a linear system Ax⃗=b⃗A\unknown{\vec{x}} = \vec{b} in a single multiplication:

[1213][xy]=[57]\displaystyle \begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix}\unknown{\begin{bmatrix} x \\ y \end{bmatrix}} = \begin{bmatrix} 5 \\ 7 \end{bmatrix}
Solving Equations with the Inverse
Ax⃗=b⃗  ⇒  x⃗=  ?XA=B  ⇒  X=  ? \displaystyle \begin{aligned} A\unknown{\vec{x}} = \vec{b} &\;\Rightarrow\; \unknown{\vec{x}} = \;? \\[0.4em] \unknown{X}A = B &\;\Rightarrow\; \unknown{X} = \;? \end{aligned}\,
Text solution
Multiply both sides on the left by A−1\undo{A^{-1}}Since AA sits on the left of x⃗\unknown{\vec{x}} in Ax⃗=b⃗A\unknown{\vec{x}} = \vec{b}, place A−1\undo{A^{-1}} on the left of both sides so A−1A\undo{A^{-1}}A cancels to II.
A−1Ax⃗\displaystyle \undo{A^{-1}}A\unknown{\vec{x}} =A−1b⃗  ⟹  x⃗\displaystyle = \undo{A^{-1}}\vec{b} \implies \unknown{\vec{x}} =A−1b⃗\displaystyle = \undo{A^{-1}}\vec{b}
Plug in A−1\undo{A^{-1}} and multiplyMultiply A−1=[3−2−11]\undo{A^{-1}} = \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} by the output vector b⃗=[57]\vec{b} = \begin{bmatrix} 5 \\ 7 \end{bmatrix}.
[xy]=[3−2−11][57]=[3(5)−2(7)−1(5)+1(7)]=[12]\displaystyle \unknown{\begin{bmatrix} x \\ y \end{bmatrix}} = \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix}\begin{bmatrix} 5 \\ 7 \end{bmatrix} = \begin{bmatrix} 3(5) - 2(7) \\ -1(5) + 1(7) \end{bmatrix} = \unknown{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}

So [xy]=[12]\unknown{\begin{bmatrix} x \\ y \end{bmatrix}} = \unknown{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} is the starting vector that AA sends to [57]\begin{bmatrix} 5 \\ 7 \end{bmatrix}.

When solving for an unknown matrix X\unknown{X}, matrix multiplication order cannot be swapped, so A−1\undo{A^{-1}} must go on whichever side AA sits on:

AX=B  ⟹  A−1AX=A−1B  ⟹  X=A−1B⏟A is on the left of X: multiply on the left,XA=B  ⟹  XAA−1=BA−1  ⟹  X=BA−1⏟A is on the right of X: multiply on the right\displaystyle \underbrace{\begin{aligned} A\unknown{X} = B &\implies \undo{A^{-1}}A\unknown{X} = \undo{A^{-1}}B \\ &\implies \unknown{X} = \undo{A^{-1}}B \end{aligned}}_{\text{A is on the left of X: multiply on the left}}, \\[0.9em] \underbrace{\begin{aligned} \unknown{X}A = B &\implies \unknown{X}A\undo{A^{-1}} = B\undo{A^{-1}} \\ &\implies \unknown{X} = B\undo{A^{-1}} \end{aligned}}_{\text{A is on the right of X: multiply on the right}}
4

Inverses of Products and Transposes

Suppose we already know A−1\undo{A^{-1}} and B−1\undo{B^{-1}}, and we want to find the inverse of the product ABAB or the inverse of the transpose ATA^T without starting over from scratch. Remember that transposing a product across its diagonal reverses the order of the matrices:

(AB)T\displaystyle (AB)^T =BTAT\displaystyle = B^T A^T

Inverting a product works the same way.

Inverses of Products and Transposes
(AB)−1\displaystyle \undo{(AB)^{-1}} =  ?\displaystyle = \;?
(AT)−1\displaystyle \undo{(A^T)^{-1}} =  ?\displaystyle = \;?

When ABAB multiplies a vector x⃗\unknown{\vec{x}} as A(Bx⃗)A(B\unknown{\vec{x}}), BB acts first and AA acts second, so undoing them in reverse order lets BB and B−1\undo{B^{-1}} meet in the middle and cancel to II:

(AB)(B−1A−1)\displaystyle (AB)(\undo{B^{-1}}\undo{A^{-1}}) =A(BB−1⏟I)A−1\displaystyle = A(\underbrace{B\undo{B^{-1}}}_{I})\undo{A^{-1}} =AA−1\displaystyle = A\undo{A^{-1}} =I  ⟹  (AB)−1\displaystyle = I \implies \undo{(AB)^{-1}} =B−1A−1\displaystyle = \undo{B^{-1}}\undo{A^{-1}}

Taking the transpose of AA−1=IA\undo{A^{-1}} = I reverses the product on the left while leaving IT=II^T = I unchanged on the right, and transposing A−1A=I\undo{A^{-1}}A = I the same way gives the other order, showing that (A−1)T\undo{(A^{-1})^T} undoes ATA^T on both sides:

(AA−1)T=IT  ⟹  (A−1)TAT=I,(A−1A)T=IT  ⟹  AT(A−1)T=I,so (AT)−1=(A−1)T\displaystyle \begin{aligned} (A\undo{A^{-1}})^T = I^T &\implies \undo{(A^{-1})^T} A^T = I, \\ (\undo{A^{-1}}A)^T = I^T &\implies A^T \undo{(A^{-1})^T} = I, \\ &\text{so } \undo{(A^T)^{-1}} = \undo{(A^{-1})^T} \end{aligned}
5

When a Matrix Has No Inverse

Not every square matrix can be undone. Look at what happens when we try to find an inverse for a matrix whose columns point along the exact same line:

C=[1224]\displaystyle C = \begin{bmatrix} \firstcol{1} & \secondcol{2} \\ \firstcol{2} & \secondcol{4} \end{bmatrix}
When a Matrix Has No Inverse
C=[1224]C−1=  ?C = \begin{bmatrix} \htmlClass{lc-green}{1} & \htmlClass{lc-pink}{2} \\ \htmlClass{lc-green}{2} & \htmlClass{lc-pink}{4} \end{bmatrix} \qquad \htmlClass{lc-violet}{C^{-1}} = \;?
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
C=[1224]C = \begin{bmatrix} \htmlClass{lc-green}{1} & \htmlClass{lc-pink}{2} \\ \htmlClass{lc-green}{2} & \htmlClass{lc-pink}{4} \end{bmatrix}
[12]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}
[24]\htmlClass{lc-pink}{\begin{bmatrix} 2 \\ 4 \end{bmatrix}}
[−21]\htmlClass{lc-orange}{\begin{bmatrix} -2 \\ 1 \end{bmatrix}}
[00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}
Text solution
Check ad−bc\scaling{ad - bc} in the 2×22 \times 2 formulaPlugging in the entries of C=[1224]C = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} gives zero in the denominator.
ad−bc\displaystyle \scaling{ad - bc} =(1)(4)−(2)(2)\displaystyle = (1)(4) - (2)(2) =0\displaystyle = \lost{0}
Eliminate to count pivotsSubtracting 22 times Row 11 from Row 22 wipes out the bottom row completely, leaving a row of zeros and only one pivot instead of two.
[1224]→R2−2R1[1200]\displaystyle \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} \xrightarrow{R_2 - 2R_1} \begin{bmatrix} 1 & 2 \\ \lost{0} & \lost{0} \end{bmatrix}
Find a nonzero vector squished onto 0⃗\vec{0}Any nonzero multiple of [−21]\lost{\begin{bmatrix} -2 \\ 1 \end{bmatrix}} in the null space gets sent to [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}, right alongside [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix} itself.
[1224][−21]=[1(−2)+2(1)2(−2)+4(1)]=[00]\displaystyle \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\lost{\begin{bmatrix} -2 \\ 1 \end{bmatrix}} = \begin{bmatrix} 1(-2) + 2(1) \\ 2(-2) + 4(1) \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}

So CC has no inverse, because once a whole line of input vectors collapses onto [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}, no matrix C−1\undo{C^{-1}} can recover which vector [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix} came from.

When a matrix squishes whole lines of vectors onto single points, there is no way to pull those vectors back apart, so it has no inverse.

This matrix squishes all of 2D space onto a single line, sending a whole line of different inputs to the exact same output.

Key concepts

Before trying to invert a square matrix AA, check whether it squishes space. For a 2×22 \times 2 matrix A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, test the number ad−bc\scaling{ad - bc} first: if ad−bc=0\scaling{ad - bc} = \lost{0} (as in C=[1224]C = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}, where 1(4)−2(2)=0\scaling{1(4) - 2(2)} = \lost{0}, elimination leaves a zero row [1200]\begin{bmatrix} 1 & 2 \\ \lost{0} & \lost{0} \end{bmatrix}, and [−21]\lost{\begin{bmatrix} -2 \\ 1 \end{bmatrix}} maps to [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}), stop right there: the matrix has no inverse.

When ad−bc≠0\scaling{ad - bc} \neq 0, pick the fastest way to write down A−1\undo{A^{-1}}:

Simple grid push (skip the formula)

If AA keeps one basis arrow in place and pushes the other one parallel to it, like [1101]\begin{bmatrix} \firstcol{1} & \secondcol{1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix} pushing [01]\secondcol{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} right by 11, just do the opposite push to get A−1=[1−101]\undo{A^{-1}} = \begin{bmatrix} \firstcol{1} & \secondcol{-1} \\ \firstcol{0} & \secondcol{1} \end{bmatrix}.

General 2×22 \times 2 matrix

Swap the main diagonal entries, negate the off-diagonal entries, and divide by ad−bc\scaling{ad - bc}:

A−1=1ad−bc[d−b−ca],[1213]−1=11(3)−2(1)[3−2−11]=[3−2−11]\displaystyle \begin{aligned} \undo{A^{-1}} &= \frac{1}{\scaling{ad - bc}}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}, \\[0.6em] \undo{\begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix}^{-1}} &= \frac{1}{\scaling{1(3) - 2(1)}}\begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} \\ &= \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} \end{aligned}
You can always check your answer by verifying that A−1A=I\undo{A^{-1}}A = I (and AA−1=IA\undo{A^{-1}} = I).

When using A−1\undo{A^{-1}} in equations and expressions, pay close attention to order:

Cancelling AA in an equation

Multiply by A−1\undo{A^{-1}} on whichever side AA sits next to the unknown: on the left for Ax⃗=b⃗  ⟹  x⃗=A−1b⃗A\unknown{\vec{x}} = \vec{b} \implies \unknown{\vec{x}} = \undo{A^{-1}}\vec{b} and AX=B  ⟹  X=A−1BA\unknown{X} = B \implies \unknown{X} = \undo{A^{-1}}B, but on the right when AA is on the right: XA=B  ⟹  X=BA−1\unknown{X}A = B \implies \unknown{X} = B\undo{A^{-1}}.

Products and transposes

Reverse the order to undo a product so the inner matrices cancel first, (AB)−1=B−1A−1\undo{(AB)^{-1}} = \undo{B^{-1}}\undo{A^{-1}}, and transpose and invert in either order, (AT)−1=(A−1)T\undo{(A^T)^{-1}} = \undo{(A^{-1})^T}.

6

Practice

1

The matrix A=[1031]A = \begin{bmatrix} 1 & 0 \\ 3 & 1 \end{bmatrix} keeps the vertical arrow [01]\begin{bmatrix} 0 \\ 1 \end{bmatrix} in place and pushes the horizontal arrow [10]\begin{bmatrix} 1 \\ 0 \end{bmatrix} up by 33 to [13]\begin{bmatrix} 1 \\ 3 \end{bmatrix}. Find A−1\undo{A^{-1}} by undoing what AA does to the grid, then check your answer by multiplying A−1A\undo{A^{-1}}A.

If AA pushes the first arrow [10]\begin{bmatrix} 1 \\ 0 \end{bmatrix} up by 33, what must the first column of A−1\undo{A^{-1}} be to undo that push?

To undo pushing the first arrow [10]\firstcol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} up by 33 while keeping [01]\secondcol{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} in place, push [10]\firstcol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} down by 33 to [1−3]\firstcol{\begin{bmatrix} 1 \\ -3 \end{bmatrix}} (be careful not to put the −3-3 in the top-right slot as [1−301]\begin{bmatrix} 1 & -3 \\ 0 & 1 \end{bmatrix}, which pushes the second arrow left instead of undoing the first arrow). This gives A−1=[10−31]\undo{A^{-1}} = \begin{bmatrix} \firstcol{1} & \secondcol{0} \\ \firstcol{-3} & \secondcol{1} \end{bmatrix}, and multiplying confirms the check:
A−1A=[10−31][1031]=[1001]=I\displaystyle \undo{A^{-1}}A = \begin{bmatrix} \firstcol{1} & \secondcol{0} \\ \firstcol{-3} & \secondcol{1} \end{bmatrix}\begin{bmatrix} \firstcol{1} & \secondcol{0} \\ \firstcol{3} & \secondcol{1} \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I
2

Use the 2×22 \times 2 inverse formula to find A−1\undo{A^{-1}} for A=[4232]A = \begin{bmatrix} 4 & 2 \\ 3 & 2 \end{bmatrix}.

Find the scaling number ad−bc\scaling{ad - bc} first, then check which two entries of AA swap places and which two change sign.

Here ad−bc=(4)(2)−(2)(3)=2\scaling{ad - bc} = (4)(2) - (2)(3) = 2. Swapping the main diagonal entries 44 and 22, negating the off-diagonal entries 22 and 33, and dividing by 2\scaling{2} (watch out for the common mistake of forgetting to divide by ad−bc=2\scaling{ad - bc} = 2, which leaves [2−2−34]\begin{bmatrix} 2 & -2 \\ -3 & 4 \end{bmatrix}) gives:
A−1=12[2−2−34]=[1−1−322]\displaystyle \undo{A^{-1}} = \frac{1}{\scaling{2}}\begin{bmatrix} 2 & -2 \\ -3 & 4 \end{bmatrix} = \begin{bmatrix} 1 & -1 \\ -\tfrac{3}{2} & 2 \end{bmatrix}
3

Given that the inverse of A=[2513]A = \begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix} is A−1=[3−5−12]\undo{A^{-1}} = \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix}, solve the system [2513][xy]=[43]\begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix}\unknown{\begin{bmatrix} x \\ y \end{bmatrix}} = \begin{bmatrix} 4 \\ 3 \end{bmatrix}.

To cancel AA on the left of [xy]\unknown{\begin{bmatrix} x \\ y \end{bmatrix}}, which matrix do you multiply [43]\begin{bmatrix} 4 \\ 3 \end{bmatrix} by?

Multiply both sides on the left by A−1\undo{A^{-1}} (don't multiply [43]\begin{bmatrix} 4 \\ 3 \end{bmatrix} by the original matrix A=[2513]A = \begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix}, which gives [2313]\begin{bmatrix} 23 \\ 13 \end{bmatrix} instead of undoing AA):
[xy]=A−1[43]=[3−5−12][43]=[12−15−4+6]=[−32]\displaystyle \unknown{\begin{bmatrix} x \\ y \end{bmatrix}} = \undo{A^{-1}}\begin{bmatrix} 4 \\ 3 \end{bmatrix} = \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix}\begin{bmatrix} 4 \\ 3 \end{bmatrix} = \begin{bmatrix} 12 - 15 \\ -4 + 6 \end{bmatrix} = \unknown{\begin{bmatrix} -3 \\ 2 \end{bmatrix}}
4

Solve for the 2×22 \times 2 matrix X\unknown{X} in the equation X[1213]=[2501]\unknown{X}\begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix} = \begin{bmatrix} 2 & 5 \\ 0 & 1 \end{bmatrix}.

Look at which side of X\unknown{X} the matrix A=[1213]A = \begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix} sits on: where must you place A−1\undo{A^{-1}} so that AA and A−1\undo{A^{-1}} meet and cancel?

Since A=[1213]A = \begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix} is on the right of X\unknown{X}, multiply both sides on the right by A−1=[3−2−11]\undo{A^{-1}} = \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} (multiplying by A−1\undo{A^{-1}} on the left is a common mistake here and gives [613−2−4]\begin{bmatrix} 6 & 13 \\ -2 & -4 \end{bmatrix}):
X=[2501][3−2−11]=[11−11]\displaystyle \unknown{X} = \begin{bmatrix} 2 & 5 \\ 0 & 1 \end{bmatrix}\begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix} = \unknown{\begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix}}
5

Suppose AA and BB are invertible matrices with A−1=[1201]\undo{A^{-1}} = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} and B−1=[1031]\undo{B^{-1}} = \begin{bmatrix} 1 & 0 \\ 3 & 1 \end{bmatrix}. Find (AB)−1\undo{(AB)^{-1}}.

In what order do A−1\undo{A^{-1}} and B−1\undo{B^{-1}} multiply so that BB and B−1\undo{B^{-1}} cancel in the middle of (AB)(AB)−1(AB)\undo{(AB)^{-1}}?

Reverse the order of the product to B−1A−1\undo{B^{-1}}\undo{A^{-1}} (multiplying in the unreversed order A−1B−1\lost{A^{-1}B^{-1}} is a common mistake that gives [7231]\begin{bmatrix} 7 & 2 \\ 3 & 1 \end{bmatrix}):
(AB)−1=B−1A−1=[1031][1201]=[1237]\displaystyle \undo{(AB)^{-1}} = \undo{B^{-1}}\undo{A^{-1}} = \begin{bmatrix} 1 & 0 \\ 3 & 1 \end{bmatrix}\begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 2 \\ 3 & 7 \end{bmatrix}
6

Suppose you only know that A−1=[4−7−12]\undo{A^{-1}} = \begin{bmatrix} 4 & -7 \\ -1 & 2 \end{bmatrix}. Without finding AA, find (AT)−1\undo{(A^T)^{-1}}.

Since transposing and inverting can be done in either order, what single move turns A−1\undo{A^{-1}} into (AT)−1\undo{(A^T)^{-1}}?

Transposing and inverting can be done in either order, so flip A−1\undo{A^{-1}} across its main diagonal by swapping −7-7 and −1-1 (don't apply the 2×22 \times 2 inverse formula a second time, which undoes A−1\undo{A^{-1}} back to A=[2714]A = \begin{bmatrix} 2 & 7 \\ 1 & 4 \end{bmatrix}):
(AT)−1=(A−1)T=[4−1−72]\displaystyle \undo{(A^T)^{-1}} = \undo{(A^{-1})^T} = \begin{bmatrix} 4 & -1 \\ -7 & 2 \end{bmatrix}
7

For what value of kk does C=[261k]C = \begin{bmatrix} 2 & 6 \\ 1 & k \end{bmatrix} have no inverse? For that value of kk, find the row-reduced form of CC and give a nonzero vector [xy]\begin{bmatrix} x \\ y \end{bmatrix} that CC squishes onto [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}.

Set ad−bc=0\scaling{ad - bc} = 0 to find kk, row-reduce CC, and then choose nonzero numbers xx and yy that make the remaining row x+3yx + 3y equal to 00.

CC has no inverse when ad−bc=2k−6=0\scaling{ad - bc} = 2k - 6 = \lost{0}, so k=3k = 3. Dividing R1R_1 by 22 and then subtracting R1R_1 from R2R_2 gives [1300]\begin{bmatrix} 1 & 3 \\ \lost{0} & \lost{0} \end{bmatrix}, which has a row of zeros and only one pivot. Solving x+3y=0x + 3y = 0 gives x=−3yx = -3y (don't forget the minus sign when moving 3y3y across the equals sign, which gives [31]\begin{bmatrix} 3 \\ 1 \end{bmatrix} and lands on [126]\begin{bmatrix} 12 \\ 6 \end{bmatrix} instead of [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}), so CC squishes onto [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix} the nonzero vector (or any nonzero multiple of it):
[xy]=[−31]\displaystyle \begin{bmatrix} x \\ y \end{bmatrix} = \lost{\begin{bmatrix} -3 \\ 1 \end{bmatrix}}