Inverse of a Matrix

RS Aggarwal Class 12 Maths Solutions Exercise 5E — Matrices

RS Aggarwal, Class 12 Mathematics — Matrices, Exercise 5E. All 15 questions solved.

Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.

Exercise 5E asks for the inverse of a given square matrix: Questions 1 to 6 are $2\times 2$ and Questions 7 to 15 are $3\times 3$. Every solution uses the adjoint method, $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$, after first checking that $|A| \neq 0$.

Key insight. A square matrix has an inverse only when $|A| \neq 0$. For a $2\times 2$ matrix the adjoint is found by swapping the diagonal entries and negating the other two. For a $3\times 3$ matrix, build the cofactor matrix and transpose it. Multiplying $A$ by your answer to get $I$ is a quick final check.

Question 1

Find the inverse of the matrix $A = \begin{bmatrix}1&2\\3&7\end{bmatrix}$.

Solution. For a $2\times 2$ matrix, $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$. Here $|A| = (1)(7) – (2)(3) = 1$, which is non-zero, so $A$ is invertible.

To get the adjoint, swap the diagonal entries and change the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}7&-2\\-3&1\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{1}\begin{bmatrix}7&-2\\-3&1\end{bmatrix}$ $= \begin{bmatrix}7&-2\\-3&1\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}7&-2\\-3&1\end{bmatrix}$$

Question 2

Find the inverse of the matrix $A = \begin{bmatrix}1&2\\2&-1\end{bmatrix}$.

Solution. For a $2\times 2$ matrix, $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$. Here $|A| = (1)(-1) – (2)(2) = -5$, which is non-zero, so $A$ is invertible.

To get the adjoint, swap the diagonal entries and change the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}-1&-2\\-2&1\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{-5}\begin{bmatrix}-1&-2\\-2&1\end{bmatrix}$ $= \begin{bmatrix}\frac{1}{5}&\frac{2}{5}\\\frac{2}{5}&- \frac{1}{5}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}\frac{1}{5}&\frac{2}{5}\\\frac{2}{5}&- \frac{1}{5}\end{bmatrix}$$

Question 3

Find the inverse of the matrix $A = \begin{bmatrix}2&5\\-3&1\end{bmatrix}$.

Solution. For a $2\times 2$ matrix, $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$. Here $|A| = (2)(1) – (5)(-3) = 17$, which is non-zero, so $A$ is invertible.

To get the adjoint, swap the diagonal entries and change the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}1&-5\\3&2\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{17}\begin{bmatrix}1&-5\\3&2\end{bmatrix}$ $= \begin{bmatrix}\frac{1}{17}&- \frac{5}{17}\\\frac{3}{17}&\frac{2}{17}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}\frac{1}{17}&- \frac{5}{17}\\\frac{3}{17}&\frac{2}{17}\end{bmatrix}$$

Question 4

Find the inverse of the matrix $A = \begin{bmatrix}2&-3\\4&5\end{bmatrix}$.

Solution. For a $2\times 2$ matrix, $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$. Here $|A| = (2)(5) – (-3)(4) = 22$, which is non-zero, so $A$ is invertible.

To get the adjoint, swap the diagonal entries and change the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}5&3\\-4&2\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{22}\begin{bmatrix}5&3\\-4&2\end{bmatrix}$ $= \begin{bmatrix}\frac{5}{22}&\frac{3}{22}\\- \frac{2}{11}&\frac{1}{11}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}\frac{5}{22}&\frac{3}{22}\\- \frac{2}{11}&\frac{1}{11}\end{bmatrix}$$

Question 5

Find the inverse of the matrix $A = \begin{bmatrix}4&0\\2&5\end{bmatrix}$.

Solution. For a $2\times 2$ matrix, $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$. Here $|A| = (4)(5) – (0)(2) = 20$, which is non-zero, so $A$ is invertible.

To get the adjoint, swap the diagonal entries and change the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}5&0\\-2&4\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{20}\begin{bmatrix}5&0\\-2&4\end{bmatrix}$ $= \begin{bmatrix}\frac{1}{4}&0\\- \frac{1}{10}&\frac{1}{5}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}\frac{1}{4}&0\\- \frac{1}{10}&\frac{1}{5}\end{bmatrix}$$

Question 6

Find the inverse of the matrix $A = \begin{bmatrix}6&7\\8&9\end{bmatrix}$.

Solution. For a $2\times 2$ matrix, $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$. Here $|A| = (6)(9) – (7)(8) = -2$, which is non-zero, so $A$ is invertible.

