System of Linear Equations

RS Aggarwal Class 12 Maths Solutions Exercise 8A — System of Linear Equations

RS Aggarwal, Class 12 Mathematics — System of Linear Equations, Exercise 8A (with the value-based questions 42 to 45). All 45 questions solved.

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

Exercise 8A has three kinds of question. Questions 1 to 8 ask you to show that a system has no solution. Questions 9 to 36, together with 37 to 41, ask you to solve a system by writing it as $AX = B$ and using $X = A^{-1}B$, with $A^{-1} = \dfrac{1}{|A|}\operatorname{adj}A$. Questions 42 to 45 turn a story into three equations first and then use the same method.

Key insight. Everything depends on $|A|$. If $|A| \neq 0$ the system has exactly one solution, $X = A^{-1}B$. If $|A| = 0$ there is no inverse, and the test is $(\operatorname{adj}A)B$: not the zero vector means inconsistent. When it is the zero vector and $\operatorname{adj}A$ is not itself zero, as in every singular system here, the system has infinitely many solutions.

Question 1

Show that the following system of equations is inconsistent:

$x + 2y = 9$; $2x + 4y = 7$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&2\\2&4\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}9\\7\end{bmatrix}.$$

Here $|A| = 1\cdot(4) – (2)(2) = 0$, so $A$ has no inverse and the system either has no solution or infinitely many. For a singular $A$ the deciding quantity is $(\operatorname{adj}A)B$: if it is the zero vector the system is consistent (given $\operatorname{adj}A \neq O$, as here), otherwise it is inconsistent.

The adjoint (swap the diagonal entries, change the sign of the other two) is $\operatorname{adj}A = \begin{bmatrix}4&-2\\-2&1\end{bmatrix}$, and

$$(\operatorname{adj}A)B = \begin{bmatrix}4&-2\\-2&1\end{bmatrix}\begin{bmatrix}9\\7\end{bmatrix} = \begin{bmatrix}22\\-11\end{bmatrix} \neq O.$$

So the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 2

Show that the following system of equations is inconsistent:

$2x + 3y = 5$; $6x + 9y = 10$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}2&3\\6&9\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}5\\10\end{bmatrix}.$$

Here $|A| = 2\cdot(9) – (3)(6) = 0$, so $A$ has no inverse and the system either has no solution or infinitely many. For a singular $A$ the deciding quantity is $(\operatorname{adj}A)B$: if it is the zero vector the system is consistent (given $\operatorname{adj}A \neq O$, as here), otherwise it is inconsistent.

The adjoint (swap the diagonal entries, change the sign of the other two) is $\operatorname{adj}A = \begin{bmatrix}9&-3\\-6&2\end{bmatrix}$, and

$$(\operatorname{adj}A)B = \begin{bmatrix}9&-3\\-6&2\end{bmatrix}\begin{bmatrix}5\\10\end{bmatrix} = \begin{bmatrix}15\\-10\end{bmatrix} \neq O.$$

So the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 3

Show that the following system of equations is inconsistent:

$4x – 2y = 3$; $6x – 3y = 5$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}4&-2\\6&-3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}3\\5\end{bmatrix}.$$

Here $|A| = 4\cdot(-3) – (-2)(6) = 0$, so $A$ has no inverse and the system either has no solution or infinitely many. For a singular $A$ the deciding quantity is $(\operatorname{adj}A)B$: if it is the zero vector the system is consistent (given $\operatorname{adj}A \neq O$, as here), otherwise it is inconsistent.

The adjoint (swap the diagonal entries, change the sign of the other two) is $\operatorname{adj}A = \begin{bmatrix}-3&2\\-6&4\end{bmatrix}$, and

$$(\operatorname{adj}A)B = \begin{bmatrix}-3&2\\-6&4\end{bmatrix}\begin{bmatrix}3\\5\end{bmatrix} = \begin{bmatrix}1\\2\end{bmatrix} \neq O.$$

So the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 4

Show that the following system of equations is inconsistent:

$6x + 4y = 5$; $9x + 6y = 8$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}6&4\\9&6\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}5\\8\end{bmatrix}.$$

Here $|A| = 6\cdot(6) – (4)(9) = 0$, so $A$ has no inverse and the system either has no solution or infinitely many. For a singular $A$ the deciding quantity is $(\operatorname{adj}A)B$: if it is the zero vector the system is consistent (given $\operatorname{adj}A \neq O$, as here), otherwise it is inconsistent.

The adjoint (swap the diagonal entries, change the sign of the other two) is $\operatorname{adj}A = \begin{bmatrix}6&-4\\-9&6\end{bmatrix}$, and

$$(\operatorname{adj}A)B = \begin{bmatrix}6&-4\\-9&6\end{bmatrix}\begin{bmatrix}5\\8\end{bmatrix} = \begin{bmatrix}-2\\3\end{bmatrix} \neq O.$$

So the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 5

Show that the following system of equations is inconsistent:

$x + y – 2z = 5$; $x – 2y + z = -2$; $-2x + y + z = 4$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&1&-2\\1&-2&1\\-2&1&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}5\\-2\\4\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -3, C_{12} = -3, C_{13} = -3, C_{21} = -3, C_{22} = -3, C_{23} = -3, C_{31} = -3, C_{32} = -3, C_{33} = -3.$$

Expanding along the first row, $|A| = 1(-3) + (1)(-3) + (-2)(-3) = 0$.

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

Since $|A| = 0$, $A^{-1}$ does not exist, so the system cannot have a unique solution. Whether it has none or infinitely many is decided by $(\operatorname{adj}A)B$: the zero vector means consistent, anything else means inconsistent. Here

$$(\operatorname{adj}A)B = \begin{bmatrix}-3&-3&-3\\-3&-3&-3\\-3&-3&-3\end{bmatrix}\begin{bmatrix}5\\-2\\4\end{bmatrix} = \begin{bmatrix}-21\\-21\\-21\end{bmatrix} \neq O,$$

so the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 6

Show that the following system of equations is inconsistent:

$2x – y + 3z = 1$; $3x – 2y + 5z = -4$; $5x – 4y + 9z = 14$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}2&-1&3\\3&-2&5\\5&-4&9\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}1\\-4\\14\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 2, C_{12} = -2, C_{13} = -2, C_{21} = -3, C_{22} = 3, C_{23} = 3, C_{31} = 1, C_{32} = -1, C_{33} = -1.$$

Expanding along the first row, $|A| = 2(2) + (-1)(-2) + (3)(-2) = 0$.

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

Since $|A| = 0$, $A^{-1}$ does not exist, so the system cannot have a unique solution. Whether it has none or infinitely many is decided by $(\operatorname{adj}A)B$: the zero vector means consistent, anything else means inconsistent. Here

