In this explainer, we will learn how to solve a system of two linear equations by considering their graphs and identifying the point of intersection.

When we are asked to solve a system of equations, this means we are looking for a set of values for the variables that satisfy every equation. To see how we may solve a system of equations graphically, letβs consider the following example:

We first notice that these equations are actually linear functions. Since there are two equations, we call this a system of two linear equations.

We want to find the - and -values that satisfy both equations. Letβs say that and is a solution to both equations. We can then determine potential values for and graphically. We note that since , we know that the point lies on the graph of the first equation. Similarly, since , the point lies on the graph of the second equation. Therefore, lies on both graphs, so it is a point of intersection between the graphs.

We can sketch the graphs of these equations by noticing that both equations represent straight lines in the coordinate plane. In fact, they are given in slopeβintercept form. We sketch the first line with a -intercept of 1 and slope 1 and the second line with a -intercept of 4 and a slope of . This gives us the following.

We can read the coordinates of the point of intersection as . It is worth noting at this point we have reasoned that if is a solution to the system of equations, then it is a point of intersection between the graphs. However, we also want to check that all points of intersection are solutions. We can do this by noting if is a point of intersection, then lies on the graph of each equation and hence must satisfy every equation; otherwise, it will not lie on its graph. Therefore, every point of intersection (if it exists) is a solution to the system of equations.

We can use this to conclude that since this is the only point of intersection, , is the only solution to this system of equations.

We can also note that if there is no point of intersection between all of the graphs of the equations, then there are no values for the variables that satisfy all of the equations. This then gives us the following result.

### Theorem: Solving a System of Equations Graphically

Every solution to a system of equations is a point of intersection of all of their graphs.

Every point of intersection on all of the graphs of the equations will be a solution to the system of equations.

If there are no points of intersection between all the graphs, then there are no solutions to the system of equations.

If we are working with a system of two linear equations, then we know that both equations can be graphed to give straight lines. We can then recall that there are three possibilities for the intersection of two straight lines in the plane.

- The lines intersect at exactly one point.
- The lines are distinct and parallel, so there are no points of intersection.
- The lines are coincident, so the lines intersect at every point on the lines.

Since the points of intersection are the solutions to the system of equations, these three possibilities tell us the number of solutions to these systems of equations. There are three possibilities for the number of solutions to a system of two linear equations; there are either , or an infinite number of solutions, depending on the lines. It is worth noting this also holds for more than two lines. We give each of these three scenarios a name.

### Definition: Number of Solutions to a System of Linear Equations

If a system of linear equations has one solution, then there is a single point of intersection between the lines and we call this an **independent** system of linear equations.

If a system of linear equations has an infinite number of solutions, then all of the lines are coincident and we call this a **dependent** system of linear equations.

In both of the cases, we have at least one solution to the system, so we call these **consistent** systems of equations.

If a system of linear equations has no solutions, then there are no points of intersection between the lines and we call this an **inconsistent** system of equations.

Letβs use the graphical method to solve the following system of two linear equations:

We first note that the second equation is not given in slopeβintercept form, so we start by rearranging the equation into this form by subtracting from both sides of the equation to get

Next, we sketch both lines on the same graph. The first line has a -intercept of 3 and a slope of 4, and the second line has a -intercept of 1 and a slope of , giving us the following sketch.

We can see from the graph there is one point of intersection and so there is a unique solution to the system of equations. However, we cannot determine the exact coordinates of this point of intersection. Instead, we can note that the -coordinate of the point of intersection lies between the lines and and the -coordinate of the point of intersection lies between the lines and .

So, although we could not use the graphical method to determine the exact solution to this system of equations, we could determine that there was a unique solution and that the solution would satisfy the inequalities and .

This then completes the process for solving a system of linear equations graphically, and we can write the steps as follows.

### How To: Solving a System of Linear Equations Graphically

- If we are not given the graphs of the linear equations, we should sketch the graphs of each line on the same coordinate axes. To do this, we may need to rearrange each equation into slopeβintercept form.
- Any point where all of the lines intersect is a solution to the system of equations. In particular, if there is no such point, then there are no solutions to the system, and if the lines are coincident, then there will be an infinite number of solutions.
- If possible, read off the coordinates of the point of intersection to find the exact values of the solution. However, if this is not possible, use the minor grid lines to find a range in which the solutions will lie.

