Lesson Explainer: Solving Quadratic Equations Graphically Mathematics

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 𝑎0.

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 𝑦=0. 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 𝑓(𝑥)=0.

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 (𝑎>0). It will have a maximum vertex with the curve opening downward when the value of 𝑎 is less than zero (𝑎<0).
    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 (0,𝑐).
  • The 𝑥-intercepts, where the curve crosses the 𝑥-axis, will be the points at which 𝑦=0. 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 𝑓(𝑥)=0?

Answer

The solution set of the equation 𝑓(𝑥)=0 is the values of 𝑥 at which the curve crosses the 𝑥-axis. From the graph, it is evident that the curve crosses the 𝑥-axis when 𝑥=2 and 𝑥=2.

Therefore, the solution set is 𝑥={2,2}.

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 𝑥=12 and 𝑥=32.

Therefore, the roots of the equation are 12 and 32.

Example 3: Solving a Quadratic Equation Graphically

The graph below shows the function 𝑓(𝑥)=𝑥2𝑥+3. What is the solution set of 𝑓(𝑥)=0?

Answer

The solution set of the equation 𝑓(𝑥)=0 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 𝑓(𝑥)=0, 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 𝑓(𝑥)=2𝑥3𝑥, find the solution set of 𝑓(𝑥)=0.

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.

𝑥210123
2𝑥8202818
3𝑥630369
𝑓(𝑥)=2𝑥3𝑥1450129

We can plot the points (2,14), (1,5), (0,0), (1,1), (2,2), and (3,9) and join them with a smooth curve.

The solution set of 𝑓(𝑥)=0 is the values of 𝑥 at which the curve crosses the 𝑥-axis. We can see that the graph crosses the 𝑥-axis at 𝑥=0 and 𝑥=32. Therefore, the solution set is 0,32.

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

  1. Solve 𝑥10𝑥+25=0 by factoring.
  2. Draw the graph of 𝑓(𝑥)=𝑥10𝑥+25.

Answer

Part 1

We can factor the equation 𝑥10𝑥+25=0 as (𝑥5)(𝑥5)=0.

To solve this, recall that when we have two numbers, 𝐴 and 𝐵, giving 𝐴𝐵=0, this means that 𝐴=0 or 𝐵=0. Here, we have (𝑥5)=0(𝑥5)=0.or

So, 𝑥=5𝑥=5.or

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

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 𝑥=5. When we have a repeated root, this is the vertex of the equation. Therefore, the vertex here is at (5,0).

Recall that a function 𝑓(𝑥)=𝑎𝑥+𝑏𝑥+𝑐, where 𝑎, 𝑏, and 𝑐 are constants, has a 𝑦-intercept at (0,𝑐). This means that the 𝑦-intercept of 𝑓(𝑥)=𝑥10𝑥+25 is at (0,25).

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 (10,25) will also lie on the curve.

We can plot the points (5,0), (0,25), and (10,25) 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 𝑦=0. 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 𝑓(𝑥)=2𝑥4𝑥6.

  1. What is the solution set of 𝑓(𝑥)=0?
  2. What is the solution set of 𝑓(𝑥)=6?

Answer

Part 1

The solution set of 𝑓(𝑥)=0 is the values of 𝑥 where the curve crosses the 𝑥-axis. We can see from the graph that it crosses the 𝑥-axis at 𝑥=1 and 𝑥=3. Therefore, the solution set of 𝑓(𝑥)=0 is 𝑥={1,3}.

Part 2

The solution set of 𝑓(𝑥)=6 is the values where the curve crosses the line 𝑓(𝑥)=6. The line 𝑓(𝑥)=6 is a horizontal line crossing through all the points where the 𝑦 coordinate is 6. We can add this line to the graph and determine the coordinates where the two functions 𝑓(𝑥)=2𝑥4𝑥6 and 𝑓(𝑥)=6 intersect.

We can identify from the graph that the points of intersection are at 𝑥=0 and 𝑥=2. Therefore, the solution set of 𝑓(𝑥)=6 is {0,2}.

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.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.