To get the adjoint, swap the diagonal entries and change the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}9&-7\\-8&6\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{-2}\begin{bmatrix}9&-7\\-8&6\end{bmatrix}$ $= \begin{bmatrix}- \frac{9}{2}&\frac{7}{2}\\4&-3\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}- \frac{9}{2}&\frac{7}{2}\\4&-3\end{bmatrix}$$

Question 7

Find the inverse of the matrix $A = \begin{bmatrix}0&1&2\\1&2&3\\3&1&1\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (0)(-1) + (1)(8) + (2)(-5) = -2$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}-1&8&-5\\1&-6&3\\-1&2&-1\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}-1&1&-1\\8&-6&2\\-5&3&-1\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{-2}\begin{bmatrix}-1&1&-1\\8&-6&2\\-5&3&-1\end{bmatrix}$ $= \begin{bmatrix}\frac{1}{2}&- \frac{1}{2}&\frac{1}{2}\\-4&3&-1\\\frac{5}{2}&- \frac{3}{2}&\frac{1}{2}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}\frac{1}{2}&- \frac{1}{2}&\frac{1}{2}\\-4&3&-1\\\frac{5}{2}&- \frac{3}{2}&\frac{1}{2}\end{bmatrix}$$

Question 8

Find the inverse of the matrix $A = \begin{bmatrix}2&-3&3\\2&2&3\\3&-2&2\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (2)(10) + (-3)(5) + (3)(-10) = -25$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}10&5&-10\\0&-5&-5\\-15&0&10\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}10&0&-15\\5&-5&0\\-10&-5&10\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{-25}\begin{bmatrix}10&0&-15\\5&-5&0\\-10&-5&10\end{bmatrix}$ $= \begin{bmatrix}- \frac{2}{5}&0&\frac{3}{5}\\- \frac{1}{5}&\frac{1}{5}&0\\\frac{2}{5}&\frac{1}{5}&- \frac{2}{5}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}- \frac{2}{5}&0&\frac{3}{5}\\- \frac{1}{5}&\frac{1}{5}&0\\\frac{2}{5}&\frac{1}{5}&- \frac{2}{5}\end{bmatrix}$$

Question 9

Find the inverse of the matrix $A = \begin{bmatrix}3&0&2\\1&5&9\\6&4&7\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (3)(-1) + (0)(47) + (2)(-26) = -55$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}-1&47&-26\\8&9&-12\\-10&-25&15\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}-1&8&-10\\47&9&-25\\-26&-12&15\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{-55}\begin{bmatrix}-1&8&-10\\47&9&-25\\-26&-12&15\end{bmatrix}$ $= \begin{bmatrix}\frac{1}{55}&- \frac{8}{55}&\frac{2}{11}\\- \frac{47}{55}&- \frac{9}{55}&\frac{5}{11}\\\frac{26}{55}&\frac{12}{55}&- \frac{3}{11}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}\frac{1}{55}&- \frac{8}{55}&\frac{2}{11}\\- \frac{47}{55}&- \frac{9}{55}&\frac{5}{11}\\\frac{26}{55}&\frac{12}{55}&- \frac{3}{11}\end{bmatrix}$$

Question 10

Find the inverse of the matrix $A = \begin{bmatrix}1&2&-3\\2&3&2\\3&-3&-4\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (1)(-6) + (2)(14) + (-3)(-15) = 67$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}-6&14&-15\\17&5&9\\13&-8&-1\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}-6&17&13\\14&5&-8\\-15&9&-1\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{67}\begin{bmatrix}-6&17&13\\14&5&-8\\-15&9&-1\end{bmatrix}$ $= \begin{bmatrix}- \frac{6}{67}&\frac{17}{67}&\frac{13}{67}\\\frac{14}{67}&\frac{5}{67}&- \frac{8}{67}\\- \frac{15}{67}&\frac{9}{67}&- \frac{1}{67}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}- \frac{6}{67}&\frac{17}{67}&\frac{13}{67}\\\frac{14}{67}&\frac{5}{67}&- \frac{8}{67}\\- \frac{15}{67}&\frac{9}{67}&- \frac{1}{67}\end{bmatrix}$$

Question 11