$$(\operatorname{adj}A)B = \begin{bmatrix}2&-3&1\\-2&3&-1\\-2&3&-1\end{bmatrix}\begin{bmatrix}1\\-4\\14\end{bmatrix} = \begin{bmatrix}28\\-28\\-28\end{bmatrix} \neq O,$$

so the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 7

Show that the following system of equations is inconsistent:

$x + 2y + 4z = 12$; $y + 2z = -1$; $3x + 2y + 4z = 4$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&2&4\\0&1&2\\3&2&4\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}12\\-1\\4\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 0, C_{12} = 6, C_{13} = -3, C_{21} = 0, C_{22} = -8, C_{23} = 4, C_{31} = 0, C_{32} = -2, C_{33} = 1.$$

Expanding along the first row, $|A| = 1(0) + (2)(6) + (4)(-3) = 0$.

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

Since $|A| = 0$, $A^{-1}$ does not exist, so the system cannot have a unique solution. Whether it has none or infinitely many is decided by $(\operatorname{adj}A)B$: the zero vector means consistent, anything else means inconsistent. Here

$$(\operatorname{adj}A)B = \begin{bmatrix}0&0&0\\6&-8&-2\\-3&4&1\end{bmatrix}\begin{bmatrix}12\\-1\\4\end{bmatrix} = \begin{bmatrix}0\\72\\-36\end{bmatrix} \neq O,$$

so the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 8

Show that the following system of equations is inconsistent:

$3x – y – 2z = 2$; $2y – z = -1$; $3x – 5y = 3$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}3&-1&-2\\0&2&-1\\3&-5&0\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}2\\-1\\3\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -5, C_{12} = -3, C_{13} = -6, C_{21} = 10, C_{22} = 6, C_{23} = 12, C_{31} = 5, C_{32} = 3, C_{33} = 6.$$

Expanding along the first row, $|A| = 3(-5) + (-1)(-3) + (-2)(-6) = 0$.

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

Since $|A| = 0$, $A^{-1}$ does not exist, so the system cannot have a unique solution. Whether it has none or infinitely many is decided by $(\operatorname{adj}A)B$: the zero vector means consistent, anything else means inconsistent. Here

$$(\operatorname{adj}A)B = \begin{bmatrix}-5&10&5\\-3&6&3\\-6&12&6\end{bmatrix}\begin{bmatrix}2\\-1\\3\end{bmatrix} = \begin{bmatrix}-5\\-3\\-6\end{bmatrix} \neq O,$$

so the system is inconsistent.

Shown: $|A| = 0$ and $(\operatorname{adj}A)B \neq O$, so the system is inconsistent (no solution).

Question 9

Solve the following system of equations using matrix method:

$5x + 2y = 4$; $7x + 3y = 5$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}5&2\\7&3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}4\\5\end{bmatrix}.$$

The determinant is $|A| = (5)(3) – (2)(7) = 1 \neq 0$, so $A^{-1}$ exists and the solution is unique, given by $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$.

For a $2\times 2$ matrix, $\operatorname{adj}A$ swaps the diagonal entries and changes the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}3&-2\\-7&5\end{bmatrix}$. Hence

$$X = \frac{1}{1}\begin{bmatrix}3&-2\\-7&5\end{bmatrix}\begin{bmatrix}4\\5\end{bmatrix} = \frac{1}{1}\begin{bmatrix}2\\-3\end{bmatrix} = \begin{bmatrix}2\\-3\end{bmatrix}.$$

$x = 2,\ y = -3$

Question 10

Solve the following system of equations using matrix method:

$3x + 4y – 5 = 0$; $x – y + 3 = 0$.

Solution. Move the constant terms to the right-hand side and write the system as $AX = B$ with

$$A = \begin{bmatrix}3&4\\1&-1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}5\\-3\end{bmatrix}.$$

The determinant is $|A| = (3)(-1) – (4)(1) = -7 \neq 0$, so $A^{-1}$ exists and the solution is unique, given by $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$.

For a $2\times 2$ matrix, $\operatorname{adj}A$ swaps the diagonal entries and changes the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}-1&-4\\-1&3\end{bmatrix}$. Hence

$$X = \frac{1}{-7}\begin{bmatrix}-1&-4\\-1&3\end{bmatrix}\begin{bmatrix}5\\-3\end{bmatrix} = \frac{1}{-7}\begin{bmatrix}7\\-14\end{bmatrix} = \begin{bmatrix}-1\\2\end{bmatrix}.$$

$x = -1,\ y = 2$

Question 11

Solve the following system of equations using matrix method:

$x + 2y = 1$; $3x + y = 4$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&2\\3&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}1\\4\end{bmatrix}.$$

The determinant is $|A| = (1)(1) – (2)(3) = -5 \neq 0$, so $A^{-1}$ exists and the solution is unique, given by $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$.

For a $2\times 2$ matrix, $\operatorname{adj}A$ swaps the diagonal entries and changes the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}1&-2\\-3&1\end{bmatrix}$. Hence

$$X = \frac{1}{-5}\begin{bmatrix}1&-2\\-3&1\end{bmatrix}\begin{bmatrix}1\\4\end{bmatrix} = \frac{1}{-5}\begin{bmatrix}-7\\1\end{bmatrix} = \begin{bmatrix}\frac{7}{5}\\- \frac{1}{5}\end{bmatrix}.$$

$x = \frac{7}{5},\ y = – \frac{1}{5}$

Question 12

Solve the following system of equations using matrix method:

$5x + 7y + 2 = 0$; $4x + 6y + 3 = 0$.

Solution. Move the constant terms to the right-hand side and write the system as $AX = B$ with

$$A = \begin{bmatrix}5&7\\4&6\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}-2\\-3\end{bmatrix}.$$

The determinant is $|A| = (5)(6) – (7)(4) = 2 \neq 0$, so $A^{-1}$ exists and the solution is unique, given by $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$.

For a $2\times 2$ matrix, $\operatorname{adj}A$ swaps the diagonal entries and changes the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}6&-7\\-4&5\end{bmatrix}$. Hence

$$X = \frac{1}{2}\begin{bmatrix}6&-7\\-4&5\end{bmatrix}\begin{bmatrix}-2\\-3\end{bmatrix} = \frac{1}{2}\begin{bmatrix}9\\-7\end{bmatrix} = \begin{bmatrix}\frac{9}{2}\\- \frac{7}{2}\end{bmatrix}.$$

$x = \frac{9}{2},\ y = – \frac{7}{2}$

Question 13

Solve the following system of equations using matrix method:

$2x – 3y + 1 = 0$; $x + 4y + 3 = 0$.

Solution. Move the constant terms to the right-hand side and write the system as $AX = B$ with

$$A = \begin{bmatrix}2&-3\\1&4\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}-1\\-3\end{bmatrix}.$$

