35 Solve Systems of Linear Equations with Two Variables

Learning Objectives

By the end of this section, you will be able to:

  • Determine whether an ordered pair is a solution of a system of equations
  • Solve a system of linear equations by graphing
  • Solve a system of equations by substitution
  • Solve a system of equations by elimination
  • Choose the most convenient method to solve a system of linear equations

Before you get started, take this readiness quiz.

  1. For the equation y=\frac{2}{3}x-4,

    Is \left(6,0\right) a solution? Is \left(-3,-2\right) a solution?

    If you missed this problem, review (Figure).

  2. Find the slope and y-intercept of the line 3x-y=12.

    If you missed this problem, review (Figure).

  3. Find the x- and y-intercepts of the line 2x-3y=12.

    If you missed this problem, review (Figure).

Determine Whether an Ordered Pair is a Solution of a System of Equations

In Solving Linear Equations, we learned how to solve linear equations with one variable. Now we will work with two or more linear equations grouped together, which is known as a system of linear equations.

System of Linear Equations

When two or more linear equations are grouped together, they form a system of linear equations.

In this section, we will focus our work on systems of two linear equations in two unknowns. We will solve larger systems of equations later in this chapter.

An example of a system of two linear equations is shown below. We use a brace to show the two equations are grouped together to form a system of equations.

\left\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}

A linear equation in two variables, such as 2x+y=7, has an infinite number of solutions. Its graph is a line. Remember, every point on the line is a solution to the equation and every solution to the equation is a point on the line.

To solve a system of two linear equations, we want to find the values of the variables that are solutions to both equations. In other words, we are looking for the ordered pairs \left(x,y\right) that make both equations true. These are called the solutions of a system of equations.

Solutions of a System of 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 \left(x,y\right).

To determine if an ordered pair is a solution to a system of two equations, we substitute the values of the variables into each equation. If the ordered pair makes both equations true, it is a solution to the system.

