{"id":1375,"date":"2025-07-24T19:14:06","date_gmt":"2025-07-24T19:14:06","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/?post_type=chapter&#038;p=1375"},"modified":"2026-03-24T16:57:47","modified_gmt":"2026-03-24T16:57:47","slug":"solving-systems-with-gaussian-elimination-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/solving-systems-with-gaussian-elimination-learn-it-2\/","title":{"raw":"Solving Systems with Gaussian Elimination: Learn It 3","rendered":"Solving Systems with Gaussian Elimination: Learn It 3"},"content":{"raw":"<h2>Solving a System of Linear Equations Using Matrices<\/h2>\r\nWe have seen how to write a system of equations with an augmented matrix, and then how to use row operations and back-substitution to obtain row-echelon form. Now, we will take row-echelon form a step farther to solve a 3 by 3 system of linear equations. The general idea is to eliminate all but one variable using row operations and then back-substitute to solve for the other variables.\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Solve the system of linear equations using matrices.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{c}\\begin{array}{l}\\hfill \\\\ \\hfill \\\\ x-y+z=8\\hfill \\end{array}\\\\ 2x+3y-z=-2\\\\ 3x - 2y - 9z=9\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"779369\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"779369\"]\r\n\r\nFirst, we write the augmented matrix.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|c}\\hfill 1&amp; \\hfill -1&amp; \\hfill 1&amp; \\hfill 8\\\\ \\hfill 2&amp; \\hfill 3&amp; \\hfill -1&amp; \\hfill -2\\\\ \\hfill 3&amp; \\hfill -2&amp; \\hfill -9&amp; \\hfill 9\\end{array}\\right][\/latex]<\/p>\r\n<p style=\"text-align: left;\">Next, we perform row operations to obtain row-echelon form.<\/p>\r\n<p style=\"text-align: center;\">[latex]-2R_1 + R_2 \\to R_2 \\quad\\left[\\begin{array}{ccc|c}1 &amp; -1 &amp; 1 &amp; 8 \\\\0 &amp; 5 &amp; -3 &amp; -18 \\\\3 &amp; -2 &amp; -9 &amp; 9\\end{array}\\right][\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\r\n-3R_1 + R_3 \\to R_3 \\quad\r\n\\left[\r\n\\begin{array}{ccc|c}\r\n1 &amp; -1 &amp; 1 &amp; 8 \\\\\r\n0 &amp; 5 &amp; -3 &amp; -18 \\\\\r\n0 &amp; 1 &amp; -12 &amp; -15\r\n\\end{array}\r\n\\right]\r\n[\/latex]<\/p>\r\nThe easiest way to obtain a 1 in row 2 of column 1 is to interchange [latex]{R}_{2}[\/latex] and [latex]{R}_{3}[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\text{Interchange }{R}_{2}\\text{ and }{R}_{3}\\to \\left[\\begin{array}{ccc|c}\\hfill 1&amp; \\hfill -1&amp; \\hfill 1&amp; \\hfill 8\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill -12&amp; \\hfill -15\\\\ \\hfill 0&amp; \\hfill 5&amp; \\hfill -3&amp; \\hfill -18\\end{array}\\right][\/latex]<\/p>\r\nThen\r\n<p data-start=\"135\" data-end=\"280\">[latex]\r\n-5R_2 + R_3 \\to R_3 \\quad\r\n\\left[\r\n\\begin{array}{ccc|c}\r\n1 &amp; -1 &amp; 1 &amp; 8 \\\\\r\n0 &amp; 1 &amp; -12 &amp; -15 \\\\\r\n0 &amp; 0 &amp; 57 &amp; 57\r\n\\end{array}\r\n\\right]\r\n[\/latex]<\/p>\r\n<p data-start=\"282\" data-end=\"430\">[latex]\r\n-\\frac{1}{57}R_3 \\to R_3 \\quad\r\n\\left[\r\n\\begin{array}{ccc|c}\r\n1 &amp; -1 &amp; 1 &amp; 8 \\\\\r\n0 &amp; 1 &amp; -12 &amp; -15 \\\\\r\n0 &amp; 0 &amp; 1 &amp; 1\r\n\\end{array}\r\n\\right]\r\n[\/latex]<\/p>\r\nThe last matrix represents the equivalent system.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x-y+z=8\\hfill \\\\ \\text{ }y - 12z=-15\\hfill \\\\ \\text{ }z=1\\hfill \\end{array}[\/latex]<\/p>\r\nUsing back-substitution, we obtain the solution as [latex]\\left(4,-3,1\\right)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section>Recall that there are three possible outcomes for solutions to linear systems. \u00a0In the previous example, the solution\u00a0[latex]\\left(4,-3,1\\right)[\/latex] represents a point in three dimensional space. This point represents the intersection of three planes. \u00a0In the next example, we solve a system using row operations and find that it represents a dependent system. \u00a0A dependent system in 3 dimensions can be represented by two planes that are identical, much like in 2 dimensions where a dependent system represents two lines that are identical.\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Solve the following system of linear equations using Gaussian Elimination.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill -x - 2y+z=-1\\\\ \\hfill 2x+3y=2\\\\ \\hfill y - 2z=0\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"664612\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"664612\"]\r\n\r\nWrite the augmented matrix.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|c}\\hfill -1&amp; \\hfill -2&amp; \\hfill 1&amp; \\hfill -1\\\\ \\hfill 2&amp; \\hfill 3&amp; \\hfill 0&amp; \\hfill 2\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill -2&amp; \\hfill 0\\end{array}\\right][\/latex]<\/p>\r\nFirst, multiply row 1 by [latex]-1[\/latex] to get a 1 in row 1, column 1. Then, perform <strong>row operations<\/strong> to obtain row-echelon form.\r\n<p style=\"text-align: center;\">[latex]-{R}_{1}\\to \\left[\\begin{array}{ccc|c}\\hfill 1&amp; \\hfill 2&amp; \\hfill -1&amp; \\hfill 1\\\\ \\hfill 2&amp; \\hfill 3&amp; \\hfill 0&amp; \\hfill 2\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill -2&amp; \\hfill 0\\end{array}\\right][\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]{R}_{2}\\leftrightarrow {R}_{3}\\to \\left[\\begin{array}{ccc|c}\\hfill 1&amp; \\hfill 2&amp; \\hfill -1&amp; \\hfill 1\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill -2&amp; \\hfill 0\\\\ \\hfill 2&amp; \\hfill 3&amp; \\hfill 0&amp; \\hfill 2\\end{array}\\right][\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]-2{R}_{1}+{R}_{3}={R}_{3}\\to\\left[\\begin{array}{ccc|c}\\hfill 1&amp; \\hfill 2&amp; \\hfill -1&amp; \\hfill 1\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill -2&amp; \\hfill 0\\\\ \\hfill 0&amp; \\hfill -1&amp; \\hfill 2&amp; \\hfill 0\\end{array}\\right][\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]{R}_{2}+{R}_{3}={R}_{3}\\to\\left[\\begin{array}{ccc|c}\\hfill 1&amp; \\hfill 2&amp; \\hfill -1&amp; \\hfill 2\\\\ \\hfill 0&amp; \\hfill 1&amp; \\hfill -2&amp; \\hfill 1\\\\ \\hfill 0&amp; \\hfill 0&amp; \\hfill 0&amp; \\hfill 0\\end{array}\\right][\/latex]<\/p>\r\nThe last matrix represents the following system.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x+2y-z=1\\hfill \\\\ \\text{ }y - 2z=0\\hfill \\\\ \\text{ }0=0\\hfill \\end{array}[\/latex]<\/p>\r\nWe see by the identity [latex]0=0[\/latex] that this is a dependent system with an infinite number of solutions. We then find the generic solution.\r\n\r\nFirst, solve the second equation for [latex]y[\/latex]:\r\n<p style=\"text-align: center;\">[latex]\\begin{align} y - 2z &amp;= 0 \\\\ y &amp;= 2z \\end{align}[\/latex]<\/p>\r\nNext, substitute [latex]y = 2z[\/latex] into the first equation:\r\n<p style=\"text-align: center;\">[latex]\\begin{align} x + 2(2z) - z &amp;= 1 \\\\ x + 4z - z &amp;= 1 \\\\ x + 3z &amp;= 1 \\\\ x &amp;= 1 - 3z \\end{align}[\/latex]<\/p>\r\nThe generic solution is [latex](1-3z,2z,z)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section>Recall that when you solve a dependent system of linear equations in two variables using elimination or substitution, you can write the solution [latex](x,y)[\/latex] in terms of [latex]x[\/latex], because there are infinitely many [latex](x,y)[\/latex] pairs that will satisfy a dependent system of equations, and they all fall on the line [latex](x, mx+b)[\/latex]. Now that you are working in three dimensions, the solution will represent a plane, so you would write it in the general form [latex](x, m_{1}x+b_{1}, m_{2}x+b_{2})[\/latex]. However, in three dimensions, it is often convenient to express the solution in terms of the single variable [latex]z[\/latex].\r\n\r\n<section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]321750[\/ohm_question]<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]321751[\/ohm_question]<\/section><section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a system of equations, solve with matrices using a calculator<\/strong>\r\n<ol>\r\n \t<li>Save the augmented matrix as a matrix variable [latex]\\left[A\\right],\\left[B\\right],\\left[C\\right]\\text{,} \\dots [\/latex].<\/li>\r\n \t<li>Use the <strong>ref(<\/strong> function in the calculator, calling up each matrix variable as needed.<\/li>\r\n<\/ol>\r\n<\/section><section class=\"textbox watchIt\" aria-label=\"Watch It\"><script src=\"https:\/\/www.youtube.com\/iframe_api \" type=\"text\/javascript\"><\/script>\r\n<p class=\"cc-media-iframe-container\"><iframe id=\"tpm-plugin-fegfgeca-wBmWsW26U7s\" class=\"cc-media-iframe\" src=\"https:\/\/www.youtube.com\/embed\/wBmWsW26U7s?enablejsapi=1 \" frameborder=\"0\" data-mce-fragment=\"1\"><\/iframe><\/p>\r\n\r\n<div id=\"3p-plugin-target-fegfgeca-wBmWsW26U7s\" class=\"p3sdk-target\"><\/div>\r\n<p class=\"cc-media-iframe-container\"><script src=\"\/\/plugin.3playmedia.com\/ajax.js?cc=1&amp;cc_minimizable=1&amp;cc_minimize_on_load=0&amp;cc_multi_text_track=0&amp;cc_overlay=1&amp;cc_searchable=0&amp;embed=ajax&amp;mf=12851076&amp;p3sdk_version=1.11.7&amp;p=20361&amp;player_type=youtube&amp;plugin_skin=dark&amp;target=3p-plugin-target-fegfgeca-wBmWsW26U7s&amp;vembed=0&amp;video_id=wBmWsW26U7s&amp;video_target=tpm-plugin-fegfgeca-wBmWsW26U7s\" type=\"text\/javascript\"><\/script><\/p>\r\nYou can view the\u00a0<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/College+Algebra+Corequisite\/Transcripts\/Augmented+Matrices+on+the+TI83%3A84_transcript.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cAugmented Matrices on the TI83\/84\u201d here (opens in new window).<\/a>\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Solve the system of equations using a calculator.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill 5x+3y+9z=-1\\\\ \\hfill -2x+3y-z=-2\\\\ \\hfill -x - 4y+5z=1\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"641879\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"641879\"]\r\n\r\nWrite the augmented matrix for the system of equations.\r\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|c}\\hfill 5&amp; \\hfill 3&amp; \\hfill 9&amp; \\hfill -1\\\\ \\hfill -2&amp; \\hfill 3&amp; \\hfill -1&amp; \\hfill -2\\\\ \\hfill -1&amp; \\hfill -4&amp; \\hfill 5&amp; \\hfill 1\\end{array}\\right][\/latex]<\/p>\r\nOn the matrix page of the calculator, enter the augmented matrix above as the matrix variable [latex]\\left[A\\right][\/latex].\r\n<p style=\"text-align: center;\">[latex]\\left[A\\right]=\\left[\\begin{array}{rrrrrrr}\\hfill 5&amp; \\hfill &amp; \\hfill 3&amp; \\hfill &amp; \\hfill 9&amp; \\hfill &amp; \\hfill -1\\\\ \\hfill -2&amp; \\hfill &amp; \\hfill 3&amp; \\hfill &amp; \\hfill -1&amp; \\hfill &amp; \\hfill -2\\\\ \\hfill -1&amp; \\hfill &amp; \\hfill -4&amp; \\hfill &amp; \\hfill 5&amp; \\hfill &amp; \\hfill 1\\end{array}\\right][\/latex]<\/p>\r\nUse the <strong>ref(<\/strong> function in the calculator, calling up the matrix variable [latex]\\left[A\\right][\/latex].\r\n<p style=\"text-align: center;\">[latex]\\text{ref}\\left(\\left[A\\right]\\right)[\/latex]<\/p>\r\nEvaluate.\r\n<p style=\"text-align: center;\">[latex]\r\n\\left[\r\n\\begin{array}{ccc|c}\r\n1 &amp; \\frac{3}{5} &amp; \\frac{9}{5} &amp; -\\frac{1}{5} \\\\\r\n0 &amp; 1 &amp; \\frac{13}{21} &amp; -\\frac{4}{7} \\\\\r\n0 &amp; 0 &amp; 1 &amp; -\\frac{24}{187}\r\n\\end{array}\r\n\\right]\r\n\\to\r\n\\begin{cases}\r\nx+\\frac{3}{5}y+\\frac{9}{5}z=-\\frac{1}{5} \\\\\r\ny+\\frac{13}{21}z=-\\frac{4}{7} \\\\\r\nz=-\\frac{24}{187}\r\n\\end{cases}\r\n[\/latex]<\/p>\r\nUsing back-substitution, the solution is [latex]\\left(\\frac{61}{187},-\\frac{92}{187},-\\frac{24}{187}\\right)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section>","rendered":"<h2>Solving a System of Linear Equations Using Matrices<\/h2>\n<p>We have seen how to write a system of equations with an augmented matrix, and then how to use row operations and back-substitution to obtain row-echelon form. Now, we will take row-echelon form a step farther to solve a 3 by 3 system of linear equations. The general idea is to eliminate all but one variable using row operations and then back-substitute to solve for the other variables.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Solve the system of linear equations using matrices.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{c}\\begin{array}{l}\\hfill \\\\ \\hfill \\\\ x-y+z=8\\hfill \\end{array}\\\\ 2x+3y-z=-2\\\\ 3x - 2y - 9z=9\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q779369\">Show Solution<\/button><\/p>\n<div id=\"q779369\" class=\"hidden-answer\" style=\"display: none\">\n<p>First, we write the augmented matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|c}\\hfill 1& \\hfill -1& \\hfill 1& \\hfill 8\\\\ \\hfill 2& \\hfill 3& \\hfill -1& \\hfill -2\\\\ \\hfill 3& \\hfill -2& \\hfill -9& \\hfill 9\\end{array}\\right][\/latex]<\/p>\n<p style=\"text-align: left;\">Next, we perform row operations to obtain row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]-2R_1 + R_2 \\to R_2 \\quad\\left[\\begin{array}{ccc|c}1 & -1 & 1 & 8 \\\\0 & 5 & -3 & -18 \\\\3 & -2 & -9 & 9\\end{array}\\right][\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]-3R_1 + R_3 \\to R_3 \\quad  \\left[  \\begin{array}{ccc|c}  1 & -1 & 1 & 8 \\\\  0 & 5 & -3 & -18 \\\\  0 & 1 & -12 & -15  \\end{array}  \\right][\/latex]<\/p>\n<p>The easiest way to obtain a 1 in row 2 of column 1 is to interchange [latex]{R}_{2}[\/latex] and [latex]{R}_{3}[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\text{Interchange }{R}_{2}\\text{ and }{R}_{3}\\to \\left[\\begin{array}{ccc|c}\\hfill 1& \\hfill -1& \\hfill 1& \\hfill 8\\\\ \\hfill 0& \\hfill 1& \\hfill -12& \\hfill -15\\\\ \\hfill 0& \\hfill 5& \\hfill -3& \\hfill -18\\end{array}\\right][\/latex]<\/p>\n<p>Then<\/p>\n<p data-start=\"135\" data-end=\"280\">[latex]-5R_2 + R_3 \\to R_3 \\quad  \\left[  \\begin{array}{ccc|c}  1 & -1 & 1 & 8 \\\\  0 & 1 & -12 & -15 \\\\  0 & 0 & 57 & 57  \\end{array}  \\right][\/latex]<\/p>\n<p data-start=\"282\" data-end=\"430\">[latex]-\\frac{1}{57}R_3 \\to R_3 \\quad  \\left[  \\begin{array}{ccc|c}  1 & -1 & 1 & 8 \\\\  0 & 1 & -12 & -15 \\\\  0 & 0 & 1 & 1  \\end{array}  \\right][\/latex]<\/p>\n<p>The last matrix represents the equivalent system.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x-y+z=8\\hfill \\\\ \\text{ }y - 12z=-15\\hfill \\\\ \\text{ }z=1\\hfill \\end{array}[\/latex]<\/p>\n<p>Using back-substitution, we obtain the solution as [latex]\\left(4,-3,1\\right)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<p>Recall that there are three possible outcomes for solutions to linear systems. \u00a0In the previous example, the solution\u00a0[latex]\\left(4,-3,1\\right)[\/latex] represents a point in three dimensional space. This point represents the intersection of three planes. \u00a0In the next example, we solve a system using row operations and find that it represents a dependent system. \u00a0A dependent system in 3 dimensions can be represented by two planes that are identical, much like in 2 dimensions where a dependent system represents two lines that are identical.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Solve the following system of linear equations using Gaussian Elimination.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill -x - 2y+z=-1\\\\ \\hfill 2x+3y=2\\\\ \\hfill y - 2z=0\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q664612\">Show Solution<\/button><\/p>\n<div id=\"q664612\" class=\"hidden-answer\" style=\"display: none\">\n<p>Write the augmented matrix.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|c}\\hfill -1& \\hfill -2& \\hfill 1& \\hfill -1\\\\ \\hfill 2& \\hfill 3& \\hfill 0& \\hfill 2\\\\ \\hfill 0& \\hfill 1& \\hfill -2& \\hfill 0\\end{array}\\right][\/latex]<\/p>\n<p>First, multiply row 1 by [latex]-1[\/latex] to get a 1 in row 1, column 1. Then, perform <strong>row operations<\/strong> to obtain row-echelon form.<\/p>\n<p style=\"text-align: center;\">[latex]-{R}_{1}\\to \\left[\\begin{array}{ccc|c}\\hfill 1& \\hfill 2& \\hfill -1& \\hfill 1\\\\ \\hfill 2& \\hfill 3& \\hfill 0& \\hfill 2\\\\ \\hfill 0& \\hfill 1& \\hfill -2& \\hfill 0\\end{array}\\right][\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]{R}_{2}\\leftrightarrow {R}_{3}\\to \\left[\\begin{array}{ccc|c}\\hfill 1& \\hfill 2& \\hfill -1& \\hfill 1\\\\ \\hfill 0& \\hfill 1& \\hfill -2& \\hfill 0\\\\ \\hfill 2& \\hfill 3& \\hfill 0& \\hfill 2\\end{array}\\right][\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]-2{R}_{1}+{R}_{3}={R}_{3}\\to\\left[\\begin{array}{ccc|c}\\hfill 1& \\hfill 2& \\hfill -1& \\hfill 1\\\\ \\hfill 0& \\hfill 1& \\hfill -2& \\hfill 0\\\\ \\hfill 0& \\hfill -1& \\hfill 2& \\hfill 0\\end{array}\\right][\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]{R}_{2}+{R}_{3}={R}_{3}\\to\\left[\\begin{array}{ccc|c}\\hfill 1& \\hfill 2& \\hfill -1& \\hfill 2\\\\ \\hfill 0& \\hfill 1& \\hfill -2& \\hfill 1\\\\ \\hfill 0& \\hfill 0& \\hfill 0& \\hfill 0\\end{array}\\right][\/latex]<\/p>\n<p>The last matrix represents the following system.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }x+2y-z=1\\hfill \\\\ \\text{ }y - 2z=0\\hfill \\\\ \\text{ }0=0\\hfill \\end{array}[\/latex]<\/p>\n<p>We see by the identity [latex]0=0[\/latex] that this is a dependent system with an infinite number of solutions. We then find the generic solution.<\/p>\n<p>First, solve the second equation for [latex]y[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align} y - 2z &= 0 \\\\ y &= 2z \\end{align}[\/latex]<\/p>\n<p>Next, substitute [latex]y = 2z[\/latex] into the first equation:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align} x + 2(2z) - z &= 1 \\\\ x + 4z - z &= 1 \\\\ x + 3z &= 1 \\\\ x &= 1 - 3z \\end{align}[\/latex]<\/p>\n<p>The generic solution is [latex](1-3z,2z,z)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<p>Recall that when you solve a dependent system of linear equations in two variables using elimination or substitution, you can write the solution [latex](x,y)[\/latex] in terms of [latex]x[\/latex], because there are infinitely many [latex](x,y)[\/latex] pairs that will satisfy a dependent system of equations, and they all fall on the line [latex](x, mx+b)[\/latex]. Now that you are working in three dimensions, the solution will represent a plane, so you would write it in the general form [latex](x, m_{1}x+b_{1}, m_{2}x+b_{2})[\/latex]. However, in three dimensions, it is often convenient to express the solution in terms of the single variable [latex]z[\/latex].<\/p>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm321750\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=321750&theme=lumen&iframe_resize_id=ohm321750&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm321751\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=321751&theme=lumen&iframe_resize_id=ohm321751&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a system of equations, solve with matrices using a calculator<\/strong><\/p>\n<ol>\n<li>Save the augmented matrix as a matrix variable [latex]\\left[A\\right],\\left[B\\right],\\left[C\\right]\\text{,} \\dots[\/latex].<\/li>\n<li>Use the <strong>ref(<\/strong> function in the calculator, calling up each matrix variable as needed.<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox watchIt\" aria-label=\"Watch It\"><script src=\"https:\/\/www.youtube.com\/iframe_api\" type=\"text\/javascript\"><\/script><\/p>\n<p class=\"cc-media-iframe-container\"><iframe id=\"tpm-plugin-fegfgeca-wBmWsW26U7s\" class=\"cc-media-iframe\" src=\"https:\/\/www.youtube.com\/embed\/wBmWsW26U7s?enablejsapi=1\" frameborder=\"0\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<div id=\"3p-plugin-target-fegfgeca-wBmWsW26U7s\" class=\"p3sdk-target\"><\/div>\n<p class=\"cc-media-iframe-container\"><script src=\"\/\/plugin.3playmedia.com\/ajax.js?cc=1&amp;cc_minimizable=1&amp;cc_minimize_on_load=0&amp;cc_multi_text_track=0&amp;cc_overlay=1&amp;cc_searchable=0&amp;embed=ajax&amp;mf=12851076&amp;p3sdk_version=1.11.7&amp;p=20361&amp;player_type=youtube&amp;plugin_skin=dark&amp;target=3p-plugin-target-fegfgeca-wBmWsW26U7s&amp;vembed=0&amp;video_id=wBmWsW26U7s&amp;video_target=tpm-plugin-fegfgeca-wBmWsW26U7s\" type=\"text\/javascript\"><\/script><\/p>\n<p>You can view the\u00a0<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/College+Algebra+Corequisite\/Transcripts\/Augmented+Matrices+on+the+TI83%3A84_transcript.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cAugmented Matrices on the TI83\/84\u201d here (opens in new window).<\/a><\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Solve the system of equations using a calculator.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\hfill 5x+3y+9z=-1\\\\ \\hfill -2x+3y-z=-2\\\\ \\hfill -x - 4y+5z=1\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q641879\">Show Solution<\/button><\/p>\n<div id=\"q641879\" class=\"hidden-answer\" style=\"display: none\">\n<p>Write the augmented matrix for the system of equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[\\begin{array}{ccc|c}\\hfill 5& \\hfill 3& \\hfill 9& \\hfill -1\\\\ \\hfill -2& \\hfill 3& \\hfill -1& \\hfill -2\\\\ \\hfill -1& \\hfill -4& \\hfill 5& \\hfill 1\\end{array}\\right][\/latex]<\/p>\n<p>On the matrix page of the calculator, enter the augmented matrix above as the matrix variable [latex]\\left[A\\right][\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\left[A\\right]=\\left[\\begin{array}{rrrrrrr}\\hfill 5& \\hfill & \\hfill 3& \\hfill & \\hfill 9& \\hfill & \\hfill -1\\\\ \\hfill -2& \\hfill & \\hfill 3& \\hfill & \\hfill -1& \\hfill & \\hfill -2\\\\ \\hfill -1& \\hfill & \\hfill -4& \\hfill & \\hfill 5& \\hfill & \\hfill 1\\end{array}\\right][\/latex]<\/p>\n<p>Use the <strong>ref(<\/strong> function in the calculator, calling up the matrix variable [latex]\\left[A\\right][\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\text{ref}\\left(\\left[A\\right]\\right)[\/latex]<\/p>\n<p>Evaluate.<\/p>\n<p style=\"text-align: center;\">[latex]\\left[  \\begin{array}{ccc|c}  1 & \\frac{3}{5} & \\frac{9}{5} & -\\frac{1}{5} \\\\  0 & 1 & \\frac{13}{21} & -\\frac{4}{7} \\\\  0 & 0 & 1 & -\\frac{24}{187}  \\end{array}  \\right]  \\to  \\begin{cases}  x+\\frac{3}{5}y+\\frac{9}{5}z=-\\frac{1}{5} \\\\  y+\\frac{13}{21}z=-\\frac{4}{7} \\\\  z=-\\frac{24}{187}  \\end{cases}[\/latex]<\/p>\n<p>Using back-substitution, the solution is [latex]\\left(\\frac{61}{187},-\\frac{92}{187},-\\frac{24}{187}\\right)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":13,"menu_order":12,"template":"","meta":{"_candela_citation":"[{\"type\":\"copyrighted_video\",\"description\":\"Augmented Matrices on the TI83\/84\",\"author\":\"\",\"organization\":\"Mathispower4u\",\"url\":\"https:\/\/youtu.be\/wBmWsW26U7s\",\"project\":\"\",\"license\":\"arr\",\"license_terms\":\"Standard YouTube License\"}]","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":[{"type":"copyrighted_video","description":"Augmented Matrices on the TI83\/84","author":"","organization":"Mathispower4u","url":"https:\/\/youtu.be\/wBmWsW26U7s","project":"","license":"arr","license_terms":"Standard YouTube License"}],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"<script type='text\/javascript' src='https:\/\/www.youtube.com\/iframe_api'><\/script><script type='text\/javascript' src='\/\/plugin.3playmedia.com\/ajax.js?cc=1&cc_minimizable=1&cc_minimize_on_load=0&cc_multi_text_track=0&cc_overlay=1&cc_searchable=0&embed=ajax&mf=12851076&p3sdk_version=1.11.7&p=20361&player_type=youtube&plugin_skin=dark&target=3p-plugin-target-fegfgeca-wBmWsW26U7s&vembed=0&video_id=wBmWsW26U7s&video_target=tpm-plugin-fegfgeca-wBmWsW26U7s'><\/script>\n","media_targets":["tpm-plugin-fegfgeca-wBmWsW26U7s"]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1375"}],"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":13,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1375\/revisions"}],"predecessor-version":[{"id":5990,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1375\/revisions\/5990"}],"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\/1375\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=1375"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=1375"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=1375"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=1375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}