The determinant is $|A| = (2)(4) – (-3)(1) = 11 \neq 0$, so $A^{-1}$ exists and the solution is unique, given by $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$.

For a $2\times 2$ matrix, $\operatorname{adj}A$ swaps the diagonal entries and changes the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}4&3\\-1&2\end{bmatrix}$. Hence

$$X = \frac{1}{11}\begin{bmatrix}4&3\\-1&2\end{bmatrix}\begin{bmatrix}-1\\-3\end{bmatrix} = \frac{1}{11}\begin{bmatrix}-13\\-5\end{bmatrix} = \begin{bmatrix}- \frac{13}{11}\\- \frac{5}{11}\end{bmatrix}.$$

$x = – \frac{13}{11},\ y = – \frac{5}{11}$

Question 14

Solve the following system of equations using matrix method:

$4x – 3y = 3$; $3x – 5y = 7$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}4&-3\\3&-5\end{bmatrix},\quad X = \begin{bmatrix}x\\y\end{bmatrix},\quad B = \begin{bmatrix}3\\7\end{bmatrix}.$$

The determinant is $|A| = (4)(-5) – (-3)(3) = -11 \neq 0$, so $A^{-1}$ exists and the solution is unique, given by $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$.

For a $2\times 2$ matrix, $\operatorname{adj}A$ swaps the diagonal entries and changes the signs of the other two: $\operatorname{adj}A = \begin{bmatrix}-5&3\\-3&4\end{bmatrix}$. Hence

$$X = \frac{1}{-11}\begin{bmatrix}-5&3\\-3&4\end{bmatrix}\begin{bmatrix}3\\7\end{bmatrix} = \frac{1}{-11}\begin{bmatrix}6\\19\end{bmatrix} = \begin{bmatrix}- \frac{6}{11}\\- \frac{19}{11}\end{bmatrix}.$$

$x = – \frac{6}{11},\ y = – \frac{19}{11}$

Question 15

Solve the following system of equations using matrix method:

$2x + 8y + 5z = 5$; $x + y + z = -2$; $x + 2y – z = 2$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}2&8&5\\1&1&1\\1&2&-1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}5\\-2\\2\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -3, C_{12} = 2, C_{13} = 1, C_{21} = 18, C_{22} = -7, C_{23} = 4, C_{31} = 3, C_{32} = 3, C_{33} = -6.$$

Expanding along the first row, $|A| = 2(-3) + (8)(2) + (5)(1) = 15$.

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

As $|A| = 15 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{15}\begin{bmatrix}-3&18&3\\2&-7&3\\1&4&-6\end{bmatrix}\begin{bmatrix}5\\-2\\2\end{bmatrix} = \frac{1}{15}\begin{bmatrix}-45\\30\\-15\end{bmatrix} = \begin{bmatrix}-3\\2\\-1\end{bmatrix}.$$

$x = -3,\ y = 2,\ z = -1$

Question 16

Solve the following system of equations using matrix method:

$x – y + z = 1$; $2x + y – z = 2$; $x – 2y – z = 4$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&-1&1\\2&1&-1\\1&-2&-1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}1\\2\\4\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -3, C_{12} = 1, C_{13} = -5, C_{21} = -3, C_{22} = -2, C_{23} = 1, C_{31} = 0, C_{32} = 3, C_{33} = 3.$$

Expanding along the first row, $|A| = 1(-3) + (-1)(1) + (1)(-5) = -9$.

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

As $|A| = -9 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-9}\begin{bmatrix}-3&-3&0\\1&-2&3\\-5&1&3\end{bmatrix}\begin{bmatrix}1\\2\\4\end{bmatrix} = \frac{1}{-9}\begin{bmatrix}-9\\9\\9\end{bmatrix} = \begin{bmatrix}1\\-1\\-1\end{bmatrix}.$$

$x = 1,\ y = -1,\ z = -1$

Question 17

Solve the following system of equations using matrix method:

$3x + 4y + 7z = 4$; $2x – y + 3z = -3$; $x + 2y – 3z = 8$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}3&4&7\\2&-1&3\\1&2&-3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}4\\-3\\8\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -3, C_{12} = 9, C_{13} = 5, C_{21} = 26, C_{22} = -16, C_{23} = -2, C_{31} = 19, C_{32} = 5, C_{33} = -11.$$

Expanding along the first row, $|A| = 3(-3) + (4)(9) + (7)(5) = 62$.

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}-3&26&19\\9&-16&5\\5&-2&-11\end{bmatrix}$.

As $|A| = 62 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{62}\begin{bmatrix}-3&26&19\\9&-16&5\\5&-2&-11\end{bmatrix}\begin{bmatrix}4\\-3\\8\end{bmatrix} = \frac{1}{62}\begin{bmatrix}62\\124\\-62\end{bmatrix} = \begin{bmatrix}1\\2\\-1\end{bmatrix}.$$

$x = 1,\ y = 2,\ z = -1$

Question 18

Solve the following system of equations using matrix method:

$x + 2y + z = 7$; $x + 3z = 11$; $2x – 3y = 1$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&2&1\\1&0&3\\2&-3&0\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}7\\11\\1\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 9, C_{12} = 6, C_{13} = -3, C_{21} = -3, C_{22} = -2, C_{23} = 7, C_{31} = 6, C_{32} = -2, C_{33} = -2.$$

Expanding along the first row, $|A| = 1(9) + (2)(6) + (1)(-3) = 18$.

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

As $|A| = 18 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{18}\begin{bmatrix}9&-3&6\\6&-2&-2\\-3&7&-2\end{bmatrix}\begin{bmatrix}7\\11\\1\end{bmatrix} = \frac{1}{18}\begin{bmatrix}36\\18\\54\end{bmatrix} = \begin{bmatrix}2\\1\\3\end{bmatrix}.$$

$x = 2,\ y = 1,\ z = 3$

Question 19

Solve the following system of equations using matrix method:

$2x – 3y + 5z = 16$; $3x + 2y – 4z = -4$; $x + y – 2z = -3$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}2&-3&5\\3&2&-4\\1&1&-2\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}16\\-4\\-3\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 0, C_{12} = 2, C_{13} = 1, C_{21} = -1, C_{22} = -9, C_{23} = -5, C_{31} = 2, C_{32} = 23, C_{33} = 13.$$

Expanding along the first row, $|A| = 2(0) + (-3)(2) + (5)(1) = -1$.

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

As $|A| = -1 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-1}\begin{bmatrix}0&-1&2\\2&-9&23\\1&-5&13\end{bmatrix}\begin{bmatrix}16\\-4\\-3\end{bmatrix} = \frac{1}{-1}\begin{bmatrix}-2\\-1\\-3\end{bmatrix} = \begin{bmatrix}2\\1\\3\end{bmatrix}.$$

$x = 2,\ y = 1,\ z = 3$

