Exercise 2.5 Solutions – 11th Class Math Federal Board (Row and Column Operations)

Exercise 2.5 solutions thumbnail for 11th class math Federal Board chapter 2 (Matrices and Determinants) showing the key formulas of the exercise

Exercise 2.5 (Row and Column Operations) of Chapter 2: Matrices and Determinants, 11th class Mathematics, Federal Board (FBISE). All 3 questions are worked step by step, with the final answers highlighted.

Worked textbook questions

Tap a question to open or close it.
Question 1First reduce each of the following matrices into echelon form then into reduced echelon form.
Formula used

Use elementary row operations: swap rows ($R_{ij}$), multiply a row by a nonzero number, or add a multiple of one row to another.

In echelon form, every nonzero row starts with a leading $1$. These leading $1$s move to the right as you go down, and any zero rows are at the bottom.

In reduced echelon form, also make every entry above each leading $1$ zero.

(i) $\begin{bmatrix}1&3&5\\-6&8&3\\-4&6&5\end{bmatrix}$

Sol:

Use the first leading $1$ to clear column $1$ below it. Then make a leading $1$ in column $2$.

Replace row $2$ with $R_2+6R_1$.

$$\begin{bmatrix}1&3&5\\0&26&33\\-4&6&5\end{bmatrix}.$$

Replace row $3$ with $R_3+4R_1$.

$$\begin{bmatrix}1&3&5\\0&26&33\\0&18&25\end{bmatrix}.$$

Replace row $2$ with $\frac{1}{26}R_2$.

$$\begin{bmatrix}1&3&5\\0&1&\frac{33}{26}\\0&18&25\end{bmatrix}.$$

Replace row $3$ with $R_3-18R_2$.

$$\begin{bmatrix}1&3&5\\0&1&\frac{33}{26}\\0&0&\frac{28}{13}\end{bmatrix}.$$

Replace row $3$ with $\frac{13}{28}R_3$.

$$\begin{bmatrix}1&3&5\\0&1&\frac{33}{26}\\0&0&1\end{bmatrix}.$$

This is an echelon form. Use the leading $1$s to clear the entries above them.

Replace row $1$ with $R_1-5R_3$.

$$\begin{bmatrix}1&3&0\\0&1&\frac{33}{26}\\0&0&1\end{bmatrix}.$$

Replace row $2$ with $R_2-\frac{33}{26}R_3$.

$$\begin{bmatrix}1&3&0\\0&1&0\\0&0&1\end{bmatrix}.$$

Replace row $1$ with $R_1-3R_2$.

$$\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}.$$
Common mistake / Note: The answer key shows different echelon forms in Question 1. An echelon form is not unique: it depends on the row operations used. The reduced echelon form is unique, and those agree with the key.
Answer Echelon form $\begin{bmatrix}1&3&5\\0&1&\frac{33}{26}\\0&0&1\end{bmatrix}$.
Reduced echelon form $\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}$.

(ii) $\begin{bmatrix}2&1\\3&2\\1&9\end{bmatrix}$

Sol:

First use the $2$ in row $1$ to clear the entries below it. Scale the two pivot rows so their leading entries become $1$.

Replace row $2$ with $R_2-\frac{3}{2}R_1$.

$$\begin{bmatrix}2&1\\0&\frac{1}{2}\\1&9\end{bmatrix}.$$

Replace row $3$ with $R_3-\frac{1}{2}R_1$.

$$\begin{bmatrix}2&1\\0&\frac{1}{2}\\0&\frac{17}{2}\end{bmatrix}.$$

Replace row $2$ with $2R_2$.

$$\begin{bmatrix}2&1\\0&1\\0&\frac{17}{2}\end{bmatrix}.$$

Replace row $3$ with $R_3-\frac{17}{2}R_2$.

$$\begin{bmatrix}2&1\\0&1\\0&0\end{bmatrix}.$$

Replace row $1$ with $\frac{1}{2}R_1$.

$$\begin{bmatrix}1&\frac{1}{2}\\0&1\\0&0\end{bmatrix}.$$

This is an echelon form. Use the leading $1$s to clear the entries above them.

Replace row $1$ with $R_1-\frac{1}{2}R_2$.

$$\begin{bmatrix}1&0\\0&1\\0&0\end{bmatrix}.$$

The minor formed by the first two rows is $2(2)-1(3)=1$. This confirms that both columns have pivots.