Find the inverse of the matrix $A = \begin{bmatrix}3&-1&-2\\2&0&-1\\3&-5&0\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (3)(-5) + (-1)(-3) + (-2)(-10) = 8$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}-5&-3&-10\\10&6&12\\1&-1&2\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}-5&10&1\\-3&6&-1\\-10&12&2\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{8}\begin{bmatrix}-5&10&1\\-3&6&-1\\-10&12&2\end{bmatrix}$ $= \begin{bmatrix}- \frac{5}{8}&\frac{5}{4}&\frac{1}{8}\\- \frac{3}{8}&\frac{3}{4}&- \frac{1}{8}\\- \frac{5}{4}&\frac{3}{2}&\frac{1}{4}\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}- \frac{5}{8}&\frac{5}{4}&\frac{1}{8}\\- \frac{3}{8}&\frac{3}{4}&- \frac{1}{8}\\- \frac{5}{4}&\frac{3}{2}&\frac{1}{4}\end{bmatrix}$$

Question 12

Find the inverse of the matrix $A = \begin{bmatrix}1&3&-2\\-3&0&-1\\2&1&0\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (1)(1) + (3)(-2) + (-2)(-3) = 1$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}1&-2&-3\\-2&4&5\\-3&7&9\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}1&-2&-3\\-2&4&7\\-3&5&9\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{1}\begin{bmatrix}1&-2&-3\\-2&4&7\\-3&5&9\end{bmatrix}$ $= \begin{bmatrix}1&-2&-3\\-2&4&7\\-3&5&9\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}1&-2&-3\\-2&4&7\\-3&5&9\end{bmatrix}$$

Question 13

Find the inverse of the matrix $A = \begin{bmatrix}1&2&3\\2&5&7\\-2&-4&-5\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (1)(3) + (2)(-4) + (3)(2) = 1$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}3&-4&2\\-2&1&0\\-1&-1&1\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}3&-2&-1\\-4&1&-1\\2&0&1\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{1}\begin{bmatrix}3&-2&-1\\-4&1&-1\\2&0&1\end{bmatrix}$ $= \begin{bmatrix}3&-2&-1\\-4&1&-1\\2&0&1\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}3&-2&-1\\-4&1&-1\\2&0&1\end{bmatrix}$$

Question 14

Find the inverse of the matrix $A = \begin{bmatrix}3&0&-1\\2&3&0\\0&4&1\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (3)(3) + (0)(-2) + (-1)(8) = 1$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}3&-2&8\\-4&3&-12\\3&-2&9\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}3&-4&3\\-2&3&-2\\8&-12&9\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{1}\begin{bmatrix}3&-4&3\\-2&3&-2\\8&-12&9\end{bmatrix}$ $= \begin{bmatrix}3&-4&3\\-2&3&-2\\8&-12&9\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}3&-4&3\\-2&3&-2\\8&-12&9\end{bmatrix}$$

Question 15

Find the inverse of the matrix $A = \begin{bmatrix}-1&1&2\\1&2&3\\3&1&1\end{bmatrix}$.

Solution. Expanding along the first row, $|A| = (-1)(-1) + (1)(8) + (2)(-5) = -1$, which is non-zero, so $A$ is invertible.

Now the cofactors $C_{ij} = (-1)^{i+j}M_{ij}$, each from the $2\times 2$ minor left after deleting row $i$ and column $j$:

$$\begin{bmatrix}-1&8&-5\\1&-7&4\\-1&5&-3\end{bmatrix}$$

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}-1&1&-1\\8&-7&5\\-5&4&-3\end{bmatrix}$.

Therefore $A^{-1} = \dfrac{1}{-1}\begin{bmatrix}-1&1&-1\\8&-7&5\\-5&4&-3\end{bmatrix}$ $= \begin{bmatrix}1&-1&1\\-8&7&-5\\5&-4&3\end{bmatrix}$.

Check: $AA^{-1} = I$ (verified by multiplying out).

$$A^{-1} = \begin{bmatrix}1&-1&1\\-8&7&-5\\5&-4&3\end{bmatrix}$$

Common mistakes

  • Forgetting to transpose the cofactor matrix. The adjoint is the transpose of the cofactors, so writing the cofactors as they stand gives $(A^{-1})^{T}$ instead of $A^{-1}$.
  • Dropping the alternating sign $(-1)^{i+j}$ on the middle cofactors, especially $C_{12}$, $C_{21}$, $C_{23}$ and $C_{32}$, which pick up a minus sign.
  • Forgetting the factor $\dfrac{1}{|A|}$, or using the wrong sign when $|A|$ is negative, as in Questions 2, 6, 7 and 8.
  • In the $2\times 2$ case, swapping the off-diagonal entries instead of negating them.

Practise next

  • Find the inverse of $A=\begin{bmatrix}2&1\\5&3\end{bmatrix}$.
Show answer

$A^{-1}=\begin{bmatrix}3&-1\\-5&2\end{bmatrix}.$ Here $|A|=1$, so the adjoint is the inverse; check that $AA^{-1}=I$.

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe