Graphing Systems of Linear Equations

 

Learning Objective(s)

·         Solve a system of linear equations by graphing.

·         Determine whether a system of linear equations is consistent or inconsistent.

·         Determine whether a system of linear equations is dependent or independent.

·         Determine whether an ordered pair is a solution of a system of equations.

·         Solve application problems by graphing a system of equations.

 

Introduction

 

Recall that a linear equation graphs as a line, which indicates that all of the points on the line are solutions to that linear equation. There are an infinite number of solutions. If you have a system of linear equations, the solution for the system is the value that makes all of the equations true. For two variables and two equations, this is the point where the two graphs intersect. The coordinates of this point will be the solution for the two variables in the two equations.

 

Systems of Equations

 

The solution for a system of equations is the value or values that are true for all equations in the system. The graphs of equations within a system can tell you how many solutions exist for that system. Look at the images below. Each shows two lines that make up a system of equations.

 

One Solution

No Solutions

Infinite Solutions

If the graphs of the equations intersect, then there is one solution that is true for both equations.

 

If the graphs of the equations do not intersect (for example, if they are parallel), then there are no solutions that are true for both equations.

If the graphs of the equations are the same, then there are an infinite number of solutions that are true for both equations.

 

When the lines intersect, the point of intersection is the only point that the two graphs have in common. So the coordinates of that point are the solution for the two variables used in the equations. When the lines are parallel, there are no solutions, and sometimes the two equations will graph as the same line, in which case we have an infinite number of solutions.

 

Some special terms are sometimes used to describe these kinds of systems.

 

The following terms refer to how many solutions the system has.

 

o        When a system has one solution (the graphs of the equations intersect once), the system is a consistent system of linear equations and the equations are independent.

o        When a system has no solution (the graphs of the equations don’t intersect at all), the system is an inconsistent system of linear equations and the equations are independent.

o        If the lines are the same (the graphs intersect at all points), the system is a consistent system of linear equations and the equations are dependent. That is, any solution of one equation must also be a solution of the other, so the equations depend on each other.

 

The following terms refer to whether the system has any solutions at all.

 

o        The system is a consistent system of linear equations when it has solutions.

o        The system is an inconsistent system of linear equations when it has no solutions.

 

We can summarize this as follows:

o        A system with one or more solutions is consistent.

o        A system with no solutions is inconsistent.

o        If the lines are different, the equations are independent linear equations.

o       If the lines are the same, the equations are dependent linear equations.

 

 

Example

Problem

Using the graph of y = x and x + 2y = 6, shown below, determine how many solutions the system has. Then classify the system as consistent or inconsistent and the equations as dependent or independent.

 

 

 

The lines intersect at one point. So the two lines have only one point in common, there is only one solution to the system.

 

Because the lines are not the same the equations are independent.

 

Because there is just one solution, this system is consistent.

 

Answer

The system is consistent and the equations are independent.

 

 

Advanced Example

Problem

Using the graph of y = 3.5x + 0.25 and 14x – 4y = -4.5, shown below, determine how many solutions the system has. Then classify the system as consistent or inconsistent and the equations as dependent or independent.

 

The lines are parallel, meaning they do not intersect. There are no solutions to the system.

 

The lines are not the same, the equations are independent.

 

There are no solutions. Therefore, this system is inconsistent.

 

Answer

The system is inconsistent and the equations are independent.

 

 

Advanced Question

Which of the following represents dependent equations and consistent systems?

 

A)

 

B)

 

C)

 

D)

 

Show/Hide Answer

A)

Incorrect. The two lines in this system have the same slope, but different values for b. This means the lines are parallel. The lines don’t intersect, so there are no solutions and the system is inconsistent. Because the lines are not the same the equations are independent. The correct answer is C.

 

B)

Incorrect. The two lines in this system have different slopes and different values for b. This means the lines intersect at one point. Since there is a solution, this system is consistent. And because the lines are not the same, the equations are independent. The correct answer is C.

 

C)

Correct. The two lines in this system are the same;  can be rewritten as . Since there are many solutions, this system is consistent. The lines are identical so the equations are dependent.

 

D)

Incorrect. The two lines in this system have different slopes and the same value for b. This means the lines intersect at one point—the y-intercept. Recall that intersecting lines have one solution and therefore the system is consistent. Because the lines are not the same the equations are independent. The correct answer is C.

 

 

Verifying a Solution

 

From the graph above, you can see that there is one solution to the system y = x and x + 2y = 6. The solution appears to be (2, 2). However, you must verify an answer that you read from a graph to be sure that it’s not really (2.001, 2.001) or (1.9943, 1.9943).

 

One way of verifying that the point does exist on both lines is to substitute the x- and y-values of the ordered pair into the equation of each line. If the substitution results in a true statement, then you have the correct solution!

 

 

Example

Problem

Is (2, 2) a solution of the system y = x and x + 2y = 6?

 

y = x

2 = 2

 

 

 

TRUE

 

(2, 2) is a solution of y = x.

x + 2y = 6

2 + 2(2) = 6

2 + 4 = 6

