{"id":1219,"date":"2025-07-23T20:53:29","date_gmt":"2025-07-23T20:53:29","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/?post_type=chapter&#038;p=1219"},"modified":"2026-03-20T16:15:39","modified_gmt":"2026-03-20T16:15:39","slug":"systems-of-linear-equations-in-three-variables-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/systems-of-linear-equations-in-three-variables-learn-it-3\/","title":{"raw":"Systems of Linear Equations in Three Variables: Learn It 3","rendered":"Systems of Linear Equations in Three Variables: Learn It 3"},"content":{"raw":"<h2>Solving a System of Three Equations in Three Variables by Elimination<\/h2>\r\nSolving a system with three variables is very similar to solving one with two variables. It is important to keep track of your work as the addition of one more equation creates more steps in the solution process.\r\n\r\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How to: Solve a system of linear equations with three variables by elimination<\/strong>\r\n<ol>\r\n \t<li>Write the equations in standard form. If any coefficients are fractions, clear them.<\/li>\r\n \t<li>Eliminate the same variable from two equations.\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Decide which variable you will eliminate.<\/li>\r\n \t<li>Work with a pair of equations to eliminate the chosen variable.<\/li>\r\n \t<li>Multiply one or both equations so that the coefficients of that variable are opposites.<\/li>\r\n \t<li>Add the equations resulting from Step 2 to eliminate one variable.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Repeat Step 2 using two other equations and eliminate the same variable as in Step 2.<\/li>\r\n \t<li>The two new equations form a system of two equations with two variables. Solve this system.<\/li>\r\n \t<li>Use the values of the two variables found in Step 4 to find the third variable.<\/li>\r\n \t<li>Write the solution as an ordered triple.<\/li>\r\n \t<li>Check that the ordered triple is a solution to all three original equations<\/li>\r\n<\/ol>\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Find a solution to the following system:\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{lll}x-y+z=5&amp; &amp;\\text{(1)}\\\\-2y+z=6&amp; &amp;\\text{(2)}\\\\2y-2z=-12&amp; &amp;\\text{(3)}\\end{array}[\/latex]<\/div>\r\n[reveal-answer q=\"223787\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"223787\"]\r\n\r\nWe labeled the equations this time to be able to keep track of things a little more easily. The most obvious first step here is to eliminate [latex]y[\/latex] by adding equations (2) and (3).\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{lll}\\,\\,\\,\\,\\,\\,\\,\\,\\,-2y+z=6\\,\\,\\,\\,(2)\\\\\\underline{\\,\\,\\,\\,2y-2z=-12}\\,\\,\\,\\,(3)\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-z=-6\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,z=6\\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nNow we can substitute the value for\u00a0[latex]z[\/latex] that we obtained into equation [latex](2)[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrr}-2y+(6)=6\\\\-2y=6-6\\\\-2y=0\\\\\\,\\,\\,\\,y=0\\end{array}[\/latex]<\/p>\r\nBe careful here not to get confused with a solution of\u00a0[latex]y = 0[\/latex] and an inconsistent solution. \u00a0It is ok for variables to equal\u00a0[latex]0[\/latex].\r\n\r\nNow we can substitute\u00a0[latex]z = 6[\/latex] and\u00a0[latex]y = 0[\/latex] back into the first equation.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrr}x-y+z=5\\\\x-0+6=5\\\\x+6=5\\\\x=5-6\\\\x=-1\\end{array}[\/latex]<\/p>\r\nSolution: [latex]{(x,y,z)}={(-1,0,6)}[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox proTip\" aria-label=\"Pro Tip\">Solving three-by-three systems involves both creativity and careful, well-organized work. It will take some practice before it begins to feel natural.<\/section><section class=\"textbox example\" aria-label=\"Example\">Find a solution to the following system:\r\n<p style=\"text-align: center;\">[latex]\\begin{align}x - 2y+3z=9&amp; &amp;\\text{(1)} \\\\ -x+3y-z=-6&amp; &amp;\\text{(2)} \\\\ 2x - 5y+5z=17&amp; &amp;\\text{(3)} \\end{align}[\/latex]<\/p>\r\n[reveal-answer q=\"462104\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"462104\"]\r\n\r\nThere will always be several choices as to where to begin, but the most obvious first step here is to eliminate [latex]x[\/latex] by adding equations (1) and (2).\r\n<p style=\"text-align: center;\">[latex]\\begin{align}x - 2y+3z&amp;=9\\\\ -x+3y-z&amp;=-6 \\\\ \\hline y+2z&amp;=3 \\end{align}[\/latex][latex]\\hspace{5mm}\\begin{gathered}\\text{(1})\\\\ \\text{(2)}\\\\ \\text{(4)}\\end{gathered}[\/latex]<\/p>\r\nThe second step is multiplying equation (1) by [latex]-2[\/latex] and adding the result to equation (3). These two steps will eliminate the variable [latex]x[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{align}\u22122x+4y\u22126z&amp;=\u221218 \\\\ 2x\u22125y+5z&amp;=17 \\\\ \\hline \u2212y\u2212z&amp;=\u22121\\end{align}[\/latex][latex]\\hspace{5mm}\\begin{align}&amp;\\text{(2) multiplied by }\u22122\\\\&amp;\\left(3\\right)\\\\&amp;(5)\\end{align}[\/latex]<\/p>\r\nIn equations (4) and (5), we have created a new two-by-two system. We can solve for [latex]z[\/latex] by adding the two equations.\r\n<p style=\"text-align: center;\">[latex]\\begin{align}y+2z&amp;=3 \\\\ -y-z&amp;=-1 \\\\ \\hline z&amp;=2 \\end{align}[\/latex][latex]\\hspace{5mm}\\begin{align}(4)\\\\(5)\\\\(6)\\end{align}[\/latex]<\/p>\r\nChoosing one equation from each new system, we obtain the upper triangular form:\r\n<p style=\"text-align: center;\">[latex]\\begin{align}x - 2y+3z&amp;=9 &amp;&amp; \\left(1\\right) \\\\ y+2z&amp;=3 &amp;&amp; \\left(4\\right) \\\\ z&amp;=2 &amp;&amp; \\left(6\\right) \\end{align}[\/latex]<\/p>\r\nNext, we back-substitute [latex]z=2[\/latex] into equation (4) and solve for [latex]y[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{align}y+2\\left(2\\right)&amp;=3 \\\\ y+4&amp;=3 \\\\ y&amp;=-1 \\end{align}[\/latex]<\/p>\r\nFinally, we can back-substitute [latex]z=2[\/latex] and [latex]y=-1[\/latex] into equation (1). This will yield the solution for [latex]x[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{align} x - 2\\left(-1\\right)+3\\left(2\\right)&amp;=9\\\\ x+2+6&amp;=9\\\\ x&amp;=1\\end{align}[\/latex]<\/p>\r\nThe solution is the ordered triple [latex]\\left(1,-1,2\\right)[\/latex].\r\n\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03185119\/CNX_Precalc_Figure_09_02_0082.jpg\" alt=\"Three planes intersect at 1, negative 1, 2. The light blue plane's equation is x=1. The dark blue plane's equation is z=2. The orange plane's equation is y=negative 2.\" width=\"487\" height=\"324\" \/>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]321620[\/ohm_question]<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]321621[\/ohm_question]<\/section>","rendered":"<h2>Solving a System of Three Equations in Three Variables by Elimination<\/h2>\n<p>Solving a system with three variables is very similar to solving one with two variables. It is important to keep track of your work as the addition of one more equation creates more steps in the solution process.<\/p>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How to: Solve a system of linear equations with three variables by elimination<\/strong><\/p>\n<ol>\n<li>Write the equations in standard form. If any coefficients are fractions, clear them.<\/li>\n<li>Eliminate the same variable from two equations.\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Decide which variable you will eliminate.<\/li>\n<li>Work with a pair of equations to eliminate the chosen variable.<\/li>\n<li>Multiply one or both equations so that the coefficients of that variable are opposites.<\/li>\n<li>Add the equations resulting from Step 2 to eliminate one variable.<\/li>\n<\/ol>\n<\/li>\n<li>Repeat Step 2 using two other equations and eliminate the same variable as in Step 2.<\/li>\n<li>The two new equations form a system of two equations with two variables. Solve this system.<\/li>\n<li>Use the values of the two variables found in Step 4 to find the third variable.<\/li>\n<li>Write the solution as an ordered triple.<\/li>\n<li>Check that the ordered triple is a solution to all three original equations<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Find a solution to the following system:<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{lll}x-y+z=5& &\\text{(1)}\\\\-2y+z=6& &\\text{(2)}\\\\2y-2z=-12& &\\text{(3)}\\end{array}[\/latex]<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q223787\">Show Solution<\/button><\/p>\n<div id=\"q223787\" class=\"hidden-answer\" style=\"display: none\">\n<p>We labeled the equations this time to be able to keep track of things a little more easily. The most obvious first step here is to eliminate [latex]y[\/latex] by adding equations (2) and (3).<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{lll}\\,\\,\\,\\,\\,\\,\\,\\,\\,-2y+z=6\\,\\,\\,\\,(2)\\\\\\underline{\\,\\,\\,\\,2y-2z=-12}\\,\\,\\,\\,(3)\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-z=-6\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,z=6\\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Now we can substitute the value for\u00a0[latex]z[\/latex] that we obtained into equation [latex](2)[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrr}-2y+(6)=6\\\\-2y=6-6\\\\-2y=0\\\\\\,\\,\\,\\,y=0\\end{array}[\/latex]<\/p>\n<p>Be careful here not to get confused with a solution of\u00a0[latex]y = 0[\/latex] and an inconsistent solution. \u00a0It is ok for variables to equal\u00a0[latex]0[\/latex].<\/p>\n<p>Now we can substitute\u00a0[latex]z = 6[\/latex] and\u00a0[latex]y = 0[\/latex] back into the first equation.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrr}x-y+z=5\\\\x-0+6=5\\\\x+6=5\\\\x=5-6\\\\x=-1\\end{array}[\/latex]<\/p>\n<p>Solution: [latex]{(x,y,z)}={(-1,0,6)}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">Solving three-by-three systems involves both creativity and careful, well-organized work. It will take some practice before it begins to feel natural.<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Find a solution to the following system:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}x - 2y+3z=9& &\\text{(1)} \\\\ -x+3y-z=-6& &\\text{(2)} \\\\ 2x - 5y+5z=17& &\\text{(3)} \\end{align}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q462104\">Show Solution<\/button><\/p>\n<div id=\"q462104\" class=\"hidden-answer\" style=\"display: none\">\n<p>There will always be several choices as to where to begin, but the most obvious first step here is to eliminate [latex]x[\/latex] by adding equations (1) and (2).<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}x - 2y+3z&=9\\\\ -x+3y-z&=-6 \\\\ \\hline y+2z&=3 \\end{align}[\/latex][latex]\\hspace{5mm}\\begin{gathered}\\text{(1})\\\\ \\text{(2)}\\\\ \\text{(4)}\\end{gathered}[\/latex]<\/p>\n<p>The second step is multiplying equation (1) by [latex]-2[\/latex] and adding the result to equation (3). These two steps will eliminate the variable [latex]x[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}\u22122x+4y\u22126z&=\u221218 \\\\ 2x\u22125y+5z&=17 \\\\ \\hline \u2212y\u2212z&=\u22121\\end{align}[\/latex][latex]\\hspace{5mm}\\begin{align}&\\text{(2) multiplied by }\u22122\\\\&\\left(3\\right)\\\\&(5)\\end{align}[\/latex]<\/p>\n<p>In equations (4) and (5), we have created a new two-by-two system. We can solve for [latex]z[\/latex] by adding the two equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}y+2z&=3 \\\\ -y-z&=-1 \\\\ \\hline z&=2 \\end{align}[\/latex][latex]\\hspace{5mm}\\begin{align}(4)\\\\(5)\\\\(6)\\end{align}[\/latex]<\/p>\n<p>Choosing one equation from each new system, we obtain the upper triangular form:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}x - 2y+3z&=9 && \\left(1\\right) \\\\ y+2z&=3 && \\left(4\\right) \\\\ z&=2 && \\left(6\\right) \\end{align}[\/latex]<\/p>\n<p>Next, we back-substitute [latex]z=2[\/latex] into equation (4) and solve for [latex]y[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}y+2\\left(2\\right)&=3 \\\\ y+4&=3 \\\\ y&=-1 \\end{align}[\/latex]<\/p>\n<p>Finally, we can back-substitute [latex]z=2[\/latex] and [latex]y=-1[\/latex] into equation (1). This will yield the solution for [latex]x[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align} x - 2\\left(-1\\right)+3\\left(2\\right)&=9\\\\ x+2+6&=9\\\\ x&=1\\end{align}[\/latex]<\/p>\n<p>The solution is the ordered triple [latex]\\left(1,-1,2\\right)[\/latex].<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/11\/03185119\/CNX_Precalc_Figure_09_02_0082.jpg\" alt=\"Three planes intersect at 1, negative 1, 2. The light blue plane's equation is x=1. The dark blue plane's equation is z=2. The orange plane's equation is y=negative 2.\" width=\"487\" height=\"324\" \/><\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm321620\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=321620&theme=lumen&iframe_resize_id=ohm321620&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm321621\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=321621&theme=lumen&iframe_resize_id=ohm321621&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":13,"menu_order":16,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":131,"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\/1219"}],"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\/1219\/revisions"}],"predecessor-version":[{"id":5941,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1219\/revisions\/5941"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/parts\/131"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/1219\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=1219"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=1219"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=1219"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}