## Section 15.3 Solving Systems Using the Substitution Method

¶Consider the linear system of equations stated below.

The system is graphed Figure 15.3.1. The system is clearly consistent, but there is no way to visually determine the exact solution based upon the graph. If we were working with graphing technology, the software could undoubtedly determine the exact solution, but dependent upon the decimal form of the coordinates of the points, we may only be able to recognize an approximation of the solution.

Surely people were able to determine the solution to that system before the advent of graphing technology. Indeed they were. There actually are several processes for determining the solution to linear systems of two equations with two unknowns. In this section we are going to explore one of those processes, the process of substitution.

Referring again to

we can see that we could easily isolate \(y\) the second equation. Let's go ahead and do that.

Since the solution to the system must satisfy both equations in the system, it's got to be the case that the \(y\)-coordinate is equal to \(-2x+3\text{.}\) We can use that fact to reduce the number of variables in the first equation to one by substituting the expression \(-2x+3\) for \(y\text{.}\) We can then solve the resultant equation for \(x\text{.}\) Let's go ahead and do that.

So the solution has an \(x\)-coordinate of \(\frac{11}{6}\text{.}\) Let's substitute that value for \(x\) in the equation \(y=-2x+3\) and simplify to determine the \(y\)-coordinate of the solution.

So the solution to the system of equations is the ordered pair \(\left(\frac{11}{6},-\frac{2}{3}\right)\text{.}\) Let's verify.

The usual process of using substitution to solve a system of two linear equations with two unknowns is outlined below. This is the process used when exactly one ordered pair satisfies the system. Some of the steps are different in other situations — those situations will be discussed later.

- Isolate one of the variables in one of the equations. If you can, choose a variable and equation that will not result in unnecessary fractions.
- Substitute the expression on the other side of the isolated variable for that variable in the other equation.
- You now have an equation with only one variable. Go ahead and solve that equation for the remaining variable.
- Substitute the value you determined in step 3 into the equation you found in step 1 to determine the value of the variable you isolated in step 1.
- Check your solution in both equations, and assuming it is correct, state your solution. If the solution is not correct, find your mistake and/or rework the problem from scratch.

Let's see the steps in action.

###### Example 15.3.2.

Determine the solution to the system stated below.

Step 1

We need isolate one of the variables in one of the equations. I choose to isolate \(x\) in the second equation, because any other choice will lead to unnecessary fractions.

Steps 2 and 3

We now substitute the expression \(-2y+1\) for \(x\) in the first equation stated in the system. We then go ahead and solve that equation for \(y\text{.}\)

Step 4

We now substitute \(2\) for \(y\) in the equation \(x=-2y+1\) to determine the value of \(x\text{.}\)

Step 5

We now check our solution and state our conclusion.

The solution to the stated system of equations is the ordered pair \((-3,2)\text{.}\)

We now turn our attention to the manner in which we recognize that a linear system of two equations has no solutions or an "infinite number" of solutions, the latter case occurring when the two equations are equivalent. The process begins as if we were trying to find the unique ordered pair that satisfies the system. The signal that we are in an usual situation occurs in step 3 of that process. Let's see how.

- Isolate one of the variables in one of the equations. If you can, choose a variable and equation that will not result in unnecessary fractions.
- Substitute the expression on the other side of the isolated variable for that variable in the other equation.
- You now have an equation with only one variable. Go ahead and try to solve that equation for the remaining variable. The thing that indicates that something unusual is afoot is when the variable disappears. If that occurs, and what is left behind is a false statement (called a contradiction) such as \(2=5\text{,}\) you can conclude that there are no ordered pairs that satisfy both equations in the system. If the variable disappears and you are left with an equation that is always true (called an identity) such as \(7=7\text{,}\) you can conclude that the two equations in the system are different representations of the same line, and as such every ordered pair that falls on that line is a solution to the system.

The easiest way to check that either of these two solution types is correct is to manipulate both equations from the system into slope-intercept form. If the two equations really share no common ordered pairs, the two corresponding lines will have the same slope but different \(y\)-intercepts. If the two equations are equivalent, then the slope-intercept forms of their equations will be identical.

