3.2: Solving Linear Systems With Two Variables: The Substitution Method
3.2: Solving Linear Systems With Two Variables: The Substitution Method
Example 3.2.1:
{2x +y = −3
Solve by substitution: .
3x −2y = −8
Solution
y
Solve for either variable in either equation. If you choose the first equation, you can isolate in
one step. −2x −3 y
Substitute the expression for the variable in the other equation.
3/15/2021 CC-BY-NC-SA https://math.libretexts.org/@go/page/6241
3.2.1
Figure 3.2.1
This leaves us with an equivalent equation with one variable, which can be solved using the techniques learned
up to this point. Solve for the remaining variable.
12
x = −2
Back substitute to find the other coordinate. Substitute into either of the original equations or their equivalents.
Typically, we use the equivalent equation that we found when isolating a variable in the first step.
(−2, 1)
Remember to present the solution as an ordered pair: . Verify that these coordinates solve both equations of the
original system:
Check
:
(−2, 1)
Equation 1
Equation 2
Table
3.2.1
The graph of this linear system follows:
Figure 3.2.2
The substitution method for solving systems is a completely algebraic method. Thus graphing the lines is not
required. Answer:
(−2, 1)
Example 3.2.2:
{3x −5y = 9
Solve by substitution: .
4x +2y = −1
Solution
x
It does not matter which variable we choose to isolate first. In this case, begin by solving for in the first
equation. y
Next, substitute into the second equation and solve for .
Back substitute into the equation used in the substitution step:
Answer:
1 3
(,−)
2 2
Exercise 3.2.1
{5x −4y = 3
Solve by substitution: .
x +2y = 2
Answer
(1, )12
www.youtube.com/v/GzPhthhKeDA
As we know, not all linear systems have only one ordered pair solution. Next, we explore what happens when using
the substitution method to solve a dependent system.
Example 3.2.3:
{−5x +y = −1
Solve by substitution: .
10x −2y = 2
Solution
1
Since the first equation has a term with coefficient , we choose to solve for that first.
y
Next, substitute this expression in for 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 (x, mx +b) (x, 5x −1) x
the system is dependent. The simultaneous solutions take the form , or in this case, , where is any real number.
Answer:
(x, 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.
Figure 3.2.3
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 3.2.4:
{−7x +3y = 3
Solve by substitution: .
14x −6y = −16
Solution
y
Solve for in the first equation.
Substitute into the second equation and solve.
x
Solving leads to a false statement. This indicates that the equation is a contradiction. There is no solution for
and hence no solution to the system.
Answer:
∅
Figure y
3.2.4
In slope-intercept form, it is easy to see that the two lines have the same slope but different -intercepts.
Exercise 3.2.2
{2x −5y = 3
Solve by substitution: .
4x −10y = 6
Answer
2 3
(x, x − )
5 5
www.youtube.com/v/JKX9M-L9Wow
Example 3.2.5:
{5x −3y = −1
Solve by elimination: .
3x +2y = 7
Solution
y
We choose to eliminate the terms with variable because the coefficients have different signs. To do this, we first
LCM(3, 2) 6
determine the least common multiple of the coefficients; in this case, the is . Therefore, multiply both sides −6 6
of both equations by the appropriate values to obtain coefficients of and . This results in the following equivalent
system:
yx
The terms involving are now lined up to eliminate. Add the equations together and solve for .
Back substitute.
=7 (1, 2)
=7 3x +2y 3(1)+2y 3 +2y
=7 2y
=4 y
=2
Therefore the simultaneous solution is . The check follows.
3x + 2y = 7
3(1)+ 2(2) = 7
3+4=7
ax +by = c
Sometimes linear systems are not given in standard form . When this is the case, it is best to rearrange the
equations before beginning the steps to solve by elimination. Also, we can eliminate either variable. The goal is to
obtain a solution for one of the variables and then back substitute to find a solution for the other.
Example 3.2.6:
12x +5y
{ 3x= 11
Solve by elimination: .
= 4y +1
Solution:
First, rewrite the second equation in standard form.
This results in an equivalent system in standard form, where like terms are aligned in columns.
x −4
We can eliminate the term with variable if we multiply the second equation by .
3x = 4y +1
1
3x = 4 ( )+1
3
4
3x = +1
3
3x = 73
x = ⋅7313
x =79
Answer:
7 1
(,)
9 3
Exercise 3.2.3
{2x +5y = 5
Solve by elimination: .
3x +2y = −9
Answer
(−5, 3)
www.youtube.com/v/FX90hfggjbI
At this point, we explore what happens when solving dependent and inconsistent systems using the elimination method.
Example 3.2.7:
{3x −y = 7
Solve by elimination: .
6x −2y = 14
Solution
x −2
To eliminate the variable , we could multiply the first equation by .
Figure yx
Now adding the equations we have
3.2.6
A true statement indicates that this is a dependent system. The lines coincide, and we need in terms of to
present the (x, mx +b) y
solution set in the form . Choose one of the original equations and solve for . Since the equations are
equivalent, it does not matter which one we choose.
Answer:
(x, 3x −7)
Exercise 3.2.4
Answer
No solution, ∅
www.youtube.com/v/E4B0lMLEliY
Example 3.2.8:
1 1 4
{−1 0 x + 2y = 5
Solve: .
1
x + y = − 713221
Solution
Recall that we can clear fractions by multiplying both sides of an equation by the least common multiple of the
denominators (LCD). Take care to distribute and then simplify.
Table 3.2.3
Equation 1 Equation 2
This results in an equivalent system where the equations have integer coefficients,
Solve using the elimination method.
Figure Answer:
Back substitute. (−3, 1)
3.2.7
We can use a similar technique to clear decimals before
1 2
{x − y = 3
3 3
Solve using elimination: .
www.youtube.com/v/ujlpeP7nakE
Key Takeaways
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.
The elimination method is another completely algebraic method for solving a system of equations. Multiply one or
both of the equations in a system by certain numbers to obtain an equivalent system where at least one variable
in both equations have opposite coefficients. Adding these equivalent equations together eliminates that variable,
and the resulting equation has one variable for which you can solve.
It is a good practice to first rewrite the equations in standard form before beginning the elimination
method. (x,
y)
Solutions to systems of two linear equations with two variables, if they exist, are ordered pairs .
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 an identity, then the system is dependent and there are
infinitely (x, mx +b)
many solutions that can be expressed using the form .
Exercise 3.2.6
Solve by substitution.
1. 2. 3. x +3y = −8
{y = x
{y = −5x +1 4x −3y = −41 {x = 2y −3 2x +3y = 10
4. 13
1 {y = x + 2
5. 6. 7.
{y = 4x +1 −4x +y = 2 {y = −3x +5 3x +y = 5
x −6y = 4 {y = 2x +3 2x −y = −3
{y=x−1
8. 5
7x−5y=9
9. {x+y=1
3x−5y=19
10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. {x−y=3
{2x−5y=1
4x+10y=2
{3x−7y=−3 6x+14y=0
{10x−y=3
1 1 3
2 x−y=−
1 32 2
{x+y=1
27. 3 3
1 1
4x− 3y=− 12
1
1
7x−y= 2
1
28. 1 x+y=2 2
4 2
{ 1
3
1
{−x+y=
29. 5 5 2
1 1
3x−1 2y=− 3 1
1 2
{x=y
30. 2 2
3
x−y=2
1 3 1 5
{−x+y=
31. 2 2 8
1 1 1
4 x+y= 2 4
32. 33. 34. 35. 36. 37. 38. 5x −3y = −1 −3x +7y = 2 x=5
8{ 3x +2y = 7 { 2x +7y = 1 { x=
−2
x −y = 0 y = 3x −3x +4y = 20
{ −x +2y = 3 { 2x −3y = 0 { 2x +8y = y = 4 5y = 20
{
Answer
1. 3. 5. 7. 9. (3, −2)
(−2, 11) (2, 2) (3, −4)
∅ (− , − ) 85 710 (x, − x −3) 12 ∅
(x, 2x +3) (4, −2) (2, −3)
11. 13. ( , 0) 12
∅
15.
(1, 1)
17. 19. 21. 23. 25. 27.
(− , − ) 1110 25 (− , ) 12 34
29. 31. 33. 35. 37.
(0, 0) ∅
(1, 2)
Exercise 3.2.7
Solvebyelimination.
1. 2.
{6x+y=3 3x−y=0 {x+y=3 2x−y=9
3.
{−2x+14y=28 x−7y=21
4. {−2x+y=4
12x−6y=−24 {x+8y=3
5.
3x+12y=6
6. {2x−3y=15 4x+10y=14
{4x+3y=−10 3x−9y=15
7.
{−4x−5y=−3 8x+3y=−15 {−2x+7y=56
8. 4x−2y=−112 {−9x−15y=−15 3x+5y=−10 {6x−7y=4
2x+6y=−7
9.
{4x+2y=4
10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. −5x−3y=−7 {5x−3y=−1 3x+2y=7
{9x−3y=3
{x−y=−6 7x+2y=−15
5x+y=−18
{5x−3y=−7 −7x+6y=11
{x+3y=5
−x−2y=0 {2x+9y=8
3x+7y=−1
{−x+4y=4
x−y=−7 {2x+2y=5
3x+3y=−5
{−x+y=2
x−y=−3 {−3x+6y=−12 2x−4y=8
x+y=34
1 1 1
{x−y=
34. 21 41 3 19
4 x+y=−
14 2 6
35.
{−x+2y=4 3
1 1 4
−x+y=
3 7 21
{x+y=5
{0.025x+0.1y=0.5 0.11x+0.04y=−0.2 {1.3x+0.1y=0.35 0.02x+0.03y=0.125
Answe
r
1
1. 3. 5. 7. 9. (−1, −4) (−5, 2)
( , 1) 1
3 (x, x−2) 2
(−4, 2) (−8, −1) 1 3
13
(− , 1) 3 27.
∅ (− , −)
10
11. 13. 15. 17. 19. 21. 23. 25.
3
15
(1, )14
(−1, −2) (−28, 0) 29. 31. 33. 35. 37.
1 ( , −2) 4
(− , −1) 2
(1, 2) (120, 77) (3, −)94 ∅
(0.5, −3)
Exercise 3.2.8
Solveusinganymethod.
1. 7.
2. 8.
3. 9.
5.
{6x=12y+7
6x+24y+5=0
6.
{y=2x−3
3x+y=12
7x=2y+23
{x+3y=−5
1 {5x+9y−14=0
y=x+5 3x+2y−5=0
3 5
{y=1 {y=−x+10
x=−4 16
5
1
{y= 2 y=x−10
x+9=0 16
6
{y=x
{y=−x+12
−x+y=1 5
x=6
{y=5x
y=−10 {2(x−3)+y=0
3
3(2x+y−1)=15
{y=−x+1
2 {3−2(x−y)=−3
−2y+2=3x 4x−3(y+1)=8
{−=−7
16. 3 1
2x y 2
3 −=−8 2
{−x+y=−
17. 7 3
−114x+12y=13 y
x 3
−=
18. { 3 y +=
4x 2 41
6 5 6 1
19. 2
{y=−x+ 3
1 1
3x+ 5y= 10 1
1 1 1
{x−y=
20. 15 12 3
3
− x+y=−
10 8 2
3 3
21. 22.
{0.2x−0.05y=0.43 0.3x+0.1y=−0.3 {0.1x+0.3y=0.3
0.05x−0.5y=−0.63
23. 24.
{0.15x −0.25y = −0.3 −0.75x +1.25y = −4 {−0.15x +1.25y = 0.4
−0.03x +0.25y = 0.08
21. 23. 3 2
(0.8, −5.4) ∅
Exercise 3.2.9
1. Explain to a beginning algebra student how to choose a method for solving a system of two linear
equations. Also, explain what solutions look like and why.
2. Make up your own linear system with two variables and solve it using all three methods. Explain which
method was preferable in your exercise.
Answer
1. Answer may vary
Footnotes
11
A means of solving a linear system by solving for one of the variables and substituting the result into the other
equation. 12
Once a value is found for a variable, substitute it back into one of the original equations, or its equivalent, to
determine the corresponding value of the other variable.
13
A means of solving a system by adding equivalent equations in such a way as to eliminate a
variable. 14
Often used when referring to the elimination method for solving systems.
15
A, B, C D A = B C = D A+C = B+DIf , and are algebraic expressions, where and , then .