Question 20

Solve the following system of equations using matrix method:

$x + y + z = 4$; $2x – y + z = -1$; $2x + y – 3z = -9$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&1&1\\2&-1&1\\2&1&-3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}4\\-1\\-9\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 2, C_{12} = 8, C_{13} = 4, C_{21} = 4, C_{22} = -5, C_{23} = 1, C_{31} = 2, C_{32} = 1, C_{33} = -3.$$

Expanding along the first row, $|A| = 1(2) + (1)(8) + (1)(4) = 14$.

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

As $|A| = 14 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{14}\begin{bmatrix}2&4&2\\8&-5&1\\4&1&-3\end{bmatrix}\begin{bmatrix}4\\-1\\-9\end{bmatrix} = \frac{1}{14}\begin{bmatrix}-14\\28\\42\end{bmatrix} = \begin{bmatrix}-1\\2\\3\end{bmatrix}.$$

$x = -1,\ y = 2,\ z = 3$

Question 21

Solve the following system of equations using matrix method:

$2x – 3y + 5z = 11$; $3x + 2y – 4z = -5$; $x + y – 2z = -3$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}2&-3&5\\3&2&-4\\1&1&-2\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}11\\-5\\-3\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 0, C_{12} = 2, C_{13} = 1, C_{21} = -1, C_{22} = -9, C_{23} = -5, C_{31} = 2, C_{32} = 23, C_{33} = 13.$$

Expanding along the first row, $|A| = 2(0) + (-3)(2) + (5)(1) = -1$.

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

As $|A| = -1 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-1}\begin{bmatrix}0&-1&2\\2&-9&23\\1&-5&13\end{bmatrix}\begin{bmatrix}11\\-5\\-3\end{bmatrix} = \frac{1}{-1}\begin{bmatrix}-1\\-2\\-3\end{bmatrix} = \begin{bmatrix}1\\2\\3\end{bmatrix}.$$

$x = 1,\ y = 2,\ z = 3$

Question 22

Solve the following system of equations using matrix method:

$x + y + z = 1$; $x – 2y + 3z = 2$; $5x – 3y + z = 3$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&1&1\\1&-2&3\\5&-3&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}1\\2\\3\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 7, C_{12} = 14, C_{13} = 7, C_{21} = -4, C_{22} = -4, C_{23} = 8, C_{31} = 5, C_{32} = -2, C_{33} = -3.$$

Expanding along the first row, $|A| = 1(7) + (1)(14) + (1)(7) = 28$.

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

As $|A| = 28 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{28}\begin{bmatrix}7&-4&5\\14&-4&-2\\7&8&-3\end{bmatrix}\begin{bmatrix}1\\2\\3\end{bmatrix} = \frac{1}{28}\begin{bmatrix}14\\0\\14\end{bmatrix} = \begin{bmatrix}\frac{1}{2}\\0\\\frac{1}{2}\end{bmatrix}.$$

$x = \frac{1}{2},\ y = 0,\ z = \frac{1}{2}$

Question 23

Solve the following system of equations using matrix method:

$x + y + z = 6$; $x + 2z = 7$; $3x + y + z = 12$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&1&1\\1&0&2\\3&1&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}6\\7\\12\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -2, C_{12} = 5, C_{13} = 1, C_{21} = 0, C_{22} = -2, C_{23} = 2, C_{31} = 2, C_{32} = -1, C_{33} = -1.$$

Expanding along the first row, $|A| = 1(-2) + (1)(5) + (1)(1) = 4$.

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

As $|A| = 4 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{4}\begin{bmatrix}-2&0&2\\5&-2&-1\\1&2&-1\end{bmatrix}\begin{bmatrix}6\\7\\12\end{bmatrix} = \frac{1}{4}\begin{bmatrix}12\\4\\8\end{bmatrix} = \begin{bmatrix}3\\1\\2\end{bmatrix}.$$

$x = 3,\ y = 1,\ z = 2$

Question 24

Solve the following system of equations using matrix method:

$2x + 3y + 3z = 5$; $x – 2y + z = -4$; $3x – y – 2z = 3$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}2&3&3\\1&-2&1\\3&-1&-2\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}5\\-4\\3\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 5, C_{12} = 5, C_{13} = 5, C_{21} = 3, C_{22} = -13, C_{23} = 11, C_{31} = 9, C_{32} = 1, C_{33} = -7.$$

Expanding along the first row, $|A| = 2(5) + (3)(5) + (3)(5) = 40$.

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

As $|A| = 40 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{40}\begin{bmatrix}5&3&9\\5&-13&1\\5&11&-7\end{bmatrix}\begin{bmatrix}5\\-4\\3\end{bmatrix} = \frac{1}{40}\begin{bmatrix}40\\80\\-40\end{bmatrix} = \begin{bmatrix}1\\2\\-1\end{bmatrix}.$$

$x = 1,\ y = 2,\ z = -1$

Question 25

Solve the following system of equations using matrix method:

$4x – 5y – 11z = 12$; $x – 3y + z = 1$; $2x + 3y – 7z = 2$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}4&-5&-11\\1&-3&1\\2&3&-7\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}12\\1\\2\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 18, C_{12} = 9, C_{13} = 9, C_{21} = -68, C_{22} = -6, C_{23} = -22, C_{31} = -38, C_{32} = -15, C_{33} = -7.$$

Expanding along the first row, $|A| = 4(18) + (-5)(9) + (-11)(9) = -72$.

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}18&-68&-38\\9&-6&-15\\9&-22&-7\end{bmatrix}$.

As $|A| = -72 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-72}\begin{bmatrix}18&-68&-38\\9&-6&-15\\9&-22&-7\end{bmatrix}\begin{bmatrix}12\\1\\2\end{bmatrix} = \frac{1}{-72}\begin{bmatrix}72\\72\\72\end{bmatrix} = \begin{bmatrix}-1\\-1\\-1\end{bmatrix}.$$

$x = -1,\ y = -1,\ z = -1$

Question 26

Solve the following system of equations using matrix method:

$x – y + 2z = 7$; $3x + 4y – 5z = -5$; $2x – y + 3z = 12$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&-1&2\\3&4&-5\\2&-1&3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}7\\-5\\12\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 7, C_{12} = -19, C_{13} = -11, C_{21} = 1, C_{22} = -1, C_{23} = -1, C_{31} = -3, C_{32} = 11, C_{33} = 7.$$

Expanding along the first row, $|A| = 1(7) + (-1)(-19) + (2)(-11) = 4$.

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

As $|A| = 4 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{4}\begin{bmatrix}7&1&-3\\-19&-1&11\\-11&-1&7\end{bmatrix}\begin{bmatrix}7\\-5\\12\end{bmatrix} = \frac{1}{4}\begin{bmatrix}8\\4\\12\end{bmatrix} = \begin{bmatrix}2\\1\\3\end{bmatrix}.$$