Answer Echelon form $\begin{bmatrix}1&\frac{1}{2}\\0&1\\0&0\end{bmatrix}$.
Reduced echelon form $\begin{bmatrix}1&0\\0&1\\0&0\end{bmatrix}$.

(iii) $\begin{bmatrix}2&-1&0\\4&7&8\\-3&1&3\end{bmatrix}$

Sol:

Clear column $1$ below the first row. Multiply row $3$ by $2$ so its second entry becomes $-1$.

Replace row $2$ with $R_2-2R_1$.

$$\begin{bmatrix}2&-1&0\\0&9&8\\-3&1&3\end{bmatrix}.$$

Replace row $3$ with $R_3+\frac{3}{2}R_1$.

$$\begin{bmatrix}2&-1&0\\0&9&8\\0&-\frac{1}{2}&3\end{bmatrix}.$$

Replace row $3$ with $2R_3$.

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

Replace row $3$ with $R_3+\frac{1}{9}R_2$.

$$\begin{bmatrix}2&-1&0\\0&9&8\\0&0&\frac{62}{9}\end{bmatrix}.$$

Replace row $3$ with $\frac{9}{62}R_3$.

$$\begin{bmatrix}2&-1&0\\0&9&8\\0&0&1\end{bmatrix}.$$

Replace row $1$ with $\frac{1}{2}R_1$.

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

Replace row $2$ with $\frac{1}{9}R_2$.

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

This is an echelon form. Use the leading $1$s to clear the entries above them.

Replace row $2$ with $R_2-\frac{8}{9}R_3$.

$$\begin{bmatrix}1&-\frac{1}{2}&0\\0&1&0\\0&0&1\end{bmatrix}.$$

Replace row $1$ with $R_1+\frac{1}{2}R_2$.

$$\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}.$$

The original determinant is $62$. This confirms that there are three pivots and that the reduced form is $I$.

Answer Echelon form $\begin{bmatrix}1&-\frac{1}{2}&0\\0&1&\frac{8}{9}\\0&0&1\end{bmatrix}$.
Reduced echelon form $\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}$.

(iv) $\begin{bmatrix}2&-4&3\\4&1&8\\7&3&0\end{bmatrix}$

Sol:

Scale row $1$ by $1/2$. Use it to clear the first column and then use row $2$ to clear the second column below the pivot.

Replace row $1$ with $\frac{1}{2}R_1$.

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

Replace row $2$ with $R_2-4R_1$.

$$\begin{bmatrix}1&-2&\frac{3}{2}\\0&9&2\\7&3&0\end{bmatrix}.$$

Replace row $3$ with $R_3-7R_1$.

$$\begin{bmatrix}1&-2&\frac{3}{2}\\0&9&2\\0&17&-\frac{21}{2}\end{bmatrix}.$$

Replace row $2$ with $\frac{1}{9}R_2$.

$$\begin{bmatrix}1&-2&\frac{3}{2}\\0&1&\frac{2}{9}\\0&17&-\frac{21}{2}\end{bmatrix}.$$

Replace row $3$ with $R_3-17R_2$.

$$\begin{bmatrix}1&-2&\frac{3}{2}\\0&1&\frac{2}{9}\\0&0&-\frac{257}{18}\end{bmatrix}.$$

Replace row $3$ with $-\frac{18}{257}R_3$.

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

This is an echelon form. Use the leading $1$s to clear the entries above them.

Replace row $1$ with $R_1-\frac{3}{2}R_3$.

$$\begin{bmatrix}1&-2&0\\0&1&\frac{2}{9}\\0&0&1\end{bmatrix}.$$

Replace row $2$ with $R_2-\frac{2}{9}R_3$.

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

Replace row $1$ with $R_1+2R_2$.

$$\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}.$$

The original determinant is $-257$. This confirms that there are three pivots and that the reduced form is $I$.

Answer Echelon form $\begin{bmatrix}1&-2&\frac{3}{2}\\0&1&\frac{2}{9}\\0&0&1\end{bmatrix}$.
Reduced echelon form $\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}$.

(v) $\begin{bmatrix}3&1&2\\2&9&8\end{bmatrix}$

Sol:

Scale the first row and then clear the $2$ below its leading $1$. The new second row is $(0,25/3,20/3)$.

Replace row $1$ with $\frac{1}{3}R_1$.

$$\begin{bmatrix}1&\frac{1}{3}&\frac{2}{3}\\2&9&8\end{bmatrix}.$$

Replace row $2$ with $R_2-2R_1$.

