Learn on PengiOpenstax Elementary Algebra 2EChapter 5: Systems of Linear Equations

Lesson 2: Solving Systems of Equations by Substitution

In this lesson from OpenStax Elementary Algebra 2E, students learn how to solve a system of linear equations using the substitution method, which involves isolating one variable in an equation and substituting that expression into the other equation to find an exact solution. The lesson walks through a step-by-step process of solving for one variable, substituting, simplifying, and checking the solution in the original system. Students also apply the substitution method to real-world word problems where graphing would be imprecise or impractical.

Section 1

πŸ“˜ Solving Systems of Equations by Substitution

New Concept

Graphing systems can be imprecise. The substitution method offers an exact algebraic solution. By isolating a variable in one equation and substituting its expression into the other, we can find the precise point of intersection for any system.

What’s next

Next up, you'll see this method in action through interactive examples. Then, you'll tackle a series of practice problems to master the technique.

Section 2

Solve a system by substitution

Property

Step 1. Solve one of the equations for either variable.
Step 2. Substitute the expression from Step 1 into the other equation.
Step 3. Solve the resulting equation.
Step 4. Substitute the solution in Step 3 into one of the original equations to find the other variable.
Step 5. Write the solution as an ordered pair.
Step 6. Check that the ordered pair is a solution to both original equations.