$x = 2,\ y = 1,\ z = 3$

Question 27

Solve the following system of equations using matrix method:

$6x – 9y – 20z = -4$; $4x – 15y + 10z = -1$; $2x – 3y – 5z = -1$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}6&-9&-20\\4&-15&10\\2&-3&-5\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}-4\\-1\\-1\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 105, C_{12} = 40, C_{13} = 18, C_{21} = 15, C_{22} = 10, C_{23} = 0, C_{31} = -390, C_{32} = -140, C_{33} = -54.$$

Expanding along the first row, $|A| = 6(105) + (-9)(40) + (-20)(18) = -90$.

The adjoint is the transpose of the cofactor matrix: $\operatorname{adj}A = \begin{bmatrix}105&15&-390\\40&10&-140\\18&0&-54\end{bmatrix}$.

As $|A| = -90 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-90}\begin{bmatrix}105&15&-390\\40&10&-140\\18&0&-54\end{bmatrix}\begin{bmatrix}-4\\-1\\-1\end{bmatrix} = \frac{1}{-90}\begin{bmatrix}-45\\-30\\-18\end{bmatrix} = \begin{bmatrix}\frac{1}{2}\\\frac{1}{3}\\\frac{1}{5}\end{bmatrix}.$$

$x = \frac{1}{2},\ y = \frac{1}{3},\ z = \frac{1}{5}$

Question 28

Solve the following system of equations using matrix method:

$3x – 4y + 2z = -1$; $2x + 3y + 5z = 7$; $x + z = 2$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}3&-4&2\\2&3&5\\1&0&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}-1\\7\\2\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 3, C_{12} = 3, C_{13} = -3, C_{21} = 4, C_{22} = 1, C_{23} = -4, C_{31} = -26, C_{32} = -11, C_{33} = 17.$$

Expanding along the first row, $|A| = 3(3) + (-4)(3) + (2)(-3) = -9$.

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

As $|A| = -9 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-9}\begin{bmatrix}3&4&-26\\3&1&-11\\-3&-4&17\end{bmatrix}\begin{bmatrix}-1\\7\\2\end{bmatrix} = \frac{1}{-9}\begin{bmatrix}-27\\-18\\9\end{bmatrix} = \begin{bmatrix}3\\2\\-1\end{bmatrix}.$$

$x = 3,\ y = 2,\ z = -1$

Question 29

Solve the following system of equations using matrix method:

$x + y – z = 1$; $3x + y – 2z = 3$; $x – y – z = -1$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&1&-1\\3&1&-2\\1&-1&-1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}1\\3\\-1\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -3, C_{12} = 1, C_{13} = -4, C_{21} = 2, C_{22} = 0, C_{23} = 2, C_{31} = -1, C_{32} = -1, C_{33} = -2.$$

Expanding along the first row, $|A| = 1(-3) + (1)(1) + (-1)(-4) = 2$.

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

As $|A| = 2 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{2}\begin{bmatrix}-3&2&-1\\1&0&-1\\-4&2&-2\end{bmatrix}\begin{bmatrix}1\\3\\-1\end{bmatrix} = \frac{1}{2}\begin{bmatrix}4\\2\\4\end{bmatrix} = \begin{bmatrix}2\\1\\2\end{bmatrix}.$$

$x = 2,\ y = 1,\ z = 2$

Question 30

Solve the following system of equations using matrix method:

$2x + y – z = 1$; $x – y + z = 2$; $3x + y – 2z = -1$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}2&1&-1\\1&-1&1\\3&1&-2\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}1\\2\\-1\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 1, C_{12} = 5, C_{13} = 4, C_{21} = 1, C_{22} = -1, C_{23} = 1, C_{31} = 0, C_{32} = -3, C_{33} = -3.$$

Expanding along the first row, $|A| = 2(1) + (1)(5) + (-1)(4) = 3$.

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

As $|A| = 3 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{3}\begin{bmatrix}1&1&0\\5&-1&-3\\4&1&-3\end{bmatrix}\begin{bmatrix}1\\2\\-1\end{bmatrix} = \frac{1}{3}\begin{bmatrix}3\\6\\9\end{bmatrix} = \begin{bmatrix}1\\2\\3\end{bmatrix}.$$

$x = 1,\ y = 2,\ z = 3$

Question 31

Solve the following system of equations using matrix method:

$x + 2y + z = 4$; $-x + y + z = 0$; $x – 3y + z = 4$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&2&1\\-1&1&1\\1&-3&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}4\\0\\4\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 4, C_{12} = 2, C_{13} = 2, C_{21} = -5, C_{22} = 0, C_{23} = 5, C_{31} = 1, C_{32} = -2, C_{33} = 3.$$

Expanding along the first row, $|A| = 1(4) + (2)(2) + (1)(2) = 10$.

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

As $|A| = 10 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{10}\begin{bmatrix}4&-5&1\\2&0&-2\\2&5&3\end{bmatrix}\begin{bmatrix}4\\0\\4\end{bmatrix} = \frac{1}{10}\begin{bmatrix}20\\0\\20\end{bmatrix} = \begin{bmatrix}2\\0\\2\end{bmatrix}.$$

$x = 2,\ y = 0,\ z = 2$

Question 32

Solve the following system of equations using matrix method:

$x – y – 2z = 3$; $x + y = 1$; $x + z = -6$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&-1&-2\\1&1&0\\1&0&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}3\\1\\-6\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 1, C_{12} = -1, C_{13} = -1, C_{21} = 1, C_{22} = 3, C_{23} = -1, C_{31} = 2, C_{32} = -2, C_{33} = 2.$$

Expanding along the first row, $|A| = 1(1) + (-1)(-1) + (-2)(-1) = 4$.

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

As $|A| = 4 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{4}\begin{bmatrix}1&1&2\\-1&3&-2\\-1&-1&2\end{bmatrix}\begin{bmatrix}3\\1\\-6\end{bmatrix} = \frac{1}{4}\begin{bmatrix}-8\\12\\-16\end{bmatrix} = \begin{bmatrix}-2\\3\\-4\end{bmatrix}.$$

$x = -2,\ y = 3,\ z = -4$

Question 33

Solve the following system of equations using matrix method:

$5x – y = -7$; $2x + 3z = 1$; $3y – z = 5$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}5&-1&0\\2&0&3\\0&3&-1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}-7\\1\\5\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -9, C_{12} = 2, C_{13} = 6, C_{21} = -1, C_{22} = -5, C_{23} = -15, C_{31} = -3, C_{32} = -15, C_{33} = 2.$$

Expanding along the first row, $|A| = 5(-9) + (-1)(2) + (0)(6) = -47$.

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