$$\begin{bmatrix}1&\frac{1}{3}&\frac{2}{3}\\0&\frac{25}{3}&\frac{20}{3}\end{bmatrix}.$$

Replace row $2$ with $\frac{3}{25}R_2$.

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

This is an echelon form. Use the leading $1$s to clear the entries above them.

Replace row $1$ with $R_1-\frac{1}{3}R_2$.

$$\begin{bmatrix}1&0&\frac{2}{5}\\0&1&\frac{4}{5}\end{bmatrix}.$$

The first two columns are independent because their minor is $3(9)-1(2)=25$. In the original matrix, $C_3=\dfrac25 C_1+\dfrac45 C_2$. With the first two columns reduced to the identity, this gives the last column $\left(\dfrac25,\dfrac45\right)^t$.

Answer Echelon form $\begin{bmatrix}1&\frac{1}{3}&\frac{2}{3}\\0&1&\frac{4}{5}\end{bmatrix}$.
Reduced echelon form $\begin{bmatrix}1&0&\frac{2}{5}\\0&1&\frac{4}{5}\end{bmatrix}$.

(vi) $\begin{bmatrix}0&2&4\\0&3&6\\0&1&2\end{bmatrix}$

Sol:

Column $1$ is zero, so start with column $2$. Move row $3$ to the top to get a leading $1$.

Interchange rows 1 and 3.

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

Replace row $2$ with $R_2-3R_1$.

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

Replace row $3$ with $R_3-2R_1$.

$$\begin{bmatrix}0&1&2\\0&0&0\\0&0&0\end{bmatrix}.$$

The leading $1$ in column $2$ already has zeros everywhere else in its column. The same matrix is the echelon form and the reduced echelon form.

In the original matrix, the first two rows are $2$ and $3$ times the third row. This confirms that there is only one pivot.

Answer Echelon form $\begin{bmatrix}0&1&2\\0&0&0\\0&0&0\end{bmatrix}$.
Reduced echelon form $\begin{bmatrix}0&1&2\\0&0&0\\0&0&0\end{bmatrix}$.
Question 2Find the rank of each of the following matrices.
Formula used

Reduce the matrix to row echelon form. Then $\operatorname{Rank}A$ is the number of nonzero rows. Elementary row operations preserve rank.

(i) $\begin{bmatrix}5&9&3\\3&-5&6\\2&10&6\end{bmatrix}$

Sol:

Make the first pivot $1$. Subtract three times and twice the first row from rows $2$ and $3$, respectively.

Replace row $1$ with $\frac{1}{5}R_1$.

$$\begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\3&-5&6\\2&10&6\end{bmatrix}.$$

Replace row $2$ with $R_2-3R_1$.

$$\begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&-\frac{52}{5}&\frac{21}{5}\\2&10&6\end{bmatrix}.$$

Replace row $3$ with $R_3-2R_1$.

$$\begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&-\frac{52}{5}&\frac{21}{5}\\0&\frac{32}{5}&\frac{24}{5}\end{bmatrix}.$$

Replace row $2$ with $-\frac{5}{52}R_2$.

$$\begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&1&-\frac{21}{52}\\0&\frac{32}{5}&\frac{24}{5}\end{bmatrix}.$$

Replace row $3$ with $R_3-\frac{32}{5}R_2$.

$$\begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&1&-\frac{21}{52}\\0&0&\frac{96}{13}\end{bmatrix}.$$

Replace row $3$ with $\frac{13}{96}R_3$.

$$\begin{bmatrix}1&\frac{9}{5}&\frac{3}{5}\\0&1&-\frac{21}{52}\\0&0&1\end{bmatrix}.$$

There are $3$ nonzero rows in the echelon form.

Answer $\operatorname{Rank}A=3$.

(ii) $\begin{bmatrix}-1&-2&3\\-1&2&-1\\-5&2&3\end{bmatrix}$

Sol:

Change the sign of the first row to get a leading $1$. Use it to eliminate the first entries below it.

Replace row $1$ with $-R_1$.

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

Replace row $2$ with $R_2+R_1$.

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

Replace row $3$ with $R_3+5R_1$.

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

Replace row $2$ with $\frac{1}{4}R_2$.

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

Replace row $3$ with $R_3-12R_2$.

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

There are $2$ nonzero rows in the echelon form.

Answer $\operatorname{Rank}A=2$.

(iii) $\begin{bmatrix}3&2&4\\2&1&6\\4&-1&0\end{bmatrix}$

