This is “Solving Linear Systems by Substitution”, section 4.2 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:

Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.

DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

- Solve linear systems using the substitution method.

In this section, we will define a completely algebraic technique for solving systems. The idea is to solve one equation for one of the variables and substitute the result into the other equation. After performing this substitution step, we will be left with a single equation with one variable, which can be solved using algebra. This is called the substitution methodA means of solving a linear system by solving for one of the variables and substituting the result into the other equation., and the steps are outlined in the following example.

**Example 1:** Solve by substitution: $\{\begin{array}{c}2x+y=7\\ 3x-2y=-7\end{array}$.

**Solution:**

**Step 1:** Solve for either variable in either equation. If you choose the first equation, you can isolate *y* in one step.

**Step 2:** Substitute the expression $-2x+7$ for the *y* variable in the *other* equation.

This leaves you with an equivalent equation with one variable, which can be solved using the techniques learned up to this point.

**Step 3:** Solve for the remaining variable. To solve for *x*, first distribute −2:

**Step 4:** Back substituteOnce a value is found for a variable, substitute it back into one of the original equations, or their equivalent equations, to determine the corresponding value of the other variable. to find the value of the other coordinate. Substitute *x* = 1 into either of the original equations or their equivalents. Typically, we use the equivalent equation that we found when isolating a variable in step 1.

The solution to the system is (1, 5). Be sure to present the solution as an ordered pair.

**Step 5:** Check. Verify that these coordinates solve both equations of the original system:

The graph of this linear system follows:

The substitution method for solving systems is a completely algebraic method. Thus graphing the lines is not required.

Answer: (1, 5)

**Example 2:** Solve by substitution: $\{\begin{array}{c}2x-y=12\\ x-y=3\end{array}$.

**Solution:** In this example, we can see that *x* has a coefficient of 1 in the second equation. This indicates that it can be isolated in one step as follows:

Substitute $3+y$ for *x* in the first equation. Use parentheses and take care to distribute.

Use $x=3+y$ to find *x*.

Answer: (9, 6). The check is left to the reader.

**Example 3:** Solve by substitution: $\{\begin{array}{c}3x-5y=17\\ x=-1\end{array}$.

**Solution:** In this example, the variable *x* is already isolated. Hence we can substitute $x=-1$ into the first equation.

Answer: (−1, −4). It is a good exercise to graph this particular system to compare the substitution method to the graphing method for solving systems.

**Try this!** Solve by substitution: $\{\begin{array}{c}3x+y=4\\ 8x+2y=10\end{array}$.

Answer: (1, 1)

Solving systems algebraically frequently requires work with fractions.

**Example 4:** Solve by substitution: $\{\begin{array}{c}2x+8y=5\\ 24x-4y=-15\end{array}$.

**Solution:** Begin by solving for *x* in the first equation.

Next, substitute into the second equation and solve for *y*.

Back substitute into the equation used in the substitution step:

Answer: (−1/2, 3/4)

As we know, not all linear systems have only one ordered pair solution. Recall that some systems have infinitely many ordered pair solutions and some do not have any solutions. Next, we explore what happens when using the substitution method to solve a dependent system.

**Example 5:** Solve by substitution: $\{\begin{array}{c}-5x+y=-1\\ 10x-2y=2\end{array}$.

**Solution:** Since the first equation has a term with coefficient 1, we choose to solve for that first.

Next, substitute this expression in for *y* in the second equation.

This process led to a true statement; hence the equation is an identity and any real number is a solution. This indicates that the system is dependent. The simultaneous solutions take the form (*x*, *mx* + *b*), or in this case, (*x*, 5*x* − 1), where *x* is any real number.

Answer: $(x,\text{\hspace{0.17em}}5x-1)$

To have a better understanding of the previous example, rewrite both equations in slope-intercept form and graph them on the same set of axes.

We can see that both equations represent the same line, and thus the system is dependent. Now explore what happens when solving an inconsistent system using the substitution method.

**Example 6:** Solve by substitution: $\{\begin{array}{c}-7x+3y=3\\ 14x-6y=-16\end{array}$.

**Solution:** Solve for *y* in the first equation.

Substitute into the second equation and solve.

Solving leads to a false statement. This indicates that the equation is a contradiction. There is no solution for *x* and hence no solution to the system.

Answer: No solution, Ø

A false statement indicates that the system is inconsistent, or in geometric terms, that the lines are parallel and do not intersect. To illustrate this, determine the slope-intercept form of each line and graph them on the same set of axes.

In slope-intercept form, it is easy to see that the two lines have the same slope but different *y*-intercepts.

**Try this!** Solve by substitution: $\{\begin{array}{c}2x-5y=3\\ 4x-10y=6\end{array}$.

Answer: $\left(x,\text{\hspace{0.17em}}{\scriptscriptstyle \frac{2}{5}}x-{\scriptscriptstyle \frac{3}{5}}\right)$

- The substitution method is a completely algebraic method for solving a system of equations.
- The substitution method requires that we solve for one of the variables and then substitute the result into the other equation. After performing the substitution step, the resulting equation has one variable and can be solved using the techniques learned up to this point.
- When the value of one of the variables is determined, go back and substitute it into one of the original equations, or their equivalent equations, to determine the corresponding value of the other variable.
- Solutions to systems of two linear equations with two variables, if they exist, are ordered pairs (
*x*,*y*). - If the process of solving a system of equations leads to a false statement, then the system is inconsistent and there is no solution, Ø.
- If the process of solving a system of equations leads to a true statement, then the system is dependent and there are infinitely many solutions that can be expressed using the form (
*x*,*mx*+*b*).

Part A: Substitution Method

*Solve by substitution.*

1. $\{\begin{array}{l}y=4x-1\\ -3x+y=1\end{array}$

2. $\{\begin{array}{l}y=3x-8\\ 4x-y=2\end{array}$

3. $\{\begin{array}{c}x=2y-3\\ x+3y=-8\end{array}$

4. $\{\begin{array}{c}x=-4y+1\\ 2x+3y=12\end{array}$

5. $\{\begin{array}{c}y=3x\\ -5x+2y=2\end{array}$

6. $\{\begin{array}{c}y=x\\ 2x+3y=10\end{array}$

7. $\{\begin{array}{c}y=4x+1\\ -4x+y=2\end{array}$

8. $\{\begin{array}{c}y=-3x+5\\ 3x+y=5\end{array}$

9. $\{\begin{array}{l}y=2x+3\\ 2x-y=-3\end{array}$

10. $\{\begin{array}{l}y=5x-1\\ x-2y=5\end{array}$

11. $\{\begin{array}{l}y=-7x+1\\ 3x-y=4\end{array}$

12. $\{\begin{array}{l}x=6y+2\\ 5x-2y=0\end{array}$

13. $\{\begin{array}{c}y=-2\\ -2x-y=-6\end{array}$

14. $\{\begin{array}{c}x=-3\\ x-4y=-3\end{array}$

15. $\{\begin{array}{l}y=-\frac{1}{5}x+3\\ 7x-5y=9\end{array}$

16. $\{\begin{array}{l}y=\frac{2}{3}x-1\\ 6x-9y=0\end{array}$

17. $\{\begin{array}{l}y=\frac{1}{2}x+\frac{1}{3}\\ x-6y=4\end{array}$

18. $\{\begin{array}{l}y=-\frac{3}{8}x+\frac{1}{2}\\ 2x+4y=1\end{array}$

19. $\{\begin{array}{c}x+y=6\\ 2x+3y=16\end{array}$

20. $\{\begin{array}{c}x-y=3\\ -2x+3y=-2\end{array}$

21. $\{\begin{array}{c}2x+y=2\\ 3x-2y=17\end{array}$

22. $\{\begin{array}{c}x-3y=-11\\ 3x+5y=-5\end{array}$

23. $\{\begin{array}{c}x+2y=-3\\ 3x-4y=-2\end{array}$

24. $\{\begin{array}{c}5x-y=12\\ 9x-y=10\end{array}$

25. $\{\begin{array}{c}x+2y=-6\\ -4x-8y=24\end{array}$

26. $\{\begin{array}{c}x+3y=-6\\ -2x-6y=-12\end{array}$

27. $\{\begin{array}{l}-3x+y=-4\\ 6x-2y=-2\end{array}$

28. $\{\begin{array}{c}x-5y=-10\\ 2x-10y=-20\end{array}$

29. $\{\begin{array}{c}3x-y=9\\ 4x+3y=-1\end{array}$

30. $\{\begin{array}{c}2x-y=5\\ 4x+2y=-2\end{array}$

31. $\{\begin{array}{c}-x+4y=0\\ 2x-5y=-6\end{array}$

32. $\{\begin{array}{c}3y-x=5\\ 5x+2y=-8\end{array}$

33. $\{\begin{array}{c}2x-5y=1\\ 4x+10y=2\end{array}$

34. $\{\begin{array}{c}3x-7y=-3\\ 6x+14y=0\end{array}$

35. $\{\begin{array}{c}10x-y=3\\ -5x+\frac{1}{2}y=1\end{array}$

36. $\{\begin{array}{c}-\frac{1}{3}x+\frac{1}{6}y=\frac{2}{3}\\ \frac{1}{2}x-\frac{1}{3}y=-\frac{3}{2}\end{array}$

37. $\{\begin{array}{c}\frac{1}{3}x+\frac{2}{3}y=1\\ \frac{1}{4}x-\frac{1}{3}y=-\frac{1}{12}\end{array}$

38. $\{\begin{array}{c}\frac{1}{7}x-y=\frac{1}{2}\\ \frac{1}{4}x+\frac{1}{2}y=2\end{array}$

39. $\{\begin{array}{c}-\frac{3}{5}x+\frac{2}{5}y=\frac{1}{2}\\ \frac{1}{3}x-\frac{1}{12}y=-\frac{1}{3}\end{array}$

40. $\{\begin{array}{c}\frac{1}{2}x=\frac{2}{3}y\\ x-\frac{2}{3}y=2\end{array}$

41. $\{\begin{array}{c}-\frac{1}{2}x+\frac{1}{2}y=\frac{5}{8}\\ \frac{1}{4}x+\frac{1}{2}y=\frac{1}{4}\end{array}$

42. $\{\begin{array}{c}x-y=0\\ -x+2y=3\end{array}$

43. $\{\begin{array}{c}y=3x\\ 2x-3y=0\end{array}$

44. $\{\begin{array}{c}2x+3y=18\\ -6x+3y=-6\end{array}$

45. $\{\begin{array}{c}-3x+4y=20\\ 2x+8y=8\end{array}$

46. $\{\begin{array}{c}5x-3y=-1\\ 3x+2y=7\end{array}$

47. $\{\begin{array}{c}-3x+7y=2\\ 2x+7y=1\end{array}$

48. $\{\begin{array}{c}y=3\\ y=-3\end{array}$

49. $\{\begin{array}{c}x=5\\ x=-2\end{array}$

50. $\{\begin{array}{c}y=4\\ y=4\end{array}$

*Set up a linear system and solve it using the substitution method.*

51. The sum of two numbers is 19. The larger number is 1 less than three times the smaller.

52. The sum of two numbers is 15. The larger is 3 more than twice the smaller.

53. The difference of two numbers is 7 and their sum is 1.

54. The difference of two numbers is 3 and their sum is −7.

55. Where on the graph of $-5x+3y=30$ does the *x*-coordinate equal the *y*-coordinate?

56. Where on the graph of ${\scriptscriptstyle \frac{1}{2}}x-{\scriptscriptstyle \frac{1}{3}}y=1$ does the *x*-coordinate equal the *y*-coordinate?

Part B: Discussion Board Topics

57. Describe what drives the choice of variable to solve for when beginning the process of solving by substitution.

58. Discuss the merits and drawbacks of the substitution method.

1: (2, 7)

3: (−5, −1)

5: (2, 6)

7: $\varnothing $

9: $(x,\text{\hspace{0.17em}}2x+3)$

11: (1/2, −5/2)

13: (4, −2)

15: (3, 12/5)

17: (−3, −7/6)

19: (2, 4)

21: (3, −4)

23: (−8/5, −7/10)

25: $(x,\text{\hspace{0.17em}}-{\scriptscriptstyle \frac{1}{2}}x-3)$

27: $\varnothing $

29: (2, −3)

31: (−8, −2)

33: (1/2, 0)

35: $\varnothing $

37: (1, 1)

39: (−11/10, −2/5)

41: (−1/2, 3/4)

43: (0, 0)

45: (−4, 2)

47: (−1/5, 1/5)

49: $\varnothing $

51: The two numbers are 5 and 14.

53: The two numbers are 4 and −3.

55: (−15, −15)