Exercise 2.6 Examples – 11th Class Math Federal Board (Solving System of Linear Equations)

Exercise 2.6 solved examples thumbnail for 11th class math Federal Board chapter 2 (Matrices and Determinants)

All textbook examples for Exercise 2.6 (Solving System of Linear Equations) of Chapter 2: Matrices and Determinants, 11th class Mathematics, Federal Board (FBISE). All 8 examples are worked step by step, with the final answers highlighted.

Worked textbook examples

Tap an example to open or close it.
Example 1How many solutions does the following system of homogeneous linear equations have? $\begin{aligned}3 x-2 y+z&=0\\[7pt]2 x+y-3 z&=0\\[7pt]x-y+z&=0\end{aligned}$

Solution:

Write the coefficient matrix and expand along the first row.

$$\begin{aligned}|A|&=\begin{vmatrix}3&-2&1\\2&1&-3\\1&-1&1\end{vmatrix}\\[7pt]&=3\begin{vmatrix}1&-3\\-1&1\end{vmatrix}+2\begin{vmatrix}2&-3\\1&1\end{vmatrix}+\begin{vmatrix}2&1\\1&-1\end{vmatrix}\\[7pt]&=3\left(1-3\right)+2\left(2+3\right)+\left(\left(-2\right)-1\right)\\[7pt]&=1.\end{aligned}$$

The coefficient determinant is nonzero. The zero vector is the only solution.

Answer Exactly one solution, the trivial solution $(x,y,z)=(0,0,0)$.
Example 2Solve the homogeneous system of linear equations. $\begin{aligned}x+3 y+2 z&=0\\[7pt]2 x-y+3 z&=0\\[7pt]x-4 y+z&=0\end{aligned}$

Solution:

Expand the coefficient determinant along the first row.

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

Take twice the first equation minus the second. Also take the first equation minus the third. Both operations give the same equation, $7y+z=0$.

Set the free variable $z=t$. This gives $y=-\dfrac17t$. Substitute into the first equation.

$$\begin{aligned}x+3\left(-\frac17t\right)+2t&=0\\[7pt]x+\frac{11}{7}t&=0\\[7pt]x&=-\frac{11}{7}t.\end{aligned}$$
Answer Infinitely many solutions $(x,y,z)=\left(-\dfrac{11}{7}t,-\dfrac17t,t\right)$, where $t\in\mathbb{R}$.
Example 3Solve the system of non-homogeneous linear equations by the matrix inversion method. $\begin{aligned}2 x+3 y-z&=1\\[7pt]x-y+z&=3\\[7pt]x+2 y-z&=1\end{aligned}$

Solution:

Write the system as $AX=B$.

$$\begin{aligned}A&=\begin{bmatrix}2&3&-1\\1&-1&1\\1&2&-1\end{bmatrix}\\[7pt]X&=\begin{bmatrix}x\\y\\z\end{bmatrix}\\[7pt]B&=\begin{bmatrix}1\\3\\1\end{bmatrix}.\end{aligned}$$

Expand the determinant along the first row.

$$\begin{aligned}|A|&=\begin{vmatrix}2&3&-1\\1&-1&1\\1&2&-1\end{vmatrix}\\[7pt]&=2\begin{vmatrix}-1&1\\2&-1\end{vmatrix}-3\begin{vmatrix}1&1\\1&-1\end{vmatrix}-\begin{vmatrix}1&-1\\1&2\end{vmatrix}\\[7pt]&=2\left(1-2\right)-3\left(\left(-1\right)-1\right)-\left(2+1\right)\\[7pt]&=1.\end{aligned}$$

The determinant is nonzero, so the inverse exists. Delete row $i$ and column $j$ and apply the sign $(-1)^{i+j}$ to find each cofactor $A_{ij}$.

