3.2 Solving Linear Systems with Two Variables

Learning Objectives

  1. Solve linear systems using the substitution method.
  2. Solve linear systems using the elimination method.
  3. Identify the strengths and weaknesses of each method.

The Substitution Method

In this section, we review a completely algebraic technique for solving systems, the substitution methodA means of solving a linear system by solving for one of the variables and substituting the result into the other equation.. 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 are left with a single equation with one variable, which can be solved using algebra.

Example 1

Solve by substitution: {2x+y=33x2y=8.

Solution:

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

2x+y=3y=2x3

Substitute the expression 2x3 for the variable y in the other equation.

3x2(2x3)=8

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.

3x2(2x3)=83x+4x+6=87x+6=87x=14x=2

Back substituteOnce 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. to find the other coordinate. Substitute x = −2 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.

y=2x3=2(2)3=43=1

Remember to present the solution as an ordered pair: (2,1). Verify that these coordinates solve both equations of the original system:

Check: (−2, 1)

Equation 1

Equation 2

2x+y=32(2)+(1)=34+1=33=3

3x2y=83(2)2(1)=862=88=8

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: (−2, 1)

Example 2

Solve by substitution: {3x5y=94x+2y=1.

Solution:

It does not matter which variable we choose to isolate first. In this case, begin by solving for x in the first equation.

3x5y=93x=5y+9x=5y+93x=53y+3

{3x5y=9x=53y+34x+2y=1

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

4(53y+3)+2y=1203y+12+2y=1263y=13y=13(326)y=32

Back substitute into the equation used in the substitution step:

x=53y+3=53(32)+3=52+3=12

Answer: (12,32)

Try this! Solve by substitution: {5x4y=3x+2y=2.

Answer: (1,12)

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

Solve by substitution: {5x+y=110x2y=2.

Solution:

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

{5x+y=1  y=5x110x2y=2

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

10x2y=210x2(5x1)=210x10x+2=22=2True

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,5x1), where x is any real number.

Answer: (x,5x1)

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.

{5x+y=110x2y=2  {y=5x1y=5x1

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 4

Solve by substitution: {7x+3y=314x6y=16.

Solution:

Solve for y in the first equation.

7x+3y=37x+3y=33y=7x+3y=7x+33y=73x+1

{7x+3y=3  y=73x+114x6y=16

Substitute into the second equation and solve.

14x6y=1614x6(73x+1)=1614x62731x6=1614x14x6=166=16False

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: Ø

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.

{7x+3y=314x6y=16  {y=73x+1y=73x+83

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: {2x5y=34x10y=6.

Answer: (x,25x35)

The Elimination Method

In this section, the goal is to review another completely algebraic method for solving a system of linear equations called the elimination methodA means of solving a system by adding equivalent equations in such a way as to eliminate a variable. or addition methodOften used when referring to the elimination method for solving systems.. This method depends on the addition property of equationsIf A, B, C, and D are algebraic expressions, where A = B and C = D, then A + C = B + D.: given algebraic expressions A, B, C, and D we have

IfA=BandC=D,thenA+C=B+D

Consider the following system:

{x+y=5xy=1

We can add the equations together to eliminate the variable y.

x+y=5+xy=12x=6

This leaves us with a linear equation with one variable that can be easily solved:

2x=6x=3

At this point, we have the x-coordinate of the simultaneous solution, so all that is left to do is back substitute to find the corresponding y-value.

x+y=53+y=5y=2

The solution to the system is (3, 2). Of course, the variable is not always so easily eliminated. Typically, we have to find an equivalent system by applying the multiplication property of equality to one or both of the equations as a means to line up one of the variables to eliminate. The goal is to arrange that either the x terms or the y terms are opposites, so that when the equations are added, the terms eliminate.

Example 5

Solve by elimination: {5x3y=13x+2y=7.

Solution:

We choose to eliminate the terms with variable y because the coefficients have different signs. To do this, we first determine the least common multiple of the coefficients; in this case, the LCM(3, 2) is 6. Therefore, multiply both sides of both equations by the appropriate values to obtain coefficients of −6 and 6. This results in the following equivalent system:

{5x3y=13x+2y=7×2×3{10x6y=29x+6y=21

The terms involving y are now lined up to eliminate. Add the equations together and solve for x.

10x6y=2+9x+6y=2119x=19x=1

Back substitute.

3x+2y=73(1)+2y=73+2y=72y=4y=2

Therefore the simultaneous solution is (1, 2). The check follows.

Check: (1, 2)

Equation 1:

Equation 2:

5x3y=15(1)3(2)=156=11=1

3x+2y=73(1)+2(2)=73+4=77=7

Answer: (1, 2)

Sometimes linear systems are not given in standard form ax+by=c. 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 6

Solve by elimination: {12x+5y=113x=4y+1.

Solution:

First, rewrite the second equation in standard form.

3x=4y+13x4y=1

This results in an equivalent system in standard form, where like terms are aligned in columns.

{12x+5y=113x=4y+1  {12x+5y=113x4y=1

We can eliminate the term with variable x if we multiply the second equation by −4.

Next, we add the equations together,

12x+5y=11+12x+16y=421y=7y=721=13

Back substitute.

3x=4y+13x=4(13)+13x=43+13x=73x=7313x=79

Answer: (79,13)

Try this! Solve by elimination: {2x+5y=53x+2y=9.

Answer: (−5, 3)

At this point, we explore what happens when solving dependent and inconsistent systems using the elimination method.

Example 7

Solve by elimination: {3xy=76x2y=14.

Solution:

To eliminate the variable x, we could multiply the first equation by −2.

Now adding the equations we have

6x+2y=14+6x2y=140=0True

A true statement indicates that this is a dependent system. The lines coincide, and we need y in terms of x to present the solution set in the form (x,mx+b). Choose one of the original equations and solve for y. Since the equations are equivalent, it does not matter which one we choose.

3xy=7y=3x+71(y)=1(3x+7)y=3x7

Answer: (x,3x7)

Try this! Solve by elimination: {3x+15y=152x+10y=30.

Answer: No solution, Ø

Given a linear system where the equations have fractional coefficients, it is usually best to clear the fractions before beginning the elimination method.

Example 8

Solve: {110x+12y=4517x+13y=221.

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.

Equation 1

Equation 2

10(110x+12y)=10(45)10(110x)+1012y=1045x+5y=8

21(17x+13y)=21(221)2117x+2113y=21(221)3x+7y=2

This results in an equivalent system where the equations have integer coefficients,

{110x+12y=4517x+13y=221×10×21{x+5y=83x+7y=2

Solve using the elimination method.

3x+15y=24+3x+7y=222y=22y=1

Back substitute.

3x+7y=23x+7(1)=23x+7=23x=9x=3

Answer: (−3, 1)

We can use a similar technique to clear decimals before solving.

Try this! Solve using elimination: {13x23y=313x12y=83.

Answer: (5, −2)

Summary of the Methods for Solving Linear Systems

We have reviewed three methods for solving linear systems of two equations with two variables. Each method is valid and can produce the same correct result. In this section, we summarize the strengths and weaknesses of each method.

The graphing method is useful for understanding what a system of equations is and what the solutions must look like. When the equations of a system are graphed on the same set of axes, we can see that the solution is the point where the graphs intersect. The graphing is made easy when the equations are in slope-intercept form. For example,

{y=5x+15y=5x+5

The simultaneous solution (−1, 10) corresponds to the point of intersection. One drawback of this method is that it is very inaccurate. When the coordinates of the solution are not integers, the method is practically unusable. If we have a choice, we typically avoid this method in favor of the more accurate algebraic techniques.

The substitution method, on the other hand, is a completely algebraic method. It requires you to solve for one of the variables and substitute the result into the other equation. The resulting equation has one variable for which you can solve. This method is particularly useful when there is a variable within the system with coefficient of 1. For example,

{10x+y=207x+5y=14Choosethesubstitutionmethod.

In this case, it is easy to solve for y in the first equation and then substitute the result into the other equation. One drawback of this method is that it often leads to equivalent equations with fractional coefficients, which are tedious to work with. If there is not a coefficient of 1, then it usually is best to choose the elimination method.

The elimination method is a completely algebraic method which makes use of the addition property of equations. We multiply one or both of the equations to obtain equivalent equations where one of the variables is eliminated if we add them together. For example,

{2x3y=95x8y=16Choosetheeliminationmethod.

To eliminate the terms involving x, we would multiply both sides of the first equation by 5 and both sides of the second equation by −2. This results in an equivalent system where the variable x is eliminated when we add the equations together. Of course, there are other combinations of numbers that achieve the same result. We could even choose to eliminate the variable y. No matter which variable is eliminated first, the solution will be the same. Note that the substitution method, in this case, would require tedious calculations with fractional coefficients. One weakness of the elimination method, as we will see later in our study of algebra, is that it does not always work for nonlinear systems.

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.
  • 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 an identity, then the system is dependent and there are infinitely many solutions that can be expressed using the form (x,mx+b).

Topic Exercises

    Part A: Substitution Method

      Solve by substitution.

    1. {y=5x+14x3y=41
    2. {x=2y3x+3y=8
    3. {y=x2x+3y=10
    4. {y=12x+13x6y=4
    5. {y=4x+14x+y=2
    6. {y=3x+53x+y=5
    7. {y=2x+32xy=3
    8. {y=23x16x9y=0
    9. {y=22xy=6
    10. {y=15x+37x5y=9
    11. {x+y=13x5y=19
    12. {xy=32x+3y=2
    13. {2x+y=23x2y=17
    14. {x3y=113x+5y=5
    15. {x+2y=33x4y=2
    16. {5xy=129xy=10
    17. {x+2y=64x8y=24
    18. {x+3y=62x6y=12
    19. {3x+y=46x2y=2
    20. {x5y=102x10y=20
    21. {3xy=94x+3y=1
    22. {2xy=54x+2y=2
    23. {2x5y=14x+10y=2
    24. {3x7y=36x+14y=0
    25. {10xy=35x+12y=1
    26. {13x+16y=2312x13y=32
    27. {13x+23y=114x13y=112
    28. {17xy=1214x+12y=2
    29. {35x+25y=1213x112y=13
    30. {12x=23yx23y=2
    31. {12x+12y=5814x+12y=14
    32. {xy=0x+2y=3
    33. {y=3x2x3y=0
    34. {3x+4y=202x+8y=8
    35. {5x3y=13x+2y=7
    36. {3x+7y=22x+7y=1
    37. {x=5x=2
    38. {y=45y=20

    Part B: Elimination Method

      Solve by elimination.

    1. {6x+y=33xy=0
    2. {x+y=32xy=9
    3. {xy=65x+y=18
    4. {x+3y=5x2y=0
    5. {x+4y=4xy=7
    6. {x+y=2xy=3
    7. {3xy=26x+4y=2
    8. {5x+2y=310xy=4
    9. {2x+14y=28x7y=21
    10. {2x+y=412x6y=24
    11. {x+8y=33x+12y=6
    12. {2x3y=154x+10y=14
    13. {4x+3y=103x9y=15
    14. {4x5y=38x+3y=15
    15. {2x+7y=564x2y=112
    16. {9x15y=153x+5y=10
    17. {6x7y=42x+6y=7
    18. {4x+2y=45x3y=7
    19. {5x3y=13x+2y=7
    20. {7x+3y=92x+5y=14
    21. {9x3y=37x+2y=15
    22. {5x3y=77x+6y=11
    23. {2x+9y=83x+7y=1
    24. {2x+2y=53x+3y=5
    25. {3x+6y=122x4y=8
    26. {25x+15y=115x+10y=1
    27. {2x3y=218x12y=5
    28. {y=2x33x2y=4
    29. {28x+6y=96y=4x15
    30. {y=5x+15y=5x+5
    31. {2x3y=95x8y=16
    32. {12x13y=1652x+y=72
    33. {14x19y=1x+y=34
    34. {12x14y=1314x+12y=196
    35. {143x+2y=413x+17y=421
    36. {0.025x+0.1y=0.50.11x+0.04y=0.2
    37. {1.3x+0.1y=0.350.5x+y=2.75
    38. {x+y=50.02x+0.03y=0.125

    Part C: Mixed Practice

      Solve using any method.

    1. {6x=12y+76x+24y+5=0
    2. {y=2x33x+y=12
    3. {x+3y=5y=13x+5
    4. {y=1x=4
    5. {y=12x+9=0
    6. {y=xx+y=1
    7. {y=5xy=10
    8. {y=32x+12y+2=3x
    9. {7y=2x17x=2y+23
    10. {5x+9y14=03x+2y5=0
    11. {y=516x+10y=516x10
    12. {y=65x+12x=6
    13. {2(x3)+y=03(2x+y1)=15
    14. {32(xy)=34x3(y+1)=8
    15. {2(x+1)=3(2y1)213(x+2)=1(3y2)
    16. {x2y3=7x3y2=8
    17. {17x+y=23114x+12y=13
    18. {x4y2=34x3+y6=16
    19. {y=53x+1213x+15y=110
    20. {115x112y=13310x+38y=32
    21. {0.2x0.05y=0.430.3x+0.1y=0.3
    22. {0.1x+0.3y=0.30.05x0.5y=0.63
    23. {0.15x0.25y=0.30.75x+1.25y=4
    24. {0.15x+1.25y=0.40.03x+0.25y=0.08

    Part D: Discussion Board

    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.

Answers

  1. (−2, 11)

  2. (2, 2)

  3. Ø

  4. (x,2x+3)

  5. (4, −2)

  6. (3, −2)

  7. (3, −4)

  8. (85,710)
  9. (x,12x3)

  10. Ø

  11. (2, −3)

  12. (12,0)
  13. Ø

  14. (1, 1)

  15. (1110,25)
  16. (12,34)
  17. (0, 0)

  18. (1, 2)

  19. Ø

  1. (13,1)
  2. (−4, 2)

  3. (−8, −1)

  4. (13,1)
  5. Ø

  6. (1,14)
  7. (−1, −2)

  8. (−28, 0)

  9. (12,1)
  10. (1, 2)

  11. (−1, −4)

  12. (−5, 2)

  13. (x,12x2)
  14. (310,1315)
  15. (34,2)
  16. (120, 77)

  17. (3,94)
  18. Ø

  19. (0.5, −3)

  1. (12,13)
  2. (10,53)
  3. (9,12)
  4. (−2, −10)

  5. (3, −1)

  6. (32, 0)

  7. (x,2x+6)

  8. (−4, 3)

  9. Ø

  10. (x,53x+12)
  11. (0.8, −5.4)

  12. Ø

  1. Answer may vary