topic badge

5.02 Graph systems of equations

Introduction

We often solve equations that involve only one variable. For example, we can rearrange the equation x + 2 = 5 to find the solution, x=3.

What happens when we have more than one variable in our equation?

Graphical solutions

If we have two equations with the same two variables in them (x \text{ and } y), then we call them a system of equations. They are also commonly referred to as simultaneous equations.

We might want to find a common pair of x and y values that satisfy both of these equations simultaneously. If we can find any values of x and y that successfully do this, then we will have found a unique solution to our system.

One way to find a solution common to each equation is to graph them and identify the point of intersection (where the two graphs cross). This point will be a solution to both equations and therefore solve our system of equations.

-2
-1
1
2
3
4
5
x
-1
1
2
3
4
y

With this in mind, how many solutions should be possible for a system of linear equations?

  • One solution: If the lines representing the two equations are not parallel, then there should be exactly one point of intersection between them (as pictured below). Why do you think this would be true?

    -2
    -1
    1
    2
    3
    4
    5
    6
    7
    8
    9
    x
    -4
    -3
    -2
    -1
    1
    2
    3
    4
    5
    6
    7
    8
    9
    y

    An example is the system of equations:

    y = \dfrac{x}{2} - 2 \\ y = -x + 7 which has a graph of two intersecting lines and the point where the two lines intersect is the only solution.

  • No solution: If the lines are parallel and distinct, then there will not be any points of intersection between them. This means no corresponding x and y values satisfy both equations simultaneously.

    -14
    -12
    -10
    -8
    -6
    -4
    -2
    2
    4
    6
    8
    x
    -4
    -2
    2
    4
    6
    8
    y

    Example is the graph of the system of equations:

    y = \dfrac{x}{2} - 2

    y = \dfrac{x}{2} + 7 in which the lines are parallel.

  • Infinitely many solutions: The final case is when two different equations have the same graphical representation. For example, if the graphs of x + y = 5 and 2x + 2y = 10 were placed on the same set of axes, we would end up with two lines lying perfectly on top of one another. So every point on the line is a point of intersection, meaning there are infinitely many solutions to this system of equations.

    -14
    -12
    -10
    -8
    -6
    -4
    -2
    2
    4
    6
    8
    x
    -4
    -2
    2
    4
    6
    8
    y

    Another example is the graph of the system of equations y = \dfrac{x}{2} - 2 \text{ and } y = \dfrac{x}{2} + 7 whose the lines are coinciding.

Let's also remember that to find the slope of a linear equation all we have to do is put it in slope-intercept form y = mx + b and m will be our slope. This means that for example, the system of linear equations y = 3x - 1 \text{ and } y = 3x - 6 will never have a solution since they both have a slope of 3.

Examples

Example 1

The following graph displays a system of two equations.

-10
-8
-6
-4
-2
2
4
6
8
10
x
-10
-8
-6
-4
-2
2
4
6
8
10
y
a

How many solutions does this system of equations have?

Worked Solution
Create a strategy

Look at the graph of the system and see number of points of intersection of the lines.

Apply the idea

On the graph we can see that there is only one point of intersection of the two lines, so the system of equations has one solution.

b

Write down the solution to the system of equations as an ordered pair (x, y).

Worked Solution
Create a strategy

Use the graph to determine the coordinates of the point of intersection.

Apply the idea

The solution to the system of equations is (-4, -2),

Example 2

Consider the following linear equations:

y = 5x - 7 and y = -x +5

a

Plot the lines of the two equations on the same graph.

Worked Solution
Create a strategy

Determine the slope, m and the y-intercept, b, of each equation to graph each linear equation.

Apply the idea
-5
-4
-3
-2
-1
1
2
3
4
5
x
-8
-7
-6
-5
-4
-3
-2
-1
1
2
3
y

The equation, y = 5x - 7, has m = 5 and b = -7.

Plot the y-intercept on the graph at (0, -7).

From the y-intercept (0, -7) use the slope to plot the next point. The slope is 5, so we will rise 5 and run 1 to the right.

Draw a line through the two points. This line represents the equation y = 5x - 7.

-5
-4
-3
-2
-1
1
2
3
4
5
x
-4
-3
-2
-1
1
2
3
4
5
6
y

For the equation y = -x +5, y-intercept is 5 and the slope is -1. The slope is negative, so the line will go down to the right.

We plot the second point by starting at the y-intercept and going down 1 unit, then over 1 unit to the right. Connect the points with a straight line to finish the graph.

b

State the values of x and y which satisfy both equations.

Worked Solution
Create a strategy

Identify the coordinates of the point of intersection of the lines.

Apply the idea

The point of intersection is (2, 3) from the graph in part (a).

The values which satisfy both equations are x = 2 \text{ and } y= 3.

Example 3

The following graph displays a system of two equations.

-4
-3
-2
-1
1
2
3
4
x
-4
-3
-2
-1
1
2
3
4
y

How many solutions does this system of equations have?

Worked Solution
Create a strategy

Look at the graph of the system and see number of points of intersection of the lines.

Apply the idea

Looking at the graph presented, there is no point of intersection. There is no one point that is a solution to both of the equations.

So the system of equations has no solutions.

Idea summary

Number of solutions to a system of equations:

One solution: If the lines representing the two equations are not parallel, then there should be exactly one point of intersection between them.

No solution: If the lines are parallel and distinct, then there will not be any points of intersection between them. This means no corresponding x and y values satisfy both equations simultaneously.

Infinitely many solutions: When two different equations have the same graphical representation where the two lines lie perfectly on top of one another. So every point on the line is a point of intersection, meaning there is infinitely many solutions to this system of equations.

Outcomes

8.EE.C.8

Analyze and solve pairs of simultaneous linear equations.

8.EE.C.8.A

Understand that solutions to a system of two linear equations in two variables correspond to points of intersection of their graphs, because points of intersection satisfy both equations simultaneously.

What is Mathspace

About Mathspace