###### Example 15.3.3.

Use the method of substitution to determined all solutions to the following system of equations.

We begin by isolating \(x\) in the second equation from the system.

We now substitute \(3y+6\) for \(x\) in the first equation in the system.

We've arrived at an identity, so we conclude that the two equations in the system are two representations of the same line, and that every ordered pair that falls on that line is a solution to the system of equations. We can check by manipulating both equations into slope-intercept form and making sure that the two results are identical.

Because the slope-intercept forms of the two equations are identical, we can safely conclude that the system does indeed have an "infinite number" of solutions, specifically every ordered pair on the line \(y=\frac{1}{3}x-2\text{.}\)

###### Example 15.3.4.

Use the method of substitution to determined all solutions to the following system of equations.

Because \(y\) is already isolated in the second equation, let's run with that and substitute \(-\frac{2}{5}x+5\) for \(y\) in the first equation.

We've arrived at the contradiction \(50=24\text{;}\) no matter what values we assign to \(x\) and \(y\text{,}\) we cannot force \(50\) and \(24\) to be equal. As such, it must be the case that there are no ordered pairs that satisfy both equations in the system. We can check by manipulating the first equation into slope-intercept form and seeing that the slope of the line is \(-\frac{2}{5}\) but that the \(y\)-intercept is not \((0,5)\) (as it is for the second equation).

So we can see that if we graphed the two lines in the system, they would be parallel lines (same slope, different \(y\)-intercepts), so we are correct in our conclusion that the solution sets for the two equations share no common ordered pairs.

Sometimes there is no avoiding fractions when applying the method of substitution to a linear system of equations. For example, consider the following system of equations.

No matter which variable we isolate, the expression on the other side of the equation will contain fractions. Fortunately, once we've made the substitution we can clear away the fractions before proceeding to the solution. Since there are no "good" choices, let's go ahead and solve the first equation for \(y\text{.}\)

We can substitute \(\frac{5}{3}x+\frac{4}{3}\) for \(y\) in the second original equation and solve the resultant equation for \(x\text{.}\)

Let's substitute \(-2\) for \(x\) in the equation \(y=\frac{5}{3}x+\frac{4}{3}\) and solve for \(y\text{.}\)

Our proposed solution is \((-2,-2)\text{.}\) Let's check in the original system.

The solution to the given system of equations is the ordered pair \((-2,-2)\text{.}\)

###### Example 15.3.5.

Use the method of substitution to solve the following system of equations.

Good grief. Let's start by clearing away the fractions, noting that \(28\) is the LCD of the fractions in the first equation and \(18\) is the LCD of the fractions in the second equation.

Consideration of our choices for variable isolation does not bring good cheer. Let's keep the fractions as reasonable as possible and solve the second equation for \(y\text{.}\)

Let's go ahead and substitute \(\frac{7}{6}x-\frac{43}{12}\) for \(y\) in the equation \(70x-12y=71\) and solve the resultant equation for \(x\text{.}\)

Let's substitute \(\frac{1}{2}\) for \(x\) in the equation \(y=\frac{7}{6}x-\frac{43}{12}\) and solve the resultant equation for \(y\text{.}\)

Our proposed solution is \(\left(\frac{1}{2},-3\right)\) which is pretty clean, so probably correct. Never-the-less, we need to check it in the original system.

The solution to the given system of equations is the ordered pair \(\left(\frac{1}{2},-3\right)\text{.}\)

Criminy.

You can use Figure 15.3.6 to generate random practice problems. In each case both coordinates of the correct solution are integers.

###### Exploration 15.3.1.

### Exercises Exercises

Use the substitution method to determine the solution to each of the following systems of linear equations.

###### 1.