6 = 6

 

TRUE

 

(2, 2) is a solution of x + 2y = 6.

Since the solution of the system must be a solution to all the equations in the system, check the point in each equation. Substitute 2 for x and 2 for y in each equation.

Answer

(2, 2) is a solution to the system.

Since (2, 2) is a solution of each of the equations in the system, (2, 2) is a solution of the system.

 

 

Example

Problem

Is (3, 9) a solution of the system y = 3x and 2xy = 6?

 

y = 3x

9 = 3(3)

 

 

 

TRUE

 

(3, 9) is a solution of y = 3x.

2xy = 6

2(3) – 9 = 6

6 – 9 = 6

-3 = 6

 

FALSE

 

(3, 9) is not a solution of 2xy = 6.

Since the solution of the system must be a solution to all the equations in the system, check the point in each equation. Substitute 3 for x and 9 for y in each equation.

 

Answer

(3, 9) is not a solution to the system.

Since (3, 9) is not a solution of one of the equations in the system, it cannot be a solution of the system.

 

 

Example

Problem

Is (−2, 4) a solution of the system y = 2x and 3x + 2y = 1?

 

y = 2x

4 = 2(2)

4 = 4

 

 

FALSE

 

(2, 4) is not a solution of y = 2x.

3x + 2y = 1

3(2) + 2(4) = 1

6 + 8 = 1

2 = 1

 

FALSE

 

(2, 4) is not a solution of 3x + 2y = 1.

Since the solution of the system must be a solution to all the equations in the system, check the point in each equation. Substitute −2 for x and 4 for y in each equation.

 

Answer

(−2, 4) is not a solution to the system.

Since (2, 4) is not a solution to either of the equations in the system, (2, 4) is not a solution of the system.

 

 

Remember, that in order to be a solution to the system of equations, the value of the point must be a solution for both equations. Once you find one equation for which the point is false, you have determined that it is not a solution for the system.

 

 

Which of the following statements is true for the system 2xy = −3 and y = 4x – 1?

 

A) (2, 7) is a solution of one equation but not the other, so it is a solution of the system

 

B) (2, 7) is a solution of one equation but not the other, so it is not a solution of the system

 

C) (2, 7) is a solution of both equations, so it is a solution of the system

 

D) (2, 7) is not a solution of either equation, so it is not a solution to the system

 

Show/Hide Answer

A) (2, 7) is a solution of one equation but not the other, so it is a solution of the system

Incorrect. If the point were a solution of one equation but not the other, then it is not a solution of the system. In fact, the point (2, 7) is a solution of both equations, so it is a solution of the system. The two lines are not identical, so it is the only solution.

 

B) (2, 7) is a solution of one equation but not the other, so it is not a solution of the system

Incorrect. The point (2, 7) is a solution of both equations, so it is a solution of the system. The two lines are not identical, so it is the only solution.

 

C) (2, 7) is a solution of both equations, so it is a solution of the system

Correct. Substituting 2 for x and 7 for y gives true statements in both equations, so the point is a solution to both equations. That means it is a solution to the system. The two lines are not identical, so it is the only solution.

 

D) (2, 7) is not a solution of either equation, so it is not a solution to the system

Incorrect. Substituting 2 for x and 7 for y gives true statements in both equations, so the point lies on both lines. This means it is a solution to both equations. It is also the only solution to the system.

 

 

 

Graphing as a Solution Method

 

You can solve a system graphically. However, it is important to remember that you must check the solution, as it might not be accurate.

 

 

Example

Problem

Find all solutions to the system yx = 1 and y + x = 3.

 

First, graph both equations on the same axes.

 

The two lines intersect once. That means there is only one solution to the system.

 

 

The point of intersection appears to be (1, 2).

Read the point from the graph as accurately as possible.

 

y x = 1

2 – 1 = 1

1 = 1

 

TRUE

 

(1, 2) is a solution of y – x = 1.

y + x = 3

2 + 1 = 3

3 = 3

 

TRUE

 

(1, 2) is a solution of y + x = 3.

Check the values in both equations. Substitute 1 for x and 2 for y. (1, 2) is a solution.

Answer

(1, 2) is the solution to the system y – x = 1 and

y + x = 3.

Since (1, 2) is a solution for each of the equations in the system, it is the solution for the system.

 

 

Example

Problem

How many solutions does the system y = 2x + 1

and −4x + 2y = 2 have?

 

 

 

 

 

 

First, graph both equations on the same axes.

 

The two equations graph as the same line. So every point on that line is a solution for the system of equations.

 

Answer

The system y = 2x + 1 and −4x + 2y = 2 has an infinite number of solutions.

 

 

Which point is the solution to the system x y = −1 and 2x y = 4? The system is graphed correctly below.

 

 

A) (1, 2)

 

B) (4, 3)

 

C) (3, 2)

 

D) (1, 1)

 

Show/Hide Answer

A) (1, 2)

Incorrect. Substituting (1, 2) into each equation, you find that it is a solution for 2xy = 4, but not for xy = 1. This means it cannot be a solution for the system. The correct answer is (3, 2).

 