Determine whether the ordered pair is a solution to the system \left\{\begin{array}{c}x-y=-1\hfill \\ 2x-y=-5\hfill \end{array}.

\left(-2,-1\right)\left(-4,-3\right)

The equations are x minus y equals minus 1 and 2 x minus y equals minus 5. We substitute x equal to minus 2 and y equal to minus 1 into both equations. So, x minus y equals minus 1 becomes minus 2 minus open parentheses minus 1 close parentheses equal to or not equal to minus 1. Simplifying, we get minus 1 equals minus 1 which is correct. The equation 2 x minus y equals minus 5 becomes 2 times minus 2 minus open parentheses minus 1 close parentheses equal to or not equal to minus 5. Simplifying, we get 5 not equal to minus 5. Hence, the ordered pair minus 2, minus 1 does not make both equations true. So, it is not a solution.

We substitute x equal to minus 4 and y equal to minus 3 into both equations. So, x minus y equals minus 1 becomes minus 4 minus open parentheses minus 3 close parentheses equal to or not equal to minus 1. Simplifying, we get minus 1 equals minus 1, which is correct. The equation 2 x minus y equals minus 5 becomes 2 times minus 4 minus open parentheses minus 3 close parentheses equal to or not equal to minus 5. Simplifying, we get minus 5 equals minus 5, which is correct. The ordered pair minus 4, minus 3 does make both equations true. Hence, it is a solution.

Determine whether the ordered pair is a solution to the system \begin{array}{c}\left\{\begin{array}{c}3x+y=0\hfill \\ x+2y=-5\hfill \end{array}.\hfill \\ \hfill \end{array}

\left(1,-3\right)\left(0,0\right)

yes no

Determine whether the ordered pair is a solution to the system \begin{array}{c}\left\{\begin{array}{c}x-3y=-8\hfill \\ -3x-y=4\hfill \end{array}.\hfill \\ \hfill \end{array}

\left(2,-2\right)\left(-2,2\right)

no yes

Solve a System of Linear Equations by Graphing

In this section, we will use three methods to solve a system of linear equations. The first method we’ll use is graphing.

The graph of a linear equation is a line. Each point on the line is a solution to the equation. For a system of two equations, we will graph two lines. Then we can see all the points that are solutions to each equation. And, by finding what the lines have in common, we’ll find the solution to the system.

Most linear equations in one variable have one solution, but we saw that some equations, called contradictions, have no solutions and for other equations, called identities, all numbers are solutions.

Similarly, when we solve a system of two linear equations represented by a graph of two lines in the same plane, there are three possible cases, as shown.

Figure shows three graphs. In the first, the lines intersect at point 3, minus 1. The intersecting lines have one point in common. There is one solution to the system. In the second graph, the lines are parallel. Parallel lines have no points in common. There is no solution to the system. The third graph has only one line. Here, both equations give the same line. Because we have only one line, there are infinite many solutions.

Each time we demonstrate a new method, we will use it on the same system of linear equations. At the end of the section you’ll decide which method was the most convenient way to solve this system.

How to Solve a System of Equations by Graphing

Solve the system by graphing \left\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}.

Step 1 is to graph the first equation. To graph the first line, write the equation in slope intercept form. So, 2 x plus y equals 7 becomes y equal to minus 2 x plus 7. Here, m is minus 2 and b is 7. So the graph will be a line with slope equal to minus 2 and y intercept equal to 7.Step 2 is to graph the second equation on the same rectangular coordinate system. To graph the second line, use intercepts. For x minus 2y equals 6, the intercepts are 0, minus 3 and 6, 0.Step 3 is to determine whether the lines intersect, are parallel, or are the same line. Here, they intersect.Step 4 is to identify the solution to the system. If the lines intersect, identify the point of intersection. The lines intersect at 4, minus 1. Now, check to make sure it is a solution to both equations. When x and y are substituted with 4 and minus 1 respectively, both equations hold true. This is the solution to the system. In step 4, if the lines are parallel, the system has no solution and if the lines are the same, the system has an infinite number of solutions.

Solve the system by graphing: \left\{\begin{array}{c}x-3y=-3\hfill \\ x+y=5\hfill \end{array}.

\left(3,2\right)

Solve the system by graphing: \left\{\begin{array}{c}-x+y=1\hfill \\ 3x+2y=12\hfill \end{array}.

\left(2,3\right)

The steps to use to solve a system of linear equations by graphing are shown here.

Solve a system of linear equations by graphing.
  1. Graph the first equation.
  2. Graph the second equation on the same rectangular coordinate system.
  3. Determine whether the lines intersect, are parallel, or are the same line.
  4. Identify the solution to the system.
    • If the lines intersect, identify the point of intersection. This is the solution to the system.
    • If the lines are parallel, the system has no solution.
    • If the lines are the same, the system has an infinite number of solutions.
  5. Check the solution in both equations.

In the next example, we’ll first re-write the equations into slope–intercept form as this will make it easy for us to quickly graph the lines.

Solve the system by graphing: \left\{\begin{array}{c}3x+y=-1\hfill \\ 2x+y=0\hfill \end{array}.

We’ll solve both of these equations for y so that we can easily graph them using their slopes and y-intercepts.

.
Solve the first equation for y. .
Find the slope and y-intercept. .
Solve the second equation for y. .
Find the slope and y-intercept. .
Graph the lines. .
Determine the point of intersection. The lines intersect at \left(-1,2\right).
Check the solution in both equations.

.

The solution is \left(-1,2\right).

Solve the system by graphing: \left\{\begin{array}{c}-x+y=1\hfill \\ 2x+y=10\hfill \end{array}.

\left(3,4\right)

Solve the system by graphing: \left\{\begin{array}{c}2x+y=6\hfill \\ x+y=1\hfill \end{array}.

\left(5,-4\right)

In all the systems of linear equations so far, the lines intersected and the solution was one point. In the next two examples, we’ll look at a system of equations that has no solution and at a system of equations that has an infinite number of solutions.

Solve the system by graphing: \left\{\begin{array}{c}y=\frac{1}{2}x-3\hfill \\ x-2y=4\hfill \end{array}.

.
To graph the first equation, we will use its

slope and y-intercept.

.
To graph the second equation, we will use

the intercepts.

.
.
Graph the lines. .
Determine the points of intersection. The lines are parallel.

Since no point is on both lines, there is no

ordered pair that makes both equations

true. There is no solution to this system.

Solve the system by graphing: \left\{\begin{array}{c}y=-\frac{1}{4}x+2\hfill \\ x+4y=-8\hfill \end{array}.

no solution

Solve the system by graphing: \left\{\begin{array}{c}y=3x-1\hfill \\ 6x-2y=6\hfill \end{array}.

no solution

Sometimes the equations in a system represent the same line. Since every point on the line makes both equations true, there are infinitely many ordered pairs that make both equations true. There are infinitely many solutions to the system.

Solve the system by graphing: \left\{\begin{array}{c}y=2x-3\hfill \\ -6x+3y=-9\hfill \end{array}.

.
Find the slope and y-intercept of the first equation. .
Find the intercepts of the second equation. .
.
Graph the lines. .
The lines are the same!

Since every point on the line makes both

equations true, there are infinitely many

ordered pairs that make both equations true.

There are infinitely many solutions to this system.

If you write the second equation in slope-intercept form, you may recognize that the equations have the same slope and same y-intercept.

Solve the system by graphing: \left\{\begin{array}{c}y=-3x-6\hfill \\ 6x+2y=-12\hfill \end{array}.

infinitely many solutions

Solve the system by graphing: \left\{\begin{array}{c}y=\frac{1}{2}x-4\hfill \\ 2x-4y=16\hfill \end{array}.

infinitely many solutions

When we graphed the second line in the last example, we drew it right over the first line. We say the two lines are coincident. Coincident lines have the same slope and same y-intercept.

Coincident Lines

Coincident lines have the same slope and same y-intercept.

The systems of equations in (Figure) and (Figure) each had two intersecting lines. Each system had one solution.

In (Figure), the equations gave coincident lines, and so the system had infinitely many solutions.

The systems in those three examples had at least one solution. A system of equations that has at least one solution is called a consistent system.

A system with parallel lines, like (Figure), has no solution. We call a system of equations like this inconsistent. It has no solution.

Consistent and Inconsistent Systems

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.

We also categorize the equations in a system of equations by calling the equations independent or dependent. If two equations are independent, they each have their own set of solutions. Intersecting lines and parallel lines are independent.

If two equations are dependent, all the solutions of one equation are also solutions of the other equation. When we graph two dependent equations, we get coincident lines.

Let’s sum this up by looking at the graphs of the three types of systems. See below and (Figure).

The figure shows three graphs. The first one has two intersecting line. The second one has two parallel lines. The third one has only one line. This is labeled coincident.

Lines Intersecting Parallel Coincident
Number of solutions 1 point No solution Infinitely many
Consistent/inconsistent Consistent Inconsistent Consistent
Dependent/ independent Independent Independent Dependent

Without graphing, determine the number of solutions and then classify the system of equations.

\left\{\begin{array}{c}y=3x-1\hfill \\ 6x-2y=12\hfill \end{array}\left\{\begin{array}{c}2x+y=-3\hfill \\ x-5y=5\hfill \end{array}

We will compare the slopes and intercepts of the two lines.

\begin{array}{cccc}\begin{array}{}\\ \\ \\ \\ \hfill \text{The first equation is already in slope-intercept form.}\end{array}\hfill & & & \phantom{\rule{7.7em}{0ex}}\begin{array}{c}\left\{\begin{array}{ccc}\hfill y& =\hfill & 3x-1\hfill \\ \hfill 6x-2y& =\hfill & 12\hfill \end{array}\hfill \\ \phantom{\rule{3.1em}{0ex}}y\phantom{\rule{0.5em}{0ex}}=\phantom{\rule{0.5em}{0ex}}3x-1\hfill \end{array}\hfill \end{array}

\begin{array}{cccc}\begin{array}{c}\text{Write the second equation in slope-intercept form.}\hfill \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \text{Find the slope and intercept of each line.}\hfill \\ \\ \\ \\ \end{array}\hfill & & & \phantom{\rule{2em}{0ex}}\begin{array}{cccccccc}& & & & & \hfill 6x-2y& =\hfill & 12\hfill \\ & & & & & \hfill -2y& =\hfill & -6x+12\hfill \\ & & & & & \hfill \frac{-2y}{-2}& =\hfill & \frac{-6x+12}{-2}\hfill \\ & & & & & \hfill y& =\hfill & 3x-6\hfill \\ \hfill y& =\hfill & 3x-1\hfill & & & \hfill y& =\hfill & 3x-6\hfill \\ \hfill m& =\hfill & 3\hfill & & & \hfill m& =\hfill & 3\hfill \\ \hfill b& =\hfill & -1\hfill & & & \hfill b& =\hfill & -6\hfill \end{array}\hfill \\ & & & \begin{array}{c}\text{Since the slopes are the same and}\phantom{\rule{0.2em}{0ex}}y\text{-intercepts are}\hfill \\ \text{different, the lines are parallel.}\hfill \end{array}\hfill \end{array}

A system of equations whose graphs are parallel lines has no solution and is inconsistent and independent.

We will compare the slope and intercepts of the two lines.

\begin{array}{cccc}& & & \left\{\begin{array}{ccc}\hfill 2x+y& =\hfill & -3\hfill \\ \hfill x-5y& =\hfill & 5\hfill \end{array}\hfill \\ \begin{array}{c}\text{Write both equations in slope-intercept form.}\hfill \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \end{array}\hfill & & & \phantom{\rule{0.5em}{0ex}}\begin{array}{cccccccc}\hfill 2x+y& =\hfill & -3\hfill & & & \hfill x-5y& =\hfill & 5\hfill \\ \hfill y& =\hfill & -2x-3\hfill & & & \hfill -5y& =\hfill & \text{−}x+5\hfill \\ & & & & & \hfill \frac{-5y}{-5}& =\hfill & \frac{-x+5}{-5}\hfill \\ & & & & & \hfill y& =\hfill & \frac{1}{5}x-1\hfill \end{array}\hfill \\ \begin{array}{c}\text{Find the slope and intercept of each line.}\hfill \\ \\ \\ \\ \\ \\ \end{array}\hfill & & & \phantom{\rule{2em}{0ex}}\begin{array}{cccccccccccc}\hfill y& =\hfill & -2x-3\hfill & & & & & & & \phantom{\rule{2em}{0ex}}\hfill y& =\hfill & \frac{1}{5}x-1\hfill \\ \hfill m& =\hfill & -2\hfill & & & & & & & \hfill m& =\hfill & \frac{1}{5}\hfill \\ \hfill b& =\hfill & -3\hfill & & & & & & & \hfill b& =\hfill & -1\hfill \end{array}\hfill \\ & & & \text{Since the slopes are different, the lines intersect.}\hfill \end{array}

A system of equations whose graphs are intersect has 1 solution and is consistent and independent.

Without graphing, determine the number of solutions and then classify the system of equations.

\left\{\begin{array}{c}y=-2x-4\hfill \\ 4x+2y=9\hfill \end{array}\left\{\begin{array}{c}3x+2y=2\hfill \\ 2x+y=1\hfill \end{array}

no solution, inconsistent, independent one solution, consistent, independent

Without graphing, determine the number of solutions and then classify the system of equations.

\left\{\begin{array}{c}y=\frac{1}{3}x-5\hfill \\ x-3y=6\hfill \end{array}\left\{\begin{array}{c}x+4y=12\hfill \\ -x+y=3\hfill \end{array}

no solution, inconsistent, independent one solution, consistent, independent

Solving systems of linear equations by graphing is a good way to visualize the types of solutions that may result. However, there are many cases where solving a system by graphing is inconvenient or imprecise. If the graphs extend beyond the small grid with x and y both between -10 and 10, graphing the lines may be cumbersome. And if the solutions to the system are not integers, it can be hard to read their values precisely from a graph.

Solve a System of Equations by Substitution

We will now solve systems of linear equations by the substitution method.

We will use the same system we used first for graphing.

\left\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}

We will first solve one of the equations for either x or y. We can choose either equation and solve for either variable—but we’ll try to make a choice that will keep the work easy.

Then we substitute that expression into the other equation. The result is an equation with just one variable—and we know how to solve those!

After we find the value of one variable, we will substitute that value into one of the original equations and solve for the other variable. Finally, we check our solution and make sure it makes both equations true.

How to Solve a System of Equations by Substitution

Solve the system by substitution: \left\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}.

The equations are 2 x plus y equals 7 and x minus 2y equals 6. Step 1 is to solve one of the equations for either variable. We’ll solve the first equation for y. We get y equals 7 minus 2 x.In step 2, substitute the expression from step 1 into the other equation. We replace y in the second equation with the expression 7 minus 2 x. So, we get x minus 2 open parentheses 7 minus 2 x close parentheses equals 6.Step 3 is to solve the resulting equation. Now we have an equation with just 1 variable. We solve it to get x equal to 4.Step 4 is to substitute the solution in step 3 into one of the original equations to find the other variable. We’ll use the first equation and replace x with 4. We get, 2 times 4 plus y equals 7. Simplifying, we get y equal to minus 1.Step 5 is to write the solution as an ordered pair. The ordered pair is 4, minus 1.Step 6 is to check that the ordered pair is a solution to both original equations. To do that we Substitute x equal to 4 and y equal to minus 1 into both equations and make sure they are both true.

Solve the system by substitution: \left\{\begin{array}{c}-2x+y=-11\hfill \\ x+3y=9\hfill \end{array}.

\left(6,1\right)

Solve the system by substitution: \left\{\begin{array}{c}2x+y=-1\hfill \\ 4x+3y=3\hfill \end{array}.

\left(-3,5\right)

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

Be very careful with the signs in the next example.

Solve the system by substitution: \left\{\begin{array}{c}4x+2y=4\hfill \\ 6x-y=8\hfill \end{array}.

We need to solve one equation for one variable. We will solve the first equation for y.

.
Solve the first equation for y.

Substitute -2x+2 for y in the second equation.

.
Replace the y with -2x+2. .
Solve the equation for x. .
Substitute x=\frac{5}{4} into 4x+2y=4 to find y. .
The ordered pair is \left(\frac{5}{4},-\frac{1}{2}\right).
Check the ordered pair in both equations.

.

The solution is \left(\frac{5}{4},-\frac{1}{2}\right).

Solve the system by substitution: \left\{\begin{array}{c}x-4y=-4\hfill \\ -3x+4y=0\hfill \end{array}.

\left(2,\frac{3}{2}\right)

Solve the system by substitution: \left\{\begin{array}{c}4x-y=0\hfill \\ 2x-3y=5\hfill \end{array}.

\left(-\frac{1}{2},-2\right)

Solve a System of Equations by Elimination

We have solved systems of linear equations by graphing and by substitution. Graphing works well when the variable coefficients are small and the solution has integer values. Substitution works well when we can easily solve one equation for one of the variables and not have too many fractions in the resulting expression.

The third method of solving systems of linear equations is called the Elimination Method. When we solved a system by substitution, we started with two equations and two variables and reduced it to one equation with one variable. This is what we’ll do with the elimination method, too, but we’ll have a different way to get there.

The Elimination Method is based on the Addition Property of Equality. The Addition Property of Equality says that when you add the same quantity to both sides of an equation, you still have equality. We will extend the Addition Property of Equality to say that when you add equal quantities to both sides of an equation, the results are equal.

For any expressions a, b, c, and d.

\begin{array}{cccccc}\text{if}\hfill & & & \hfill a& =\hfill & b\hfill \\ \text{and}\hfill & & & \hfill c& =\hfill & d\hfill \\ \text{then}\hfill & & & \hfill a+c& =\hfill & b+d.\hfill \end{array}

To solve a system of equations by elimination, we start with both equations in standard form. Then we decide which variable will be easiest to eliminate. How do we decide? We want to have the coefficients of one variable be opposites, so that we can add the equations together and eliminate that variable.

Notice how that works when we add these two equations together:

\begin{array}{c}\left\{\underset{\text{—————}}{\begin{array}{c}3x+y=5\hfill \\ 2x-y=0\hfill \end{array}}\hfill \\ \\ \phantom{\rule{0.8em}{0ex}}5x\phantom{\rule{1.8em}{0ex}}=5\hfill \end{array}

The y’s add to zero and we have one equation with one variable.

Let’s try another one:

\left\{\begin{array}{c}\phantom{\rule{0.5em}{0ex}}x+4y=2\hfill \\ 2x+5y=-2\hfill \end{array}

This time we don’t see a variable that can be immediately eliminated if we add the equations.

But if we multiply the first equation by -2, we will make the coefficients of x opposites. We must multiply every term on both sides of the equation by -2.

Minus 2 open parentheses x plus 4y close parentheses is minus 2 times 2. And, 2 x plus 5y is minus 2.

Then rewrite the system of equations.

Minus 2 x minus 8y is minus 4 and 2 x plus 5y is minus 2.

Now we see that the coefficients of the x terms are opposites, so x will be eliminated when we add these two equations.

Minus 2 x minus 8y is minus 4 and 2 x plus 5y is minus 2. Adding these, we get minus 3y equals minus 6.

Once we get an equation with just one variable, we solve it. Then we substitute that value into one of the original equations to solve for the remaining variable. And, as always, we check our answer to make sure it is a solution to both of the original equations.

Now we’ll see how to use elimination to solve the same system of equations we solved by graphing and by substitution.

How to Solve a System of Equations by Elimination

Solve the system by elimination: \left\{\begin{array}{c}2x+y=7\hfill \\ x-2y=6\hfill \end{array}.

The equations are 2 x plus y equals 7 and x minus 2y equals 6. Step 1 is to write both equations in standard form. Both equations are in standard form, Ax plus By equals C. If any coefficients are fractions, clear them. There are no fractions.Step 2 is to make the coefficients of one variable opposites. First decide which variable you will eliminate. Multiply one or both equations so that the coefficients of that variable are opposites. We can eliminate the y’s by multiplying the first equation by 2. We get 4x plus 2y equals 14.Step 3 is to add the equations resulting from step 2 to eliminate one variable. Adding, we get 5x equals 20.Step 4 is to solve for the remaining variable. Solving for x, we get x equals 4.Step 5 is to substitute the solution from step 4 into one of the original equations. Then solve for the other variable. Substituting x equal to 4 into the second equation, we get 4 minus 2y equals 6. Solving for y, we get y equal to minus 1.Step 6 is to write the solution as an ordered pair. Here, the ordered pair is 4, minus 1.Step 7 is to check that the ordered pair is a solution to both original equations. The ordered pair makes both original equations true.

Solve the system by elimination: \left\{\begin{array}{c}3x+y=5\hfill \\ 2x-3y=7\hfill \end{array}.

\left(2,-1\right)

Solve the system by elimination: \left\{\begin{array}{c}4x+y=-5\hfill \\ -2x-2y=-2\hfill \end{array}.

\left(-2,3\right)

The steps are listed here for easy reference.

Solve a system of equations by elimination.
  1. Write both equations in standard form. If any coefficients are fractions, clear them.
  2. Make the coefficients of one variable opposites.
    • Decide which variable you will eliminate.
    • Multiply one or both equations so that the coefficients of that variable are opposites.
  3. Add the equations resulting from Step 2 to eliminate one variable.
  4. Solve for the remaining variable.
  5. Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
  6. Write the solution as an ordered pair.
  7. Check that the ordered pair is a solution to both original equations.

Now we’ll do an example where we need to multiply both equations by constants in order to make the coefficients of one variable opposites.

Solve the system by elimination: \left\{\begin{array}{c}4x-3y=9\hfill \\ 7x+2y=-6\hfill \end{array}.

In this example, we cannot multiply just one equation by any constant to get opposite coefficients. So we will strategically multiply both equations by different constants to get the opposites.

.
Both equations are in standard form.

To get opposite coefficients of y, we will

multiply the first equation by 2 and the

second equation by 3.

.
Simplify. .
Add the two equations to eliminate y. .
Solve for x. .
Substitute x=0 into one of the original equations. .
Solve for y. .
Write the solution as an ordered pair. The ordered pair is \left(0,-3\right).
Check that the ordered pair is a solution to

both original equations.

.

The solution is \left(0,-3\right).

Solve the system by elimination: \left\{\begin{array}{c}3x-4y=-9\hfill \\ 5x+3y=14\hfill \end{array}.

\left(1,3\right)

Solve each system by elimination: \left\{\begin{array}{c}7x+8y=4\hfill \\ 3x-5y=27\hfill \end{array}.

\left(4,-3\right)

When the system of equations contains fractions, we will first clear the fractions by multiplying each equation by the LCD of all the fractions in the equation.

Solve the system by elimination: \left\{\begin{array}{c}x+\frac{1}{2}y=6\hfill \\ \frac{3}{2}x+\frac{2}{3}y=\frac{17}{2}\hfill \end{array}.

In this example, both equations have fractions. Our first step will be to multiply each equation by the LCD of all the fractions in the equation to clear the fractions.

.
To clear the fractions, multiply each

equation by its LCD.

.
Simplify. .
Now we are ready to eliminate one

of the variables. Notice that both equations are in

standard form.

We can eliminate y by multiplying the top equation by -4. .
Simplify and add.

Substitute x=3 into one of the original equations.

.
Solve for y. .

.

.

Write the solution as an ordered pair. The ordered pair is \left(3,6\right).
Check that the ordered pair is a solution to

both original equations.

.

The solution is \left(3,6\right).

Solve each system by elimination: \left\{\begin{array}{c}\frac{1}{3}x-\frac{1}{2}y=1\hfill \\ \frac{3}{4}x-y=\frac{5}{2}\hfill \end{array}.

\left(6,2\right)

Solve each system by elimination: \left\{\begin{array}{c}x+\frac{3}{5}y=-\frac{1}{5}\hfill \\ -\frac{1}{2}x-\frac{2}{3}y=\frac{5}{6}\hfill \end{array}.

\left(1,-2\right)

When we solved the system by graphing, we saw that not all systems of linear equations have a single ordered pair as a solution. When the two equations were really the same line, there were infinitely many solutions. We called that a consistent system. When the two equations described parallel lines, there was no solution. We called that an inconsistent system.

The same is true using substitution or elimination. If the equation at the end of substitution or elimination is a true statement, we have a consistent but dependent system and the system of equations has infinitely many solutions. If the equation at the end of substitution or elimination is a false statement, we have an inconsistent system and the system of equations has no solution.

Solve the system by elimination: \left\{\begin{array}{c}3x+4y=12\hfill \\ y=3-\frac{3}{4}x\hfill \end{array}.

\begin{array}{cccc}& & & \left\{\begin{array}{c}3x+4y=12\hfill \\ y=3-\frac{3}{4}x\hfill \end{array}\hfill \\ \\ \text{Write the second equation in standard form.}\hfill & & & \left\{\begin{array}{c}3x+4y=12\hfill \\ \frac{3}{4}x+y=3\hfill \end{array}\hfill \\ \\ \begin{array}{c}\text{Clear the fractions by multiplying the}\hfill \\ \text{second equation by 4.}\hfill \end{array}\hfill & & & \left\{\begin{array}{c}3x+4y=12\hfill \\ 4\left(\frac{3}{4}x+y\right)=4\left(3\right)\hfill \end{array}\hfill \\ \\ \text{Simplify.}\hfill & & & \left\{\begin{array}{c}3x+4y=12\hfill \\ 3x+4y=12\hfill \end{array}\hfill \\ \\ \begin{array}{c}\text{To eliminate a variable, we multiply the}\hfill \\ \text{second equation by}\phantom{\rule{0.2em}{0ex}}-1.\phantom{\rule{0.2em}{0ex}}\text{Simplify and add.}\hfill \end{array}\hfill & & & \begin{array}{c}\underset{______________}{\left\{\begin{array}{c}\phantom{\rule{0.6em}{0ex}}3x+4y=12\hfill \\ -3x-4y=-12\hfill \end{array}}\hfill \\ \hfill \phantom{\rule{1em}{0ex}}0=0\hfill \end{array}\hfill \end{array}

This is a true statement. The equations are consistent but dependent. Their graphs would be the same line. The system has infinitely many solutions.

After we cleared the fractions in the second equation, did you notice that the two equations were the same? That means we have coincident lines.

Solve the system by elimination: \left\{\begin{array}{c}5x-3y=15\hfill \\ y=-5+\frac{5}{3}x\hfill \end{array}.

infinitely many solutions

Solve the system by elimination: \left\{\begin{array}{c}x+2y=6\hfill \\ y=-\frac{1}{2}x+3\hfill \end{array}.

infinitely many solutions

Choose the Most Convenient Method to Solve a System of Linear Equations

When you solve a system of linear equations in in an application, you will not be told which method to use. You will need to make that decision yourself. So you’ll want to choose the method that is easiest to do and minimizes your chance of making mistakes.

\begin{array}{c}\mathbf{\text{Choose the Most Convenient Method to Solve a System of Linear Equations}}\hfill \\ \begin{array}{ccccccc}\underset{\text{————}}{\mathbf{\text{Graphing}}}\hfill & & & \underset{\text{—————}}{\mathbf{\text{Substitution}}}\hfill & & & \underset{\text{—————}}{\mathbf{\text{Elimination}}}\hfill \\ \text{Use when you need a}\hfill & & & \text{Use when one equation is}\hfill & & & \text{Use when the equations are}\hfill \\ \text{picture of the situation.}\hfill & & & \text{already solved or can be}\hfill & & & \text{in standard form.}\hfill \\ & & & \text{easily solved for one}\hfill & & & \\ & & & \text{variable.}\hfill & & & \end{array}\hfill \end{array}

For each system of linear equations, decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

\left\{\begin{array}{c}3x+8y=40\hfill \\ 7x-4y=-32\hfill \end{array}\left\{\begin{array}{c}5x+6y=12\hfill \\ y=\frac{2}{3}x-1\hfill \end{array}

\left\{\begin{array}{c}3x+8y=40\hfill \\ 7x-4y=-32\hfill \end{array}

Since both equations are in standard form, using elimination will be most convenient.

\left\{\begin{array}{c}5x+6y=12\hfill \\ y=\frac{2}{3}x-1\hfill \end{array}

Since one equation is already solved for y, using substitution will be most convenient.

For each system of linear equations decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

\left\{\begin{array}{c}4x-5y=-32\hfill \\ 3x+2y=-1\hfill \end{array}\left\{\begin{array}{c}x=2y-1\hfill \\ 3x-5y=-7\hfill \end{array}

Since both equations are in standard form, using elimination will be most convenient. Since one equation is already solved for x, using substitution will be most convenient.

For each system of linear equations decide whether it would be more convenient to solve it by substitution or elimination. Explain your answer.

\left\{\begin{array}{c}y=2x-1\hfill \\ 3x-4y=-6\hfill \end{array}\left\{\begin{array}{c}6x-2y=12\hfill \\ 3x+7y=-13\hfill \end{array}

Since one equation is already solved for y, using substitution will be most convenient. Since both equations are in standard form, using elimination will be most convenient.

Key Concepts

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

      If the lines intersect, identify the point of intersection. This is the solution to the system.

      If the lines are parallel, the system has no solution.

      If the lines are the same, the system has an infinite number of solutions.

    5. Check the solution in both equations.
  • How to solve a system of equations by substitution.
    1. Solve one of the equations for either variable.
    2. Substitute the expression from Step 1 into the other equation.
    3. Solve the resulting equation.
    4. Substitute the solution in Step 3 into either of the original equations to find the other variable.
    5. Write the solution as an ordered pair.
    6. Check that the ordered pair is a solution to both original equations.
  • How to solve a system of equations by elimination.
    1. Write both equations in standard form. If any coefficients are fractions, clear them.
    2. Make the coefficients of one variable opposites.

      Decide which variable you will eliminate.

      Multiply one or both equations so that the coefficients of that variable are opposites.

    3. Add the equations resulting from Step 2 to eliminate one variable.
    4. Solve for the remaining variable.
    5. Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
    6. Write the solution as an ordered pair.
    7. Check that the ordered pair is a solution to both original equations.

      \begin{array}{}\\ \\ \mathbf{\text{Choose the Most Convenient Method to Solve a System of Linear Equations}}\hfill \\ \begin{array}{ccccccc}\underset{\text{—————}}{\mathbf{\text{Graphing}}}\hfill & & & \underset{\text{———————}}{\mathbf{\text{Substitution}}}\hfill & & & \underset{\text{———————}}{\mathbf{\text{Elimination}}}\hfill \\ \begin{array}{c}\text{Use when you need a}\hfill \\ \text{picture of the situation.}\hfill \end{array}\hfill & & & \begin{array}{c}\text{Use when one equation is}\hfill \\ \text{already solved or can be}\hfill \\ \text{easily solved for one}\hfill \\ \text{variable.}\hfill \end{array}\hfill & & & \begin{array}{c}\text{Use when the equations are}\hfill \\ \text{in standard form.}\hfill \end{array}\hfill \end{array}\hfill \end{array}

Practice Makes Perfect

Determine Whether an Ordered Pair is a Solution of a System of Equations

In the following exercises, determine if the following points are solutions to the given system of equations.

\left\{\begin{array}{c}2x-6y=0\hfill \\ 3x-4y=5\hfill \end{array}

\left(3,1\right)

\left(-3,4\right)

yes no

\left\{\begin{array}{c}-3x+y=8\hfill \\ -x+2y=-9\hfill \end{array}

\left(-5,-7\right)

\left(-5,7\right)

\left\{\begin{array}{c}x+y=2\hfill \\ y=\frac{3}{4}x\hfill \end{array}

\left(\frac{8}{7},\frac{6}{7}\right)

\left(1,\frac{3}{4}\right)

yes no

\left\{\begin{array}{c}2x+3y=6\hfill \\ y=\frac{2}{3}x+2\hfill \end{array}

\left(-6,2\right)

\left(-3,4\right)

Solve a System of Linear Equations by Graphing

In the following exercises, solve the following systems of equations by graphing.

\left\{\begin{array}{c}3x+y=-3\hfill \\ 2x+3y=5\hfill \end{array}

\left(-3,2\right)

\left\{\begin{array}{c}-x+y=2\hfill \\ 2x+y=-4\hfill \end{array}

\left\{\begin{array}{c}y=x+2\hfill \\ y=-2x+2\hfill \end{array}

\left(0,2\right)

\left\{\begin{array}{c}y=x-2\hfill \\ y=-3x+2\hfill \end{array}

\left\{\begin{array}{c}y=\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}\frac{3}{2}x+1\hfill \\ y=-\frac{1}{2}x+5\hfill \end{array}

\left(2,4\right)

\left\{\begin{array}{c}y=\frac{2}{3}x-2\hfill \\ y=-\frac{1}{3}x-5\hfill \end{array}

\left\{\begin{array}{c}x+y=-4\hfill \\ -x+2y=-2\hfill \end{array}

\left(-2,2\right)

\left\{\begin{array}{c}-x+3y=3\hfill \\ x+3y=3\hfill \end{array}

\left\{\begin{array}{c}-2x+3y=3\hfill \\ x+3y=12\hfill \end{array}

\left(3,3\right)

\left\{\begin{array}{c}2x-y=4\hfill \\ 2x+3y=12\hfill \end{array}

\left\{\begin{array}{c}x+3y=-6\hfill \\ y=-\frac{4}{3}x+4\hfill \end{array}

\left(6,-4\right)

\left\{\begin{array}{c}-x+2y=-6\hfill \\ y=-\frac{1}{2}x-1\hfill \end{array}

\left\{\begin{array}{c}-2x+4y=4\hfill \\ y=\frac{1}{2}x\hfill \end{array}

no solution

\left\{\begin{array}{c}3x+5y=10\hfill \\ y=-\frac{3}{5}x+1\hfill \end{array}

\left\{\begin{array}{c}\phantom{\rule{0.2em}{0ex}}4x-3y=8\hfill \\ \phantom{\rule{0.2em}{0ex}}8x-6y=14\hfill \end{array}

no solution

\left\{\begin{array}{c}x+3y=4\hfill \\ -2x-6y=3\hfill \end{array}

\left\{\begin{array}{c}x=-3y+4\hfill \\ 2x+6y=8\hfill \end{array}

infinite solutions

\left\{\begin{array}{c}4x=3y+7\hfill \\ 8x-6y=14\hfill \end{array}

\left\{\begin{array}{c}2x+\text{}\phantom{\rule{0.2em}{0ex}}y=6\hfill \\ -8x-4y=-24\hfill \end{array}

infinite solutions

\left\{\begin{array}{c}5x+\phantom{\rule{0.2em}{0ex}}2y=7\hfill \\ -10x-4y=-14\hfill \end{array}

Without graphing, determine the number of solutions and then classify the system of equations.

\left\{\begin{array}{c}y=\frac{2}{3}x+1\hfill \\ -2x+3y=5\hfill \end{array}

1 point, consistent and independent

\left\{\begin{array}{c}y=\frac{3}{2}x+1\hfill \\ 2x-3y=7\hfill \end{array}

\left\{\begin{array}{c}5x+3y=4\hfill \\ 2x-3y=5\hfill \end{array}

1 point, consistent and independent

\left\{\begin{array}{c}y=-\frac{1}{2}x+5\hfill \\ x+2y=10\hfill \end{array}

\left\{\begin{array}{c}5x-2y=10\hfill \\ y=\frac{5}{2}x-5\hfill \end{array}

infinite solutions, consistent, dependent

Solve a System of Equations by Substitution

In the following exercises, solve the systems of equations by substitution.

\left\{\begin{array}{c}2x+y=-4\hfill \\ 3x-2y=-6\hfill \end{array}

\left\{\begin{array}{c}2x+y=-2\hfill \\ 3x-y=7\hfill \end{array}

\left(1,-4\right)

\left\{\begin{array}{c}x-2y=-5\hfill \\ 2x-3y=-4\hfill \end{array}

\left\{\begin{array}{c}x-3y=-9\hfill \\ 2x+5y=4\hfill \end{array}

\left(-3,2\right)

\left\{\begin{array}{c}5x-2y=-6\hfill \\ y=3x+3\hfill \end{array}

\left\{\begin{array}{c}-2x+2y=6\hfill \\ y=-3x+1\hfill \end{array}

\left(-1\text{/}2,5\text{/}2\right)

\left\{\begin{array}{c}2x+5y=1\hfill \\ y=\frac{1}{3}x-2\hfill \end{array}

\left\{\begin{array}{c}3x+4y=1\hfill \\ y=-\frac{2}{5}x+2\hfill \end{array}

\left(-5,4\right)

\left\{\begin{array}{c}2x+y=5\hfill \\ x-2y=-15\hfill \end{array}

\left\{\begin{array}{c}4x+y=10\hfill \\ x-2y=-20\hfill \end{array}

\left(0,10\right)

\left\{\begin{array}{c}y=-2x-1\hfill \\ y=-\frac{1}{3}x+4\hfill \end{array}

\left\{\begin{array}{c}y=x-6\hfill \\ y=-\frac{3}{2}x+4\hfill \end{array}

\left(4,-2\right)

\left\{\begin{array}{c}\phantom{\rule{0.2em}{0ex}}\text{}\phantom{\rule{0.2em}{0ex}}x=2y\hfill \\ 4x-8y=0\hfill \end{array}

\left\{\begin{array}{c}\phantom{\rule{0.2em}{0ex}}2x-16y=8\hfill \\ -x-8y=-4\hfill \end{array}

\left(4,0\right)

\left\{\begin{array}{c}y=\frac{7}{8}x+4\hfill \\ -7x+8y=6\hfill \end{array}

\left\{\begin{array}{c}y=-\frac{2}{3}x+5\hfill \\ 2x+3y=11\hfill \end{array}

none

Solve a System of Equations by Elimination

In the following exercises, solve the systems of equations by elimination.

\left\{\begin{array}{c}5x+2y=2\hfill \\ -3x-y=0\hfill \end{array}

\left\{\begin{array}{c}6x-5y=-1\hfill \\ 2x+y=13\hfill \end{array}

\left(4,5\right)

\left\{\begin{array}{c}2x-5y=7\hfill \\ 3x-y=17\hfill \end{array}

\left\{\begin{array}{c}5x-3y=-1\hfill \\ 2x-y=2\hfill \end{array}

\left(7,12\right)

\left\{\begin{array}{c}3x-5y=-9\hfill \\ 5x+2y=16\hfill \end{array}

\left\{\begin{array}{c}4x-3y=3\hfill \\ 2x+5y=-31\hfill \end{array}

\left(-3,-5\right)

\left\{\begin{array}{c}3x+8y=-3\hfill \\ 2x+5y=-3\hfill \end{array}

\left\{\begin{array}{c}11x+9y=-5\hfill \\ 7x+5y=-1\hfill \end{array}

\left(2,-3\right)

\left\{\begin{array}{c}3x+8y=67\hfill \\ 5x+3y=60\hfill \end{array}

\left\{\begin{array}{c}2x+9y=-4\hfill \\ 3x+13y=-7\hfill \end{array}

\left(-11,2\right)

\left\{\begin{array}{c}\frac{1}{3}x-y=-3\hfill \\ x+\frac{5}{2}y=2\hfill \end{array}

\left\{\begin{array}{c}x+\frac{1}{2}y=\frac{3}{2}\hfill \\ \frac{1}{5}x-\frac{1}{5}y=3\hfill \end{array}

\left(6\text{/}-9,24\text{/}7\right)

\left\{\begin{array}{c}x+\frac{1}{3}y=-1\hfill \\ \frac{1}{3}x+\frac{1}{2}y=1\hfill \end{array}

\left\{\begin{array}{c}\frac{1}{3}x-y=-3\hfill \\ \frac{2}{3}x+\frac{5}{2}y=3\hfill \end{array}

\left(-3,2\right)

\left\{\begin{array}{c}2x+y=3\hfill \\ 6x+3y=9\hfill \end{array}

\left\{\begin{array}{c}x-4y=-1\hfill \\ -3x+12y=3\hfill \end{array}

infinitely many

\left\{\begin{array}{c}-3x-y=8\hfill \\ 6x+2y=-16\hfill \end{array}

\left\{\begin{array}{c}4x+3y=2\hfill \\ 20x+15y=10\hfill \end{array}

infinitely many

Choose the Most Convenient Method to Solve a System of Linear Equations

In the following exercises, decide whether it would be more convenient to solve the system of equations by substitution or elimination.

\left\{\begin{array}{c}8x-15y=-32\hfill \\ 6x+3y=-5\hfill \end{array}

\left\{\begin{array}{c}x=4y-3\hfill \\ 4x-2y=-6\hfill \end{array}

\left\{\begin{array}{c}y=7x-5\hfill \\ 3x-2y=16\hfill \end{array}

\left\{\begin{array}{c}12x-5y=-42\hfill \\ 3x+7y=-15\hfill \end{array}

substitution elimination

\left\{\begin{array}{c}y=4x+9\hfill \\ 5x-2y=-21\hfill \end{array}

\left\{\begin{array}{c}9x-4y=24\hfill \\ 3x+5y=-14\hfill \end{array}

\left\{\begin{array}{c}14x-15y=-30\hfill \\ 7x+2y=10\hfill \end{array}

\left\{\begin{array}{c}x=9y-11\hfill \\ 2x-7y=-27\hfill \end{array}

elimination substituion

Writing Exercises

In a system of linear equations, the two equations have the same intercepts. Describe the possible solutions to the system.

Solve the system of equations by substitution and explain all your steps in words: \left\{\begin{array}{c}3x+y=12\hfill \\ x=y-8\hfill \end{array}.

Answers will vary.

Solve the system of equations by elimination and explain all your steps in words: \left\{\begin{array}{c}5x+4y=10\hfill \\ 2x=3y+27\hfill \end{array}.

Solve the system of equations \left\{\begin{array}{c}x+y=10\hfill \\ x-y=6\hfill \end{array}

by graphing by substitution

Which method do you prefer? Why?

Answers will vary.

Self Check

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This table has 4 columns 5 rows and a header row. The header row labels each column: I can, confidently, with some help and no, I don’t get it. The first column has the following statements: determine whether an ordered pair is a solution of a system of equations, solve a system of linear equations by graphing, solve a system of equations by substitution, solve a system of equations by elimination, choose the most convenient method to solve a system of linear equations. The remaining columns are blank.

If most of your checks were:

…confidently. Congratulations! You have achieved the objectives in this section. Reflect on the study skills you used so that you can continue to use them. What did you do to become confident of your ability to do these things? Be specific.

…with some help. This must be addressed quickly because topics you do not master become potholes in your road to success. In math every topic builds upon previous work. It is important to make sure you have a strong foundation before you move on. Who can you ask for help? Your fellow classmates and instructor are good resources. Is there a place on campus where math tutors are available? Can your study skills be improved?

…no – I don’t get it! This is a warning sign and you must not ignore it. You should get help right away or you will quickly be overwhelmed. See your instructor as soon as you can to discuss your situation. Together you can come up with a plan to get you the help you need.

Glossary

coincident lines
Coincident lines have the same slope and same y-intercept.
consistent and inconsistent systems
Consistent system of equations is a system of equations with at least one solution; inconsistent system of equations is a system of equations with no solution.
solutions of a system of equations
Solutions of a system of equations are the values of the variables that make all the equations true; solution is represented by an ordered pair \left(x,y\right).
system of linear equations
When two or more linear equations are grouped together, they form a system of linear equations.

License

Icon for the Creative Commons Attribution 4.0 International License

Intermediate Algebra but cloned this time not imported Copyright © 2017 by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book