In this explainer, we will learn how to solve quadratic equations using function graphs.

### Definition: Quadratic Equation

A quadratic equation is an equation of the form where , , and are constants and .

It may also be written as where is a constant and is the vertex and the turning point.

When we are solving quadratic equations, we solve the equation to find the values of for which . One of the ways we can solve a quadratic equation is by factoring, finding the values of such that the value of the factors is equal to zero. The solutions to a quadratic equation are also referred to as the roots of the equation. In this explainer, we will see how we can also use a graphical method to solve an equation. When we plot the graph of a function, the roots of the function will be the points at which the graph crosses the -axis. At the points where the graph crosses the -axis, the -value will be zero. So, to find the roots of an equation , we can set .

Quadratic graphs have distinctive properties which can be used to help us identify points of interest about an equation. Whether inspecting a quadratic graph or using an equation to draw the graph, the following points are important to remember.

### Characteristics of a Quadratic Graph

- A quadratic equation in the form has a distinctive parabola shape.
It will have a minimum vertex with the curve opening upward when the value of is
greater
than zero (). It will have a maximum vertex with the curve opening downward
when the value of is less than zero ().

Note that the value of cannot be equal to zero, as this would mean that there is no -term, and as such it would not be a quadratic equation. - The graph of a quadratic equation is symmetrical about the vertex.
- The -intercept, the coordinate where the parabola crosses the -axis, of the function will always be at .
- The -intercepts, where the curve crosses the -axis, will be the points at which . These are also called the roots of the equation. In a graph, we can identify these points by inspecting the graph.
- It is useful to remember that a quadratic equation will have up to two roots. An equation with two roots will have a graph which crosses the -axis twice, a repeated root will mean that the graph has a vertex on the -axis, and an equation with no roots will have a graph that is above the -axis.
- In the graphs above, the first graph has two roots, the middle graph has one root, where the graph touches the -axis, and the last graph has no roots.

Let us now look at some examples of how we can use the graph of a quadratic equation to solve it.

### Example 1: Solving a Quadratic Equation Graphically

The graph shows the curve with the equation . What is the solution set of the equation ?

### Answer

The solution set of the equation is the values of at which the curve crosses the -axis. From the graph, it is evident that the curve crosses the -axis when and .

Therefore, the solution set is .

### Example 2: Finding the Roots of a Quadratic Equation Using a Graph

Consider the graph:

The roots of a quadratic can be read from the graph. What are they?

### Answer

The roots of the quadratic equation are the values of at which the curve crosses the -axis. Inspecting the graph, we can see that the function cuts the -axis at and .

Therefore, the roots of the equation are and .

### Example 3: Solving a Quadratic Equation Graphically

The graph below shows the function . What is the solution set of ?

### Answer

The solution set of the equation is the values of at which the curve crosses the -axis.

In this graph, it is evident that the graph does not cross the -axis. Therefore, there are no values of for which , and the solution set is the empty set .

We will now look at an example of how we can draw our own graph to solve an equation. Here, we will use a table of values to find a number of coordinates to plot and then join them to make a curve. It is useful to remember that using a table of values will allow us to plot the graph of any polynomial equation.

### Example 4: Solving a Quadratic Equation Graphically

By drawing a graph of the function , find the solution set of .

### Answer

We can begin drawing a graph of the function by finding coordinates on the curve. We can set up a table of values and calculate for the selected -values.

0 | 1 | 2 | 3 | |||
---|---|---|---|---|---|---|

8 | 2 | 0 | 2 | 8 | 18 | |

0 | 3 | 6 | 9 | |||

14 | 5 | 0 | 2 | 9 |

We can plot the points , , , , , and and join them with a smooth curve.

The solution set of is the values of at which the curve crosses the -axis. We can see that the graph crosses the -axis at and . Therefore, the solution set is .

We will now look at an example where we use the solution of the equation, the roots, to help us draw a graph. This can be a quicker method of sketching a graph than using a table of values; however, we need to identify other properties of the equation in order to have more than two coordinates with which to draw the graph.

### Example 5: Drawing a Quadratic Graph Using the Roots of the Equation

- Solve by factoring.
- Draw the graph of .

### Answer

**Part 1**

We can factor the equation as

To solve this, recall that when we have two numbers, and , giving , this means that or . Here, we have

So,

As this is a repeated root, we can say that there is just one solution: .

**Part 2**

To draw the graph of the function, we can start with the roots of the equation. Here, we have a repeated root of . When we have a repeated root, this is the vertex of the equation. Therefore, the vertex here is at .

Recall that a function , where , , and are constants, has a -intercept at . This means that the -intercept of is at .

We can recall that a quadratic equation with a positive coefficient of has a minimum vertex, with the parabola curve opening upward. Since the graph of a quadratic equation is symmetrical about the vertex, we can say that the coordinate will also lie on the curve.

We can plot the points , , and and join them with a smooth curve to complete the question.

When solving an equation using a graph, we have been using the intersection of the quadratic equation and the -axis to find the -values when . We will now look at an example where we can use the intersection of a quadratic curve and another line to solve a problem.

### Example 6: Solving a Quadratic Equation Graphically

The graph shows the function .

- What is the solution set of ?
- What is the solution set of ?

### Answer

**Part 1**

The solution set of is the values of where the curve crosses the -axis. We can see from the graph that it crosses the -axis at and . Therefore, the solution set of is .

**Part 2**

The solution set of is the values where the curve crosses the line . The line is a horizontal line crossing through all the points where the coordinate is . We can add this line to the graph and determine the coordinates where the two functions and intersect.

We can identify from the graph that the points of intersection are at and . Therefore, the solution set of is .

### Key Points

- We can solve a quadratic equation in a number of ways, either using an algebraic method, such as factoring, or graphically, by inspecting the graph of the function. The benefit of an algebraic solution is that it will result in an exact answer. A graphical method is an approximate solution; therefore, it is often more difficult to use when there are noninteger root values. However, it can be an easier and faster method of solving a quadratic equation and allows us to visually compare a number of quadratic equations.
- To solve a quadratic graphically, we first draw the graph of a function by creating a table of values. We can then inspect the graph to find the points where the graph crosses the -axis.
- It is important to remember that we may have two, one, or no solutions to a quadratic depending on whether the function crosses the -axis twice, once, or never.
- Using the features of the graph of a function can be a useful method to solve equations when using graphing software such as a graphical calculator.