$$\begin{aligned}A_{11}&=(-1)^{2}\begin{vmatrix}-1&1\\2&-1\end{vmatrix}\\[7pt]&=-1\\[7pt]A_{12}&=(-1)^{3}\begin{vmatrix}1&1\\1&-1\end{vmatrix}\\[7pt]&=2\\[7pt]A_{13}&=(-1)^{4}\begin{vmatrix}1&-1\\1&2\end{vmatrix}\\[7pt]&=3.\end{aligned}$$
$$\begin{aligned}A_{21}&=(-1)^{3}\begin{vmatrix}3&-1\\2&-1\end{vmatrix}\\[7pt]&=1\\[7pt]A_{22}&=(-1)^{4}\begin{vmatrix}2&-1\\1&-1\end{vmatrix}\\[7pt]&=-1\\[7pt]A_{23}&=(-1)^{5}\begin{vmatrix}2&3\\1&2\end{vmatrix}\\[7pt]&=-1.\end{aligned}$$
$$\begin{aligned}A_{31}&=(-1)^{4}\begin{vmatrix}3&-1\\-1&1\end{vmatrix}\\[7pt]&=2\\[7pt]A_{32}&=(-1)^{5}\begin{vmatrix}2&-1\\1&1\end{vmatrix}\\[7pt]&=-3\\[7pt]A_{33}&=(-1)^{6}\begin{vmatrix}2&3\\1&-1\end{vmatrix}\\[7pt]&=-5.\end{aligned}$$

Transpose the cofactor matrix to obtain the adjoint. Divide it by the determinant.

$$\begin{aligned}\operatorname{adj}(A)&=\begin{bmatrix}-1&1&2\\2&-1&-3\\3&-1&-5\end{bmatrix}\\[7pt]A^{-1}&=\frac{\operatorname{adj}(A)}{|A|}\\[7pt]&=\begin{bmatrix}-1&1&2\\2&-1&-3\\3&-1&-5\end{bmatrix}.\end{aligned}$$

Multiply the inverse by the constants column.

$$\begin{aligned}X&=A^{-1}B\\[7pt]&=\begin{bmatrix}-1&1&2\\2&-1&-3\\3&-1&-5\end{bmatrix}\begin{bmatrix}1\\3\\1\end{bmatrix}\\[7pt]&=\begin{bmatrix}-1+3+2\left(1\right)\\2\left(1\right)-3-3\left(1\right)\\3\left(1\right)-3-5\left(1\right)\end{bmatrix}\\[7pt]&=\begin{bmatrix}4\\-4\\-5\end{bmatrix}\\[7pt]&=\begin{bmatrix}4\\-4\\-5\end{bmatrix}.\end{aligned}$$
Common mistake / Note: The general adjoint on p. 64 shows $A_{33}$ in row $2$, column $3$, where $A_{32}$ belongs. The book's numerical entry $-3$ is $A_{32}$, so its answer is correct.
Answer $x=4$
$y=-4$
$z=-5$.
Example 4Solve the system of equations by using Gauss elimination method. $\begin{aligned}2 x_{1}-3 x_{2}+4 x_{3}&=1\\[7pt]x_{1}+2 x_{2}-x_{3}&=2\\[7pt]3 x_{1}+5 x_{2}-3 x_{3}&=5\end{aligned}$

Solution:

Write the augmented matrix. Use each pivot to clear the entries below it.

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

Interchange rows 1 and 2.

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

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

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

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

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

Interchange rows 2 and 3.

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

Replace row $2$ with $-R_2$.

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

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

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

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

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

Read the equations from the bottom up. Substitute each value into the rows above it.

$$x_{3}=\frac{2}{3}.$$
$$x_{2}=1.$$
$$\begin{aligned}x_{1}+2 x_{2}-x_{3}&=2\\[7pt]x_{1}+2 \left(1\right)-\left(\frac{2}{3}\right)&=2\\[7pt]x_{1}&=\frac{2}{3}.\end{aligned}$$
Answer $x_{1}=\dfrac{2}{3}$
$x_{2}=1$
$x_{3}=\dfrac{2}{3}$.
Example 5Solve the given non-homogeneous system by using Gauss-Jordan method. $\begin{aligned}2 x-3 y+5 z&=2\\[7pt]x+4 y-2 z&=1\\[7pt]4 x+5 y+z&=4\end{aligned}$

Solution:

Write the augmented matrix. Use each pivot to clear the entries below it.

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

Interchange rows 1 and 2.

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

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

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

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

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

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

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

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

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