As $|A| = -47 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-47}\begin{bmatrix}-9&-1&-3\\2&-5&-15\\6&-15&2\end{bmatrix}\begin{bmatrix}-7\\1\\5\end{bmatrix} = \frac{1}{-47}\begin{bmatrix}47\\-94\\-47\end{bmatrix} = \begin{bmatrix}-1\\2\\1\end{bmatrix}.$$

$x = -1,\ y = 2,\ z = 1$

Question 34

Solve the following system of equations using matrix method:

$x – 2y + z = 0$; $y – z = 2$; $2x – 3z = 10$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&-2&1\\0&1&-1\\2&0&-3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}0\\2\\10\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = -3, C_{12} = -2, C_{13} = -2, C_{21} = -6, C_{22} = -5, C_{23} = -4, C_{31} = 1, C_{32} = 1, C_{33} = 1.$$

Expanding along the first row, $|A| = 1(-3) + (-2)(-2) + (1)(-2) = -1$.

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

As $|A| = -1 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{-1}\begin{bmatrix}-3&-6&1\\-2&-5&1\\-2&-4&1\end{bmatrix}\begin{bmatrix}0\\2\\10\end{bmatrix} = \frac{1}{-1}\begin{bmatrix}-2\\0\\2\end{bmatrix} = \begin{bmatrix}2\\0\\-2\end{bmatrix}.$$

$x = 2,\ y = 0,\ z = -2$

Question 35

Solve the following system of equations using matrix method:

$x – y = 3$; $2x + 3y + 4z = 17$; $y + 2z = 7$.

Solution. Where an unknown is missing from an equation its coefficient is $0$. Write the system as $AX = B$ with

$$A = \begin{bmatrix}1&-1&0\\2&3&4\\0&1&2\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}3\\17\\7\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 2, C_{12} = -4, C_{13} = 2, C_{21} = 2, C_{22} = 2, C_{23} = -1, C_{31} = -4, C_{32} = -4, C_{33} = 5.$$

Expanding along the first row, $|A| = 1(2) + (-1)(-4) + (0)(2) = 6$.

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

As $|A| = 6 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{6}\begin{bmatrix}2&2&-4\\-4&2&-4\\2&-1&5\end{bmatrix}\begin{bmatrix}3\\17\\7\end{bmatrix} = \frac{1}{6}\begin{bmatrix}12\\-6\\24\end{bmatrix} = \begin{bmatrix}2\\-1\\4\end{bmatrix}.$$

$x = 2,\ y = -1,\ z = 4$

Question 36

Solve the following system of equations using matrix method:

$4x + 3y + 2z = 60$; $x + 2y + 3z = 45$; $6x + 2y + 3z = 70$.

Solution. Write the system as $AX = B$ with

$$A = \begin{bmatrix}4&3&2\\1&2&3\\6&2&3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}60\\45\\70\end{bmatrix}.$$

The cofactors of $A$ are $$C_{11} = 0, C_{12} = 15, C_{13} = -10, C_{21} = -5, C_{22} = 0, C_{23} = 10, C_{31} = 5, C_{32} = -10, C_{33} = 5.$$

Expanding along the first row, $|A| = 4(0) + (3)(15) + (2)(-10) = 25$.

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

As $|A| = 25 \neq 0$, $A^{-1}$ exists and the solution is unique: $X = A^{-1}B = \dfrac{1}{|A|}\operatorname{adj}A\,B$. Therefore

$$X = \frac{1}{25}\begin{bmatrix}0&-5&5\\15&0&-10\\-10&10&5\end{bmatrix}\begin{bmatrix}60\\45\\70\end{bmatrix} = \frac{1}{25}\begin{bmatrix}125\\200\\200\end{bmatrix} = \begin{bmatrix}5\\8\\8\end{bmatrix}.$$

$x = 5,\ y = 8,\ z = 8$

Question 37

Find the inverse of $A = \begin{bmatrix}2&-3&5\\3&2&-4\\1&1&-2\end{bmatrix}$ and use it to solve

$2x – 3y + 5z = 11$; $3x + 2y – 4z = -5$; $x + y – 2z = -3$.

Solution. The cofactors are $$C_{11} = 0, C_{12} = 2, C_{13} = 1, C_{21} = -1, C_{22} = -9, C_{23} = -5, C_{31} = 2, C_{32} = 23, C_{33} = 13.$$

Expanding along the first row, $|A| = 2(0) + (-3)(2) + 5(1) = -1$, which is non-zero, so $A^{-1}$ exists. With $\operatorname{adj}A$ the transpose of the cofactor matrix,

$$A^{-1} = \frac{1}{-1}\begin{bmatrix}0&-1&2\\2&-9&23\\1&-5&13\end{bmatrix} = \begin{bmatrix}0&1&-2\\-2&9&-23\\-1&5&-13\end{bmatrix}.$$

The system is $AX = B$ with $X = \begin{bmatrix}x\\y\\z\end{bmatrix}$ and $B = \begin{bmatrix}11\\-5\\-3\end{bmatrix}$, so $X = A^{-1}B$:

$$X = \begin{bmatrix}0&1&-2\\-2&9&-23\\-1&5&-13\end{bmatrix}\begin{bmatrix}11\\-5\\-3\end{bmatrix} = \begin{bmatrix}1\\2\\3\end{bmatrix}.$$

$A^{-1} = \begin{bmatrix}0&1&-2\\-2&9&-23\\-1&5&-13\end{bmatrix}$; $x = 1,\ y = 2,\ z = 3$

Question 38

Find $A^{-1}$ for $A = \begin{bmatrix}2&1&1\\1&-2&-1\\0&3&-5\end{bmatrix}$, then use it to solve

$2x + y + z = 1$; $x – 2y – z = \dfrac{3}{2}$; $3y – 5z = 9$.

Solution. The cofactors are $$C_{11} = 13, C_{12} = 5, C_{13} = 3, C_{21} = 8, C_{22} = -10, C_{23} = -6, C_{31} = 1, C_{32} = 3, C_{33} = -5.$$

Expanding along the first row, $|A| = 2(13) + 1(5) + 1(3) = 34\neq 0$. Taking the transpose of the cofactor matrix,

$$A^{-1} = \frac{1}{34}\begin{bmatrix}13&8&1\\5&-10&3\\3&-6&-5\end{bmatrix}.$$

In the form $AX = B$ the right-hand side is $B = \begin{bmatrix}1\\\frac{3}{2}\\9\end{bmatrix}$. Then

$$X = A^{-1}B = \frac{1}{34}\begin{bmatrix}13&8&1\\5&-10&3\\3&-6&-5\end{bmatrix}\begin{bmatrix}1\\\frac{3}{2}\\9\end{bmatrix} = \frac{1}{34}\begin{bmatrix}34\\17\\-51\end{bmatrix} = \begin{bmatrix}1\\\frac{1}{2}\\- \frac{3}{2}\end{bmatrix}.$$