B) (4, 3)

Incorrect. Substituting (4, 3) into each equation, you find that it is a solution for xy = 1, but not for 2xy = 4. This means it cannot be a solution for the system. The correct answer is (3, 2).

 

C) (3, 2)

Correct. Substituting (3, 2) into each equation shows this point is a solution for both equations, so it is the solution for the system.

 

D) (1, 1)

Incorrect. Substituting (1, 1) into each equation, you find that it is neither a solution for 2xy = 4, nor for xy = 1. This means it cannot be a solution for the system. The correct answer is (3, 2).

 

 

 

Graphing a Real-World Context

 

Graphing a system of equations for a real-world context can be valuable in visualizing the problem. Let’s look at a couple of examples.

 

 

Example

Problem

In yesterday’s basketball game, Cheryl scored 17 points with a combination of 2-point and 3-point baskets. The number of 2-point shots she made was one greater than the number of 3-point shots she made. How many of each type of basket did she score?

 

x = the number of 2-point shots made

y = the number of 3-point shots made

 

 

Assign variables to the two unknowns – the number of each type of shots.

 

2x = the points from 2-point baskets

3y = the points from 3-point baskets

 

 

 

Calculate how many points are made from each of the two types of shots.

 

The number of points Cheryl scored (17) =

the points from 2-point baskets + the points from 3-point baskets.

 

17 = 2x + 3y

Write an equation using information given in the problem.

 

The number of 2-point baskets (x) = 1 + the number of 3-point baskets (y)

 

x = 1 +  y

Write a second equation using additional information given in the problem.

 

17 = 2x + 3y

x  = 1 + y

Now you have a system of two equations with two variables.

 

 

 

 

Graph both equations on the same axes.

 

The two lines intersect, so they have only one point in common. That means there is only one solution to the system.

 

 

The point of intersection appears to be (4, 3).

Read the point of intersection from the graph.

 

17 = 2x+ 3y

17 = 2(4) + 3(3)

17 = 8 + 9

17 = 17

 

TRUE

 

(4, 3) is a solution of

17 = 2x + 3y.

x = 1 + y

4 = 1 + 3

4 = 4

 

 

TRUE

 

(4, 3) is a solution of

x = 1 + y

Check (4, 3) in each equation to see if it is a solution to the system of equations.

 

 

(4, 3) is a solution to the equation.

 

x = 4 and y = 3

Answer

Cheryl made 4 two-point baskets and 3 three-point baskets.

 

 

Example

Problem

Andres was trying to decide which of two mobile phone plans he should buy. One plan, TalkALot, charged a flat fee of $15 per month for unlimited minutes. Another plan, FriendFone, charged a monthly fee of $5 in addition to charging 20¢ per minute for calls.

 

To examine the difference in plans, he made a graph:

 

 

If he plans to talk on the phone for about 70 minutes per month, which plan should he purchase?

 

 

Look at the graph. TalkALot is represented as y = 15, while FriendFone is represented as

y = 0.2x + 5.

 

The number of minutes is listed on the x-axis. When x = 70, TalkALot costs $15, while FriendFone costs about $19.

Answer

Andres should buy theTalkALot plan.

Since TalkALot costs less at 70 minutes, Andres should buy that plan.

 

 

Note that if the estimate had been incorrect, a new estimate could have been made. Regraphing to zoom in on the area where the lines cross would help make a better estimate.

 

 

Paco and Lisel spent $30 going to the movies last night. Paco spent $8 more than Lisel.

 

If P = the amount that Paco spent, and L = the amount that Lisel spent, which system of equations can you use to figure out how much each of them spent?

 

A)

P + L = 30

P + 8 = L

 

B)

P + L = 30

P = L + 8

 

C)

P + 30 = L

P − 8 = L

 

D)

L + 30 = P

L − 8 = P

 

Show/Hide Answer

A)

P + L = 30

P + 8 = L

Incorrect. P + 8 = L reads: “Lisel spent $8 more than Paco.” The correct system is:

 

P + L = 30

P = L + 8

 

B)

P + L = 30

P = L + 8

Correct. The total amount spent (P + L) is 30, so one equation should be P + L = 30. Paco spent 8 dollars more than Lisel, so L + 8 will give you the amount that Paco spent. This can be rewritten P = L + 8.

 

C)

P + 30 = L

P − 8 = L

Incorrect. P + 30 = L reads: “Lisel spent $30 more than Paco.” The correct system is:

 

P + L = 30

P = L + 8

 

D)

L + 30 = P

L − 8 = P

Incorrect. L + 30 = P reads: “Paco spent $30 more than Lisel.” The correct system is:

 

P + L = 30

P = L + 8

 

 

Summary

 

A system of linear equations is two or more linear equations that have the same variables. You can graph the equations as a system to find out whether the system has no solutions (represented by parallel lines), one solution (represented by intersecting lines), or an infinite number of solutions (represented by two superimposed lines). While graphing systems of equations is a useful technique, relying on graphs to identify a specific point of intersection is not always an accurate way to find a precise solution for a system of equations.