### 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
- Determine the number of solutions of linear system
- Solve applications of systems of equations by graphing

Before you get started, take this readiness quiz.

For the equation $y=\frac{2}{3}x-4$

ⓐ is $\left(6,0\right)$ a solution? ⓑ is $\left(\mathrm{-3},\mathrm{-2}\right)$ a solution?

If you missed this problem, review Example 2.1.

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

If you missed this problem, review Example 4.42.

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

If you missed this problem, review Example 4.21.

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

In Solving Linear Equations and Inequalities we learned how to solve linear equations with one variable. Remember that the solution of an equation is a value of the variable that makes a true statement when substituted into the equation.

Now we will work with systems of linear equations, two or more linear equations grouped together.

### System of Linear Equations

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

We will focus our work here on systems of two linear equations in two unknowns. Later, you may solve larger systems of equations.

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.

A linear equation in two variables, like 2*x* + *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 (*x*, *y*) that make both equations true. These are called the solutions to a system of equations.

### Solutions of a System of Equations

**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*).

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.

Let’s consider the system below:

Is the ordered pair $(2,\mathrm{-1})$ a solution?

The ordered pair (2, −1) made both equations true. Therefore (2, −1) is a solution to this system.

Let’s try another ordered pair. Is the ordered pair (3, 2) a solution?

The ordered pair (3, 2) made one equation true, but it made the other equation false. Since it is not a solution to **both** equations, it is not a solution to this system.

### Example 5.1

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

ⓐ $(\mathrm{-2},\mathrm{-1})$ ⓑ $(\mathrm{-4},\mathrm{-3})$

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

ⓐ $(1,\mathrm{-3})$ ⓑ $(0,0)$

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

ⓐ $(2,\mathrm{-2})$ ⓑ $(\mathrm{-2},2)$

### Solve a System of Linear Equations by Graphing

In this chapter 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 in Figure 5.2:

For the first example of solving a system of linear equations in this section and in the next two sections, we will solve the same system of two linear equations. But we’ll use a different method in each section. After seeing the third method, you’ll decide which method was the most convenient way to solve this system.

### Example 5.2

#### How to Solve a System of Linear Equations by Graphing

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

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

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

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

### How To

#### 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. Check to make sure it is a solution to both equations. 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.

### Example 5.3

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

