{"id":6741,"date":"2020-10-08T16:59:38","date_gmt":"2020-10-08T16:59:38","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/slcc-beginalgebra\/?post_type=chapter&#038;p=6741"},"modified":"2026-02-01T05:17:38","modified_gmt":"2026-02-01T05:17:38","slug":"4-2-solving-2x2-system-of-linear-equations-by-substitution","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/chapter\/4-2-solving-2x2-system-of-linear-equations-by-substitution\/","title":{"raw":"4.2: Solving a 2x2 System of Linear Equations by Substitution","rendered":"4.2: Solving a 2&#215;2 System of Linear Equations by Substitution"},"content":{"raw":"<div class=\"textbox learning-objectives\">\r\n<h3>section 4.2 Learning Objectives<\/h3>\r\n<div style=\"font-weight: 400;\">\r\n<div><\/div>\r\n<\/div>\r\n<div style=\"font-weight: 400;\">\r\n<div>\r\n\r\n<strong>4.2:\u00a0 Solving a 2x2 System of Linear Equations by Substitution\u00a0<\/strong>\r\n\r\n<\/div>\r\n<div>\r\n<ul>\r\n \t<li>Solve systems of linear equations using substitution<\/li>\r\n \t<li>Recognize when systems of linear equations have no solution or an infinite number of solutions<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<h2>Solve a system of equations using the substitution method<\/h2>\r\nIn the previous section, we verified that ordered pairs were potential solutions to systems, and we used graphs to classify how many solutions a system of two linear equations had. What if we are not given a point of intersection, or it is not obvious from a graph? Can we still find a solution to the system? Of course you can, using algebra!\r\n\r\nIn this section we will learn the substitution\u00a0method for finding a solution to a system of linear equations in two variables. We have used substitution in different ways throughout this course.\u00a0 For example, when we were using formulas, we substituted values that we knew into the formula to solve for values that we did not know. \u00a0The idea is similar when applied to solving systems, there are just a few different steps in the process. You will first solve for one variable, and then substitute that expression into the other equation. Let's start with an example to see what this means.\r\n\r\n&nbsp;\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 1<\/h3>\r\nFind the value of [latex]x[\/latex] for this system.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}4x+3y=\u221214\\\\y=2\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"478211\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"478211\"]The problem asks to solve for <i>x<\/i>. Note that we won't need to solve for [latex]y[\/latex] since the second equation already gives us the value for [latex]y[\/latex] as [latex]y=2[\/latex]. So, you can substitute 2 into the first equation for [latex]y[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}4x+3y=\u221214 \\\\ 4x+3\\left(2\\right)=\u221214\\end{array}[\/latex]<\/p>\r\nSimplify and solve the equation for [latex]x[\/latex]<i>.<\/i>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}4x+6=\u221214\\\\ \\underline{\\hspace{.25in}-\\hspace{.03in}6 \\hspace{.23in}-6}\\\\ 4x\\hspace{.31in}=\u221220\\end{array}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex] {\\hspace{.31in}\\displaystyle \\frac{4x}{4}=\\frac{-20}{4}}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.3in}x=\u22125[\/latex]<\/p>\r\n\r\n<h4>Answer<\/h4>\r\n[latex]x=\u22125[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nYou can substitute a value for a variable even if it is an expression. Here\u2019s an example.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 2<\/h3>\r\nSolve the system of equations for [latex]x[\/latex]<i>\u00a0<\/i>and [latex]y[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y+x=3\\\\x=y+5\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"300993\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"300993\"]The goal of the substitution method is to rewrite one of the equations in terms of a single variable. The second equation tells us that [latex]x=y+5[\/latex], so it makes sense to substitute [latex]y+5[\/latex] into the first equation for [latex]x[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}y+x=3\\\\y+\\left(y+5\\right)=3\\end{array}[\/latex]<i><\/i><\/p>\r\nSimplify and solve the equation for [latex]y[\/latex]<i>.<\/i>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}2y+5=3\\,\\,\\,\\,\\,\\\\{\\underline{\\hspace{.25in}\u2212\\hspace{.03in}5 \\hspace{.07in}\u22125}}\\,\\,\\,\\\\2y\\hspace{.33in}=\u22122\\end{array}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.34in} \\displaystyle \\frac{2y}{2}=\\frac{-2}{2}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.4in}y=\u22121[\/latex]<\/p>\r\nNow find [latex]x[\/latex]<i>\u00a0<\/i>by\u00a0substituting this value for [latex]y[\/latex] into either equation. We will use the first equation here.\r\n<p style=\"text-align: center;\">[latex]y+x=3[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r} -1+x=3\\hspace{.03in}\\\\ \\underline{+1\\hspace{.36in}+1}\\\\x=4\\hspace{.03in}\\end{array}[\/latex]<\/p>\r\nFinally, we can check the solution\u00a0[latex]x=4[\/latex], [latex]y=\u22121[\/latex]\u00a0by substituting these values into each of the original equations.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}y+x=3\\\\\u22121+4=3\\\\3=3\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\r\n&nbsp;\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}x=y+5\\\\4=\u22121+5\\\\4=4\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\r\n\r\n<h4>Answer<\/h4>\r\n[latex]x=4[\/latex] and [latex]y=\u22121[\/latex]\r\n\r\nEquivalently, the solution is [latex](4,\u22121)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nRemember, a solution to a system of equations must be a solution to each of the equations within the system. The ordered pair [latex](4,\u22121)[\/latex] does work for both equations, so you know that it is a solution to the system.\r\n\r\nLet\u2019s look at another example whose substitution involves the distributive property.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 3<\/h3>\r\nSolve the system for [latex]x[\/latex]<i>\u00a0<\/i>and [latex]y[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}y = 3x + 6\\\\\u22122x + 4y = 4\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"240040\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"240040\"]Choose an equation to use for the substitution.\r\n\r\nThe first equation tells you how to express [latex]y[\/latex] in terms of [latex]x[\/latex], so it makes sense to substitute [latex]3x+6[\/latex] into the second equation for [latex]y[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\u22122x+4y=4\\\\\u22122x+4\\left(3x+6\\right)=4\\end{array}[\/latex]<i><\/i><\/p>\r\nSimplify and solve the equation for [latex]x[\/latex]<i>.<\/i>\r\n<p style=\"text-align: center;\">[latex]\u22122x+12x+24=4\\hspace{.8in}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}10x+24=4\\,\\,\\,\\,\\,\\,\\,\\\\\\underline{\\hspace{.38in}\u2212\\hspace{.03in}24\\hspace{.08in}\u221224\\,}\\\\10x\\hspace{.38in}=\u221220\\end{array}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.93in}\\displaystyle \\frac{10x}{10}=\\frac{-20}{10}\\hspace{.5in}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{1.01in}x=-2\\hspace{.47in}[\/latex]<\/p>\r\nTo find [latex]y[\/latex], substitute this value for [latex]x[\/latex]back into one of the original equations.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=3x+6\\\\y=3\\left(\u22122\\right)+6\\\\y =\u22126+6\\\\y=0\\end{array}[\/latex]<\/p>\r\nCheck the solution [latex]x=\u22122[\/latex], [latex]y=0[\/latex]\u00a0by substituting them into each of the original equations.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=3x+6\\\\0=3\\left(\u22122\\right)+6\\\\0=\u22126+6\\\\0=0\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\r\n&nbsp;\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\u22122x+4y=4\\\\\u22122\\left(\u22122\\right)+4\\left(0\\right)=4\\\\4+0=4\\\\4=4\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\r\n\r\n<h4>Answer<\/h4>\r\n[latex]x=\u22122[\/latex] and [latex]y=0[\/latex]\r\n\r\nEquivalently, the solution is (\u22122, 0).\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nIn the examples above, one of the equations was already given to us in terms of the variable <i>x<\/i> or <i>y<\/i>. This allowed us to quickly substitute into the other equation and solve for one of the unknowns.\r\n\r\nSometimes you may have to rewrite one of the equations in terms of one of the variables first before you can substitute. In\u00a0the example below, you will first need to isolate one of the variables before you can substitute it into the other equation.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 4<\/h3>\r\nSolve for [latex]x[\/latex] and [latex]y[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}2x+3y=22\\\\3x+y=19\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"344538\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"344538\"]Choose an equation to use for the substitution. The second equation,\r\n\r\n[latex]3x+y=19[\/latex], can easily be solved for [latex]y[\/latex], so it makes sense to start there.\r\n\r\nSolve [latex]3x+y=19[\/latex] for [latex]y[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}3x+y=19\\hspace{.42in}\\\\ \\underline{-3x \\hspace{.41in}-3x}\\hspace{.31in}\\\\ \\hspace{.78in}y=19-3x\\end{array}[\/latex]<\/p>\r\nSubstitute [latex]19\u20133x[\/latex] for [latex]y[\/latex] in the first equation.\r\n<p style=\"text-align: center;\"><i><\/i>[latex]\\begin{array}{r}2x+3y=22\\\\2x+3(19\u20133x)=22\\end{array}[\/latex]<i><\/i><\/p>\r\nSimplify and solve the equation for [latex]x[\/latex]<i>.<\/i>\r\n<p style=\"text-align: center;\">[latex]2x+57-9x=22\\hspace{.36in}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}-7x+57=22\\,\\,\\,\\,\\,\\\\{\\underline{\\hspace{.39in}-\\hspace{.04in}57\\hspace{.09in}-57}}\\,\\,\\\\-7x\\hspace{.41in}=-35\\end{array}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\displaystyle \\hspace{.7in}\\frac{-7x}{-7}=\\frac{-35}{-7}\\hspace{.28in}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.7in}x=5\\hspace{.3in}[\/latex]<\/p>\r\nSubstitute [latex]x=5[\/latex] back into one of the original equations to solve for <i>y.<\/i>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}3x+y=19\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\3\\left(5\\right)+y=19\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\15+y=19\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\ \\underline{\u221215\\hspace{.3in}-15}\\,\\,\\,\\,\\,\\hspace{.2in}\\\\y=4\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\end{array}[\/latex]<\/p>\r\nCheck both solutions by substituting them into each of the original equations.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}2x+3y=22\\\\2(5)+3\\left(4\\right)=22\\\\10+12=22\\\\22=22\\\\\\text{TRUE}\\\\\\\\3x+y=19\\\\3\\left(5\\right)+4= 19\\\\19=19\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\r\n\r\n<h4>Answer<\/h4>\r\n[latex]x=5[\/latex] and [latex]y=4[\/latex]\r\n\r\nEquivalently, the solution is (5, 4).\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nIn the following video, you will be given an example of solving a systems of two equations using the substitution method.\r\n\r\nhttps:\/\/youtu.be\/MIXL35YRzRw\r\n\r\nIf you had chosen the other equation to start with in the previous example, you would still be able to find the same solution. \u00a0It is really a matter of preference because sometimes solving for a variable will result in having to work with fractions. \u00a0As you become more experienced with algebra, you will be able to anticipate what choices will lead to more desirable outcomes.\r\n<h2 id=\"title2\">Recognize systems of equations that have no solution or an infinite number of solutions<\/h2>\r\nWhen we learned methods for solving linear equations in one variable, we found that some equations didn't have any solutions, and others had an infinite number of solutions. \u00a0We saw this behavior again\u00a0when we started describing solutions to systems of equations in two variables.\r\n\r\nRecall this example from Module 1 for solving linear equations in one variable:\r\n<p style=\"text-align: center;\">Solve for <i>x<\/i>.\u00a0[latex]12+2x\u20138=7x+5\u20135x[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex] \\displaystyle \\begin{array}{l}12+2x-8=7x+5-5x\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,2x+4=2x+5\\end{array}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,2x+4=2x+5\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\underline{-2x\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-2x\\,\\,\\,\\,\\,\\,\\,\\,}\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,4= \\,5\\end{array}[\/latex]<\/p>\r\nThis false statement implies there are <strong>no solutions<\/strong> to this equation. \u00a0In the same way, you may see an outcome like this when you use the substitution method to find a solution to a system of linear equations in two variables. In the next example, you will see an example of a system of two equations that does not have a solution.\r\n\r\n&nbsp;\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 5<\/h3>\r\nSolve for <i>x<\/i> and <i>y<\/i>.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=5x+4\\\\10x\u22122y=4\\end{array}[\/latex]<\/p>\r\n[reveal-answer q=\"787022\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"787022\"]Since the first equation is [latex]y=5x+4[\/latex], you can substitute [latex]5x+4[\/latex] in for <i>y<\/i> in the second equation.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}10x\u22122y=4\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\10x\u20132\\left(5x+4\\right)=4\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\end{array}[\/latex]<\/p>\r\nExpand the expression on the left.\r\n<p style=\"text-align: center;\">[latex]10x\u201310x\u20138=4[\/latex]<\/p>\r\nCombine like terms on the left side of equation. But since [latex]10x-10x=0[\/latex], we are left with\r\n<p style=\"text-align: center;\">[latex]\u22128=4[\/latex].<\/p>\r\nSince this is a false statement, we conclude that there is no solution.\r\n<h4>Answer<\/h4>\r\nNo Solution\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nYou get the false statement [latex]\u22128=4[\/latex]. What does this mean? The graph of this system sheds some light on what is happening.\r\n\r\n<img class=\"aligncenter size-full wp-image-2994\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/117\/2016\/04\/20183038\/Screen-Shot-2016-04-20-at-11.30.22-AM.png\" alt=\"Two parallel lines. One line is y=5x+4, and the other line is 10x-2y=4.\" width=\"459\" height=\"458\" \/>\r\n\r\nThe lines are parallel, they never intersect and there is no solution to this system of linear equations. Note that the result [latex]\u22128=4[\/latex] is <b>not<\/b> a solution. It is simply a false statement and it indicates that there is <b>no<\/b> solution.\r\n\r\nWe have also seen linear equations in one variable and systems of equations in two variables that have an infinite number of solutions. \u00a0In the next example, you will see what happens when you apply the substitution method to a system with an infinite number of solutions.\r\n<div class=\"bcc-box bcc-info\">\r\n<h3>Example 6<\/h3>\r\nSolve for x and y.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\,\\,\\,y=\u2212\\frac{1}{2}x+\\frac{1}{3}\\\\3x+6y=2\\end{array}[\/latex]<\/p>\r\n<p style=\"text-align: left;\">[reveal-answer q=\"683508\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"683508\"]<\/p>\r\nWe can substitute [latex]y=\u2212\\frac{1}{2}x+\\frac{1}{3}[\/latex]\u00a0for\u00a0[latex]y[\/latex] in the second equation. This gives you find the following:\r\n<div align=\"center\">\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}3x+6y=2\\\\3x+6\\left(-\\frac{1}{2}x+\\frac{1}{3}\\right)=2\\\\3x-3x+2=2\\\\2=2\\end{array}[\/latex]<\/p>\r\nThis true statement implies that there are an infinite number of solutions, since the statement is true for all values of [latex]x[\/latex]. The discussion below describes why this is the case and what exactly it means.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\nThis time you get a true statement: [latex]2=2[\/latex]. But what does this type of answer mean? Again, graphing can help you make sense of this system.\r\n<p style=\"text-align: center;\"><img class=\"alignnone wp-image-8873\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5465\/2020\/10\/30175554\/save4-300x185.png\" alt=\"Two overlapping solid red and decreasing lines on a coordinate plane with y-intercept just above x-axis.\" width=\"389\" height=\"241\" \/><\/p>\r\nThis system consists of two equations that both represent the <em>same line<\/em>. Every point along the line will be a solution to the system, and that\u2019s why the substitution method yields a true statement. In this case, there are an infinite number of solutions.\r\n\r\nIn the previous section, we learned that we can write the solution set in this case as the following:\r\n<p style=\"text-align: center;\">[latex]\\{(x,y)\\hspace{.01in}|\\hspace{.01in}y=-\\frac{1}{2}x+\\frac{1}{3}\\}[\/latex]<\/p>\r\nIn the following video you will see an example of solving a system that has an infinite number of solutions.\r\n\r\nhttps:\/\/youtu.be\/Pcqb109yK5Q\r\n\r\nIn the next video you will see an example of solving a system of equations that has no solutions.\r\n\r\nhttps:\/\/youtu.be\/kTtKfh5gFUc\r\n\r\n&nbsp;\r\n<h2>Summary<\/h2>\r\nThe substitution method is one way of solving systems of equations. To use the substitution method, use one equation to find an expression for one of the variables in terms of the other variable. Then substitute that expression in place of that variable in the second equation. You can then solve this equation as it will now have only one variable. Solving using the substitution method will yield one of three results: a single value for each variable within the system (indicating one solution), an untrue statement (indicating no solutions), or a true statement (indicating an infinite number of solutions).","rendered":"<div class=\"textbox learning-objectives\">\n<h3>section 4.2 Learning Objectives<\/h3>\n<div style=\"font-weight: 400;\">\n<div><\/div>\n<\/div>\n<div style=\"font-weight: 400;\">\n<div>\n<p><strong>4.2:\u00a0 Solving a 2&#215;2 System of Linear Equations by Substitution\u00a0<\/strong><\/p>\n<\/div>\n<div>\n<ul>\n<li>Solve systems of linear equations using substitution<\/li>\n<li>Recognize when systems of linear equations have no solution or an infinite number of solutions<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<h2>Solve a system of equations using the substitution method<\/h2>\n<p>In the previous section, we verified that ordered pairs were potential solutions to systems, and we used graphs to classify how many solutions a system of two linear equations had. What if we are not given a point of intersection, or it is not obvious from a graph? Can we still find a solution to the system? Of course you can, using algebra!<\/p>\n<p>In this section we will learn the substitution\u00a0method for finding a solution to a system of linear equations in two variables. We have used substitution in different ways throughout this course.\u00a0 For example, when we were using formulas, we substituted values that we knew into the formula to solve for values that we did not know. \u00a0The idea is similar when applied to solving systems, there are just a few different steps in the process. You will first solve for one variable, and then substitute that expression into the other equation. Let&#8217;s start with an example to see what this means.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 1<\/h3>\n<p>Find the value of [latex]x[\/latex] for this system.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}4x+3y=\u221214\\\\y=2\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q478211\">Show Solution<\/span><\/p>\n<div id=\"q478211\" class=\"hidden-answer\" style=\"display: none\">The problem asks to solve for <i>x<\/i>. Note that we won&#8217;t need to solve for [latex]y[\/latex] since the second equation already gives us the value for [latex]y[\/latex] as [latex]y=2[\/latex]. So, you can substitute 2 into the first equation for [latex]y[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}4x+3y=\u221214 \\\\ 4x+3\\left(2\\right)=\u221214\\end{array}[\/latex]<\/p>\n<p>Simplify and solve the equation for [latex]x[\/latex]<i>.<\/i><\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}4x+6=\u221214\\\\ \\underline{\\hspace{.25in}-\\hspace{.03in}6 \\hspace{.23in}-6}\\\\ 4x\\hspace{.31in}=\u221220\\end{array}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]{\\hspace{.31in}\\displaystyle \\frac{4x}{4}=\\frac{-20}{4}}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.3in}x=\u22125[\/latex]<\/p>\n<h4>Answer<\/h4>\n<p>[latex]x=\u22125[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>You can substitute a value for a variable even if it is an expression. Here\u2019s an example.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 2<\/h3>\n<p>Solve the system of equations for [latex]x[\/latex]<i>\u00a0<\/i>and [latex]y[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y+x=3\\\\x=y+5\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q300993\">Show Solution<\/span><\/p>\n<div id=\"q300993\" class=\"hidden-answer\" style=\"display: none\">The goal of the substitution method is to rewrite one of the equations in terms of a single variable. The second equation tells us that [latex]x=y+5[\/latex], so it makes sense to substitute [latex]y+5[\/latex] into the first equation for [latex]x[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}y+x=3\\\\y+\\left(y+5\\right)=3\\end{array}[\/latex]<i><\/i><\/p>\n<p>Simplify and solve the equation for [latex]y[\/latex]<i>.<\/i><\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}2y+5=3\\,\\,\\,\\,\\,\\\\{\\underline{\\hspace{.25in}\u2212\\hspace{.03in}5 \\hspace{.07in}\u22125}}\\,\\,\\,\\\\2y\\hspace{.33in}=\u22122\\end{array}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.34in} \\displaystyle \\frac{2y}{2}=\\frac{-2}{2}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.4in}y=\u22121[\/latex]<\/p>\n<p>Now find [latex]x[\/latex]<i>\u00a0<\/i>by\u00a0substituting this value for [latex]y[\/latex] into either equation. We will use the first equation here.<\/p>\n<p style=\"text-align: center;\">[latex]y+x=3[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r} -1+x=3\\hspace{.03in}\\\\ \\underline{+1\\hspace{.36in}+1}\\\\x=4\\hspace{.03in}\\end{array}[\/latex]<\/p>\n<p>Finally, we can check the solution\u00a0[latex]x=4[\/latex], [latex]y=\u22121[\/latex]\u00a0by substituting these values into each of the original equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}y+x=3\\\\\u22121+4=3\\\\3=3\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}x=y+5\\\\4=\u22121+5\\\\4=4\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\n<h4>Answer<\/h4>\n<p>[latex]x=4[\/latex] and [latex]y=\u22121[\/latex]<\/p>\n<p>Equivalently, the solution is [latex](4,\u22121)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>Remember, a solution to a system of equations must be a solution to each of the equations within the system. The ordered pair [latex](4,\u22121)[\/latex] does work for both equations, so you know that it is a solution to the system.<\/p>\n<p>Let\u2019s look at another example whose substitution involves the distributive property.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 3<\/h3>\n<p>Solve the system for [latex]x[\/latex]<i>\u00a0<\/i>and [latex]y[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}y = 3x + 6\\\\\u22122x + 4y = 4\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q240040\">Show Solution<\/span><\/p>\n<div id=\"q240040\" class=\"hidden-answer\" style=\"display: none\">Choose an equation to use for the substitution.<\/p>\n<p>The first equation tells you how to express [latex]y[\/latex] in terms of [latex]x[\/latex], so it makes sense to substitute [latex]3x+6[\/latex] into the second equation for [latex]y[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\u22122x+4y=4\\\\\u22122x+4\\left(3x+6\\right)=4\\end{array}[\/latex]<i><\/i><\/p>\n<p>Simplify and solve the equation for [latex]x[\/latex]<i>.<\/i><\/p>\n<p style=\"text-align: center;\">[latex]\u22122x+12x+24=4\\hspace{.8in}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}10x+24=4\\,\\,\\,\\,\\,\\,\\,\\\\\\underline{\\hspace{.38in}\u2212\\hspace{.03in}24\\hspace{.08in}\u221224\\,}\\\\10x\\hspace{.38in}=\u221220\\end{array}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.93in}\\displaystyle \\frac{10x}{10}=\\frac{-20}{10}\\hspace{.5in}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{1.01in}x=-2\\hspace{.47in}[\/latex]<\/p>\n<p>To find [latex]y[\/latex], substitute this value for [latex]x[\/latex]back into one of the original equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=3x+6\\\\y=3\\left(\u22122\\right)+6\\\\y =\u22126+6\\\\y=0\\end{array}[\/latex]<\/p>\n<p>Check the solution [latex]x=\u22122[\/latex], [latex]y=0[\/latex]\u00a0by substituting them into each of the original equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=3x+6\\\\0=3\\left(\u22122\\right)+6\\\\0=\u22126+6\\\\0=0\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\u22122x+4y=4\\\\\u22122\\left(\u22122\\right)+4\\left(0\\right)=4\\\\4+0=4\\\\4=4\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\n<h4>Answer<\/h4>\n<p>[latex]x=\u22122[\/latex] and [latex]y=0[\/latex]<\/p>\n<p>Equivalently, the solution is (\u22122, 0).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>In the examples above, one of the equations was already given to us in terms of the variable <i>x<\/i> or <i>y<\/i>. This allowed us to quickly substitute into the other equation and solve for one of the unknowns.<\/p>\n<p>Sometimes you may have to rewrite one of the equations in terms of one of the variables first before you can substitute. In\u00a0the example below, you will first need to isolate one of the variables before you can substitute it into the other equation.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 4<\/h3>\n<p>Solve for [latex]x[\/latex] and [latex]y[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}2x+3y=22\\\\3x+y=19\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q344538\">Show Solution<\/span><\/p>\n<div id=\"q344538\" class=\"hidden-answer\" style=\"display: none\">Choose an equation to use for the substitution. The second equation,<\/p>\n<p>[latex]3x+y=19[\/latex], can easily be solved for [latex]y[\/latex], so it makes sense to start there.<\/p>\n<p>Solve [latex]3x+y=19[\/latex] for [latex]y[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}3x+y=19\\hspace{.42in}\\\\ \\underline{-3x \\hspace{.41in}-3x}\\hspace{.31in}\\\\ \\hspace{.78in}y=19-3x\\end{array}[\/latex]<\/p>\n<p>Substitute [latex]19\u20133x[\/latex] for [latex]y[\/latex] in the first equation.<\/p>\n<p style=\"text-align: center;\"><i><\/i>[latex]\\begin{array}{r}2x+3y=22\\\\2x+3(19\u20133x)=22\\end{array}[\/latex]<i><\/i><\/p>\n<p>Simplify and solve the equation for [latex]x[\/latex]<i>.<\/i><\/p>\n<p style=\"text-align: center;\">[latex]2x+57-9x=22\\hspace{.36in}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}-7x+57=22\\,\\,\\,\\,\\,\\\\{\\underline{\\hspace{.39in}-\\hspace{.04in}57\\hspace{.09in}-57}}\\,\\,\\\\-7x\\hspace{.41in}=-35\\end{array}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\hspace{.7in}\\frac{-7x}{-7}=\\frac{-35}{-7}\\hspace{.28in}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.7in}x=5\\hspace{.3in}[\/latex]<\/p>\n<p>Substitute [latex]x=5[\/latex] back into one of the original equations to solve for <i>y.<\/i><\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}3x+y=19\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\3\\left(5\\right)+y=19\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\15+y=19\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\ \\underline{\u221215\\hspace{.3in}-15}\\,\\,\\,\\,\\,\\hspace{.2in}\\\\y=4\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\end{array}[\/latex]<\/p>\n<p>Check both solutions by substituting them into each of the original equations.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}2x+3y=22\\\\2(5)+3\\left(4\\right)=22\\\\10+12=22\\\\22=22\\\\\\text{TRUE}\\\\\\\\3x+y=19\\\\3\\left(5\\right)+4= 19\\\\19=19\\\\\\text{TRUE}\\end{array}[\/latex]<\/p>\n<h4>Answer<\/h4>\n<p>[latex]x=5[\/latex] and [latex]y=4[\/latex]<\/p>\n<p>Equivalently, the solution is (5, 4).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>In the following video, you will be given an example of solving a systems of two equations using the substitution method.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Ex 2:  Solve a System of Equations Using Substitution\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/MIXL35YRzRw?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>If you had chosen the other equation to start with in the previous example, you would still be able to find the same solution. \u00a0It is really a matter of preference because sometimes solving for a variable will result in having to work with fractions. \u00a0As you become more experienced with algebra, you will be able to anticipate what choices will lead to more desirable outcomes.<\/p>\n<h2 id=\"title2\">Recognize systems of equations that have no solution or an infinite number of solutions<\/h2>\n<p>When we learned methods for solving linear equations in one variable, we found that some equations didn&#8217;t have any solutions, and others had an infinite number of solutions. \u00a0We saw this behavior again\u00a0when we started describing solutions to systems of equations in two variables.<\/p>\n<p>Recall this example from Module 1 for solving linear equations in one variable:<\/p>\n<p style=\"text-align: center;\">Solve for <i>x<\/i>.\u00a0[latex]12+2x\u20138=7x+5\u20135x[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle \\begin{array}{l}12+2x-8=7x+5-5x\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,2x+4=2x+5\\end{array}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,2x+4=2x+5\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\underline{-2x\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,-2x\\,\\,\\,\\,\\,\\,\\,\\,}\\\\\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,4= \\,5\\end{array}[\/latex]<\/p>\n<p>This false statement implies there are <strong>no solutions<\/strong> to this equation. \u00a0In the same way, you may see an outcome like this when you use the substitution method to find a solution to a system of linear equations in two variables. In the next example, you will see an example of a system of two equations that does not have a solution.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 5<\/h3>\n<p>Solve for <i>x<\/i> and <i>y<\/i>.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{l}y=5x+4\\\\10x\u22122y=4\\end{array}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q787022\">Show Solution<\/span><\/p>\n<div id=\"q787022\" class=\"hidden-answer\" style=\"display: none\">Since the first equation is [latex]y=5x+4[\/latex], you can substitute [latex]5x+4[\/latex] in for <i>y<\/i> in the second equation.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}10x\u22122y=4\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\\\10x\u20132\\left(5x+4\\right)=4\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\end{array}[\/latex]<\/p>\n<p>Expand the expression on the left.<\/p>\n<p style=\"text-align: center;\">[latex]10x\u201310x\u20138=4[\/latex]<\/p>\n<p>Combine like terms on the left side of equation. But since [latex]10x-10x=0[\/latex], we are left with<\/p>\n<p style=\"text-align: center;\">[latex]\u22128=4[\/latex].<\/p>\n<p>Since this is a false statement, we conclude that there is no solution.<\/p>\n<h4>Answer<\/h4>\n<p>No Solution<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>You get the false statement [latex]\u22128=4[\/latex]. What does this mean? The graph of this system sheds some light on what is happening.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2994\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/117\/2016\/04\/20183038\/Screen-Shot-2016-04-20-at-11.30.22-AM.png\" alt=\"Two parallel lines. One line is y=5x+4, and the other line is 10x-2y=4.\" width=\"459\" height=\"458\" \/><\/p>\n<p>The lines are parallel, they never intersect and there is no solution to this system of linear equations. Note that the result [latex]\u22128=4[\/latex] is <b>not<\/b> a solution. It is simply a false statement and it indicates that there is <b>no<\/b> solution.<\/p>\n<p>We have also seen linear equations in one variable and systems of equations in two variables that have an infinite number of solutions. \u00a0In the next example, you will see what happens when you apply the substitution method to a system with an infinite number of solutions.<\/p>\n<div class=\"bcc-box bcc-info\">\n<h3>Example 6<\/h3>\n<p>Solve for x and y.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}\\,\\,\\,y=\u2212\\frac{1}{2}x+\\frac{1}{3}\\\\3x+6y=2\\end{array}[\/latex]<\/p>\n<p style=\"text-align: left;\">\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q683508\">Show Solution<\/span><\/p>\n<div id=\"q683508\" class=\"hidden-answer\" style=\"display: none\">\n<p>We can substitute [latex]y=\u2212\\frac{1}{2}x+\\frac{1}{3}[\/latex]\u00a0for\u00a0[latex]y[\/latex] in the second equation. This gives you find the following:<\/p>\n<div style=\"margin: auto;\">\n<p style=\"text-align: center;\">[latex]\\begin{array}{r}3x+6y=2\\\\3x+6\\left(-\\frac{1}{2}x+\\frac{1}{3}\\right)=2\\\\3x-3x+2=2\\\\2=2\\end{array}[\/latex]<\/p>\n<p>This true statement implies that there are an infinite number of solutions, since the statement is true for all values of [latex]x[\/latex]. The discussion below describes why this is the case and what exactly it means.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>This time you get a true statement: [latex]2=2[\/latex]. But what does this type of answer mean? Again, graphing can help you make sense of this system.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8873\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5465\/2020\/10\/30175554\/save4-300x185.png\" alt=\"Two overlapping solid red and decreasing lines on a coordinate plane with y-intercept just above x-axis.\" width=\"389\" height=\"241\" \/><\/p>\n<p>This system consists of two equations that both represent the <em>same line<\/em>. Every point along the line will be a solution to the system, and that\u2019s why the substitution method yields a true statement. In this case, there are an infinite number of solutions.<\/p>\n<p>In the previous section, we learned that we can write the solution set in this case as the following:<\/p>\n<p style=\"text-align: center;\">[latex]\\{(x,y)\\hspace{.01in}|\\hspace{.01in}y=-\\frac{1}{2}x+\\frac{1}{3}\\}[\/latex]<\/p>\n<p>In the following video you will see an example of solving a system that has an infinite number of solutions.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-2\" title=\"Ex:  Solve a System of Equations Using Substitution - Infinite Solutions\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Pcqb109yK5Q?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>In the next video you will see an example of solving a system of equations that has no solutions.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-3\" title=\"Ex:  Solve a System of Equations Using Substitution - No Solution\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/kTtKfh5gFUc?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2>Summary<\/h2>\n<p>The substitution method is one way of solving systems of equations. To use the substitution method, use one equation to find an expression for one of the variables in terms of the other variable. Then substitute that expression in place of that variable in the second equation. You can then solve this equation as it will now have only one variable. Solving using the substitution method will yield one of three results: a single value for each variable within the system (indicating one solution), an untrue statement (indicating no solutions), or a true statement (indicating an infinite number of solutions).<\/p>\n","protected":false},"author":348856,"menu_order":3,"template":"","meta":{"_candela_citation":"[]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-6741","chapter","type-chapter","status-publish","hentry"],"part":809,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/users\/348856"}],"version-history":[{"count":177,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6741\/revisions"}],"predecessor-version":[{"id":9650,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6741\/revisions\/9650"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/parts\/809"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6741\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/media?parent=6741"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=6741"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/contributor?post=6741"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/license?post=6741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}