Sol:

Scale row $1$ by $1/3$. Then use it to clear column $1$ in the other two rows.

Replace row $1$ with $\frac{1}{3}R_1$.

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

Replace row $2$ with $R_2-2R_1$.

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

Replace row $3$ with $R_3-4R_1$.

$$\begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\0&-\frac{1}{3}&\frac{10}{3}\\0&-\frac{11}{3}&-\frac{16}{3}\end{bmatrix}.$$

Replace row $2$ with $-3R_2$.

$$\begin{bmatrix}1&\frac{2}{3}&\frac{4}{3}\\0&1&-10\\0&-\frac{11}{3}&-\frac{16}{3}\end{bmatrix}.$$

Replace row $3$ with $R_3+\frac{11}{3}R_2$.

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

Replace row $3$ with $-\frac{1}{42}R_3$.

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

There are $3$ nonzero rows in the echelon form.

Answer $\operatorname{Rank}A=3$.

(iv) $\begin{bmatrix}1&3\\2&9\\1&6\end{bmatrix}$

Sol:

Use the leading $1$ in the first row to clear the entries below it.

Replace row $2$ with $R_2-2R_1$.

$$\begin{bmatrix}1&3\\0&3\\1&6\end{bmatrix}.$$

Replace row $3$ with $R_3-R_1$.

$$\begin{bmatrix}1&3\\0&3\\0&3\end{bmatrix}.$$

Replace row $2$ with $\frac{1}{3}R_2$.

$$\begin{bmatrix}1&3\\0&1\\0&3\end{bmatrix}.$$

Replace row $3$ with $R_3-3R_2$.

$$\begin{bmatrix}1&3\\0&1\\0&0\end{bmatrix}.$$

Replace row $1$ with $R_1-3R_2$.

$$\begin{bmatrix}1&0\\0&1\\0&0\end{bmatrix}.$$

There are $2$ nonzero rows in the echelon form.

The minor from the first two rows is $1(9)-3(2)=3$. This gives rank at least $2$, and there are only two columns.

Answer $\operatorname{Rank}A=2$.
Question 3With the help of row operations, find the inverse of the following matrices if it exists. Also verify your answer by showing that $AA^{-1}=A^{-1}A=I$.
Formula used

If $|A|\ne0$, the square matrix $A$ is invertible. Attach the identity to the right of $A$ and perform each row operation on both blocks.

$$[A\mid I]\sim_R[I\mid A^{-1}].$$

For verification, multiply in both orders. Each entry is the sum of the products of corresponding entries in a row and a column.

(i) $\begin{bmatrix}0&-1&-1\\-1&3&0\\1&-1&4\end{bmatrix}$

Sol:

Call the given matrix $A$. First check its determinant.

$$\begin{aligned}|A|&=0+1((-1)(4)-0(1))-1((-1)(-1)-3(1))\\[7pt]&=-4+2\\[7pt]&=-2\ne0.\end{aligned}$$

Attach $I$ and swap rows $1$ and $3$ to use the $1$ at the start of row $3$. After clearing the first column below it, move the row with second entry $-1$ into row $2$.

Interchange rows 1 and 3.

$$\left[\begin{array}{ccc|ccc}1&-1&4&0&0&1\\-1&3&0&0&1&0\\0&-1&-1&1&0&0\end{array}\right].$$

Replace row $2$ with $R_2+R_1$.

$$\left[\begin{array}{ccc|ccc}1&-1&4&0&0&1\\0&2&4&0&1&1\\0&-1&-1&1&0&0\end{array}\right].$$

Interchange rows 2 and 3.

$$\left[\begin{array}{ccc|ccc}1&-1&4&0&0&1\\0&-1&-1&1&0&0\\0&2&4&0&1&1\end{array}\right].$$

Replace row $2$ with $-R_2$.

$$\left[\begin{array}{ccc|ccc}1&-1&4&0&0&1\\0&1&1&-1&0&0\\0&2&4&0&1&1\end{array}\right].$$

Replace row $3$ with $R_3-2R_2$.

$$\left[\begin{array}{ccc|ccc}1&-1&4&0&0&1\\0&1&1&-1&0&0\\0&0&2&2&1&1\end{array}\right].$$

Replace row $3$ with $\frac{1}{2}R_3$.

$$\left[\begin{array}{ccc|ccc}1&-1&4&0&0&1\\0&1&1&-1&0&0\\0&0&1&1&\frac{1}{2}&\frac{1}{2}\end{array}\right].$$

