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

When we graph any function, say , the -coordinate of any point on the graph tells us the input value of the function and the -coordinate tells us the corresponding output. In other words, every point on the graph is of the form . In the same way, if we sketch the graph of an equation, then the coordinates of any point on the graph satisfy the equation.

We can use this idea to solve systems of equations by using their graphs. If we sketch the graphs of two equations on the same pair of coordinate axes, then any point that lies on both graphs of the equations will satisfy both equations; it will be a solution to the system.

For example, consider the following system of linear equations:

We can solve this system by sketching both lines on the same pair of coordinate axes and finding the coordinates of the point of intersection. There are multiple ways for us to sketch a straight line; for instance, one way is to find the coordinates of two points on it and connect them together, continuing the line onward on either side. We substitute and into each equation to find two points on each line:

Thus, the first line connects the points and and the second line connects the points and . We can sketch these lines as follows.

We see that there is a single point of intersection between the lines with coordinates . Since it lies on the graphs of both equations, and must be solutions to both equations. Hence, this is a solution to the system of equations.

It is worth noting that every solution to a system of equations is a point of intersection on the graphs. This means that since there is only one point of intersection, there is only one solution to the system.

In our first example, we will identify the solution to a system of equations by using their graphs.

### Example 1: Identifying the Solutions to a System of Equations from Their Graphs

Use the shown graph to solve the given simultaneous equations

### Answer

When we graph a function, the - and -coordinates of any point on the graph of the equation tell us values of and that solve that equation. Therefore, any point that lies on both graphs of the equations will satisfy both equations; it will be a solution to the system. We can see that there is only one point of intersection, and we can read the coordinates from the graph.

We see that the point of intersection is . Thus, and is a solution to both equations (since the point lies on both lines).

Hence, and is the solution to the system of equations.

In our next example, we will find the solution to a system of linear equations by sketching graphs of both equations and finding the point of intersection.

### Example 2: Drawing a Linear System of Equations and Solving Them

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

### Answer

If a specific pair of values of and satisfies both equations, then we can note that the point with these coordinates must lie on the intersection between both graphs. This is because we plot graphs by plotting the values of and that satisfy the equation, so the point of intersection satisfies both equations.

There are many ways of sketching the graphs of straight lines. For example, we could use the fact that both lines are given in the slope–intercept form . So, the slope of each line is and the -intercept is .

Alternatively, we can sketch any straight line by finding the coordinates of two points on the line and then connecting these points with a straight line. We note that the -intercept of is , and we can substitute into the equation to get

Thus, the graph of passes through and , so we can connect these points with a straight line to sketch its graph.

We follow the same process for . We note that its -intercept is at , and we substitute into the equation to get

Thus, the graph of passes through and , and we can connect these points with a straight line to sketch its graph.

In our sketch, we can see that the point of intersection between the lines has coordinates . Since this is only a sketch, it is a good idea to verify that these values satisfy both equations. We can do this by substituting and into both equations.

For the first equation, we have and for the second equation, we have

Thus, and satisfy both equations. Hence, is the point of intersection between the lines.

We can apply this process as long as we can graph the equations. In our next example, we will identify the solutions to a linear–quadratic system of equations by using their given graphs.

### Example 3: Identifying the Solutions to a System of Equations from Their Graphs

Use the shown graph to solve the simultaneous equations

### Answer

We are given the graphs of both equations and asked to use these graphs to solve the simultaneous equations. We can do this by recalling that the solution to a system of simultaneous equations is given by the coordinates of the point of intersection between the graphs of the equations.

In the given graph, we can see that there is a single point of intersection at .

Since every solution to the system of equations is given by the points of intersection, we can conclude that this is the only solution. We can verify this solution by substituting and into both equations to check that they satisfy each equation.

Hence, the only solution to the system is and .

In the previous example, we saw that a given linear–quadratic system of equations only had a single solution. We can prove this by recalling that the sign of the discriminant of a quadratic tells us the number of roots of a quadratic function.

We can solve the system of equations algebraically by setting the two expressions for to be equal:

Then, we can rearrange and collect like terms:

Following this, we can determine the number of solutions to a quadratic equation of the form by considering the sign of the discriminant . We have , , and , so

Since the discriminant is equal to 0, we can conclude that there is only 1 root of the quadratic. Hence, there is only one solution to the system of equations.

In general, if we have a linear–quadratic system of equations of the form then we can set the expressions for to be equal to each other to get

We can then rearrange to obtain

If we relabel the coefficients, we can see that we have

Assuming is nonzero, we can then check the sign of the discriminant to determine the number of roots of this equation and, hence, the number of solutions to the system of equations:

- If , then the system has 2 solutions.
- If , then the system has 1 solution.
- If , then the system has no real solutions.

We can see each of these cases by considering how we can sketch quadratics and lines on the plane.

There are two points of intersection, ; so, there are two real solutions.

There is one point of intersection, ; so, there is one real solution.

There are no points of intersection, ; so, there are no real solutions.

This gives us the following property of systems of equations.

### Property: Number of Solutions to a Linear–Quadratic System

- If we can rearrange a linear–quadratic system of equations into the form ,
where , then
- if , then the system has 2 solutions;
- if , then the system has 1 solution;
- if , then the system has no real solutions.

In our next example, we will identify the solutions to a linear–quadratic system of equations by using their given graphs.