Examples

  • Solve the system {y=x+33x+2y=19\begin{cases} y = x + 3 \\ 3x + 2y = 19 \end{cases}. Substitute x+3x+3 for yy in the second equation: 3x+2(x+3)=193x + 2(x+3) = 19. This simplifies to 5x+6=195x+6=19, so 5x=135x=13 and x=135x=\frac{13}{5}. Then y=135+3=285y = \frac{13}{5} + 3 = \frac{28}{5}. The solution is (135,285)(\frac{13}{5}, \frac{28}{5}).
  • Solve the system {2xβˆ’y=8x+3y=11\begin{cases} 2x - y = 8 \\ x + 3y = 11 \end{cases}. From the first equation, solve for yy: y=2xβˆ’8y = 2x - 8. Substitute this into the second equation: x+3(2xβˆ’8)=11x + 3(2x-8) = 11. This gives 7xβˆ’24=117x-24=11, so 7x=357x=35 and x=5x=5. Then y=2(5)βˆ’8=2y=2(5)-8=2. The solution is (5,2)(5, 2).

Section 3

Problem solving for linear systems

Property

Step 1. Read the problem. Make sure all the words and ideas are understood.
Step 2. Identify what we are looking for.
Step 3. Name what we are looking for. Choose variables to represent those quantities.
Step 4. Translate into a system of equations.
Step 5. Solve the system of equations using good algebra techniques.
Step 6. Check the answer in the problem and make sure it makes sense.
Step 7. Answer the question with a complete sentence.

Examples

  • The sum of two numbers is 25. One number is 5 more than the other. Find them. Let the numbers be xx and yy. The system is {x+y=25x=y+5\begin{cases} x+y=25 \\ x=y+5 \end{cases}. Substituting gives (y+5)+y=25(y+5)+y=25, so 2y=202y=20 and y=10y=10. Then x=10+5=15x=10+5=15. The numbers are 10 and 15.
  • The perimeter of a rectangle is 40 inches. The length is 4 inches less than twice the width. Find the dimensions. Let LL be length and WW be width. The system is {2L+2W=40L=2Wβˆ’4\begin{cases} 2L+2W=40 \\ L=2W-4 \end{cases}. Substituting gives 2(2Wβˆ’4)+2W=402(2W-4)+2W=40, so 6Wβˆ’8=406W-8=40, 6W=486W=48, and W=8W=8. Then L=2(8)βˆ’4=12L=2(8)-4=12. The length is 12 inches and the width is 8 inches.

Section 4

Infinitely many solutions

Property

If solving a system of equations by substitution results in a true statement without variables, such as 0=00=0, the equations are dependent. The graphs of the two equations are the same line, and the system has infinitely many solutions.

Examples

  • Solve the system {y=2xβˆ’34xβˆ’2y=6\begin{cases} y = 2x - 3 \\ 4x - 2y = 6 \end{cases}. Substitute yy in the second equation: 4xβˆ’2(2xβˆ’3)=64x - 2(2x-3) = 6. This simplifies to 4xβˆ’4x+6=64x - 4x + 6 = 6, which gives 6=66=6. This is a true statement, so there are infinitely many solutions.
  • Solve the system {x=3y+12xβˆ’6y=2\begin{cases} x = 3y + 1 \\ 2x - 6y = 2 \end{cases}. Substitute xx in the second equation: 2(3y+1)βˆ’6y=22(3y+1) - 6y = 2. This simplifies to 6y+2βˆ’6y=26y + 2 - 6y = 2, which results in 2=22=2. This is a true statement, indicating infinitely many solutions.

Section 5

No solution systems

Property

If solving a system of equations by substitution results in a false statement, such as 0=βˆ’100=-10, the equations are inconsistent. The graphs of the two equations would be parallel lines, and the system has no solution.

Examples

  • Solve the system {y=5x+2y=5xβˆ’1\begin{cases} y = 5x + 2 \\ y = 5x - 1 \end{cases}. Set the expressions for yy equal: 5x+2=5xβˆ’15x + 2 = 5x - 1. Subtracting 5x5x from both sides gives 2=βˆ’12 = -1. This is a false statement, so there is no solution.
  • Solve the system {x=βˆ’4y+12x+8y=5\begin{cases} x = -4y + 1 \\ 2x + 8y = 5 \end{cases}. Substitute xx in the second equation: 2(βˆ’4y+1)+8y=52(-4y+1) + 8y = 5. This simplifies to βˆ’8y+2+8y=5-8y + 2 + 8y = 5, which gives 2=52=5. This is false, so there is no solution.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 5: Systems of Linear Equations

  1. Lesson 1

    Lesson 1: Solve Systems of Equations by Graphing

  2. Lesson 2Current

    Lesson 2: Solving Systems of Equations by Substitution

  3. Lesson 3

    Lesson 3: Solve Systems of Equations by Elimination

  4. Lesson 4

    Lesson 4: Solve Applications with Systems of Equations

  5. Lesson 5

    Lesson 5: Solve Mixture Applications with Systems of Equations

  6. Lesson 6

    Lesson 6: Graphing Systems of Linear Inequalities

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Solving Systems of Equations by Substitution

New Concept

Graphing systems can be imprecise. The substitution method offers an exact algebraic solution. By isolating a variable in one equation and substituting its expression into the other, we can find the precise point of intersection for any system.

What’s next

Next up, you'll see this method in action through interactive examples. Then, you'll tackle a series of practice problems to master the technique.

Section 2

Solve a system by substitution

Property

Step 1. Solve one of the equations for either variable.
Step 2. Substitute the expression from Step 1 into the other equation.
Step 3. Solve the resulting equation.
Step 4. Substitute the solution in Step 3 into one of the original equations to find the other variable.
Step 5. Write the solution as an ordered pair.
Step 6. Check that the ordered pair is a solution to both original equations.

Examples

  • Solve the system {y=x+33x+2y=19\begin{cases} y = x + 3 \\ 3x + 2y = 19 \end{cases}. Substitute x+3x+3 for yy in the second equation: 3x+2(x+3)=193x + 2(x+3) = 19. This simplifies to 5x+6=195x+6=19, so 5x=135x=13 and x=135x=\frac{13}{5}. Then y=135+3=285y = \frac{13}{5} + 3 = \frac{28}{5}. The solution is (135,285)(\frac{13}{5}, \frac{28}{5}).
  • Solve the system {2xβˆ’y=8x+3y=11\begin{cases} 2x - y = 8 \\ x + 3y = 11 \end{cases}. From the first equation, solve for yy: y=2xβˆ’8y = 2x - 8. Substitute this into the second equation: x+3(2xβˆ’8)=11x + 3(2x-8) = 11. This gives 7xβˆ’24=117x-24=11, so 7x=357x=35 and x=5x=5. Then y=2(5)βˆ’8=2y=2(5)-8=2. The solution is (5,2)(5, 2).

Section 3

Problem solving for linear systems

Property

Step 1. Read the problem. Make sure all the words and ideas are understood.
Step 2. Identify what we are looking for.
Step 3. Name what we are looking for. Choose variables to represent those quantities.
Step 4. Translate into a system of equations.
Step 5. Solve the system of equations using good algebra techniques.
Step 6. Check the answer in the problem and make sure it makes sense.
Step 7. Answer the question with a complete sentence.

Examples

  • The sum of two numbers is 25. One number is 5 more than the other. Find them. Let the numbers be xx and yy. The system is {x+y=25x=y+5\begin{cases} x+y=25 \\ x=y+5 \end{cases}. Substituting gives (y+5)+y=25(y+5)+y=25, so 2y=202y=20 and y=10y=10. Then x=10+5=15x=10+5=15. The numbers are 10 and 15.
  • The perimeter of a rectangle is 40 inches. The length is 4 inches less than twice the width. Find the dimensions. Let LL be length and WW be width. The system is {2L+2W=40L=2Wβˆ’4\begin{cases} 2L+2W=40 \\ L=2W-4 \end{cases}. Substituting gives 2(2Wβˆ’4)+2W=402(2W-4)+2W=40, so 6Wβˆ’8=406W-8=40, 6W=486W=48, and W=8W=8. Then L=2(8)βˆ’4=12L=2(8)-4=12. The length is 12 inches and the width is 8 inches.

Section 4

Infinitely many solutions

Property

If solving a system of equations by substitution results in a true statement without variables, such as 0=00=0, the equations are dependent. The graphs of the two equations are the same line, and the system has infinitely many solutions.

Examples

  • Solve the system {y=2xβˆ’34xβˆ’2y=6\begin{cases} y = 2x - 3 \\ 4x - 2y = 6 \end{cases}. Substitute yy in the second equation: 4xβˆ’2(2xβˆ’3)=64x - 2(2x-3) = 6. This simplifies to 4xβˆ’4x+6=64x - 4x + 6 = 6, which gives 6=66=6. This is a true statement, so there are infinitely many solutions.
  • Solve the system {x=3y+12xβˆ’6y=2\begin{cases} x = 3y + 1 \\ 2x - 6y = 2 \end{cases}. Substitute xx in the second equation: 2(3y+1)βˆ’6y=22(3y+1) - 6y = 2. This simplifies to 6y+2βˆ’6y=26y + 2 - 6y = 2, which results in 2=22=2. This is a true statement, indicating infinitely many solutions.

Section 5

No solution systems

Property

If solving a system of equations by substitution results in a false statement, such as 0=βˆ’100=-10, the equations are inconsistent. The graphs of the two equations would be parallel lines, and the system has no solution.

Examples

  • Solve the system {y=5x+2y=5xβˆ’1\begin{cases} y = 5x + 2 \\ y = 5x - 1 \end{cases}. Set the expressions for yy equal: 5x+2=5xβˆ’15x + 2 = 5x - 1. Subtracting 5x5x from both sides gives 2=βˆ’12 = -1. This is a false statement, so there is no solution.
  • Solve the system {x=βˆ’4y+12x+8y=5\begin{cases} x = -4y + 1 \\ 2x + 8y = 5 \end{cases}. Substitute xx in the second equation: 2(βˆ’4y+1)+8y=52(-4y+1) + 8y = 5. This simplifies to βˆ’8y+2+8y=5-8y + 2 + 8y = 5, which gives 2=52=5. This is false, so there is no solution.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 5: Systems of Linear Equations

  1. Lesson 1

    Lesson 1: Solve Systems of Equations by Graphing

  2. Lesson 2Current

    Lesson 2: Solving Systems of Equations by Substitution

  3. Lesson 3

    Lesson 3: Solve Systems of Equations by Elimination

  4. Lesson 4

    Lesson 4: Solve Applications with Systems of Equations

  5. Lesson 5

    Lesson 5: Solve Mixture Applications with Systems of Equations

  6. Lesson 6

    Lesson 6: Graphing Systems of Linear Inequalities