$A^{-1} = \dfrac{1}{34}\begin{bmatrix}13&8&1\\5&-10&3\\3&-6&-5\end{bmatrix}$; $x = 1,\ y = \dfrac12,\ z = -\dfrac32$

Question 39

Multiply $A = \begin{bmatrix}1&-2&0\\2&1&3\\0&-2&1\end{bmatrix}$ by $B = \begin{bmatrix}7&2&-6\\-2&1&-3\\-4&2&5\end{bmatrix}$. Then use the result to solve $x – 2y = 10$, $2x + y + 3z = 8$, $-2y + z = 7$.

Solution. Multiplying row by column,

$$AB = \begin{bmatrix}11&0&0\\0&11&0\\0&0&11\end{bmatrix} = 11I.$$

So $A\cdot\dfrac{1}{11}B = I$, which tells us $A^{-1} = \dfrac{1}{11}B$. The given equations are exactly $AX = C$ with $A$ as above, $X = \begin{bmatrix}x\\y\\z\end{bmatrix}$ and $C = \begin{bmatrix}10\\8\\7\end{bmatrix}$. Hence

$$X = A^{-1}C = \frac{1}{11}\begin{bmatrix}7&2&-6\\-2&1&-3\\-4&2&5\end{bmatrix}\begin{bmatrix}10\\8\\7\end{bmatrix} = \frac{1}{11}\begin{bmatrix}44\\-33\\11\end{bmatrix} = \begin{bmatrix}4\\-3\\1\end{bmatrix}.$$

$AB = 11I$; $x = 4,\ y = -3,\ z = 1$

Question 40

Solve by matrices (take $x, y, z \neq 0$):

$\dfrac{2}{x} – \dfrac{3}{y} + \dfrac{3}{z} = 10$, $\dfrac{1}{x} + \dfrac{1}{y} + \dfrac{1}{z} = 10$, $\dfrac{3}{x} – \dfrac{1}{y} + \dfrac{2}{z} = 13$.

Solution. The unknowns appear as $\frac1x,\frac1y,\frac1z$, so put $u = \frac1x$, $v = \frac1y$, $w = \frac1z$. This turns the equations into a linear system $AU = B$ with

$$A = \begin{bmatrix}2&-3&3\\1&1&1\\3&-1&2\end{bmatrix},\quad U = \begin{bmatrix}u\\v\\w\end{bmatrix},\quad B = \begin{bmatrix}10\\10\\13\end{bmatrix}.$$

Cofactors: $$C_{11} = 3, C_{12} = 1, C_{13} = -4, C_{21} = 3, C_{22} = -5, C_{23} = -7, C_{31} = -6, C_{32} = 1, C_{33} = 5.$$

First-row expansion gives $|A| = 2(3) + (-3)(1) + (3)(-4) = -9\neq 0$, so

$$U = \frac{1}{-9}\begin{bmatrix}3&3&-6\\1&-5&1\\-4&-7&5\end{bmatrix}\begin{bmatrix}10\\10\\13\end{bmatrix} = \frac{1}{-9}\begin{bmatrix}-18\\-27\\-45\end{bmatrix} = \begin{bmatrix}2\\3\\5\end{bmatrix}.$$

So $u = 2$, $v = 3$, $w = 5$, and taking reciprocals gives $x = \frac{1}{2}$, $y = \frac{1}{3}$, $z = \frac{1}{5}$.

$x = \frac{1}{2},\ y = \frac{1}{3},\ z = \frac{1}{5}$

Question 41

Use matrices to find $x, y, z$ (all non-zero) from

$\dfrac{1}{x} – \dfrac{1}{y} + \dfrac{1}{z} = 4$; $\dfrac{2}{x} + \dfrac{1}{y} – \dfrac{3}{z} = 0$; $\dfrac{1}{x} + \dfrac{1}{y} + \dfrac{1}{z} = 2$.

Solution. The unknowns appear as $\frac1x,\frac1y,\frac1z$, so put $u = \frac1x$, $v = \frac1y$, $w = \frac1z$. This turns the equations into a linear system $AU = B$ with

$$A = \begin{bmatrix}1&-1&1\\2&1&-3\\1&1&1\end{bmatrix},\quad U = \begin{bmatrix}u\\v\\w\end{bmatrix},\quad B = \begin{bmatrix}4\\0\\2\end{bmatrix}.$$

Cofactors: $$C_{11} = 4, C_{12} = -5, C_{13} = 1, C_{21} = 2, C_{22} = 0, C_{23} = -2, C_{31} = 2, C_{32} = 5, C_{33} = 3.$$

First-row expansion gives $|A| = 1(4) + (-1)(-5) + (1)(1) = 10\neq 0$, so

$$U = \frac{1}{10}\begin{bmatrix}4&2&2\\-5&0&5\\1&-2&3\end{bmatrix}\begin{bmatrix}4\\0\\2\end{bmatrix} = \frac{1}{10}\begin{bmatrix}20\\-10\\10\end{bmatrix} = \begin{bmatrix}2\\-1\\1\end{bmatrix}.$$

So $u = 2$, $v = -1$, $w = 1$, and taking reciprocals gives $x = \frac{1}{2}$, $y = -1$, $z = 1$.

$x = \frac{1}{2},\ y = -1,\ z = 1$

Question 42

Three numbers add up to $2$. Doubling the second number and adding the other two gives $1$, while five times the first plus the second and third numbers gives $6$. Find the numbers with the help of matrices.

Solution. Let the numbers be $x$, $y$, $z$. The three conditions are $x + y + z = 2$, $x + 2y + z = 1$ and $5x + y + z = 6$, that is $AX = B$ with

$$A = \begin{bmatrix}1&1&1\\1&2&1\\5&1&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}2\\1\\6\end{bmatrix}.$$

Cofactors: $$C_{11} = 1, C_{12} = 4, C_{13} = -9, C_{21} = 0, C_{22} = -4, C_{23} = 4, C_{31} = -1, C_{32} = 0, C_{33} = 1.$$

First-row expansion gives $|A| = 1(1) + (1)(4) + (1)(-9) = -4\neq 0$, so a unique solution exists and

$$X = \frac{1}{-4}\begin{bmatrix}1&0&-1\\4&-4&0\\-9&4&1\end{bmatrix}\begin{bmatrix}2\\1\\6\end{bmatrix} = \frac{1}{-4}\begin{bmatrix}-4\\4\\-8\end{bmatrix} = \begin{bmatrix}1\\-1\\2\end{bmatrix}.$$

The numbers are $1,\ -1,\ 2$

Question 43

