Learn on PengiOpenstax Intermediate Algebra 2EChapter 4: Systems of Linear Equations

Lesson 4.1: Solve Systems of Linear Equations with Two Variables

This lesson from OpenStax Intermediate Algebra 2E introduces students to systems of linear equations with two variables, teaching them how to determine whether an ordered pair is a solution and how to solve systems using graphing, substitution, and elimination. Students learn to identify consistent, inconsistent, and dependent systems and practice choosing the most efficient method for a given problem. The material builds directly on prior knowledge of linear equations and slope-intercept form.

Section 1

πŸ“˜ Solve Systems of Linear Equations with Two Variables

New Concept

This lesson introduces systems of linear equations, where we find the one point (x,y)(x, y) that solves two equations at once. You'll master three powerful methodsβ€”graphing, substitution, and eliminationβ€”to find these unique solutions.

What’s next

First, we'll confirm what a solution is. Then, you'll tackle interactive examples for solving systems by graphing, substitution, and elimination.

Section 2

Solution of a System of Equations

Property

When two or more linear equations are grouped together, they form a system of linear equations. The solutions of a system of equations are the values of the variables that make all the equations true. A solution of a system of two linear equations is represented by an ordered pair (x,y)(x, y). To determine if an ordered pair is a solution, substitute the values into each equation. If the ordered pair makes both equations true, it is a solution to the system.