Now make the entries above each leading $1$ zero to reach reduced echelon form.

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

$$\left[\begin{array}{ccc|c}1&0&\frac{14}{11}&1\\0&1&- \frac{9}{11}&0\\0&0&0&0\end{array}\right].$$

The bottom row is zero. Column $3$ has no pivot, so let $z=t$.

Read the values of the pivot variables from the reduced matrix.

$$\begin{aligned}y-\frac{9}{11} z&=0\\[7pt]y-\frac{9}{11} \left(t\right)&=0\\[7pt]y&=\frac{9 t}{11}.\end{aligned}$$
$$\begin{aligned}x+\frac{14}{11} z&=1\\[7pt]x+\frac{14}{11} \left(t\right)&=1\\[7pt]x&=1 - \frac{14 t}{11}.\end{aligned}$$
Common mistake / Note: On p. 66 the book labels the scaling step $-\dfrac1{11}R_{12}$. It scales row $2$, so the label should be $-\dfrac1{11}R_2$.
Answer $x=1-\dfrac{14t}{11}$
$y=\dfrac{9t}{11}$
$z=t$ for $t\in\mathbb{R}$.
Example 6Solve the given system of non-homogeneous linear equations by Cramer’s rule. $\begin{aligned}2 x-3 y+5 z&=1\\[7pt]x+y+2 z&=3\\[7pt]3 x-2 y-4 z&=0\end{aligned}$

Solution:

Write the system as $AX=B$.

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

Expand the coefficient determinant along row $1$.

$$\begin{aligned}D&=\begin{vmatrix}2&-3&5\\1&1&2\\3&-2&-4\end{vmatrix}\\[7pt]&=2\begin{vmatrix}1&2\\-2&-4\end{vmatrix}+3\begin{vmatrix}1&2\\3&-4\end{vmatrix}+5\begin{vmatrix}1&1\\3&-2\end{vmatrix}\\[7pt]&=2\left(\left(-4\right)+4\right)+3\left(\left(-4\right)-6\right)+5\left(\left(-2\right)-3\right)\\[7pt]&=-55.\end{aligned}$$

Replace the first, second and third columns of $A$ by $B$, one at a time, to obtain $D_1$, $D_2$ and $D_3$. Expand each along its first row.

$$\begin{aligned}D_1&=\begin{vmatrix}1&-3&5\\3&1&2\\0&-2&-4\end{vmatrix}\\[7pt]&=\begin{vmatrix}1&2\\-2&-4\end{vmatrix}+3\begin{vmatrix}3&2\\0&-4\end{vmatrix}+5\begin{vmatrix}3&1\\0&-2\end{vmatrix}\\[7pt]&=\left(\left(-4\right)+4\right)+3\left(\left(-12\right)-0\right)+5\left(\left(-6\right)-0\right)\\[7pt]&=-66.\end{aligned}$$
$$\begin{aligned}D_2&=\begin{vmatrix}2&1&5\\1&3&2\\3&0&-4\end{vmatrix}\\[7pt]&=2\begin{vmatrix}3&2\\0&-4\end{vmatrix}-\begin{vmatrix}1&2\\3&-4\end{vmatrix}+5\begin{vmatrix}1&3\\3&0\end{vmatrix}\\[7pt]&=2\left(\left(-12\right)-0\right)-\left(\left(-4\right)-6\right)+5\left(0-9\right)\\[7pt]&=-59.\end{aligned}$$
$$\begin{aligned}D_3&=\begin{vmatrix}2&-3&1\\1&1&3\\3&-2&0\end{vmatrix}\\[7pt]&=2\begin{vmatrix}1&3\\-2&0\end{vmatrix}+3\begin{vmatrix}1&3\\3&0\end{vmatrix}+\begin{vmatrix}1&1\\3&-2\end{vmatrix}\\[7pt]&=2\left(0+6\right)+3\left(0-9\right)+\left(\left(-2\right)-3\right)\\[7pt]&=-20.\end{aligned}$$

Substitute these determinants into Cramer’s formulas.