\(\left\{ \begin{aligned} 3x-4y\amp=32\\ x\amp=2y+14\\ \end{aligned} \right.\)

We begin by substituting the expression \(2y+14\) for \(x\) in the equation \(3x-4y=32\text{.}\) We then solve the resultant equation for \(y\text{.}\)

We can now substitute the value of \(-5\) for \(y\) in the equation \(x=2y+14\) to determine the value of \(x\text{.}\)

We conclude by stating that the solution to the given system of equations is the ordered pair \((4,-5)\) (which checks in both equations).

###### 2.

\(\left\{ \begin{aligned} -x-3y\amp=11\\ 2x+5y\amp=-18\\ \end{aligned} \right.\)

To avoid fractions, we begin by solving the first equation for \(x\text{.}\)

We can now substitute \(-11-3y\) for \(x\) in the equation \(2x+5y=-18\text{.}\) We then solve the resultant equation for \(y\text{.}\)

We can now substitute the value of \(-4\) for \(y\) in the equation \(x=-11-3y\) to determine the value of \(x\text{.}\)

e conclude by stating that the solution to the given system of equations is the ordered pair \((1,-4)\) (which checks in both equations).

###### 3.

\(\left\{ \begin{aligned} 3x-4y\amp=8\\ y\amp=\frac{3}{4}x-2\\ \end{aligned} \right.\)

We begin by substituting \(\frac{3}{4}x-2\) for \(y\) in the equation \(3x-4y=8\text{.}\) We the (attempt) to solve he resultant eqaution for \(x\text{.}\)

The last equation is an identity, it is true regardless of the values of \(x\) and \(y\text{.}\) This means that the two original equations are equivalent — they represent the same line. We can check this by isolating \(y\) in the equation \(3x-4y=8\text{.}\)

This last equation is clearly equivalent to \(y=\frac{3}{4}x-2\text{,}\) so we are correct in our assertion that both equations in the original system represent the same line. We conclude that every point that lies on the line \(y=\frac{3}{4}x-2\) is a solution to the given system.

###### 4.

\(\left\{ \begin{aligned} y\amp=-3x+7\\ x\amp=-\frac{1}{3}y+3\\ \end{aligned} \right.\)

We can begin by substituting \(-\frac{1}{3}y+3\) for \(x\) in the equation \(y=-3x+7\text{.}\) We then (attempt) to solve the resultant equation for \(y\text{.}\)

The last equation is a contradiction, there are no values we can assign to \(x\) and \(y\) that will make \(0\) and \(-2\) equal! This is an indication that there are no solutions to the given system. We can check this by isolating \(y\) in the equation \(x=-\frac{1}{3}y+3\text{.}\)

The last equation, \(y=-3x+9\text{,}\) graphs to a line that is parallel to the line that results from graphing \(y=-3x+7\) (the other equation in the given system). This confirms that there is no point that lies on both lines. The given system has no solutions, it is inconsistent.

###### 5.

\(\left\{ \begin{aligned} -2x+7y\amp=69\\ 6x+2y\amp=0\\ \end{aligned} \right.\)

To avoid introducing unnecessary fractions, we solve the equation \(6x+2y=0\) for \(y\text{.}\)

We now substitute \(-3x\) for \(y\) in the equation \(-2x+7y=69\) and solve the resultant equation for \(x\text{.}\)

Now we substitute \(-3\) for \(x\) in the equation \(y=-3x\) to determine the value of \(y\text{.}\)

We conclude that the solution to the given system of equations is the ordered pair \((-3,9)\) (which checks in both equations).

###### 6.

\(\left\{ \begin{aligned} x\amp=\frac{2}{5}y-2\\ -x+3y\amp=28\\ \end{aligned} \right.\)

Since \(x\) is already isolated in the first equation, let's go ahead and substitute \(\frac{2}{5}y-2\) for \(x\) in the second equation.

Before going any further, we can clear away the fraction by multiplying both sides of the equation by \(5\text{.}\)

Now that we know that the value of \(y\) is \(10\text{,}\) we can substitute \(10\) for \(y\) in the equation \(x=\frac{2}{5}y-2\) to determine the value of \(x\text{.}\)

So the solution to the given system of equations is the ordered pair \((2,10)\text{.}\) The reader should verify the solution in both equations (as the author did on his own).

###### 7.

\(\left\{ \begin{aligned} -3x+4y\amp=27\\ 5x-3y\amp=-34\\ \end{aligned} \right.\)

Regardless of which variable we isolate, there are going to be fractions in the resultant equation. We'll have one fewer fraction if we isolate \(x\) in the first equation, so let's do that.

We can now substitute \(-9+\frac{4}{3}y\) for \(x\) in the equation \(5x-3y=-34\text{.}\)

Before proceeding any further, let's clear away the fraction by multiplying both sides of the equation by \(3\text{.}\)

Knowing that \(y=3\text{,}\) let's substitute \(3\) for \(y\) in the equation \(x=-9+\frac{4}{3}y\) to determine the value of \(x\text{.}\)

So the solution to the given system of equations is the ordered pair \((-5,3)\text{.}\) The author has verified the solution, as should the reader.

###### 8.

\(\left\{ \begin{aligned} \frac{5}{2}x-\frac{4}{3}y\amp=-33\\ -\frac{1}{5}x+\frac{2}{3}y\amp=6\\ \end{aligned} \right.\)

Once we get over the shock of all the fractions, let's focus on eliminating them. The LCD of the fractions in the first equation is \(6\) and the LCD of the fractions in the second equations is \(15\text{,}\) so we can clear the fractions in the first equation by multiplying both sides by \(6\) and we can clear the fractions from the second equation by multiplying both sides by \(15\text{.}\)

This results in the following system of equations.

Regardless of the variable we isolate, the resultant equation will have fractions. As far as fractions go, thirds are relatively friendly, so let's isolate \(x\) in the second equation.

Let's go ahead and substitute \(-30+\frac{10}{3}y\) for \(x\) in the equation \(15x-8y=-198\text{.}\)

Let's now substitute \(6\) for \(y\) in the equation \(x=-30+\frac{10}{3}y\) to determine the value of \(x\text{.}\)

The solution to the given system is the ordered pair \((-10,6)\) which the author is confident the reader will verify.

###### 9.

\(\left\{ \begin{aligned} \frac{3}{4}x-\frac{5}{2}y\amp=\frac{7}{4}\\ -\frac{1}{3}x+y\amp=-1\\ \end{aligned} \right.\)

Our first instinct might be to clear away all of the fractions, but that's probably not the best option. While we definitely want to clear the fractions from the first equation, a better option for the second equation is probably to just go ahead and isolate \(y\text{.}\) We begin with the second action.

We can now substitute \(-1+\frac{1}{3}x\) for \(y\) in the first equation. Before doing that, let's clear away the fractions from the first equation by multiplying both sides of the equation by the LCD of all of the fractions in the equation which is \(4\text{.}\)

Before proceeding any further, let's clear away the fraction by multiplying both sides of the equation by \(3\text{.}\)

We can now determine the value for \(y\) after replacing \(x\) with \(9\) in the equation \(y=-1+\frac{1}{3}x\text{.}\)

The solution to the given system of equations is the ordered pair \((9,2)\text{.}\) The solution is verified below.

###### 10.

\(\left\{ \begin{aligned} -4x+7y\amp=-13\\ 6x+14y\amp=9\\ \end{aligned} \right.\)

No avoiding fractions, but at least we can work with quarters. Let's solve the first equation for \(x\text{.}\)

Breath ... let's substitute \(\frac{13}{4}+\frac{7}{4}y\) for \(x\) in the second given equation.

Let's clear away the fractions by multiplying both sides of the equation by \(2\) and then solve for \(y\text{.}\)

Oh my. Exhale. Let's carry on. Replacing \(y\) with \(-\frac{3}{7}\) in the equation \(x=\frac{13}{4}+\frac{7}{4}y\) will led to the value of \(x\text{.}\)

Alrighty, then. The solution to the given system is the ordered pair \(\left(\frac{5}{2},-\frac{3}{7}\right)\text{.}\) This unlikely outcome is verified below.

Crikey.