Examples

  • Is (1,βˆ’3)(1, -3) a solution to the system {3x+y=0x+2y=βˆ’5\begin{cases} 3x + y = 0 \\ x + 2y = -5 \end{cases}? For the first equation, 3(1)+(βˆ’3)=03(1) + (-3) = 0, which is true. For the second, 1+2(βˆ’3)=βˆ’51 + 2(-3) = -5, which is true. Yes, it is a solution.
  • Is (2,βˆ’2)(2, -2) a solution to the system {xβˆ’3y=βˆ’8βˆ’3xβˆ’y=4\begin{cases} x - 3y = -8 \\ -3x - y = 4 \end{cases}? For the first equation, 2βˆ’3(βˆ’2)=82 - 3(-2) = 8, which is not βˆ’8-8. No, it is not a solution.

Section 3

Solve a System by Graphing

Property

To solve a system of linear equations by graphing:
Step 1. Graph the first equation.
Step 2. Graph the second equation on the same rectangular coordinate system.
Step 3. Determine whether the lines intersect, are parallel, or are the same line.
Step 4. Identify the solution to the system.

  • If the lines intersect, identify the point of intersection.
  • If the lines are parallel, the system has no solution.
  • If the lines are the same, the system has an infinite number of solutions.

Step 5. Check the solution in both equations.

Examples

  • To solve {y=x+1y=βˆ’x+3\begin{cases} y = x + 1 \\ y = -x + 3 \end{cases}, we graph both lines. They intersect at the point (1,2)(1, 2). Checking this point in both equations confirms it is the solution.
  • To solve {y=2x+1y=2xβˆ’3\begin{cases} y = 2x + 1 \\ y = 2x - 3 \end{cases}, we graph both lines. They have the same slope (m=2m=2) but different y-intercepts, so they are parallel. There is no solution to this system.

Section 4

Classifying Systems of Equations

Property

A consistent system of equations is a system of equations with at least one solution. An inconsistent system of equations is a system of equations with no solution. If two equations are independent, they each have their own set of solutions (intersecting or parallel lines). If two equations are dependent, all the solutions of one equation are also solutions of the other (coincident lines).

LinesNumber of solutionsConsistent/InconsistentDependent/Independent
Intersecting1 pointConsistentIndependent
ParallelNo solutionInconsistentIndependent
CoincidentInfinitely manyConsistentDependent

Examples

  • The system {y=3xβˆ’1y=βˆ’2x+4\begin{cases} y = 3x - 1 \\ y = -2x + 4 \end{cases} has different slopes. The lines will intersect at one point. It is a consistent and independent system.

Section 5

Solve a System by Substitution

Property

To solve a system of equations by substitution:

  • 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 either 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

  • For {y=2xβˆ’13x+2y=19\begin{cases} y = 2x - 1 \\ 3x + 2y = 19 \end{cases}, substitute 2xβˆ’12x-1 for yy in the second equation: 3x+2(2xβˆ’1)=193x + 2(2x - 1) = 19. This simplifies to 7x=217x = 21, so x=3x=3. Then y=2(3)βˆ’1=5y = 2(3) - 1 = 5. The solution is (3,5)(3, 5).
  • For {x=3y+22xβˆ’5y=6\begin{cases} x = 3y + 2 \\ 2x - 5y = 6 \end{cases}, substitute 3y+23y+2 for xx in the second equation: 2(3y+2)βˆ’5y=62(3y + 2) - 5y = 6. This simplifies to y+4=6y + 4 = 6, so y=2y=2. Then x=3(2)+2=8x = 3(2) + 2 = 8. The solution is (8,2)(8, 2).

Section 6

Solve a System by Elimination

Property

To solve a system of equations by elimination:

  • Step 1. Write both equations in standard form. If any coefficients are fractions, clear them.
  • Step 2. Make the coefficients of one variable opposites by multiplying one or both equations by appropriate numbers.
  • Step 3. Add the equations to eliminate one variable.
  • Step 4. Solve for the remaining variable.
  • Step 5. Substitute the solution from Step 4 into one of the original equations to solve for the other variable.
  • Step 6. Write the solution as an ordered pair and check it.

Examples

  • For {2x+3y=14xβˆ’3y=17\begin{cases} 2x + 3y = 1 \\ 4x - 3y = 17 \end{cases}, the yy coefficients are opposites. Adding the equations gives 6x=186x = 18, so x=3x=3. Substituting into the first equation gives 2(3)+3y=12(3) + 3y = 1, so 3y=βˆ’53y=-5 and y=βˆ’53y=-\frac{5}{3}. The solution is (3,βˆ’53)(3, -\frac{5}{3}).
  • For {3x+2y=7xβˆ’5y=βˆ’3\begin{cases} 3x + 2y = 7 \\ x - 5y = -3 \end{cases}, multiply the second equation by βˆ’3-3 to get {3x+2y=7βˆ’3x+15y=9\begin{cases} 3x + 2y = 7 \\ -3x + 15y = 9 \end{cases}. Adding them gives 17y=1617y=16, so y=1617y=\frac{16}{17}. Substituting gives x=1917x = \frac{19}{17}. The solution is (1917,1617)(\frac{19}{17}, \frac{16}{17}).

Section 7

Choosing the Best Method

Property

MethodBest to Use When...
GraphingYou need a picture of the situation or want to visualize the solution.
SubstitutionOne equation is already solved for one variable, or can be easily solved for one variable (e.g., has a coefficient of 1 or -1).
EliminationBoth equations are in standard form (Ax+By=CAx + By = C) and variables are lined up.

Examples

  • For {y=4xβˆ’92x+5y=12\begin{cases} y = 4x - 9 \\ 2x + 5y = 12 \end{cases}, the first equation is already solved for yy. Substitution is most convenient.
  • For {5xβˆ’3y=112x+7y=βˆ’5\begin{cases} 5x - 3y = 11 \\ 2x + 7y = -5 \end{cases}, both equations are in standard form with variables aligned. Elimination is most convenient.

Book overview

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

Continue this chapter

Chapter 4: Systems of Linear Equations

  1. Lesson 1Current

    Lesson 4.1: Solve Systems of Linear Equations with Two Variables

  2. Lesson 2

    Lesson 4.2: Solve Applications with Systems of Equations

  3. Lesson 3

    Lesson 4.3: Solve Mixture Applications with Systems of Equations

  4. Lesson 4

    Lesson 4.4: Solve Systems of Equations with Three Variables

  5. Lesson 5

    Lesson 4.5: Solve Systems of Equations Using Matrices

  6. Lesson 6

    Lesson 4.6: Solve Systems of Equations Using Determinants

  7. Lesson 7

    Lesson 4.7: Graphing Systems of Linear Inequalities

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Solve Systems of Linear Equations with Two Variables

New Concept

This lesson introduces systems of linear equations, where we find the one point (x,y)(x, y) that solves two equations at once. You'll master three powerful methodsβ€”graphing, substitution, and eliminationβ€”to find these unique solutions.

What’s next

First, we'll confirm what a solution is. Then, you'll tackle interactive examples for solving systems by graphing, substitution, and elimination.

Section 2

Solution of a System of Equations

Property

When two or more linear equations are grouped together, they form a system of linear equations. The solutions of a system of equations are the values of the variables that make all the equations true. A solution of a system of two linear equations is represented by an ordered pair (x,y)(x, y). To determine if an ordered pair is a solution, substitute the values into each equation. If the ordered pair makes both equations true, it is a solution to the system.

Examples

  • Is (1,βˆ’3)(1, -3) a solution to the system {3x+y=0x+2y=βˆ’5\begin{cases} 3x + y = 0 \\ x + 2y = -5 \end{cases}? For the first equation, 3(1)+(βˆ’3)=03(1) + (-3) = 0, which is true. For the second, 1+2(βˆ’3)=βˆ’51 + 2(-3) = -5, which is true. Yes, it is a solution.
  • Is (2,βˆ’2)(2, -2) a solution to the system {xβˆ’3y=βˆ’8βˆ’3xβˆ’y=4\begin{cases} x - 3y = -8 \\ -3x - y = 4 \end{cases}? For the first equation, 2βˆ’3(βˆ’2)=82 - 3(-2) = 8, which is not βˆ’8-8. No, it is not a solution.

Section 3

Solve a System by Graphing

Property

To solve a system of linear equations by graphing:
Step 1. Graph the first equation.
Step 2. Graph the second equation on the same rectangular coordinate system.
Step 3. Determine whether the lines intersect, are parallel, or are the same line.
Step 4. Identify the solution to the system.

  • If the lines intersect, identify the point of intersection.
  • If the lines are parallel, the system has no solution.
  • If the lines are the same, the system has an infinite number of solutions.

Step 5. Check the solution in both equations.

Examples

  • To solve {y=x+1y=βˆ’x+3\begin{cases} y = x + 1 \\ y = -x + 3 \end{cases}, we graph both lines. They intersect at the point (1,2)(1, 2). Checking this point in both equations confirms it is the solution.
  • To solve {y=2x+1y=2xβˆ’3\begin{cases} y = 2x + 1 \\ y = 2x - 3 \end{cases}, we graph both lines. They have the same slope (m=2m=2) but different y-intercepts, so they are parallel. There is no solution to this system.

Section 4

Classifying Systems of Equations

Property

A consistent system of equations is a system of equations with at least one solution. An inconsistent system of equations is a system of equations with no solution. If two equations are independent, they each have their own set of solutions (intersecting or parallel lines). If two equations are dependent, all the solutions of one equation are also solutions of the other (coincident lines).

LinesNumber of solutionsConsistent/InconsistentDependent/Independent
Intersecting1 pointConsistentIndependent
ParallelNo solutionInconsistentIndependent
CoincidentInfinitely manyConsistentDependent

Examples

  • The system {y=3xβˆ’1y=βˆ’2x+4\begin{cases} y = 3x - 1 \\ y = -2x + 4 \end{cases} has different slopes. The lines will intersect at one point. It is a consistent and independent system.

Section 5

Solve a System by Substitution

Property

To solve a system of equations by substitution:

  • 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 either 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

  • For {y=2xβˆ’13x+2y=19\begin{cases} y = 2x - 1 \\ 3x + 2y = 19 \end{cases}, substitute 2xβˆ’12x-1 for yy in the second equation: 3x+2(2xβˆ’1)=193x + 2(2x - 1) = 19. This simplifies to 7x=217x = 21, so x=3x=3. Then y=2(3)βˆ’1=5y = 2(3) - 1 = 5. The solution is (3,5)(3, 5).
  • For {x=3y+22xβˆ’5y=6\begin{cases} x = 3y + 2 \\ 2x - 5y = 6 \end{cases}, substitute 3y+23y+2 for xx in the second equation: 2(3y+2)βˆ’5y=62(3y + 2) - 5y = 6. This simplifies to y+4=6y + 4 = 6, so y=2y=2. Then x=3(2)+2=8x = 3(2) + 2 = 8. The solution is (8,2)(8, 2).

Section 6

Solve a System by Elimination

Property

To solve a system of equations by elimination:

  • Step 1. Write both equations in standard form. If any coefficients are fractions, clear them.
  • Step 2. Make the coefficients of one variable opposites by multiplying one or both equations by appropriate numbers.
  • Step 3. Add the equations to eliminate one variable.
  • Step 4. Solve for the remaining variable.
  • Step 5. Substitute the solution from Step 4 into one of the original equations to solve for the other variable.
  • Step 6. Write the solution as an ordered pair and check it.

Examples

  • For {2x+3y=14xβˆ’3y=17\begin{cases} 2x + 3y = 1 \\ 4x - 3y = 17 \end{cases}, the yy coefficients are opposites. Adding the equations gives 6x=186x = 18, so x=3x=3. Substituting into the first equation gives 2(3)+3y=12(3) + 3y = 1, so 3y=βˆ’53y=-5 and y=βˆ’53y=-\frac{5}{3}. The solution is (3,βˆ’53)(3, -\frac{5}{3}).
  • For {3x+2y=7xβˆ’5y=βˆ’3\begin{cases} 3x + 2y = 7 \\ x - 5y = -3 \end{cases}, multiply the second equation by βˆ’3-3 to get {3x+2y=7βˆ’3x+15y=9\begin{cases} 3x + 2y = 7 \\ -3x + 15y = 9 \end{cases}. Adding them gives 17y=1617y=16, so y=1617y=\frac{16}{17}. Substituting gives x=1917x = \frac{19}{17}. The solution is (1917,1617)(\frac{19}{17}, \frac{16}{17}).

Section 7

Choosing the Best Method

Property

MethodBest to Use When...
GraphingYou need a picture of the situation or want to visualize the solution.
SubstitutionOne equation is already solved for one variable, or can be easily solved for one variable (e.g., has a coefficient of 1 or -1).
EliminationBoth equations are in standard form (Ax+By=CAx + By = C) and variables are lined up.

Examples

  • For {y=4xβˆ’92x+5y=12\begin{cases} y = 4x - 9 \\ 2x + 5y = 12 \end{cases}, the first equation is already solved for yy. Substitution is most convenient.
  • For {5xβˆ’3y=112x+7y=βˆ’5\begin{cases} 5x - 3y = 11 \\ 2x + 7y = -5 \end{cases}, both equations are in standard form with variables aligned. Elimination is most convenient.

Book overview

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

Continue this chapter

Chapter 4: Systems of Linear Equations

  1. Lesson 1Current

    Lesson 4.1: Solve Systems of Linear Equations with Two Variables

  2. Lesson 2

    Lesson 4.2: Solve Applications with Systems of Equations

  3. Lesson 3

    Lesson 4.3: Solve Mixture Applications with Systems of Equations

  4. Lesson 4

    Lesson 4.4: Solve Systems of Equations with Three Variables

  5. Lesson 5

    Lesson 4.5: Solve Systems of Equations Using Matrices

  6. Lesson 6

    Lesson 4.6: Solve Systems of Equations Using Determinants

  7. Lesson 7

    Lesson 4.7: Graphing Systems of Linear Inequalities