Letβs now see how we can apply this process to determine the solutions to a system of linear equations graphically.

### Example 1: Solving a System of Two Linear Equations Using the Given Graph

Use the graph to solve the simultaneous equations

### Answer

We recall that the solution to a system of equations is given by the coordinates of the point of intersection between the graphs of all of the equations. This means the coordinates of the point of intersection between the two lines tells us the solution to the simultaneous equations.

We see that the -coordinate of this point is 1 and the -coordinate is 2. This tells us that and is a solution to the simultaneous equations, and we could verify this by substituting these values into the equations.

If we substitute into the first equation, we get which agrees with our solution. Similarly, if we substitute into the second equation, we get which also agrees with our solution. Since both equations hold true, this verifies the solution.

Since this is the only point of intersection, it is the only solution to the simultaneous equations.

Therefore, the only solution is and .

In our next example, we will demonstrate how to give the solutions to a system of equations using set notation.

### Example 2: Solving a System of Two Linear Equations Using Their Graph

Find the solution set of the two equations represented by and .

### Answer

We recall that the solution to a system of equations is given by the coordinates of the point of intersection between the graphs of all of the equations. This means the coordinates of the point of intersection between the two lines gives us the solution to this system of equations.

Since there is only one point of intersection, we can conclude there is only one solution and in turn, this means the solution set will only have one member. We can determine this unique solution by finding the coordinates of the point of intersection from the graph.

We see that the coordinates of this point are , which means that the pair of values and is the only solution to this system of equations. To write this as a solution set, we recall that we can represent solutions as an ordered pair, which is the same as its coordinates.

Therefore, the solution set of the two equations represented by and is .

In our previous two examples, we were given the graphs of the linear equations. However, this will not always be the case. Letβs now see some examples where we solve a system of linear equations by first sketching the graphs of each equation.

### Example 3: Solving a System of Two Linear Equations by Plotting a Graph

By plotting the graphs of and , find the point that satisfies both equations simultaneously.

### Answer

We recall that if satisfies both equations simultaneously, then the point must lie on the graphs of both equations. Hence, it will be a point of intersection between both graphs. Similarly, if is a point of intersection between both graphs, then it satisfies both equations and so is a solution to the system of equations. Therefore, we can find the solutions to this system by finding the coordinates of the points of intersection. We will do this by sketching both graphs.

There are many different ways of sketching the graph of a straight line. For example, to sketch the line , we recall that this line will have -intercept and -intercept , provided and its slope is . Connecting these points with a line allows us to sketch the line.

We can apply this to each line. First, the line will have a -intercept of and an -intercept of . Second, the line will have a -intercept of 7 and an -intercept of .

Since this is not an integer, we can find a different point by substitution. We substitute into the equation to get

This gives us the following.

We can see that the lines intersect to the left of the point . Letβs try . Substituting into the equation of the first line gives

Substituting into the equation of the second line gives

We note both equations give . Hence, and satisfies both equations and we can say that the point that satisfies both equations is .

### Example 4: Solving a System of Two Linear Equations by Plotting a Graph

Plot the graphs of the simultaneous equations and then solve the system.

### Answer

We recall that the points of intersection of the graphs of both equations will tell us the solutions to the system of equations. This means we can solve the system by sketching both equations, since these are linear equations given in slopeβintercept form, there are many ways of doing this.

For example, to sketch the line , we recall that this line will have -intercept and -intercept , provided and its slope is . Connecting these points with a line allows us to sketch the line.

For the first line, we have that the -intercept is at 7 and the -intercept is . Since this is not an integer, we can find another point on the line. We substitute into the equation to get

For the second line, we have that the -intercept is at and the -intercept is at . Connecting the intercepts of each line gives us the following sketch.

We can see that these lines are parallel; this means that there are no points of intersection, so the system has no solutions.

In fact, we could have saved ourselves the effort of drawing the graphs; if we look at the equations of the two lines, we will see they are given in slopeβintercept form. We know that the coefficient of tells us the slope of the line and we can see in both cases this is 2. Similarly, we can see that both lines have distinct -intercepts from their equations. This tells us that these lines are parallel (they have the same slope) and they are distinct (they pass through different -intercepts). Hence, the lines do not intersect and the system has no solutions.

