{"id":1376,"date":"2025-07-24T19:14:37","date_gmt":"2025-07-24T19:14:37","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/?post_type=chapter&#038;p=1376"},"modified":"2026-03-24T17:53:12","modified_gmt":"2026-03-24T17:53:12","slug":"solving-systems-with-inverses-learn-it-4","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/solving-systems-with-inverses-learn-it-4\/","title":{"raw":"Solving Systems with Inverses: Learn It 4","rendered":"Solving Systems with Inverses: Learn It 4"},"content":{"raw":"<h2>Solving a System of Linear Equations Using the Inverse of a Matrix<\/h2>\r\nSolving a system of linear equations using the inverse of a matrix requires the definition of two new matrices: [latex]X[\/latex] is the matrix representing the variables of the system, and [latex]B[\/latex] is the matrix representing the constants. Using <strong>matrix multiplication<\/strong>, we may define a system of equations with the same number of equations as variables as [latex]AX=B[\/latex]\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>system of equation in matrix form<\/h3>\r\nTo solve a system of linear equations using an <strong>inverse matrix<\/strong>, let [latex]A[\/latex] be the <strong>coefficient matrix<\/strong>, let [latex]X[\/latex] be the variable matrix, and let [latex]B[\/latex] be the constant matrix. Thus, we want to solve a system [latex]AX=B[\/latex].\r\n\r\n&nbsp;\r\n\r\nFor example, look at the following system of equations.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\\\ {a}_{2}x+{b}_{2}y={c}_{2}\\end{array}[\/latex]<\/p>\r\nFrom this system, the <strong>coefficient matrix<\/strong> is\r\n<p style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}{a}_{1}&amp; {b}_{1}\\\\ {a}_{2}&amp; {b}_{2}\\end{array}\\right][\/latex]<\/p>\r\nThe <strong>variable matrix<\/strong> is\r\n<p style=\"text-align: center;\">[latex]X=\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right][\/latex]<\/p>\r\nAnd the <strong>constant matrix<\/strong> is\r\n<p style=\"text-align: center;\">[latex]B=\\left[\\begin{array}{c}{c}_{1}\\\\ {c}_{2}\\end{array}\\right][\/latex]<\/p>\r\n&nbsp;\r\n\r\nThen [latex]AX=B[\/latex] looks like\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{cc}{a}_{1}&amp; {b}_{1}\\\\ {a}_{2}&amp; {b}_{2}\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{c}{c}_{1}\\\\ {c}_{2}\\end{array}\\right][\/latex]<\/p>\r\n\r\n<\/section><section class=\"textbox proTip\" aria-label=\"Pro Tip\">Recall the discussion earlier in this section regarding multiplying a real number by its inverse, [latex]\\left({2}^{-1}\\right)2=\\left(\\frac{1}{2}\\right)2=1[\/latex].\r\n[latex]\\\\[\/latex]\r\nTo solve a single linear equation [latex]ax=b[\/latex] for [latex]x[\/latex], we would simply multiply both sides of the equation by the multiplicative inverse (reciprocal) of [latex]a[\/latex]. Thus,\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{c}\\text{ }ax=b\\\\ \\text{ }\\left(\\frac{1}{a}\\right)ax=\\left(\\frac{1}{a}\\right)b\\\\ \\left({a}^{-1}\\text{ }\\right)ax=\\left({a}^{-1}\\right)b\\\\ \\left[\\left({a}^{-1}\\right)a\\right]x=\\left({a}^{-1}\\right)b\\\\ \\text{ }1x=\\left({a}^{-1}\\right)b\\\\ \\text{ }x=\\left({a}^{-1}\\right)b\\end{array}[\/latex]<\/p>\r\nThe only difference between solving a linear equation and a <strong>system of equations<\/strong> written in matrix form is that finding the inverse of a matrix is more complicated, and matrix multiplication is a longer process. However, the goal is the same\u2014to isolate the variable.\r\n\r\n<\/section>Given a system of equations, write the coefficient matrix [latex]A[\/latex], the variable matrix [latex]X[\/latex], and the constant matrix [latex]B[\/latex]. Then [latex]AX=B[\/latex].\u00a0Multiply both sides by the inverse of [latex]A[\/latex] to obtain the solution.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill \\left({A}^{-1}\\right)AX=\\left({A}^{-1}\\right)B\\\\ \\hfill \\left[\\left({A}^{-1}\\right)A\\right]X=\\left({A}^{-1}\\right)B\\\\ \\hfill IX=\\left({A}^{-1}\\right)B\\\\ \\hfill X=\\left({A}^{-1}\\right)B\\end{array}[\/latex]<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Solve the given system of equations using the inverse of a matrix.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill 3x+8y=5\\\\ \\hfill 4x+11y=7\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"167361\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"167361\"]\r\n\r\nWrite the system in terms of a coefficient matrix, a variable matrix, and a constant matrix.\r\n<p style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}3&amp; 8\\\\ 4&amp; 11\\end{array}\\right],X=\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right],B=\\left[\\begin{array}{c}5\\\\ 7\\end{array}\\right][\/latex]<\/p>\r\nThen\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{cc}3&amp; 8\\\\ 4&amp; 11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{c}5\\\\ 7\\end{array}\\right][\/latex]<\/p>\r\nFirst, we need to calculate [latex]{A}^{-1}[\/latex]. Using the formula to calculate the inverse of a 2 by 2 matrix, we have:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}{A}^{-1} &amp; =\\frac{1}{ad-bc}\\left[\\begin{array}{cc}d&amp; -b\\\\ -c&amp; a\\end{array}\\right]\\hfill \\\\ &amp; =\\frac{1}{3\\left(11\\right)-8\\left(4\\right)}\\left[\\begin{array}{cc}11&amp; -8\\\\ -4&amp; 3\\end{array}\\right]\\hfill \\\\ &amp; =\\frac{1}{1}\\left[\\begin{array}{cc}11&amp; -8\\\\ -4&amp; 3\\end{array}\\right]\\hfill \\end{array}[\/latex]<\/p>\r\nSo,\r\n<p style=\"text-align: center;\">[latex]{A}^{-1}=\\left[\\begin{array}{cc}11&amp; -8\\\\ -4&amp; \\text{ }\\text{ }3\\end{array}\\right][\/latex]<\/p>\r\nNow we are ready to solve. Multiply both sides of the equation by [latex]{A}^{-1}[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\left({A}^{-1}\\right)AX=\\left({A}^{-1}\\right)B\\hfill \\\\ \\left[\\begin{array}{rr}\\hfill 11&amp; \\hfill -8\\\\ \\hfill -4&amp; \\hfill 3\\end{array}\\right]\\text{ }\\left[\\begin{array}{cc}3&amp; 8\\\\ 4&amp; 11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{rr}\\hfill 11&amp; \\hfill -8\\\\ \\hfill -4&amp; \\hfill 3\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}5\\\\ 7\\end{array}\\right]\\hfill \\\\ \\left[\\begin{array}{cc}1&amp; 0\\\\ 0&amp; 1\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{r}\\hfill 11\\left(5\\right)+\\left(-8\\right)7\\\\ \\hfill -4\\left(5\\right)+3\\left(7\\right)\\end{array}\\right]\\hfill \\\\ \\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{r}\\hfill -1\\\\ \\hfill 1\\end{array}\\right]\\hfill \\end{array}[\/latex]<\/p>\r\nThe solution is [latex]\\left(-1,1\\right)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>Can we solve for [latex]X[\/latex] by finding the product [latex]B{A}^{-1}?[\/latex]\r\n<\/strong>\r\n\r\n<hr \/>\r\n\r\nNo, recall that matrix multiplication is not commutative, so [latex]{A}^{-1}B\\ne B{A}^{-1}[\/latex]. Consider our steps for solving the matrix equation.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill \\left({A}^{-1}\\right)AX=\\left({A}^{-1}\\right)B\\\\ \\hfill \\left[\\left({A}^{-1}\\right)A\\right]X=\\left({A}^{-1}\\right)B\\\\ \\hfill IX=\\left({A}^{-1}\\right)B\\\\ \\hfill X=\\left({A}^{-1}\\right)B\\end{array}[\/latex]<\/p>\r\nNotice in the first step we multiplied both sides of the equation by [latex]{A}^{-1}[\/latex], but the [latex]{A}^{-1}[\/latex] was to the left of [latex]A[\/latex] on the left side and to the left of [latex]B[\/latex] on the right side. Because matrix multiplication is not commutative, order matters.\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]321760[\/ohm_question]<\/section><section class=\"textbox example\" aria-label=\"Example\">Solve the following system using the inverse of a matrix.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill 5x+15y+56z=35\\\\ \\hfill -4x - 11y - 41z=-26\\\\ \\hfill -x - 3y - 11z=-7\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"837562\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"837562\"]\r\n\r\nWrite the equation [latex]AX=B[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc}5&amp; 15&amp; 56\\\\ -4&amp; -11&amp; -41\\\\ -1&amp; -3&amp; -11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\\\ z\\end{array}\\right]=\\left[\\begin{array}{r}\\hfill 35\\\\ \\hfill -26\\\\ \\hfill -7\\end{array}\\right][\/latex]<\/p>\r\nFirst, we will find the inverse of [latex]A[\/latex] by augmenting with the identity.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 5&amp; \\hfill 15&amp; \\hfill 56&amp; \\hfill 1&amp; \\hfill 0&amp; \\hfill0\\\\ \\hfill -4&amp; \\hfill -11&amp; \\hfill -41&amp; \\hfill 0&amp; \\hfill 1&amp; \\hfill 0\\\\ \\hfill-1&amp; \\hfill -3&amp; \\hfill -11&amp; \\hfill 0&amp; \\hfill 0&amp; \\hfill 1\\end{array}\\right][\/latex]<\/p>\r\nMultiply row 1 by [latex]\\frac{1}{5}[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1&amp; \\hfill 3&amp; \\hfill \\frac{56}{5}&amp; \\hfill \\frac{1}{5}&amp; \\hfill 0&amp; \\hfill0\\\\ \\hfill -4&amp; \\hfill -11&amp; \\hfill -41&amp; \\hfill 0&amp; \\hfill 1&amp; \\hfill 0\\\\ \\hfill-1&amp; \\hfill -3&amp; \\hfill -11&amp; \\hfill 0&amp; \\hfill 0&amp; \\hfill 1\\end{array}\\right][\/latex]<\/p>\r\nMultiply row 1 by 4 and add to row 2.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1&amp; \\hfill 3&amp; \\hfill \\frac{56}{5}&amp; \\hfill \\frac{1}{5}&amp; \\hfill 0&amp; \\hfill0\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill \\frac{19}{5}&amp; \\hfill \\frac{4}{5}&amp; \\hfill 1&amp; \\hfill 0\\\\ \\hfill-1&amp; \\hfill -3&amp; \\hfill -11&amp; \\hfill 0&amp; \\hfill 0&amp; \\hfill 1\\end{array}\\right][\/latex]<\/p>\r\nAdd row 1 to row 3.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1&amp; \\hfill 3&amp; \\hfill \\frac{56}{5}&amp; \\hfill \\frac{1}{5}&amp; \\hfill 0&amp; \\hfill0\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill \\frac{19}{5}&amp; \\hfill \\frac{4}{5}&amp; \\hfill 1&amp; \\hfill 0\\\\ \\hfill0&amp; \\hfill 0&amp; \\hfill \\frac{1}{5}&amp; \\hfill \\frac{1}{5}&amp; \\hfill 0&amp; \\hfill 1\\end{array}\\right][\/latex]<\/p>\r\nMultiply row 2 by \u22123 and add to row 1.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1&amp; \\hfill 0&amp; \\hfill -\\frac{1}{5}&amp; \\hfill -\\frac{11}{5}&amp; \\hfill -3&amp; \\hfill0\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill \\frac{19}{5}&amp; \\hfill \\frac{4}{5}&amp; \\hfill 1&amp; \\hfill 0\\\\ \\hfill0&amp; \\hfill 0&amp; \\hfill \\frac{1}{5}&amp; \\hfill \\frac{1}{5}&amp; \\hfill 0&amp; \\hfill 1\\end{array}\\right][\/latex]<\/p>\r\nMultiply row 3 by 5.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1&amp; \\hfill 0&amp; \\hfill -\\frac{1}{5}&amp; \\hfill -\\frac{11}{5}&amp; \\hfill -3&amp; \\hfill0\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill \\frac{19}{5}&amp; \\hfill \\frac{4}{5}&amp; \\hfill 1&amp; \\hfill 0\\\\ \\hfill0&amp; \\hfill 0&amp; \\hfill 1&amp; \\hfill 1&amp; \\hfill 0&amp; \\hfill 5\\end{array}\\right][\/latex]<\/p>\r\nMultiply row 3 by [latex]\\frac{1}{5}[\/latex] and add to row 1.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1&amp; \\hfill 0&amp; \\hfill 0&amp; \\hfill -2&amp; \\hfill -3&amp; \\hfill 1\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill \\frac{19}{5}&amp; \\hfill \\frac{4}{5}&amp; \\hfill 1&amp; \\hfill 0\\\\ \\hfill0&amp; \\hfill 0&amp; \\hfill 1&amp; \\hfill 1&amp; \\hfill 0&amp; \\hfill 5\\end{array}\\right][\/latex]<\/p>\r\nMultiply row 3 by [latex]-\\frac{19}{5}[\/latex] and add to row 2.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1&amp; \\hfill 0&amp; \\hfill 0&amp; \\hfill -2&amp; \\hfill -3&amp; \\hfill 1\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill 0&amp; \\hfill -3&amp; \\hfill 1&amp; \\hfill -19\\\\ \\hfill0&amp; \\hfill 0&amp; \\hfill 1&amp; \\hfill 1&amp; \\hfill 0&amp; \\hfill 5\\end{array}\\right][\/latex]<\/p>\r\nSo,\r\n<p style=\"text-align: center;\">[latex]{A}^{-1}=\\left[\\begin{array}{ccc}-2&amp; -3&amp; 1\\\\ -3&amp; 1&amp; -19\\\\ 1&amp; 0&amp; 5\\end{array}\\right][\/latex]<\/p>\r\nMultiply both sides of the equation by [latex]{A}^{-1}[\/latex]. We want\r\n<p style=\"text-align: center;\">[latex]{A}^{-1}AX={A}^{-1}B:[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{rrr}\\hfill -2&amp; \\hfill -3&amp; \\hfill 1\\\\ \\hfill -3&amp; \\hfill 1&amp; \\hfill -19\\\\ \\hfill 1&amp; \\hfill 0&amp; \\hfill 5\\end{array}\\right]\\text{ }\\left[\\begin{array}{rrr}\\hfill 5&amp; \\hfill 15&amp; \\hfill 56\\\\ \\hfill -4&amp; \\hfill -11&amp; \\hfill -41\\\\ \\hfill -1&amp; \\hfill -3&amp; \\hfill -11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\\\ z\\end{array}\\right]=\\left[\\begin{array}{rrr}\\hfill -2&amp; \\hfill -3&amp; \\hfill 1\\\\ \\hfill -3&amp; \\hfill 1&amp; \\hfill -19\\\\ \\hfill 1&amp; \\hfill 0&amp; \\hfill 5\\end{array}\\right]\\text{ }\\left[\\begin{array}{r}\\hfill 35\\\\ \\hfill -26\\\\ \\hfill -7\\end{array}\\right][\/latex]<\/p>\r\nThus,\r\n<p style=\"text-align: center;\">[latex]{A}^{-1}B=\\left[\\begin{array}{r}\\hfill -70+78 - 7\\\\ \\hfill -105 - 26+133\\\\ \\hfill 35+0 - 35\\end{array}\\right]=\\left[\\begin{array}{c}1\\\\ 2\\\\ 0\\end{array}\\right][\/latex]<\/p>\r\nThe solution is [latex]\\left(1,2,0\\right)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a system of equations, solve with matrix inverses using a calculator\r\n<\/strong>\r\n<ol id=\"fs-id1165135503570\">\r\n \t<li>Save the coefficient matrix and the constant matrix as matrix variables [latex]\\left[A\\right][\/latex] and [latex]\\left[B\\right][\/latex].<\/li>\r\n \t<li>Enter the multiplication, [latex][A]^-1\\times [B][\/latex], into the calculator, calling up each matrix variable as needed.<\/li>\r\n \t<li>If the coefficient matrix is invertible, the calculator will present the solution matrix; if the coefficient matrix is not invertible, the calculator will present an error message.<\/li>\r\n<\/ol>\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Solve the system of equations with matrix inverses using a calculator\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}2x+3y+z=32\\hfill \\\\ 3x+3y+z=-27\\hfill \\\\ 2x+4y+z=-2\\hfill \\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"714265\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"714265\"]\r\n\r\nOn the matrix page of the calculator, enter the <strong>coefficient matrix<\/strong> as the matrix variable [latex]\\left[A\\right][\/latex], and enter the constant matrix as the matrix variable [latex]\\left[B\\right][\/latex].\r\n<p style=\"text-align: center;\">[latex]\\left[A\\right]=\\left[\\begin{array}{ccc}2&amp; 3&amp; 1\\\\ 3&amp; 3&amp; 1\\\\ 2&amp; 4&amp; 1\\end{array}\\right],\\text{ }\\left[B\\right]=\\left[\\begin{array}{c}32\\\\ -27\\\\ -2\\end{array}\\right][\/latex]<\/p>\r\nOn the home screen of the calculator, type in the multiplication to solve for [latex]X[\/latex], calling up each matrix variable as needed.\r\n<p style=\"text-align: center;\">[latex]{\\left[A\\right]}^{-1}\\times \\left[B\\right][\/latex]<\/p>\r\nEvaluate the expression.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{c}-59\\\\ -34\\\\ 252\\end{array}\\right][\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]321761[\/ohm_question]<\/section>","rendered":"<h2>Solving a System of Linear Equations Using the Inverse of a Matrix<\/h2>\n<p>Solving a system of linear equations using the inverse of a matrix requires the definition of two new matrices: [latex]X[\/latex] is the matrix representing the variables of the system, and [latex]B[\/latex] is the matrix representing the constants. Using <strong>matrix multiplication<\/strong>, we may define a system of equations with the same number of equations as variables as [latex]AX=B[\/latex]<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>system of equation in matrix form<\/h3>\n<p>To solve a system of linear equations using an <strong>inverse matrix<\/strong>, let [latex]A[\/latex] be the <strong>coefficient matrix<\/strong>, let [latex]X[\/latex] be the variable matrix, and let [latex]B[\/latex] be the constant matrix. Thus, we want to solve a system [latex]AX=B[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<p>For example, look at the following system of equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\\\ {a}_{2}x+{b}_{2}y={c}_{2}\\end{array}[\/latex]<\/p>\n<p>From this system, the <strong>coefficient matrix<\/strong> is<\/p>\n<p style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}{a}_{1}& {b}_{1}\\\\ {a}_{2}& {b}_{2}\\end{array}\\right][\/latex]<\/p>\n<p>The <strong>variable matrix<\/strong> is<\/p>\n<p style=\"text-align: center;\">[latex]X=\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right][\/latex]<\/p>\n<p>And the <strong>constant matrix<\/strong> is<\/p>\n<p style=\"text-align: center;\">[latex]B=\\left[\\begin{array}{c}{c}_{1}\\\\ {c}_{2}\\end{array}\\right][\/latex]<\/p>\n<p>&nbsp;<\/p>\n<p>Then [latex]AX=B[\/latex] looks like<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{cc}{a}_{1}& {b}_{1}\\\\ {a}_{2}& {b}_{2}\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{c}{c}_{1}\\\\ {c}_{2}\\end{array}\\right][\/latex]<\/p>\n<\/section>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">Recall the discussion earlier in this section regarding multiplying a real number by its inverse, [latex]\\left({2}^{-1}\\right)2=\\left(\\frac{1}{2}\\right)2=1[\/latex].<br \/>\n[latex]\\\\[\/latex]<br \/>\nTo solve a single linear equation [latex]ax=b[\/latex] for [latex]x[\/latex], we would simply multiply both sides of the equation by the multiplicative inverse (reciprocal) of [latex]a[\/latex]. Thus,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{c}\\text{ }ax=b\\\\ \\text{ }\\left(\\frac{1}{a}\\right)ax=\\left(\\frac{1}{a}\\right)b\\\\ \\left({a}^{-1}\\text{ }\\right)ax=\\left({a}^{-1}\\right)b\\\\ \\left[\\left({a}^{-1}\\right)a\\right]x=\\left({a}^{-1}\\right)b\\\\ \\text{ }1x=\\left({a}^{-1}\\right)b\\\\ \\text{ }x=\\left({a}^{-1}\\right)b\\end{array}[\/latex]<\/p>\n<p>The only difference between solving a linear equation and a <strong>system of equations<\/strong> written in matrix form is that finding the inverse of a matrix is more complicated, and matrix multiplication is a longer process. However, the goal is the same\u2014to isolate the variable.<\/p>\n<\/section>\n<p>Given a system of equations, write the coefficient matrix [latex]A[\/latex], the variable matrix [latex]X[\/latex], and the constant matrix [latex]B[\/latex]. Then [latex]AX=B[\/latex].\u00a0Multiply both sides by the inverse of [latex]A[\/latex] to obtain the solution.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill \\left({A}^{-1}\\right)AX=\\left({A}^{-1}\\right)B\\\\ \\hfill \\left[\\left({A}^{-1}\\right)A\\right]X=\\left({A}^{-1}\\right)B\\\\ \\hfill IX=\\left({A}^{-1}\\right)B\\\\ \\hfill X=\\left({A}^{-1}\\right)B\\end{array}[\/latex]<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Solve the given system of equations using the inverse of a matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill 3x+8y=5\\\\ \\hfill 4x+11y=7\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q167361\">Show Solution<\/button><\/p>\n<div id=\"q167361\" class=\"hidden-answer\" style=\"display: none\">\n<p>Write the system in terms of a coefficient matrix, a variable matrix, and a constant matrix.<\/p>\n<p style=\"text-align: center;\">[latex]A=\\left[\\begin{array}{cc}3& 8\\\\ 4& 11\\end{array}\\right],X=\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right],B=\\left[\\begin{array}{c}5\\\\ 7\\end{array}\\right][\/latex]<\/p>\n<p>Then<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{cc}3& 8\\\\ 4& 11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{c}5\\\\ 7\\end{array}\\right][\/latex]<\/p>\n<p>First, we need to calculate [latex]{A}^{-1}[\/latex]. Using the formula to calculate the inverse of a 2 by 2 matrix, we have:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}{A}^{-1} & =\\frac{1}{ad-bc}\\left[\\begin{array}{cc}d& -b\\\\ -c& a\\end{array}\\right]\\hfill \\\\ & =\\frac{1}{3\\left(11\\right)-8\\left(4\\right)}\\left[\\begin{array}{cc}11& -8\\\\ -4& 3\\end{array}\\right]\\hfill \\\\ & =\\frac{1}{1}\\left[\\begin{array}{cc}11& -8\\\\ -4& 3\\end{array}\\right]\\hfill \\end{array}[\/latex]<\/p>\n<p>So,<\/p>\n<p style=\"text-align: center;\">[latex]{A}^{-1}=\\left[\\begin{array}{cc}11& -8\\\\ -4& \\text{ }\\text{ }3\\end{array}\\right][\/latex]<\/p>\n<p>Now we are ready to solve. Multiply both sides of the equation by [latex]{A}^{-1}[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\left({A}^{-1}\\right)AX=\\left({A}^{-1}\\right)B\\hfill \\\\ \\left[\\begin{array}{rr}\\hfill 11& \\hfill -8\\\\ \\hfill -4& \\hfill 3\\end{array}\\right]\\text{ }\\left[\\begin{array}{cc}3& 8\\\\ 4& 11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{rr}\\hfill 11& \\hfill -8\\\\ \\hfill -4& \\hfill 3\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}5\\\\ 7\\end{array}\\right]\\hfill \\\\ \\left[\\begin{array}{cc}1& 0\\\\ 0& 1\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{r}\\hfill 11\\left(5\\right)+\\left(-8\\right)7\\\\ \\hfill -4\\left(5\\right)+3\\left(7\\right)\\end{array}\\right]\\hfill \\\\ \\left[\\begin{array}{c}x\\\\ y\\end{array}\\right]=\\left[\\begin{array}{r}\\hfill -1\\\\ \\hfill 1\\end{array}\\right]\\hfill \\end{array}[\/latex]<\/p>\n<p>The solution is [latex]\\left(-1,1\\right)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>Can we solve for [latex]X[\/latex] by finding the product [latex]B{A}^{-1}?[\/latex]<br \/>\n<\/strong><\/p>\n<hr \/>\n<p>No, recall that matrix multiplication is not commutative, so [latex]{A}^{-1}B\\ne B{A}^{-1}[\/latex]. Consider our steps for solving the matrix equation.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill \\left({A}^{-1}\\right)AX=\\left({A}^{-1}\\right)B\\\\ \\hfill \\left[\\left({A}^{-1}\\right)A\\right]X=\\left({A}^{-1}\\right)B\\\\ \\hfill IX=\\left({A}^{-1}\\right)B\\\\ \\hfill X=\\left({A}^{-1}\\right)B\\end{array}[\/latex]<\/p>\n<p>Notice in the first step we multiplied both sides of the equation by [latex]{A}^{-1}[\/latex], but the [latex]{A}^{-1}[\/latex] was to the left of [latex]A[\/latex] on the left side and to the left of [latex]B[\/latex] on the right side. Because matrix multiplication is not commutative, order matters.<\/p>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm321760\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=321760&theme=lumen&iframe_resize_id=ohm321760&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Solve the following system using the inverse of a matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill 5x+15y+56z=35\\\\ \\hfill -4x - 11y - 41z=-26\\\\ \\hfill -x - 3y - 11z=-7\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q837562\">Show Solution<\/button><\/p>\n<div id=\"q837562\" class=\"hidden-answer\" style=\"display: none\">\n<p>Write the equation [latex]AX=B[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc}5& 15& 56\\\\ -4& -11& -41\\\\ -1& -3& -11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\\\ z\\end{array}\\right]=\\left[\\begin{array}{r}\\hfill 35\\\\ \\hfill -26\\\\ \\hfill -7\\end{array}\\right][\/latex]<\/p>\n<p>First, we will find the inverse of [latex]A[\/latex] by augmenting with the identity.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 5& \\hfill 15& \\hfill 56& \\hfill 1& \\hfill 0& \\hfill0\\\\ \\hfill -4& \\hfill -11& \\hfill -41& \\hfill 0& \\hfill 1& \\hfill 0\\\\ \\hfill-1& \\hfill -3& \\hfill -11& \\hfill 0& \\hfill 0& \\hfill 1\\end{array}\\right][\/latex]<\/p>\n<p>Multiply row 1 by [latex]\\frac{1}{5}[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1& \\hfill 3& \\hfill \\frac{56}{5}& \\hfill \\frac{1}{5}& \\hfill 0& \\hfill0\\\\ \\hfill -4& \\hfill -11& \\hfill -41& \\hfill 0& \\hfill 1& \\hfill 0\\\\ \\hfill-1& \\hfill -3& \\hfill -11& \\hfill 0& \\hfill 0& \\hfill 1\\end{array}\\right][\/latex]<\/p>\n<p>Multiply row 1 by 4 and add to row 2.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1& \\hfill 3& \\hfill \\frac{56}{5}& \\hfill \\frac{1}{5}& \\hfill 0& \\hfill0\\\\ \\hfill 0& \\hfill 1& \\hfill \\frac{19}{5}& \\hfill \\frac{4}{5}& \\hfill 1& \\hfill 0\\\\ \\hfill-1& \\hfill -3& \\hfill -11& \\hfill 0& \\hfill 0& \\hfill 1\\end{array}\\right][\/latex]<\/p>\n<p>Add row 1 to row 3.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1& \\hfill 3& \\hfill \\frac{56}{5}& \\hfill \\frac{1}{5}& \\hfill 0& \\hfill0\\\\ \\hfill 0& \\hfill 1& \\hfill \\frac{19}{5}& \\hfill \\frac{4}{5}& \\hfill 1& \\hfill 0\\\\ \\hfill0& \\hfill 0& \\hfill \\frac{1}{5}& \\hfill \\frac{1}{5}& \\hfill 0& \\hfill 1\\end{array}\\right][\/latex]<\/p>\n<p>Multiply row 2 by \u22123 and add to row 1.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1& \\hfill 0& \\hfill -\\frac{1}{5}& \\hfill -\\frac{11}{5}& \\hfill -3& \\hfill0\\\\ \\hfill 0& \\hfill 1& \\hfill \\frac{19}{5}& \\hfill \\frac{4}{5}& \\hfill 1& \\hfill 0\\\\ \\hfill0& \\hfill 0& \\hfill \\frac{1}{5}& \\hfill \\frac{1}{5}& \\hfill 0& \\hfill 1\\end{array}\\right][\/latex]<\/p>\n<p>Multiply row 3 by 5.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1& \\hfill 0& \\hfill -\\frac{1}{5}& \\hfill -\\frac{11}{5}& \\hfill -3& \\hfill0\\\\ \\hfill 0& \\hfill 1& \\hfill \\frac{19}{5}& \\hfill \\frac{4}{5}& \\hfill 1& \\hfill 0\\\\ \\hfill0& \\hfill 0& \\hfill 1& \\hfill 1& \\hfill 0& \\hfill 5\\end{array}\\right][\/latex]<\/p>\n<p>Multiply row 3 by [latex]\\frac{1}{5}[\/latex] and add to row 1.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1& \\hfill 0& \\hfill 0& \\hfill -2& \\hfill -3& \\hfill 1\\\\ \\hfill 0& \\hfill 1& \\hfill \\frac{19}{5}& \\hfill \\frac{4}{5}& \\hfill 1& \\hfill 0\\\\ \\hfill0& \\hfill 0& \\hfill 1& \\hfill 1& \\hfill 0& \\hfill 5\\end{array}\\right][\/latex]<\/p>\n<p>Multiply row 3 by [latex]-\\frac{19}{5}[\/latex] and add to row 2.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|ccc}\\hfill 1& \\hfill 0& \\hfill 0& \\hfill -2& \\hfill -3& \\hfill 1\\\\ \\hfill 0& \\hfill 1& \\hfill 0& \\hfill -3& \\hfill 1& \\hfill -19\\\\ \\hfill0& \\hfill 0& \\hfill 1& \\hfill 1& \\hfill 0& \\hfill 5\\end{array}\\right][\/latex]<\/p>\n<p>So,<\/p>\n<p style=\"text-align: center;\">[latex]{A}^{-1}=\\left[\\begin{array}{ccc}-2& -3& 1\\\\ -3& 1& -19\\\\ 1& 0& 5\\end{array}\\right][\/latex]<\/p>\n<p>Multiply both sides of the equation by [latex]{A}^{-1}[\/latex]. We want<\/p>\n<p style=\"text-align: center;\">[latex]{A}^{-1}AX={A}^{-1}B:[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{rrr}\\hfill -2& \\hfill -3& \\hfill 1\\\\ \\hfill -3& \\hfill 1& \\hfill -19\\\\ \\hfill 1& \\hfill 0& \\hfill 5\\end{array}\\right]\\text{ }\\left[\\begin{array}{rrr}\\hfill 5& \\hfill 15& \\hfill 56\\\\ \\hfill -4& \\hfill -11& \\hfill -41\\\\ \\hfill -1& \\hfill -3& \\hfill -11\\end{array}\\right]\\text{ }\\left[\\begin{array}{c}x\\\\ y\\\\ z\\end{array}\\right]=\\left[\\begin{array}{rrr}\\hfill -2& \\hfill -3& \\hfill 1\\\\ \\hfill -3& \\hfill 1& \\hfill -19\\\\ \\hfill 1& \\hfill 0& \\hfill 5\\end{array}\\right]\\text{ }\\left[\\begin{array}{r}\\hfill 35\\\\ \\hfill -26\\\\ \\hfill -7\\end{array}\\right][\/latex]<\/p>\n<p>Thus,<\/p>\n<p style=\"text-align: center;\">[latex]{A}^{-1}B=\\left[\\begin{array}{r}\\hfill -70+78 - 7\\\\ \\hfill -105 - 26+133\\\\ \\hfill 35+0 - 35\\end{array}\\right]=\\left[\\begin{array}{c}1\\\\ 2\\\\ 0\\end{array}\\right][\/latex]<\/p>\n<p>The solution is [latex]\\left(1,2,0\\right)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a system of equations, solve with matrix inverses using a calculator<br \/>\n<\/strong><\/p>\n<ol id=\"fs-id1165135503570\">\n<li>Save the coefficient matrix and the constant matrix as matrix variables [latex]\\left[A\\right][\/latex] and [latex]\\left[B\\right][\/latex].<\/li>\n<li>Enter the multiplication, [latex][A]^-1\\times [B][\/latex], into the calculator, calling up each matrix variable as needed.<\/li>\n<li>If the coefficient matrix is invertible, the calculator will present the solution matrix; if the coefficient matrix is not invertible, the calculator will present an error message.<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Solve the system of equations with matrix inverses using a calculator<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}2x+3y+z=32\\hfill \\\\ 3x+3y+z=-27\\hfill \\\\ 2x+4y+z=-2\\hfill \\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q714265\">Show Solution<\/button><\/p>\n<div id=\"q714265\" class=\"hidden-answer\" style=\"display: none\">\n<p>On the matrix page of the calculator, enter the <strong>coefficient matrix<\/strong> as the matrix variable [latex]\\left[A\\right][\/latex], and enter the constant matrix as the matrix variable [latex]\\left[B\\right][\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\left[A\\right]=\\left[\\begin{array}{ccc}2& 3& 1\\\\ 3& 3& 1\\\\ 2& 4& 1\\end{array}\\right],\\text{ }\\left[B\\right]=\\left[\\begin{array}{c}32\\\\ -27\\\\ -2\\end{array}\\right][\/latex]<\/p>\n<p>On the home screen of the calculator, type in the multiplication to solve for [latex]X[\/latex], calling up each matrix variable as needed.<\/p>\n<p style=\"text-align: center;\">[latex]{\\left[A\\right]}^{-1}\\times \\left[B\\right][\/latex]<\/p>\n<p>Evaluate the expression.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{c}-59\\\\ -34\\\\ 252\\end{array}\\right][\/latex]<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm321761\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=321761&theme=lumen&iframe_resize_id=ohm321761&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":13,"menu_order":18,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":514,"module-header":"learn_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1376"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":6,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1376\/revisions"}],"predecessor-version":[{"id":5997,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1376\/revisions\/5997"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/parts\/514"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1376\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=1376"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=1376"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=1376"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=1376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}