The left block is now in echelon form. Clear the entries above the third pivot, then clear the entry above the second pivot.

Replace row $2$ with $R_2-R_3$.

$$\left[\begin{array}{ccc|ccc}1&-1&4&0&0&1\\0&1&0&-2&-\frac{1}{2}&-\frac{1}{2}\\0&0&1&1&\frac{1}{2}&\frac{1}{2}\end{array}\right].$$

Replace row $1$ with $R_1-4R_3$.

$$\left[\begin{array}{ccc|ccc}1&-1&0&-4&-2&-1\\0&1&0&-2&-\frac{1}{2}&-\frac{1}{2}\\0&0&1&1&\frac{1}{2}&\frac{1}{2}\end{array}\right].$$

Replace row $1$ with $R_1+R_2$.

$$\left[\begin{array}{ccc|ccc}1&0&0&-6&-\frac{5}{2}&-\frac{3}{2}\\0&1&0&-2&-\frac{1}{2}&-\frac{1}{2}\\0&0&1&1&\frac{1}{2}&\frac{1}{2}\end{array}\right].$$

The left block is now $I$. The right block is the inverse. For the multiplication check, write $A^{-1}=\dfrac{1}{2}N$, where $N=\begin{bmatrix}-12&-5&-3\\-4&-1&-1\\2&1&1\end{bmatrix}$.

Use the rows of $A$ with the columns of $N$ for the first product. Reverse the order for the second product.

$$\begin{aligned}AA^{-1}&=AN/2\\[7pt]&=\frac{1}{2}\begin{bmatrix}4-2&1-1&1-1\\12-12&5-3&3-3\\-12+4+8&-5+1+4&-3+1+4\end{bmatrix}\\[7pt]&=\frac{1}{2}\begin{bmatrix}2&0&0\\0&2&0\\0&0&2\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
$$\begin{aligned}A^{-1}A&=NA/2\\[7pt]&=\frac{1}{2}\begin{bmatrix}5-3&12-15+3&12-12\\1-1&4-3+1&4-4\\-1+1&-2+3-1&-2+4\end{bmatrix}\\[7pt]&=\frac{1}{2}\begin{bmatrix}2&0&0\\0&2&0\\0&0&2\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
Answer $A^{-1}=\dfrac{1}{2}\begin{bmatrix}-12&-5&-3\\-4&-1&-1\\2&1&1\end{bmatrix}$
$AA^{-1}=I$
$A^{-1}A=I$.

(ii) $\begin{bmatrix}1&2&5\\-3&0&1\\4&2&5\end{bmatrix}$

Sol:

Call the given matrix $A$. First check its determinant.

$$\begin{aligned}|A|&=1(0-2)-2(-15-4)+5(-6-0)\\[7pt]&=-2+38-30\\[7pt]&=6\ne0.\end{aligned}$$

Attach $I$ and use the first row to clear column $1$ below its pivot. The second entries in rows $2$ and $3$ are opposites, so add row $2$ to row $3$.

Replace row $2$ with $R_2+3R_1$.

$$\left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&6&16&3&1&0\\4&2&5&0&0&1\end{array}\right].$$

Replace row $3$ with $R_3-4R_1$.

$$\left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&6&16&3&1&0\\0&-6&-15&-4&0&1\end{array}\right].$$

Replace row $3$ with $R_3+R_2$.

$$\left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&6&16&3&1&0\\0&0&1&-1&1&1\end{array}\right].$$

Replace row $2$ with $\frac{1}{6}R_2$.

$$\left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&1&\frac{8}{3}&\frac{1}{2}&\frac{1}{6}&0\\0&0&1&-1&1&1\end{array}\right].$$

Clear column $3$ above its pivot. Then clear the $2$ in column $2$ of the first row.

Replace row $2$ with $R_2-\frac{8}{3}R_3$.

$$\left[\begin{array}{ccc|ccc}1&2&5&1&0&0\\0&1&0&\frac{19}{6}&-\frac{5}{2}&-\frac{8}{3}\\0&0&1&-1&1&1\end{array}\right].$$

Replace row $1$ with $R_1-5R_3$.

$$\left[\begin{array}{ccc|ccc}1&2&0&6&-5&-5\\0&1&0&\frac{19}{6}&-\frac{5}{2}&-\frac{8}{3}\\0&0&1&-1&1&1\end{array}\right].$$

Replace row $1$ with $R_1-2R_2$.