Potatoes, wheat and rice are sold per kilogram. A purchase of $4$ kg potato, $3$ kg wheat and $2$ kg rice costs ₹ $60$; $1$ kg, $2$ kg and $3$ kg of the same three costs ₹ $45$; and $6$ kg, $2$ kg and $3$ kg costs ₹ $70$. Use matrices to find the price per kg of each item.

Solution. Let potato, wheat and rice cost ₹ $x$, ₹ $y$ and ₹ $z$ per kg. The three bills give $4x + 3y + 2z = 60$, $x + 2y + 3z = 45$ and $6x + 2y + 3z = 70$, that is $AX = B$ with

$$A = \begin{bmatrix}4&3&2\\1&2&3\\6&2&3\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}60\\45\\70\end{bmatrix}.$$

Cofactors: $$C_{11} = 0, C_{12} = 15, C_{13} = -10, C_{21} = -5, C_{22} = 0, C_{23} = 10, C_{31} = 5, C_{32} = -10, C_{33} = 5.$$

First-row expansion gives $|A| = 4(0) + (3)(15) + (2)(-10) = 25\neq 0$, so a unique solution exists and

$$X = \frac{1}{25}\begin{bmatrix}0&-5&5\\15&0&-10\\-10&10&5\end{bmatrix}\begin{bmatrix}60\\45\\70\end{bmatrix} = \frac{1}{25}\begin{bmatrix}125\\200\\200\end{bmatrix} = \begin{bmatrix}5\\8\\8\end{bmatrix}.$$

Potato ₹ $5$ per kg, wheat ₹ $8$ per kg, rice ₹ $8$ per kg

Question 44

A sum of ₹ $5000$ is divided among three investments that pay $6\%$, $7\%$ and $8\%$ a year. The three together earn ₹ $358$ a year, and the first two together earn ₹ $70$ more than the third. Using matrices, find the amount placed in each.

Solution. Let the amounts be ₹ $x$, ₹ $y$, ₹ $z$ at $6\%$, $7\%$, $8\%$. The total gives $x + y + z = 5000$. The yearly income is $0.06x + 0.07y + 0.08z = 358$, which after multiplying by $100$ is $6x + 7y + 8z = 35800$. The income condition “first two exceed the third by $70$” reads $0.06x + 0.07y = 0.08z + 70$, i.e. $6x + 7y – 8z = 7000$. So $AX = B$ with

$$A = \begin{bmatrix}1&1&1\\6&7&8\\6&7&-8\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}5000\\35800\\7000\end{bmatrix}.$$

Cofactors: $$C_{11} = -112, C_{12} = 96, C_{13} = 0, C_{21} = 15, C_{22} = -14, C_{23} = -1, C_{31} = 1, C_{32} = -2, C_{33} = 1.$$

First-row expansion gives $|A| = 1(-112) + (1)(96) + (1)(0) = -16\neq 0$, so a unique solution exists and

$$X = \frac{1}{-16}\begin{bmatrix}-112&15&1\\96&-14&-2\\0&-1&1\end{bmatrix}\begin{bmatrix}5000\\35800\\7000\end{bmatrix} = \frac{1}{-16}\begin{bmatrix}-16000\\-35200\\-28800\end{bmatrix} = \begin{bmatrix}1000\\2200\\1800\end{bmatrix}.$$

Check: the incomes are ₹ $60$, ₹ $154$ and ₹ $144$; they total ₹ $358$, and $60 + 154 = 214 = 144 + 70$.

₹ $1000$ at $6\%$, ₹ $2200$ at $7\%$, ₹ $1800$ at $8\%$

Question 45

Two schools, A and B, wish to reward students for sincerity, truthfulness and helpfulness, giving ₹ $x$, ₹ $y$ and ₹ $z$ per student for the three values respectively. School A rewards $3$, $2$ and $1$ students for the three values and spends ₹ $1600$. School B rewards $4$, $1$ and $3$ students and spends ₹ $2300$. One prize for each of the three values costs ₹ $900$ in all. Find the three amounts using matrices, and suggest one further value that deserves a reward.

Solution. The two schools’ spending and the one-prize total give $3x + 2y + z = 1600$, $4x + y + 3z = 2300$ and $x + y + z = 900$, that is $AX = B$ with

$$A = \begin{bmatrix}3&2&1\\4&1&3\\1&1&1\end{bmatrix},\quad X = \begin{bmatrix}x\\y\\z\end{bmatrix},\quad B = \begin{bmatrix}1600\\2300\\900\end{bmatrix}.$$

Cofactors: $$C_{11} = -2, C_{12} = -1, C_{13} = 3, C_{21} = -1, C_{22} = 2, C_{23} = -1, C_{31} = 5, C_{32} = -5, C_{33} = -5.$$

First-row expansion gives $|A| = 3(-2) + (2)(-1) + (1)(3) = -5\neq 0$, so a unique solution exists and

$$X = \frac{1}{-5}\begin{bmatrix}-2&-1&5\\-1&2&-5\\3&-1&-5\end{bmatrix}\begin{bmatrix}1600\\2300\\900\end{bmatrix} = \frac{1}{-5}\begin{bmatrix}-1000\\-1500\\-2000\end{bmatrix} = \begin{bmatrix}200\\300\\400\end{bmatrix}.$$

Sincerity ₹ $200$, truthfulness ₹ $300$, helpfulness ₹ $400$. A further value worth rewarding: honesty in dealings, kindness or punctuality.

Common mistakes

  • Concluding “inconsistent” from $|A| = 0$ alone. A singular matrix can give either no solution or infinitely many. Only $(\operatorname{adj}A)B \neq O$ settles it as no solution, so the second check must always be shown.
  • Using the wrong signs in the cofactors. The sign of the $(i, j)$ cofactor is $(-1)^{i+j}$, a chessboard pattern starting with $+$ at the top left. One slipped sign changes the whole inverse and the answer, yet the determinant can still look plausible.
  • Forgetting to transpose. $\operatorname{adj}A$ is the transpose of the cofactor matrix, not the cofactor matrix itself. Writing cofactors in place without transposing gives $(A^{-1})^{T}$ and a wrong solution.
  • Multiplying in the wrong order. The solution is $X = A^{-1}B$, never $BA^{-1}$; the column $B$ cannot be placed on the left of a $3 \times 3$ matrix.
  • Skipping zero coefficients. When an unknown is missing from an equation, its entry in $A$ is $0$, not something to leave out. Dropping it shifts every later entry in the row.
  • Substituting back wrongly in the reciprocal systems (Questions 40, 41). After finding $u, v, w$ the answers are $x = 1/u$, $y = 1/v$, $z = 1/w$. Quoting $u, v, w$ themselves as the answer is the usual slip.

Practise next

  • Continue with the objective questions at the end of this chapter, which test the matrix and determinant rules behind this method.
  • Rewrite Question 43 with different prices per kilogram and re-solve it, so the matrix set-up becomes automatic.

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

Subscribe