Solve each system by graphing: $\{\begin{array}{c}y=2x+2\hfill \\ y=\text{\u2212}x-4\hfill \end{array}.$

Solve each system by graphing: $\{\begin{array}{c}y=3x+3\hfill \\ y=\text{\u2212}x+7\hfill \end{array}.$

Both equations in Example 5.3 were given in slope–intercept form. This made it easy for us to quickly graph the lines. In the next example, we’ll first re-write the equations into slope–intercept form.

### Example 5.4

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

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

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

Usually when equations are given in standard form, the most convenient way to graph them is by using the intercepts. We’ll do this in Example 5.5.

### Example 5.5

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

Solve each system by graphing: $\{\begin{array}{c}x+y=6\hfill \\ x-y=2\hfill \end{array}.$

Solve each system by graphing: $\{\begin{array}{c}x+y=2\hfill \\ x-y=\mathrm{-8}\hfill \end{array}.$

Do you remember how to graph a linear equation with just one variable? It will be either a vertical or a horizontal line.

### Example 5.6

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

Solve each system by graphing: $\{\begin{array}{c}y=\mathrm{-1}\hfill \\ x+3y=6\hfill \end{array}.$

Solve each system by graphing: $\{\begin{array}{c}x=4\hfill \\ 3x-2y=24\hfill \end{array}.$

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.

### Example 5.7

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

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

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

### Example 5.8

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

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

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

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

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.

### Determine the Number of Solutions of a Linear System

There will be times when we will want to know how many solutions there will be to a system of linear equations, but we might not actually have to find the solution. It will be helpful to determine this without graphing.

We have seen that two lines in the same plane must either intersect or are parallel. The systems of equations in Example 5.2 through Example 5.6 all had two intersecting lines. Each system had one solution.

A system with parallel lines, like Example 5.7, has no solution. What happened in Example 5.8? The equations have coincident lines, and so the system had infinitely many solutions.

We’ll organize these results in Figure 5.3 below:

Parallel lines have the same slope but different *y*-intercepts. So, if we write both equations in a system of linear equations in slope–intercept form, we can see how many solutions there will be without graphing! Look at the system we solved in Example 5.7.

The two lines have the same slope but different *y*-intercepts. They are parallel lines.

Figure 5.4 shows how to determine the number of solutions of a linear system by looking at the slopes and intercepts.

Let’s take one more look at our equations in Example 5.7 that gave us parallel lines.

When both lines were in slope-intercept form we had:

Do you recognize that it is impossible to have a single ordered pair $\left(x,y\right)$ that is a solution to both of those equations?

We call a system of equations like this an inconsistent system. It has no solution.

A system of equations that has at least one solution is called a consistent system.

### 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 equations, 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.

### Independent and Dependent Equations

Two equations are independent if they have different solutions.

Two equations are dependent if all the solutions of one equation are also solutions of the other equation.

Let’s sum this up by looking at the graphs of the three types of systems. See Figure 5.5 and Figure 5.6.

### Example 5.9

Without graphing, determine the number of solutions and then classify the system of equations: $\{\begin{array}{c}y=3x-1\hfill \\ 6x-2y=12\hfill \end{array}.$

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

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

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

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

### Example 5.10

Without graphing, determine the number of solutions and then classify the system of equations: $\{\begin{array}{c}2x+y=-3\hfill \\ x-5y=5\hfill \end{array}.$

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

$\{\begin{array}{c}3x+2y=2\hfill \\ 2x+y=1\hfill \end{array}$

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

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

### Example 5.11

Without graphing, determine the number of solutions and then classify the system of equations. $\{\begin{array}{c}3x-2y=4\hfill \\ y=\frac{3}{2}x-2\hfill \end{array}$

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

$\{\begin{array}{c}4x-5y=20\hfill \\ y=\frac{4}{5}x-4\hfill \end{array}$

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

$\{\begin{array}{c}\mathrm{-2}x-4y=8\hfill \\ y=-\frac{1}{2}x-2\hfill \end{array}$

### Solve Applications of Systems of Equations by Graphing

We will use the same problem solving strategy we used in Math Models to set up and solve applications of systems of linear equations. We’ll modify the strategy slightly here to make it appropriate for systems of equations.

### How To

#### Use a problem solving strategy for systems of linear equations.

- 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.

Step 5 is where we will use the method introduced in this section. We will graph the equations and find the solution.

### Example 5.12

Sondra is making 10 quarts of punch from fruit juice and club soda. The number of quarts of fruit juice is 4 times the number of quarts of club soda. How many quarts of fruit juice and how many quarts of club soda does Sondra need?

Manny is making 12 quarts of orange juice from concentrate and water. The number of quarts of water is 3 times the number of quarts of concentrate. How many quarts of concentrate and how many quarts of water does Manny need?

Alisha is making an 18 ounce coffee beverage that is made from brewed coffee and milk. The number of ounces of brewed coffee is 5 times greater than the number of ounces of milk. How many ounces of coffee and how many ounces of milk does Alisha need?

### Media Access Additional Online Resources

Access these online resources for additional instruction and practice with solving systems of equations by graphing.

### Section 5.1 Exercises

#### 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.

$\{\begin{array}{c}7x-4y=\mathrm{-1}\hfill \\ \mathrm{-3}x-2y=1\hfill \end{array}$

ⓐ $(1,2)$ ⓑ $(1,\mathrm{-2})$

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

ⓐ $(\mathrm{-5},\mathrm{-7})$ ⓑ $(\mathrm{-5},7)$

$\{\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)$

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

ⓐ $\left(\frac{5}{7},\frac{2}{7}\right)$ ⓑ $\left(5,2\right)$

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

ⓐ $\left(\mathrm{-10},4\right)$ ⓑ $\left(\frac{5}{4},\frac{7}{4}\right)$

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

ⓐ $\left(\mathrm{-6},5\right)$ ⓑ $\left(5,\frac{4}{3}\right)$

**Solve a System of Linear Equations by Graphing** In the following exercises, solve the following systems of equations by graphing.

$\{\begin{array}{c}\text{\u2212}x+y=2\hfill \\ 2x+y=\mathrm{-4}\hfill \end{array}$

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

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

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

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

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

$\{\begin{array}{c}x-y=2\hfill \\ 2x-y=6\hfill \end{array}$

$\{\begin{array}{c}x+y=6\hfill \\ x-y=\mathrm{-8}\hfill \end{array}$

$\{\begin{array}{c}x+y=4\hfill \\ x-y=0\hfill \end{array}$

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

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

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

$\{\begin{array}{c}2x-2y=8\hfill \\ y=\mathrm{-3}\hfill \end{array}$

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

$\{\begin{array}{c}x+y=4\hfill \\ x=1\hfill \end{array}$

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

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

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

$\{\begin{array}{c}5x+2y=7\hfill \\ \mathrm{-10}x-4y=\mathrm{-14}\hfill \end{array}$

$\{\begin{array}{c}\text{\u2212}x+2y=\mathrm{-6}\hfill \\ y=-\frac{1}{2}x-1\hfill \end{array}$

$\{\begin{array}{c}-x+2y=\mathrm{-2}\hfill \\ y=\text{\u2212}x-1\hfill \end{array}$

**Determine the Number of Solutions of a Linear System** Without graphing the following systems of equations, determine the number of solutions and then classify the system of equations.

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

$\{\begin{array}{c}y=3x+4\hfill \\ 9x-3y=18\hfill \end{array}$

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

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

$\{\begin{array}{c}y=x+1\hfill \\ \text{\u2212}x+y=1\hfill \end{array}$

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

**Solve Applications of Systems of Equations by Graphing** In the following exercises, solve.

Molly is making strawberry infused water. For each ounce of strawberry juice, she uses three times as many ounces of water. How many ounces of strawberry juice and how many ounces of water does she need to make 64 ounces of strawberry infused water?

Jamal is making a snack mix that contains only pretzels and nuts. For every ounce of nuts, he will use 2 ounces of pretzels. How many ounces of pretzels and how many ounces of nuts does he need to make 45 ounces of snack mix?

Enrique is making a party mix that contains raisins and nuts. For each ounce of nuts, he uses twice the amount of raisins. How many ounces of nuts and how many ounces of raisins does he need to make 24 ounces of party mix?

Owen is making lemonade from concentrate. The number of quarts of water he needs is 4 times the number of quarts of concentrate. How many quarts of water and how many quarts of concentrate does Owen need to make 100 quarts of lemonade?

#### Everyday Math

Leo is planning his spring flower garden. He wants to plant tulip and daffodil bulbs. He will plant 6 times as many daffodil bulbs as tulip bulbs. If he wants to plant 350 bulbs, how many tulip bulbs and how many daffodil bulbs should he plant?

A marketing company surveys 1,200 people. They surveyed twice as many females as males. How many males and females did they survey?

#### Writing Exercises

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

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

#### Self Check

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

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. Whom 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.