$$\left[\begin{array}{ccc|ccc}1&0&0&-\frac{1}{3}&0&\frac{1}{3}\\0&1&0&\frac{19}{6}&-\frac{5}{2}&-\frac{8}{3}\\0&0&1&-1&1&1\end{array}\right].$$

The left block is now $I$. The right block is the inverse. For the multiplication check, write $A^{-1}=\dfrac{1}{6}N$, where $N=\begin{bmatrix}-2&0&2\\19&-15&-16\\-6&6&6\end{bmatrix}$.

Use the rows of $A$ with the columns of $N$ for the first product. Reverse the order for the second product.

$$\begin{aligned}AA^{-1}&=AN/6\\[7pt]&=\frac{1}{6}\begin{bmatrix}-2+38-30&-30+30&2-32+30\\6-6&6&-6+6\\-8+38-30&-30+30&8-32+30\end{bmatrix}\\[7pt]&=\frac{1}{6}\begin{bmatrix}6&0&0\\0&6&0\\0&0&6\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
$$\begin{aligned}A^{-1}A&=NA/6\\[7pt]&=\frac{1}{6}\begin{bmatrix}-2+8&-4+4&-10+10\\19+45-64&38-32&95-15-80\\-6-18+24&-12+12&-30+6+30\end{bmatrix}\\[7pt]&=\frac{1}{6}\begin{bmatrix}6&0&0\\0&6&0\\0&0&6\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
Answer $A^{-1}=\dfrac{1}{6}\begin{bmatrix}-2&0&2\\19&-15&-16\\-6&6&6\end{bmatrix}$
$AA^{-1}=I$
$A^{-1}A=I$.

(iii) $\begin{bmatrix}-5&2&3\\-1&-2&3\\1&-2&3\end{bmatrix}$

Sol:

Call the given matrix $A$. First check its determinant.

$$\begin{aligned}|A|&=-5(-6+6)-2(-3-3)+3(2+2)\\[7pt]&=0+12+12\\[7pt]&=24\ne0.\end{aligned}$$

Attach $I$. Rows $2$ and $3$ have the same second and third entries. Subtract row $2$ from row $3$ and move the new row $(2,0,0)$ to the top of the left block.

Replace row $3$ with $R_3-R_2$.

$$\left[\begin{array}{ccc|ccc}-5&2&3&1&0&0\\-1&-2&3&0&1&0\\2&0&0&0&-1&1\end{array}\right].$$

Interchange rows 1 and 3.

$$\left[\begin{array}{ccc|ccc}2&0&0&0&-1&1\\-1&-2&3&0&1&0\\-5&2&3&1&0&0\end{array}\right].$$

Replace row $1$ with $\frac{1}{2}R_1$.

$$\left[\begin{array}{ccc|ccc}1&0&0&0&-\frac{1}{2}&\frac{1}{2}\\-1&-2&3&0&1&0\\-5&2&3&1&0&0\end{array}\right].$$

Replace row $2$ with $R_2+R_1$.

$$\left[\begin{array}{ccc|ccc}1&0&0&0&-\frac{1}{2}&\frac{1}{2}\\0&-2&3&0&\frac{1}{2}&\frac{1}{2}\\-5&2&3&1&0&0\end{array}\right].$$

Replace row $3$ with $R_3+5R_1$.

$$\left[\begin{array}{ccc|ccc}1&0&0&0&-\frac{1}{2}&\frac{1}{2}\\0&-2&3&0&\frac{1}{2}&\frac{1}{2}\\0&2&3&1&-\frac{5}{2}&\frac{5}{2}\end{array}\right].$$

Replace row $2$ with $-\frac{1}{2}R_2$.

$$\left[\begin{array}{ccc|ccc}1&0&0&0&-\frac{1}{2}&\frac{1}{2}\\0&1&-\frac{3}{2}&0&-\frac{1}{4}&-\frac{1}{4}\\0&2&3&1&-\frac{5}{2}&\frac{5}{2}\end{array}\right].$$

Replace row $3$ with $R_3-2R_2$.

$$\left[\begin{array}{ccc|ccc}1&0&0&0&-\frac{1}{2}&\frac{1}{2}\\0&1&-\frac{3}{2}&0&-\frac{1}{4}&-\frac{1}{4}\\0&0&6&1&-2&3\end{array}\right].$$

Replace row $3$ with $\frac{1}{6}R_3$.

