Problem Use method of elimination to determine if linear system is consistent or not. For each consistent system, find the solution if it is unique. Otherwise, describe the infinite solution set in terms of an arbitrary parameter \(t\) as in examples 5 and 7.\begin{align*} 2x+7y+3z & =11\\ x+3y+2z & =2\\ 3x+7y+9z & =-12 \end{align*}
Solution
We set up the augmented matrix and do forward elimination. The row operations are given on top of each arrow. For example \(R_{2}=-\frac{1}{2}R_{1}+R_{2}\) mean that row 2 is replaced by \(-\frac{1}{2}\) of the first row added to the second row. \begin{align*} & \begin{pmatrix} 2 & 7 & 3 & 11\\ 1 & 3 & 2 & 2\\ 3 & 7 & 9 & -12 \end{pmatrix} \overset{R_{2}=R_{2}-\frac{1}{2}R_{1}}{\underset{R_{3}=R_{3}-\frac{3}{2}R_{1}}{\Longrightarrow }}\begin{pmatrix} 2 & 7 & 3 & 11\\ 0 & -0.5 & 0.5 & -3.5\\ 0 & -3.5 & 4.5 & -28.5 \end{pmatrix} \overset{R_{2}=-7R_{2}}{\Longrightarrow }\\ & \begin{pmatrix} 2 & 7 & 3 & 11\\ 0 & 3.5 & -3.5 & 24.\,\allowbreak 5\\ 0 & -3.5 & 4.5 & -28.5 \end{pmatrix} \overset{R_{3}=R_{3}+R_{2}}{\Longrightarrow }\begin{pmatrix} 2 & 7 & 3 & 11\\ 0 & 3.5 & -3.5 & 24.\,\allowbreak 5\\ 0 & 0 & 1 & -4 \end{pmatrix} \end{align*}
Hence the system of equation now is (from the last matrix above)\begin{align*} 2x+7y+3z & =11\\ 3.5y-3.5z & =24.\,\allowbreak 5\\ z & =-4 \end{align*}
Since at the last row, we did not get \(0=\) some number, then the system is consistent. This means the system has either a unique solution, or has infinite number of solutions. But since we did not get \(0z=0\), then the system has a unique solution. Now we will find the unique solution by backward substitution. From last equation, we obtain\[ z=-4 \] From the second equation\begin{align*} 3.5y-3.5\left ( -4\right ) & =24.\,\allowbreak 5\\ y & =3 \end{align*}
And from the first equation\begin{align*} 2x+7\left ( 3\right ) +3\left ( -4\right ) & =11\\ x & =1 \end{align*}
Hence the solution is\begin{align*} x & =1\\ y & =3\\ z & =-4 \end{align*}
Problem Use method of elimination to determine if linear system is consistent or not. For each consistent system, find the solution if it is unique. Otherwise, describe the infinite solution set in terms of an arbitrary parameter \(t\) as in examples 5 and 7.\begin{align*} x-3y+2z & =6\\ x+4y-z & =4\\ 5x+6y+z & =20 \end{align*}
Solution
We set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 1 & -3 & 2 & 6\\ 1 & 4 & -1 & 4\\ 5 & 6 & 1 & 20 \end{pmatrix} \overset{R_{2}=R_{2}-R_{1}}{\Longrightarrow }\begin{pmatrix} 1 & -3 & 2 & 6\\ 0 & 7 & -3 & -2\\ 5 & 6 & 1 & 20 \end{pmatrix} \overset{R_{3}=-5R_{1}+R_{3}}{\Longrightarrow }\\ & \begin{pmatrix} 1 & -3 & 2 & 6\\ 0 & 7 & -3 & -2\\ 0 & 21 & -9 & -10 \end{pmatrix} \overset{R_{3}=-3R_{2}+R_{3}}{\Longrightarrow }\begin{pmatrix} 1 & -3 & 2 & 6\\ 0 & 7 & -3 & -2\\ 0 & 0 & 0 & -4 \end{pmatrix} \end{align*}
Hence the last equation of last matrix above, we see that \(0z=-4\). Since this result implies \(0=-4\), which is not possible, then there is no solution. The system is inconsistent. There are no solutions.
Problem Use method of elimination to determine if linear system is consistent or not. For each consistent system, find the solution if it is unique. Otherwise, describe the infinite solution set in terms of an arbitrary parameter \(t\) as in examples 5 and 7.\begin{align*} x+y-z & =5\\ 3x+y+3z & =11\\ 4x+y+5z & =14 \end{align*}
solution
We set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 1 & 1 & -1 & 5\\ 3 & 1 & 3 & 11\\ 4 & 1 & 5 & 14 \end{pmatrix} \overset{R_{2}=-3R_{1}+R_{2}}{\Longrightarrow }\begin{pmatrix} 1 & 1 & -1 & 5\\ 0 & -2 & 6 & -4\\ 4 & 1 & 5 & 14 \end{pmatrix} \overset{R_{3}=-4R_{1}+R_{3}}{\Longrightarrow }\\ & \begin{pmatrix} 1 & 1 & -1 & 5\\ 0 & -2 & 6 & -4\\ 0 & -3 & 9 & -6 \end{pmatrix} \overset{R_{3}=-1.5R_{2}+R_{3}}{\Longrightarrow }\begin{pmatrix} 1 & 1 & -1 & 5\\ 0 & -2 & 6 & -4\\ 0 & 0 & 0 & 0 \end{pmatrix} \end{align*}
Since the final equation has \(0z=0\), this means there are infinite number of solutions. Since any \(z\) will satisfy this. The system is therefore consistent. Let \(z=t\), hence from the second equation we obtain\begin{align*} -2y+6z & =-4\\ -2y+6t & =-4\\ y & =\frac{-4-6t}{-2}=2+3t \end{align*}
First equation gives\begin{align*} x+y-z & =5\\ x & =5-y+z\\ & =5-\left ( 2+3t\right ) +t\\ & =3-2t \end{align*}
Hence solution is \begin{align*} x & =3-2t\\ y & =2+3t\\ z & =t \end{align*}
Problem A system has the form\begin{align*} a_{1}x+b_{1}y & =0\\ a_{2}x+b_{2}y & =0 \end{align*}
Explain by geometric reasoning why such a system has either a unique solution or infinitely many solutions. In the former case, what is the unique solution?
solution These two equations represent two lines in 2D space. These can be written in standard form as\begin{align*} y & =-\frac{a_{1}}{b_{1}}x\\ y & =-\frac{a_{2}}{b_{2}}x \end{align*}
We see now, when we compare each equation above to the equation of a line of the form \[ y=mx+c \] Where \(m\) is the slope, and \(c\) is the intercept with the \(y\) axis, we see that both lines have zero intercept.
This means both lines pass through the origin, but with possibly different slope. Therefore, since both lines pass though one point, then there is either a unique solution, which is the origin in this case, when \(\frac{a_{1}}{b_{1}}\neq \frac{a_{2}}{b_{2}}\), or the other case is the infinite number of solutions when the slope is the same, i.e. \(\frac{a_{1}}{b_{1}}=\frac{a_{2}}{b_{2}}\), which means both lines are on top of each others. (same line).
Problem The linear system\begin{align*} a_{1}x+b_{1}y & =c_{1}\\ a_{2}x+b_{2}y & =c_{2}\\ a_{3}x+b_{3}y & =c_{3} \end{align*}
of three equations in two unknowns, represents three lines \(L_{1},L_{2},L_{3}\) in \(xy\) plane. Figure 3.1.5 shows six possible configurations of these three lines. In each case describe the solution set of the system.
solution
case a No solution. Since there is not one point where the three lines meet at.
case b Unique solution. Since there is a single point where the three lines intersect at.
case c No solution. Since there is not one point where the three lines meet at.
case d No solutions. All lines are parallel. There is not one point where the three lines meet at
case e Unique solution. There is one single point where the three lines intersect. Even though lines \(L_{1},L_{2}\) are on top of each others.
case f Infinite number of solutions. The three lines are on top of each others.
Problem Consider the linear system \begin{align*} a_{1}x+b_{1}y+c_{1}z & =d_{1}\\ a_{2}x+b_{2}y+c_{2}z & =d_{2}\\ a_{3}x+b_{3}y+c_{3}z & =d_{3} \end{align*}
of three equations in three unknowns to represent three planes \(P_{1},P_{2},P_{3}\) in \(xyz\) plane. Describe the solution in each of the following cases. (a) Three planes are parallel and distinct. (b) The three planes coincide. \(P_{1}=P_{2}=P_{3}\). (c) \(P_{1}\) and \(P_{2}\) coincide and are parallel to \(P_{3}\). (d) \(P_{1},P_{2}\) intersect in a line \(L\) that is parallel to \(P_{3}\). (e) \(P_{1},P_{2}\) intersect in line \(L\) that lies in \(P_{3}\). (f) \(P_{1},P_{2}\) intersect in a line \(L\) that intersect \(P_{3}\) in a single point.
solution
case a No solution exist. Since three planes do not intersect.
case b There are infinite number of solutions. Since intersection is line.
case c No solution Since \(P_{1},P_{2}\) are parallel to \(P_{3}\)
case d No solution. This is similar to case c.
case e Infinite number of solution, since the intersection between all three planes is a line.
case f Unique solution. Since a single point is found on the three planes.
Problem Use elementary row operations to transform each augmented coefficient matrix to echelon form then solve the system by back substitution\begin{align*} 2x_{1}+8x_{2}+3x_{3} & =2\\ x_{1}+3x_{2}+2x_{3} & =5\\ 2x_{1}+7x_{2}+4x_{3} & =8 \end{align*}
solution
We set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 2 & 8 & 3 & 2\\ 1 & 3 & 2 & 5\\ 2 & 7 & 4 & 8 \end{pmatrix} \overset{R_{2}=-\frac{1}{2}R_{1}+R_{2}}{\Longrightarrow }\begin{pmatrix} 2 & 8 & 3 & 2\\ 0 & -1 & \frac{1}{2} & 4\\ 2 & 7 & 4 & 8 \end{pmatrix} \overset{R_{3}=-R_{1}+R_{3}}{\Longrightarrow }\\ & \begin{pmatrix} 2 & 8 & 3 & 2\\ 0 & -1 & \frac{1}{2} & 4\\ 0 & -1 & 1 & 6 \end{pmatrix} \overset{R_{3}=-R_{2}+R_{3}}{\Longrightarrow }\begin{pmatrix} 2 & 8 & 3 & 2\\ 0 & -1 & \frac{1}{2} & 4\\ 0 & 0 & \frac{1}{2} & 2 \end{pmatrix} \end{align*}
The above final matrix is now in echelon form. Since the final equation says that \(\frac{1}{2}x_{3}=2\), therefore the system is consistent. Doing backward substitution gives\[ x_{3}=4 \] From second equation\begin{align*} -x_{2}+\frac{1}{2}x_{3} & =4\\ -x_{2}+\frac{1}{2}\left ( 4\right ) & =4\\ x_{2} & =-2 \end{align*}
And from first equation\begin{align*} 2x_{1}+8x_{2}+3x_{3} & =2\\ 2x_{1}+8\left ( -2\right ) +3\left ( 4\right ) & =2\\ x_{1} & =3 \end{align*}
Hence solution is\begin{align*} x_{1} & =3\\ x_{2} & =-2\\ x_{3} & =4 \end{align*}
Problem Use elementary row operations to transform each augmented coefficient matrix to echelon form then solve the system by back substitution
\begin{align*} 3x_{1}-6x_{2}+x_{3}+13x_{4} & =15\\ 3x_{1}-6x_{2}+3x_{3}+21x_{4} & =21\\ 2x_{1}-4x_{2}+5x_{3}+26x_{4} & =23 \end{align*}
solution
We set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 3 & -6 & 1 & 13 & 15\\ 3 & -6 & 3 & 21 & 21\\ 2 & -4 & 5 & 26 & 23 \end{pmatrix} \overset{R_{2}=-R_{1}+R_{2}}{\Longrightarrow }\begin{pmatrix} 3 & -6 & 1 & 13 & 15\\ 0 & 0 & 2 & 8 & 6\\ 2 & -4 & 5 & 26 & 23 \end{pmatrix} \overset{R_{3}=-2R_{1}+3R_{3}}{\Longrightarrow }\\ & \begin{pmatrix} 3 & -6 & 1 & 13 & 15\\ 0 & 0 & 2 & 8 & 6\\ 0 & 0 & 13 & 52 & 39 \end{pmatrix} \overset{R_{3}=-13R_{2}+2R_{3}}{\Longrightarrow }\begin{pmatrix} 3 & -6 & 1 & 13 & 15\\ 0 & 0 & 2 & 8 & 6\\ 0 & 0 & 0 & 0 & 0 \end{pmatrix} \end{align*}
The above final matrix is now in echelon form. Since last row gives \(0x_{i}=0\), then there are infinite number of solutions, as any \(x\) will satisfy this. System is therefore consistent.
Let \[ x_{4}=t \] Hence from the second row, we obtain\begin{align*} 2x_{3}+8x_{4} & =6\\ 2x_{3}+8t & =6\\ x_{3} & =\frac{6-8t}{2}=3-4t \end{align*}
And from the first equation\begin{align*} 3x_{1}-6x_{2}+x_{3}+13x_{4} & =15\\ 3x_{1}-6x_{2} & =15-x_{3}-13x_{4}\\ 3x_{1}-6x_{2} & =15-\left ( 3-4t\right ) -13t \end{align*}
Let \(x_{2}=s\) then\begin{align*} 3x_{1}-6s & =12-9t\\ x_{1} & =\frac{12-9t+6s}{3}\\ & =4-3t+2s \end{align*}
Hence the final solution is\begin{align*} x_{1} & =4-3t+2s\\ x_{2} & =s\\ x_{3} & =3-4t\\ x_{4} & =t \end{align*}
problem Determine for what value of \(k\) each system has (a) unique solution (b) no solution (c) infinite solutions
\begin{align*} 3x+2y & =0\\ 6x+ky & =0 \end{align*}
solution
We set up the augmented matrix and do forward elimination\[\begin{pmatrix} 3 & 2 & 0\\ 6 & k & 0 \end{pmatrix} \overset{R_{2}=-2R_{1}+R_{2}}{\Longrightarrow }\begin{pmatrix} 3 & 2 & 0\\ 0 & -4+k & 0 \end{pmatrix} \] Hence, the last equation says that \[ \left ( -4+k\right ) y=0 \] case a A unique solution exist if \(k\neq 4\), since in this case \(y\) must be zero. Giving the unique solution \(\left \{ y\rightarrow 0,x\rightarrow 0\right \} \)
case b There is no value of \(k\) which causes no solution to exist. Since the RHS is zero in the last equation.
case c If \(k=4\), then we have \(0y=0\). Then any value of \(y\) will satisfy this. Hence infinite number of solutions.
problem Determine for what value of \(k\) each system has (a) unique solution (b) no solution (c) infinite solutions
\begin{align*} x+2y+z & =3\\ 2x-y-3z & =5\\ 4x+3y-z & =k \end{align*}
solution
We set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 1 & 2 & 1 & 3\\ 2 & -1 & -3 & 5\\ 4 & 3 & -1 & k \end{pmatrix} \overset{R_{2}=-2R_{1}+R_{2}}{\Longrightarrow }\begin{pmatrix} 1 & 2 & 1 & 3\\ 0 & -5 & -5 & -1\\ 4 & 3 & -1 & k \end{pmatrix} \\ & \overset{R_{3}=-4R_{1}+R_{3}}{\Longrightarrow }\begin{pmatrix} 1 & 2 & 1 & 3\\ 0 & -5 & -5 & -1\\ 0 & -5 & -5 & k-12 \end{pmatrix} \overset{R_{3}=-R_{2}+R_{3}}{\Longrightarrow }\begin{pmatrix} 1 & 2 & 1 & 3\\ 0 & -5 & -5 & -1\\ 0 & 0 & 0 & k-11 \end{pmatrix} \end{align*}
Hence, the last equation says that \[ \left ( 0\right ) z=k-11 \] case a No \(k\) exist which gives unique solution. For if \(k=11\), then we have \(\left ( 0\right ) z=0\) and this gives infinite solutions. And if \(k\neq 11\), then we have \(\left ( 0\right ) z=\) number. Which says there are no solution.
case b If \(k\neq 11\), then we have \(\left ( 0\right ) z=\) number. Which says there are no solution.
case c if \(k=11\), then we have \(\left ( 0\right ) z=0\) and this gives infinite solutions
Problem Under what conditions on the constants \(a,b,c\) does the systems
\begin{align*} 2x-y+3z & =a\\ x+2y+z & =b\\ 7x+4y+9z & =c \end{align*}
Have unique solution, no solution, infinite number of solutions?
solution
We set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 2 & -1 & 3 & a\\ 1 & 2 & 1 & b\\ 7 & 4 & 9 & c \end{pmatrix} \overset{R_{2}=2R_{2}}{\Longrightarrow }\begin{pmatrix} 2 & -1 & 3 & a\\ 2 & 4 & 2 & 2b\\ 7 & 4 & 9 & c \end{pmatrix} \overset{R_{2}=R_{2}-R_{1}}{\Longrightarrow }\begin{pmatrix} 2 & -1 & 3 & a\\ 0 & 5 & -1 & 2b-a\\ 7 & 4 & 9 & c \end{pmatrix} \\ & \overset{R_{1}=7R_{1}}{\underset{R_{3}=2R_{3}}{\Longrightarrow }}\begin{pmatrix} 14 & -7 & 21 & 7a\\ 0 & 5 & -1 & 2b-a\\ 14 & 8 & 18 & 2c \end{pmatrix} \overset{R_{3}=R_{3}-R_{1}}{\Longrightarrow }\begin{pmatrix} 14 & -7 & 21 & 7a\\ 0 & 5 & -1 & 2b-a\\ 0 & 15 & -3 & 2c-7a \end{pmatrix} \\ & \overset{R_{3}=R_{3}-3R_{2}}{\Longrightarrow }\begin{pmatrix} 14 & -7 & 21 & 7a\\ 0 & 5 & -1 & 2b-a\\ 0 & 0 & 0 & 2c-4a-6b \end{pmatrix} \end{align*}
Hence, the last equation says\begin{align*} \left ( 0\right ) z & =2c-4a-6b\\ \left ( 0\right ) z & =c-2a-3b\\ 0\left ( z\right ) & =c-\left ( 2a+3b\right ) \end{align*}
If the RHS is zero, then we have infinite number of solutions, since then we end up with \(\left ( 0\right ) z=0\), which means any \(z\) will satisfy this equation. But if the RHS is not zero, then we end up with \(\left ( 0\right ) z=\) some number. Which is not possible. Therefore we conclude that
If \(c=\left ( 2a+3b\right ) \) then infinite number of solutions.
If \(c\neq \left ( 2a+3b\right ) \) then no solution.
It is not possible to obtain a unique solution.
Write the following as \(Ax=b\,\) and determine for what values of the parameter \(k\) the system has (i) unique solution (ii) no solution, (iii) infinite solutions. (a)\begin{align*} x_{1}+3x_{2} & =8\\ -x_{1}+2x_{2}-x_{3} & =4\\ 3x_{1}+x_{2}+10x_{3} & =k \end{align*}
(b)
\begin{align*} -x_{2}+0.5x_{3} & =0\\ 4x_{1}+2x_{2}+3x_{3} & =2\\ 2x_{1}+3x_{2}+0.5x_{3} & =k \end{align*}
We write it first as \(Ax=b\)\[ \overset{A}{\overbrace{\begin{pmatrix} 1 & 0 & 3\\ -1 & 2 & -1\\ 3 & 1 & 10 \end{pmatrix} }}\overset{b}{\overbrace{\begin{pmatrix} x_{1}\\ x_{2}\\ x_{3}\end{pmatrix} }}=\overset{b}{\overbrace{\begin{pmatrix} 8\\ 4\\ k \end{pmatrix} }}\] We next set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 1 & 0 & 3 & 8\\ -1 & 2 & -1 & 4\\ 3 & 1 & 10 & k \end{pmatrix} \overset{R_{2}=R_{1}+R_{2}}{\Longrightarrow }\begin{pmatrix} 1 & 0 & 3 & 8\\ 0 & 2 & 2 & 12\\ 3 & 1 & 10 & k \end{pmatrix} \\ & \overset{R_{3}=3R_{1}-R_{3}}{\Longrightarrow }\begin{pmatrix} 1 & 0 & 3 & 8\\ 0 & 2 & 2 & 12\\ 0 & -1 & -1 & 24-k \end{pmatrix} \overset{R_{3}=R_{2}+2R_{3}}{\Longrightarrow }\begin{pmatrix} 1 & 0 & 3 & 8\\ 0 & 2 & 2 & 12\\ 0 & 0 & 0 & 60-2k \end{pmatrix} \end{align*}
Therefore, from last equation we see that \[ \left ( 0\right ) x_{3}=30-k \] case (i) It is not possible to have unique solution.
case (iI) If \(\left ( 30-k\right ) \neq 0\) then there is no solution, since then we have \(0x_{3}=\) some number, which is not possible. Hence for \(k\neq 30\), there is no solution.
case (iii) If \(\left ( 30-k\right ) =0\) or \(k=30\), then there are infinite number of solutions.
We write it first as \(Ax=b\)\[ \overset{A}{\overbrace{\begin{pmatrix} 0 & -1 & 0.5\\ 4 & 2 & 3\\ 2 & 3 & 0.5 \end{pmatrix} }}\overset{b}{\overbrace{\begin{pmatrix} x_{1}\\ x_{2}\\ x_{3}\end{pmatrix} }}=\overset{b}{\overbrace{\begin{pmatrix} 0\\ 2\\ k \end{pmatrix} }}\] We next set up the augmented matrix and do forward elimination\begin{align*} & \begin{pmatrix} 0 & -1 & 0.5 & 0\\ 4 & 2 & 3 & 2\\ 2 & 3 & 0.5 & k \end{pmatrix} \overset{\text{swap}\left ( R_{2},R_{1}\right ) }{\Longrightarrow }\begin{pmatrix} 4 & 2 & 3 & 2\\ 0 & -1 & 0.5 & 0\\ 2 & 3 & 0.5 & k \end{pmatrix} \overset{R_{3}=R_{1}-2R_{3}}{\Longrightarrow }\begin{pmatrix} 4 & 2 & 3 & 2\\ 0 & -1 & 0.5 & 0\\ 0 & -4 & 2 & 2-2k \end{pmatrix} \\ & \overset{R_{3}=-4R_{2}+R_{3}}{\Longrightarrow }\begin{pmatrix} 4 & 2 & 3 & 2\\ 0 & -1 & 0.5 & 0\\ 0 & 0 & 0 & 2-2k \end{pmatrix} \end{align*}
Therefore, from last equation we see that \[ \left ( 0\right ) x_{3}=1-k \] case (i) It is not possible to have unique solution.
case (iI) If \(\left ( 1-k\right ) \neq 0\) then there is no solution, since then we have \(0x_{3}=\) some number, which is not possible. Hence for \(k\neq 1\), there is no solution.
case (iii) If \(\left ( 1-k\right ) =0\) or \(k=1\), then there are infinite number of solutions.