### Example 4: Identifying the Solutions to a System of Equations from Their Graphs

Use the shown graph to find the solutions of the simultaneous equations

### Answer

We are given the graphs of both equations and asked to use these graphs to solve the simultaneous equations. We can do this by recalling that the solutions to a system of simultaneous equations are given by the coordinates of the point of intersection between the graphs of the equations.

We can see from the given diagram that the graphs of the two equations do not intersect. We can conclude that since there is no point of intersection, the systems of equations have no solutions.

It is worth noting that we can show why this is the case by considering an algebraic method of solving the system. We set the expressions for to be equal to each other to get

We subtract from both sides of the equation to obtain

We can then determine the number of solutions to the system by finding the sign of the discriminant of this quadratic. We have

Since the discriminant is negative, we can conclude that the quadratic and the system have no real solutions.

In our next example, we will find the solutions to a linear–quadratic system of equations by sketching the graph of each equation and finding the coordinates of the points of intersection.

### Example 5: Finding the Set of Points of the Intersection of Two Graphs

Find the set of points of intersection of the graphs of and .

### Answer

We first recall that the points of intersection between the two graphs will be given by the solution to the system of both equations:

We can solve this system in two ways. First, we can recall that the points of intersection of their graphs will give the solutions to the system. We can graph both equations using a graphing software.

We can actually note that the equation gives a circle of radius centered at the origin; we see that there are two points of intersection: and .

We can also solve the system algebraically to find the points of intersection. We first find an expression for by subtracting from both sides of the first equation. This gives us

We now substitute this into the second equation to obtain

Expanding the brackets and simplifying yields, we get

We can note that all three terms share a factor of 2, so we can divide the equation through by 2 to get

We can now solve this equation by factoring. We want two numbers whose product is 7 and whose sum is . We can note that these numbers are and , so we can factor the quadratic as

Thus, the solutions are and . These are the -coordinates of the two points of intersection of the graphs.

We can substitute these values into the equation for to determine the -coordinates of these two points:

Hence, we have found that and are the coordinates of the points of intersection.

We can verify this by substituting the coordinates of either point into the equations of both graphs. For example, let’s verify that is a solution by substituting and into both equations. For the first equation, we have

For the second equation, we have

Since both equations are satisfied, we can conclude that is a point of intersection.

Hence, the set of points of intersection between the graphs is .

In our next example, we will solve a linear–quadratic system of equations by graphing both equations.

### Example 6: Solving a System of Linear–Quadratic Equations Graphically

- Which of the following shows the graph of and ?
- Find the solutions of the system of equations and .

### Answer

**Part 1**

To sketch the line , we can find the coordinates of two points on the line and connect them with a straight line. We can find two points on the line by substituting.

When , we have

When , we have

Thus, the line passes through and .

To sketch the quadratic , we can start by factoring the right-hand side of the equation. We want to identify two numbers that add to give 3 and multiply to give 2, and we find that these are 1 and 2. Thus,

Therefore, the -intercepts of this quadratic are and . This is a quadratic with a positive leading coefficient, so the shape of the graph will be a parabola that opens upward. We can find the -intercept by substituting into the equation. We have

So, we need to sketch a parabola opening upward with -intercepts at and and a -intercept at 2.

We see that this matches answer C.

**Part 2**

If a specific pair of values of and satisfies both equations, then we can note that the point with these coordinates must lie on the intersection between both graphs. Therefore, we can solve the equations by finding the coordinates of the points of intersections. We see that these are the points and .

Hence, the solutions to the system of equations are , and , .

In our final example, we solve a real-world problem by sketching a system of equations to find the solutions.

### Example 7: Solving a Real-World Problem Involving a System of Equations

A builder wants to construct a triangular girder with a base of length
m and a height of length
m. The area of this triangle is given by
m^{2}. If the
builder wants the area of the girder to be three times the length of the base, find the length of the base.

### Answer

If we call the area of the triangular girder , we note that the area of the triangle is given by the equation . However, we also want the area to be three times the length of the base, so .

We can solve this problem by sketching both graphs and finding the coordinates of the points of intersection. First, we know that the graph of will be a straight line passing through the origin with slope 3. We can sketch the line by drawing a line through the origin and the point .

We can sketch the graph of by noting that this is a parabola with a positive leading coefficient, so it opens upward. The quadratic is factored, so we can solve each factor equal to zero to find the -intercepts. The -intercepts are at and , and we can also note that this means the -intercept is also at 0.

Sketching these graphs on the same pair of coordinate axes, we find that the coordinates of the points of intersection are and . We cannot have a triangle with a base of length 0, so only the point is a valid solution for our triangle.

We can verify this solution by substituting into the system of equations. We have

Since both values for the area are equal, we have verified that is the solution to the problem.

Hence, the builder would need to make the base of the triangular girder 8 metres long.

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

### Key Points

- We can solve systems of simultaneous equations by finding the coordinates of the points of intersection on the graphs of the equations. In particular, any point on all of the graphs satisfies all of the equations and any solution to the system will be a point of intersection between the graphs.
- If we can rearrange a linear–quadratic system of equations into the form ,
where , then
- if , then the system has 2 solutions;
- if , then the system has 1 solution;
- if , then the system has no real solutions.

- We can substitute our solutions back into the system to verify that they are in fact solutions to the system.