$$\left[\begin{array}{ccc|ccc}1&0&0&0&-\frac{1}{2}&\frac{1}{2}\\0&1&-\frac{3}{2}&0&-\frac{1}{4}&-\frac{1}{4}\\0&0&1&\frac{1}{6}&-\frac{1}{3}&\frac{1}{2}\end{array}\right].$$

Clear the entries above the third pivot. The first row has zeros to the right of its pivot already.

Replace row $2$ with $R_2+\frac{3}{2}R_3$.

$$\left[\begin{array}{ccc|ccc}1&0&0&0&-\frac{1}{2}&\frac{1}{2}\\0&1&0&\frac{1}{4}&-\frac{3}{4}&\frac{1}{2}\\0&0&1&\frac{1}{6}&-\frac{1}{3}&\frac{1}{2}\end{array}\right].$$

The left block is now $I$. The right block is the inverse. For the multiplication check, write $A^{-1}=\dfrac{1}{12}N$, where $N=\begin{bmatrix}0&-6&6\\3&-9&6\\2&-4&6\end{bmatrix}$.

Use the rows of $A$ with the columns of $N$ for the first product. Reverse the order for the second product.

$$\begin{aligned}AA^{-1}&=AN/12\\[7pt]&=\frac{1}{12}\begin{bmatrix}6+6&30-18-12&-30+12+18\\-6+6&6+18-12&-6-12+18\\-6+6&-6+18-12&6-12+18\end{bmatrix}\\[7pt]&=\frac{1}{12}\begin{bmatrix}12&0&0\\0&12&0\\0&0&12\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
$$\begin{aligned}A^{-1}A&=NA/12\\[7pt]&=\frac{1}{12}\begin{bmatrix}6+6&12-12&-18+18\\-15+9+6&6+18-12&9-27+18\\-10+4+6&4+8-12&6-12+18\end{bmatrix}\\[7pt]&=\frac{1}{12}\begin{bmatrix}12&0&0\\0&12&0\\0&0&12\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
Answer $A^{-1}=\dfrac{1}{12}\begin{bmatrix}0&-6&6\\3&-9&6\\2&-4&6\end{bmatrix}$
$AA^{-1}=I$
$A^{-1}A=I$.

(iv) $\begin{bmatrix}0&1&3\\3&2&4\\6&-1&2\end{bmatrix}$

Sol:

Call the given matrix $A$. First check its determinant.

$$\begin{aligned}|A|&=0-1(3(2)-4(6))+3(3(-1)-2(6))\\[7pt]&=18-45\\[7pt]&=-27\ne0.\end{aligned}$$

Attach $I$. Swap rows $1$ and $2$ to put the $3$ in the first pivot position. After scaling, use the first two pivots to clear entries below them.

Interchange rows 1 and 2.

$$\left[\begin{array}{ccc|ccc}3&2&4&0&1&0\\0&1&3&1&0&0\\6&-1&2&0&0&1\end{array}\right].$$

Replace row $1$ with $\frac{1}{3}R_1$.

$$\left[\begin{array}{ccc|ccc}1&\frac{2}{3}&\frac{4}{3}&0&\frac{1}{3}&0\\0&1&3&1&0&0\\6&-1&2&0&0&1\end{array}\right].$$

Replace row $3$ with $R_3-6R_1$.

$$\left[\begin{array}{ccc|ccc}1&\frac{2}{3}&\frac{4}{3}&0&\frac{1}{3}&0\\0&1&3&1&0&0\\0&-5&-6&0&-2&1\end{array}\right].$$

Replace row $3$ with $R_3+5R_2$.

$$\left[\begin{array}{ccc|ccc}1&\frac{2}{3}&\frac{4}{3}&0&\frac{1}{3}&0\\0&1&3&1&0&0\\0&0&9&5&-2&1\end{array}\right].$$

Replace row $3$ with $\frac{1}{9}R_3$.

$$\left[\begin{array}{ccc|ccc}1&\frac{2}{3}&\frac{4}{3}&0&\frac{1}{3}&0\\0&1&3&1&0&0\\0&0&1&\frac{5}{9}&-\frac{2}{9}&\frac{1}{9}\end{array}\right].$$

Clear column $3$ above the third pivot and then column $2$ above the second pivot.

Replace row $1$ with $R_1-\frac{4}{3}R_3$.

$$\left[\begin{array}{ccc|ccc}1&\frac{2}{3}&0&-\frac{20}{27}&\frac{17}{27}&-\frac{4}{27}\\0&1&3&1&0&0\\0&0&1&\frac{5}{9}&-\frac{2}{9}&\frac{1}{9}\end{array}\right].$$