Using either method, we have shown that there are no solutions as both equations represent parallel lines.

In the next example, we will demonstrate how to solve a system of linear equations when they are not given in slopeβintercept form.

### Example 5: Solving a System of Two Linear Equations by Plotting a Graph

By plotting the graphs of and , determine the - and -coordinates of the point that satisfies both equations simultaneously.

### Answer

We recall that the solution to a system of equations is given by the coordinates of the point of intersection between the graphs of all of the equations. This means the coordinates of the point of intersection between the two lines tell us the solution to the simultaneous equations. Therefore, we can solve this system by plotting each equation on the same graph and determining the coordinates of the points of intersection.

We will plot both graphs by finding their respective - and -intercepts. We substitute into the equation of the first line and solve to get

Since this is not an integer, we will use a different point. We substitute into the equation to get

We then rearrange to get

We substitute into the equation of the first line and solve to get

We substitute into the equation of the second line and solve to get

Since this is not an integer, we will use a different point. We substitute into the equation to get

We then rearrange to get

We substitute into the equation of the second line and solve to get

So, the - and -intercepts of both lines are the same; hence, the lines are coincident. We can sketch the lines as follows.

Every point on the line satisfies both equations, so each point is a solution to the system of equations.

We could have also determined this from the system of equations itself. If we rearrange the equations we are given into slopeβintercept form, we have and

We see that both equations represent the same line, so they are coincident.

Therefore, we have shown that the two lines are coincident, so there are an infinite number of solutions.

In our next example, we will use a given graph to determine the system of equations it can be used to solve.

### Example 6: Identifying the Set of Simultaneous Equations That Can Be Solved Using a Given Graph

Which of the following sets of simultaneous equations could be solved using the given graph?

- ,
- ,
- ,
- ,
- ,

### Answer

We recall that the coordinates of the point of intersection between the two lines tells us the solution to the simultaneous equations given by the equations of the lines. Therefore, a system of equations can be solved using this graph.

Hence, we need to determine the equations of both lines. We will do this by recalling that the equation of a line in slopeβintercept form is , where is the slope and is the -intercept. We can determine both of these values from the diagram. First, the blue line has -intercept 5 and the red line has -intercept . Next, we determine the slope of each line by using the fact that a line passing through and has slope

The blue line passes through the points and , so it has slope

The red line passes through the points and , so it has slope

Hence, the blue line has and and the equation , and the red line has and and the equation . This gives us the system of equations

The solutions to this system of linear equations, given by the coordinates of the point of intersection, are and .

This is the system of linear equations in option C, , .

In our final example, we will use a given graph of a system of two linear equations to find approximate ranges in which the solution lies.

### Example 7: Using a Given Graph to Find Appropriate Ranges for Solutions of Given Simultaneous Equations

Use the shown graph to find appropriate ranges for the solutions to the simultaneous equations

- and
- and
- and
- and
- and

### Answer

We recall that the solution to a system of equations is given by the coordinates of the point of intersection between the graphs of all of the equations.

However, we cannot determine the coordinates of this point of intersection directly from the diagram, since it does not lie directly on the grid lines. We can find a range of values in which the coordinates of this point lies by using the minor grid lines.

First, we note that the grid lines split 1 into 4 equal segments, so each increment is 0.25. Hence, the point of intersection lies between the lines and . We can do the same with horizontal lines.

We can see that the point of intersection lies between the lines and . Hence, if is the solution to this system, then and , which is option B.

Letβs finish by recapping some of the important points from this explainer.

### Key Points

- Every solution to a system of equations is a point of intersection on all of their graphs. Conversely, every point of intersection on all of the graphs of the equations will be a solution to the system of equations. Hence, we can solve systems of equations by plotting their graphs and finding the coordinates of the points of intersection.
- If there are no points of intersection between all the graphs, then there are no solutions to the system of equations.
- A system of linear equations can have 0, 1, or an infinite number of solutions depending on whether the lines are parallel, intersect at a unique point, or are coincident. A system with 0 solutions is called an inconsistent system, a system with 1 solution is called an independent system, and a system with an infinite number of solutions is called a dependent system.
- We can estimate the solution to a system of linear equations graphically by finding an approximate range for the point of intersection by using minor grid lines.