$$\begin{aligned}x&=\frac{D_{1}}{D}\\[7pt]&=\frac{-66}{-55}\\[7pt]&=\frac{6}{5}\\[7pt]y&=\frac{D_{2}}{D}\\[7pt]&=\frac{-59}{-55}\\[7pt]&=\frac{59}{55}\\[7pt]z&=\frac{D_{3}}{D}\\[7pt]&=\frac{-20}{-55}\\[7pt]&=\frac{4}{11}.\end{aligned}$$
Answer $x=\dfrac{6}{5}$
$y=\dfrac{59}{55}$
$z=\dfrac{4}{11}$.
Example 7Encode and decode WELCOME using the textbook key $A=\begin{bmatrix}1&-1&1\\2&-1&0\\1&0&0\end{bmatrix}$.

Solution:

Write WELCOME in blocks of three letters. Use A $=1$ through Z $=26$ and encode a blank as $0$.

The determinant of the key is $1$, so it is invertible. The adjoint gives the decoding matrix.

$$\begin{aligned}A^{-1}&=\frac{\operatorname{adj}(A)}{|A|}\\[7pt]&=\begin{bmatrix}0&0&1\\0&-1&2\\1&-1&1\end{bmatrix}.\end{aligned}$$

Multiply each uncoded row by $A$. Check by multiplying each resulting row by $A^{-1}$.

Add 2 zeros at the end to fill the last block.

For the first block, multiply the row by the encoding key. Then multiply the coded row by the inverse.

$$\begin{aligned}\begin{bmatrix}23&5&12\end{bmatrix}\begin{bmatrix}1&-1&1\\2&-1&0\\1&0&0\end{bmatrix}&=\begin{bmatrix}23+2\left(5\right)+12&-23-5&23\end{bmatrix}\\[7pt]&=\begin{bmatrix}45&-28&23\end{bmatrix}\\[7pt]\begin{bmatrix}45&-28&23\end{bmatrix}\begin{bmatrix}0&0&1\\0&-1&2\\1&-1&1\end{bmatrix}&=\begin{bmatrix}23&-\left(-28\right)-23&45+2\left(-28\right)+23\end{bmatrix}\\[7pt]&=\begin{bmatrix}23&5&12\end{bmatrix}.\end{aligned}$$
BlockUncoded rowCoded rowDecoded row
WEL$\begin{bmatrix}23&5&12\end{bmatrix}$$\begin{bmatrix}45&-28&23\end{bmatrix}$$\begin{bmatrix}23&5&12\end{bmatrix}$
COM$\begin{bmatrix}3&15&13\end{bmatrix}$$\begin{bmatrix}46&-18&3\end{bmatrix}$$\begin{bmatrix}3&15&13\end{bmatrix}$
E (blank) (blank)$\begin{bmatrix}5&0&0\end{bmatrix}$$\begin{bmatrix}5&-5&5\end{bmatrix}$$\begin{bmatrix}5&0&0\end{bmatrix}$
Common mistake / Note: The table on p. 69 gives the first coded row $[45\ \ -28\ \ 23]$, but the book's summary line and decoding table print $-23$ as its last entry. The correct entry is $23$.
Answer Encoded rows $\begin{bmatrix}45&-28&23\end{bmatrix},\ \begin{bmatrix}46&-18&3\end{bmatrix},\ \begin{bmatrix}5&-5&5\end{bmatrix}$.
Decoded message WELCOME.
Example 8Write the transformation matrix and the transformed equation of the line $2x+y-3=0$ which is $1$ unit above the given line.

Solution:

Move each point one unit up. The horizontal coordinate stays the same.

$$T=\begin{bmatrix}1&0&0\\0&1&1\\0&0&1\end{bmatrix}$$

Write the old coordinates in terms of the new ones.

$$x=x'$$
$$y=y' - 1$$

Substitute into the original equation.

$$2x'+(y'-1)-3=0$$

Expand and collect terms.

$$2 x' + y' - 4=0$$
Common mistake / Note: On p. 69 the book's coordinate column prints $y-1$. Moving one unit up gives $y'=y+1$. The book's final equation $2x'+y'-4=0$ is correct.
Answer $T=\begin{bmatrix}1&0&0\\0&1&1\\0&0&1\end{bmatrix}$
$2 x' + y' - 4=0$.

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)