Replace row $2$ with $R_2-3R_3$.

$$\left[\begin{array}{ccc|ccc}1&\frac{2}{3}&0&-\frac{20}{27}&\frac{17}{27}&-\frac{4}{27}\\0&1&0&-\frac{2}{3}&\frac{2}{3}&-\frac{1}{3}\\0&0&1&\frac{5}{9}&-\frac{2}{9}&\frac{1}{9}\end{array}\right].$$

Replace row $1$ with $R_1-\frac{2}{3}R_2$.

$$\left[\begin{array}{ccc|ccc}1&0&0&-\frac{8}{27}&\frac{5}{27}&\frac{2}{27}\\0&1&0&-\frac{2}{3}&\frac{2}{3}&-\frac{1}{3}\\0&0&1&\frac{5}{9}&-\frac{2}{9}&\frac{1}{9}\end{array}\right].$$

The left block is now $I$. The right block is the inverse. For the multiplication check, write $A^{-1}=\dfrac{1}{27}N$, where $N=\begin{bmatrix}-8&5&2\\-18&18&-9\\15&-6&3\end{bmatrix}$.

Use the rows of $A$ with the columns of $N$ for the first product. Reverse the order for the second product.

$$\begin{aligned}AA^{-1}&=AN/27\\[7pt]&=\frac{1}{27}\begin{bmatrix}-18+45&18-18&-9+9\\-24-36+60&15+36-24&6-18+12\\-48+18+30&30-18-12&12+9+6\end{bmatrix}\\[7pt]&=\frac{1}{27}\begin{bmatrix}27&0&0\\0&27&0\\0&0&27\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
$$\begin{aligned}A^{-1}A&=NA/27\\[7pt]&=\frac{1}{27}\begin{bmatrix}15+12&-8+10-2&-24+20+4\\54-54&-18+36+9&-54+72-18\\-18+18&15-12-3&45-24+6\end{bmatrix}\\[7pt]&=\frac{1}{27}\begin{bmatrix}27&0&0\\0&27&0\\0&0&27\end{bmatrix}\\[7pt]&=I.\end{aligned}$$
Common mistake / Note: The answer key prints the matrix without the factor $\dfrac1{27}$. The inverse needs this factor.
Answer $A^{-1}=\dfrac{1}{27}\begin{bmatrix}-8&5&2\\-18&18&-9\\15&-6&3\end{bmatrix}$
$AA^{-1}=I$
$A^{-1}A=I$.

Quick check: MCQs on Exercise 2.5

  1. In row echelon form as defined in the book, what is the first nonzero entry of a nonzero row?
    (a) Any value other than $0$ · (b) $-1$ · (c) $0$ · (d) $1$
    Show answer
    Answer: (d) $1$. The textbook normalizes the first nonzero entry of each nonzero row to a leading $1$.
  2. What is the rank of the echelon matrix $\begin{bmatrix}1&0&4&2\\0&0&1&5\\0&0&0&0\end{bmatrix}$?
    (a) $4$ · (b) $3$ · (c) $2$ · (d) $1$
    Show answer
    Answer: (c) $2$. The echelon form has two nonzero rows and hence two pivots.
  3. Which operation is an elementary row operation?
    (a) Add twice row $3$ to row $2$. · (b) Delete row $3$. · (c) Replace row $1$ by a copy of row $2$. · (d) Multiply row $1$ by zero.
    Show answer
    Answer: (a) Add twice row $3$ to row $2$.. Adding twice row $3$ to row $2$ is reversible. Subtracting twice row $3$ from row $2$ undoes it.
  4. What does $R_{13}$ mean in the textbook's row-operation notation?
    (a) Multiply row $1$ by $3$. · (b) Interchange rows $1$ and $3$. · (c) Interchange columns $1$ and $3$. · (d) Add row $1$ to row $3$.
    Show answer
    Answer: (b) Interchange rows $1$ and $3$.. The two row indices in $R_{13}$ identify the rows to be interchanged.

Take the Exercise 2.5 quiz (10 MCQs)

Popular posts from this blog

Exercise 9.2 Solutions – 11th Class Math Federal Board (Graphs, Parity and Applications)

Exercise 3.1 Examples – 11th Class Math Federal Board (Vector Operations, Position Vectors and Geometry)

Review Exercise 3 Examples – 11th Class Math Federal Board (Vectors in Space)