Matrix Solutions to Systems - Algebra 3

  1. The system below is written as the matrix equation AX=BAX = B, where A=[12−1213312]A=\begin{bmatrix}1&2&-1\\2&1&3\\3&1&2\end{bmatrix} and B=[525]B=\begin{bmatrix}5\\2\\5\end{bmatrix}. If A−1=110[−1−5755−5−15−3]A^{-1}=\frac{1}{10}\begin{bmatrix}-1&-5&7\\5&5&-5\\-1&5&-3\end{bmatrix}, what is the zz-coordinate of the solution X=[xyz]X=\begin{bmatrix}x\\y\\z\end{bmatrix}?
    Answer: -1 When you see a matrix equation AX=BAX=B and you already have A−1A^{-1}, your move is to multiply both sides on the left by A−1A^{-1}. That gives X=A−1BX=A^{-1}B, so the solution vector is just that product. Since the question asks for the zz-coordinate, you only need the third row of A−1A^{-1}. Compute the third row of A−1A^{-1} dotted with BB: z=110[−15−3][525]=110(−5+10−15)=−1010=−1.z = \frac{1}{10}\begin{bmatrix}-1 & 5 & -3\end{bmatrix} \begin{bmatrix}5\\2\\5\end{bmatrix} = \frac{1}{10}(-5+10-15) = \frac{-10}{10} = -1. So the zz-coordinate is −1-1. The other choices come from common missteps. The value 22 is actually the xx-coordinate: the first row gives x=2x=2. The value 11 is the yy-coordinate, from the second row. Both are real parts of the solution, but neither is zz. The value −10-10 is the numerator inside the calculation before dividing by 1010; if you forget the 110\frac{1}{10} factor, you'd incorrectly choose −10-10. A useful habit: when XX has multiple components, identify exactly which row of A−1A^{-1} corresponds to the variable you need. Then compute only that row times BB. This saves time and reduces arithmetic errors. Also, always check whether the final step includes dividing by the determinant factor—here the 110\frac{1}{10} is easy to drop.
  2. Consider x+2y=3x+2y=3 and 3x+ky=123x+ky=12, where kk is a constant. Which statement describes the solutions for all values of kk?
    Answer: There is no solution when k=6k=6, and a unique solution otherwise. The determinant is k−6k-6, so a unique solution exists whenever k≠6k\neq 6. At k=6k=6 the left sides are proportional but the constants are not, since 3(x+2y)=93(x+2y)=9 while the second equation demands 1212, so the system is inconsistent. Infinitely many solutions would require that constant to be 99 instead of 1212. At k=−6k=-6 the determinant is −12-12, which is nonzero, so that case is an ordinary unique solution.
  3. Which matrix multiplies [5273]\begin{bmatrix}5&2\\7&3\end{bmatrix} to produce the identity matrix I2I_2?
    Answer: [3−2−75]\begin{bmatrix}3&-2\\-7&5\end{bmatrix} Since det⁡=5(3)−2(7)=1\det=5(3)-2(7)=1, the inverse swaps the diagonal entries and negates the off-diagonal ones, giving [3−2−75]\begin{bmatrix}3&-2\\-7&5\end{bmatrix}. Multiplying confirms 5(3)+2(−7)=15(3)+2(-7)=1 and 5(−2)+2(5)=05(-2)+2(5)=0. The matrix [3275]\begin{bmatrix}3&2\\7&5\end{bmatrix} changes no signs. The matrix [3−7−25]\begin{bmatrix}3&-7\\-2&5\end{bmatrix} puts the negated entries in transposed positions. The matrix [−327−5]\begin{bmatrix}-3&2\\7&-5\end{bmatrix} negates the diagonal entries instead.
  4. A jeweler's system is 4x+3y=184x+3y=18 and 2x+5y=162x+5y=16. Using the inverse of the coefficient matrix, what is the solution?
    Answer: (3,2)(3,2) With det⁡(A)=4(5)−3(2)=14\det(A)=4(5)-3(2)=14, the inverse is 114[5−3−24]\tfrac{1}{14}\begin{bmatrix}5&-3\\-2&4\end{bmatrix}, and 114(42,28)=(3,2)\tfrac{1}{14}(42,28)=(3,2), which satisfies both equations. The pair (42,28)(42,28) omits the factor 114\tfrac{1}{14}. The pair (2,3)(2,3) reverses the coordinates. The pair (3,−2)(3,-2) carries a sign error into yy and fails the second equation.
  5. The coefficient matrix of a system is the diagonal matrix [100020005]\begin{bmatrix}1&0&0\\0&2&0\\0&0&5\end{bmatrix}. What is its inverse?
    Answer: [10001200015]\begin{bmatrix}1&0&0\\0&\frac{1}{2}&0\\0&0&\frac{1}{5}\end{bmatrix} For a diagonal matrix with nonzero entries, the inverse is diagonal with each entry replaced by its reciprocal, and multiplying the two matrices returns the identity. Negating the entries gives a product with −1-1 down the diagonal, not 11. Repeating the original matrix gives a product with 1, 4, 251,\,4,\,25 down the diagonal. Reversing the order of the reciprocals moves nonzero entries off the diagonal, so the product is not the identity.
  6. Which single row operation turns [2461−35]\left[\begin{array}{cc|c}2&4&6\\1&-3&5\end{array}\right] into [1231−35]\left[\begin{array}{cc|c}1&2&3\\1&-3&5\end{array}\right]?
    Answer: R1→12R1R_1 \to \tfrac{1}{2}R_1 Every entry of the first row is halved, since 2, 4, 62,\,4,\,6 becomes 1, 2, 31,\,2,\,3, while the second row is untouched. The operation R1→R1−R2R_1 \to R_1 - R_2 would produce 1, 7, 11,\,7,\,1 instead. Swapping the rows would put 1, −3, 51,\,-3,\,5 on top. Doubling the first row would give 4, 8, 124,\,8,\,12, moving away from the target rather than toward it.
  7. Apply R1→13R1R_1 \to \tfrac{1}{3}R_1 to [3−69254]\left[\begin{array}{cc|c}3&-6&9\\2&5&4\end{array}\right], then apply R2→R2−2R1R_2 \to R_2 - 2R_1 using the new first row. What is the resulting second row?
    Answer: [09−2]\begin{bmatrix}0&9&-2\end{bmatrix} Scaling makes the first row 1, −2, 31,\,-2,\,3, and then 2−2(1)=02-2(1)=0, 5−2(−2)=95-2(-2)=9, and 4−2(3)=−24-2(3)=-2 give [09−2]\begin{bmatrix}0&9&-2\end{bmatrix}. The row [09−14]\begin{bmatrix}0&9&-14\end{bmatrix} uses the original constant 99 rather than the scaled 33. The row [0−7−2]\begin{bmatrix}0&-7&-2\end{bmatrix} subtracts 2(6)2(6) and misses the double negative. The row [01−2]\begin{bmatrix}0&1&-2\end{bmatrix} subtracts twice the unscaled leading entry instead.
  8. Apply the row operation R2→R2−4R1R_2 \to R_2 - 4R_1 to [1−2341−3]\left[\begin{array}{cc|c}1&-2&3\\4&1&-3\end{array}\right]. What is the result?
    Answer: [1−2309−15]\left[\begin{array}{cc|c}1&-2&3\\0&9&-15\end{array}\right] Entry by entry, 4−4(1)=04-4(1)=0, 1−4(−2)=91-4(-2)=9, and −3−4(3)=−15-3-4(3)=-15, so the new second row is 0, 9, −150,\,9,\,-15. The row 0, −7, −150,\,-7,\,-15 subtracts 88 instead of adding it, missing the double negative. The row 0, 9, 150,\,9,\,15 drops the sign in the constant column. The row 0, 9, −90,\,9,\,-9 subtracts only 66 from the constant.
  9. Suppose A−1=[1213]A^{-1}=\begin{bmatrix}1&2\\1&3\end{bmatrix}. What is the matrix AA itself?
    Answer: [3−2−11]\begin{bmatrix}3&-2\\-1&1\end{bmatrix} Because inverses come in pairs, AA is the inverse of A−1A^{-1}. That matrix has determinant 1(3)−2(1)=11(3)-2(1)=1, so inverting it gives [3−2−11]\begin{bmatrix}3&-2\\-1&1\end{bmatrix}, and multiplying the two returns the identity. The option [1−2−13]\begin{bmatrix}1&-2\\-1&3\end{bmatrix} negates the off-diagonal entries without swapping the diagonal ones. The option [3−1−21]\begin{bmatrix}3&-1\\-2&1\end{bmatrix} is the transpose of the correct matrix. Taking reciprocals entrywise is not how matrices invert.
  10. A 2×22\times 2 matrix AA satisfies A[11]=[53]A\begin{bmatrix}1\\1\end{bmatrix}=\begin{bmatrix}5\\3\end{bmatrix} and A[1−1]=[11]A\begin{bmatrix}1\\-1\end{bmatrix}=\begin{bmatrix}1\\1\end{bmatrix}. Identify AA.
    Answer: [3221]\begin{bmatrix}3&2\\2&1\end{bmatrix} Writing A=[abcd]A=\begin{bmatrix}a&b\\c&d\end{bmatrix} turns the two conditions into a+b=5a+b=5, a−b=1a-b=1, c+d=3c+d=3, and c−d=1c-d=1, so a=3a=3, b=2b=2, c=2c=2, and d=1d=1. The matrices [3212]\begin{bmatrix}3&2\\1&2\end{bmatrix} and [2312]\begin{bmatrix}2&3\\1&2\end{bmatrix} both reproduce the first condition but send [1−1]\begin{bmatrix}1\\-1\end{bmatrix} to [1−1]\begin{bmatrix}1\\-1\end{bmatrix} and [−1−1]\begin{bmatrix}-1\\-1\end{bmatrix} respectively. The matrix [3122]\begin{bmatrix}3&1\\2&2\end{bmatrix} fails even the first condition, giving [44]\begin{bmatrix}4\\4\end{bmatrix}.
  11. Which augmented matrix represents 3x−y=73x-y=7 together with x+4y=−2x+4y=-2?
    Answer: [3−1714−2]\left[\begin{array}{cc|c}3&-1&7\\1&4&-2\end{array}\right] Each row lists that equation's xx coefficient, yy coefficient, and constant in order, so the first row is 3, −1, 73,\,-1,\,7 and the second is 1, 4, −21,\,4,\,-2. The version beginning 3, 13,\,1 loses the negative on −y-y. The version with constants −2-2 and 77 attaches each constant to the wrong equation. The version beginning −1, 3-1,\,3 reverses the coefficient columns.
  12. Given A−1=[2−1−32]A^{-1}=\begin{bmatrix}2&-1\\-3&2\end{bmatrix} and B=[45]B=\begin{bmatrix}4\\5\end{bmatrix}, compute X=A−1BX=A^{-1}B.
    Answer: (3,−2)(3,-2) Row-by-column multiplication gives 2(4)+(−1)(5)=32(4)+(-1)(5)=3 and (−3)(4)+2(5)=−2(-3)(4)+2(5)=-2, so X=(3,−2)X=(3,-2). The pair (13,22)(13,22) comes from ignoring the negative signs and adding every product. The pair (−3,2)(-3,2) reads the first column of A−1A^{-1} rather than computing the product. The pair (2,3)(2,3) reverses the two entries and drops the sign.
  13. Row reduce to solve 2x+y−z=12x+y-z=1, x−y+2z=8x-y+2z=8, and 3x+2y+z=93x+2y+z=9.
    Answer: (2,0,3)(2,0,3) Eliminating variables leads to 3x+z=93x+z=9 and −x+3z=7-x+3z=7, giving x=2x=2, z=3z=3, and then y=0y=0; all three equations check, as in 2(2)+0−3=12(2)+0-3=1. The triple (1,2,3)(1,2,3) fails the first equation, since 2+2−3=12+2-3=1 but 1−2+6=5≠81-2+6=5\neq 8. The triple (0,2,3)(0,2,3) swaps xx and yy, and (3,0,2)(3,0,2) swaps xx and zz; both fail the second equation.
  14. While row reducing an augmented matrix, a student obtains the row [0005]\left[\begin{array}{ccc|c}0&0&0&5\end{array}\right]. What does this row reveal about the system?
    Answer: It is inconsistent, so the system has no solution at all. That row translates to 0x+0y+0z=50x+0y+0z=5, which no values of the variables can satisfy, so the system is inconsistent. The reading z=5z=5 would require a leading 1 in the zz column rather than a row of zeros. Infinitely many solutions require the constant to be 00 as well, giving the row [0000]\left[\begin{array}{ccc|c}0&0&0&0\end{array}\right]. The value z=0z=0 is not forced by anything in this row.
  15. Consider the matrix equation [12−124−2111][xyz]=[352].\begin{bmatrix}1&2&-1\\2&4&-2\\1&1&1\end{bmatrix}\begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}3\\5\\2\end{bmatrix}. Which conclusion follows?
    Answer: The system has no solution. Whenever you have a matrix equation, check whether one row is a multiple of another before doing elimination. Here the first two coefficient rows are proportional: Row 2 is exactly twice Row 1. That means the two equations express the same left-hand side in different ways: Row 1 gives x+2y−z=3x+2y-z=3, and Row 2 gives 2x+4y−2z=52x+4y-2z=5, which simplifies to x+2y−z=52x+2y-z=\tfrac{5}{2}. The same expression cannot equal both 33 and 52\tfrac{5}{2} simultaneously, so no triple (x,y,z)(x,y,z) can satisfy the system. Therefore the conclusion that the system has no solution is forced. The statement that the system has exactly one solution would require a consistent system, but the first two rows are incompatible, so zero solutions exist. The proposed unique solution (1,1,0)(1,1,0) looks tempting because it satisfies the first and third equations: 1+2−0=31+2-0=3 and 1+1+0=21+1+0=2. However, it fails the second equation: 2(1)+4(1)−2(0)=62(1)+4(1)-2(0)=6, not 55. The infinitely many solutions conclusion is another trap: proportional coefficient rows often signal redundancy or free variables, but here the constants are inconsistent, so the system is inconsistent, not underdetermined. Whenever proportional coefficient rows appear, compare the constants. If one row is a multiple of another but the constants are not in the same ratio, the system has no solution. This quick check saves time and prevents a false "infinitely many solutions" conclusion.
  16. Back-substitute to solve the system whose augmented matrix in row echelon form is [13501−2]\left[\begin{array}{cc|c}1&3&5\\0&1&-2\end{array}\right].
    Answer: (11,−2)(11,-2) The second row gives y=−2y=-2, and substituting into x+3y=5x+3y=5 gives x=5+6=11x=5+6=11, so the solution is (11,−2)(11,-2). The pair (5,−2)(5,-2) skips the back-substitution and reads xx straight from the constant column. The pair (−1,−2)(-1,-2) subtracts 66 instead of adding it. The pair (11,2)(11,2) drops the negative sign on yy.
  17. An augmented matrix reduces to [20603−9]\left[\begin{array}{cc|c}2&0&6\\0&3&-9\end{array}\right]. Read off the solution.
    Answer: (3,−3)(3,-3) The rows say 2x=62x=6 and 3y=−93y=-9, so dividing by each pivot gives x=3x=3 and y=−3y=-3. The pair (6,−9)(6,-9) reads the constant column without dividing by the pivots, which are not yet 11. The pair (3,3)(3,3) loses the negative sign on yy. The pair (2,3)(2,3) reports the pivot entries rather than the solution.
  18. The system 2x−5y=72x-5y=7 and 3x+y=−43x+y=-4 is rewritten in the form AX=BAX=B. Which matrix equation is correct?
    Answer: [2−531][xy]=[7−4]\begin{bmatrix}2&-5\\3&1\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}7\\-4\end{bmatrix} Each row of AA holds the coefficients of one equation in order, and BB holds that equation's constant, giving [2−531][xy]=[7−4]\begin{bmatrix}2&-5\\3&1\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}7\\-4\end{bmatrix}. The version with coefficient matrix [23−51]\begin{bmatrix}2&3\\-5&1\end{bmatrix} stores the coefficients down the columns instead of across the rows. The version with [2531]\begin{bmatrix}2&5\\3&1\end{bmatrix} drops the negative sign on −5y-5y. The version ending in [−47]\begin{bmatrix}-4\\7\end{bmatrix} pairs each equation with the other equation's constant.
  19. Find the column matrix XX satisfying [413−2]X=[512]\begin{bmatrix}4&1\\3&-2\end{bmatrix}X=\begin{bmatrix}5\\12\end{bmatrix}.
    Answer: [2−3]\begin{bmatrix}2\\-3\end{bmatrix} The determinant is 4(−2)−1(3)=−114(-2)-1(3)=-11, and multiplying by the inverse gives X=111(22,−33)X=\tfrac{1}{11}(22,-33), or [2−3]\begin{bmatrix}2\\-3\end{bmatrix}; substituting confirms 4(2)+(−3)=54(2)+(-3)=5 and 3(2)−2(−3)=123(2)-2(-3)=12. The entry pair [22−33]\begin{bmatrix}22\\-33\end{bmatrix} skips dividing by the determinant. The pairs [−32]\begin{bmatrix}-3\\2\end{bmatrix} and [3−2]\begin{bmatrix}3\\-2\end{bmatrix} swap or resign the entries and fail the second equation.
  20. Express x+y+z=6x+y+z=6, 2x−z=12x-z=1, and y+3z=10y+3z=10 as a single matrix equation.
    Answer: [11120−1013][xyz]=[6110]\begin{bmatrix}1&1&1\\2&0&-1\\0&1&3\end{bmatrix}\begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}6\\1\\10\end{bmatrix} A missing variable contributes a coefficient of 00, so 2x−z=12x-z=1 becomes the row [20−1]\begin{bmatrix}2&0&-1\end{bmatrix} and y+3z=10y+3z=10 becomes [013]\begin{bmatrix}0&1&3\end{bmatrix}. The version with row [2−10]\begin{bmatrix}2&-1&0\end{bmatrix} puts the zz coefficient in the yy column. The version whose first column reads 1,1,11,1,1 stores coefficients by column instead of by row. The version with row [201]\begin{bmatrix}2&0&1\end{bmatrix} loses the negative sign on −z-z.

Start this quiz