Lesson Explainer: Solving Quadratic Equations Graphically | Nagwa Lesson Explainer: Solving Quadratic Equations Graphically | Nagwa

Lesson Explainer: Solving Quadratic Equations Graphically Mathematics • First Year of Secondary School

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

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

Let us recall the definition of a quadratic equation.

Definition: Quadratic Equation

A quadratic equation is an equation that can be written in standard form as 𝑎𝑥+𝑏𝑥+𝑐=0, where 𝑥 is the variable, 𝑎, 𝑏, and 𝑐 are constants, and 𝑎0.

We note that it is always possible to rearrange a quadratic equation to be equal to zero, as shown above, by taking all of the variables and the constant to one side of the equation.

Now, recall that when we solve a quadratic equation, we find the values of 𝑥 for which the equation is satisfied. One of the ways we can solve a quadratic equation is by factoring. This means we rearrange the quadratic equation into the factored form: 𝑎(𝑥𝑝)(𝑥𝑞)=0.

From here, it is possible to deduce that both 𝑥=𝑝 and 𝑥=𝑞 satisfy the equation and that they are, therefore, solutions of the equation. In this explainer, we will see how we can also use a graphical method to solve a quadratic equation. To plot a quadratic equation, we rewrite it as a function: 𝑦=𝑎𝑥+𝑏𝑥+𝑐.

In other words, we replace 0 with the variable 𝑦. Note that we will often denote the left-hand side of the function by 𝑓(𝑥) (i.e., 𝑓(𝑥)=𝑎𝑥+𝑏𝑥+𝑐). Writing our equation as a function allows us to show graphically how 𝑎𝑥+𝑏𝑥+𝑐 changes for different values of 𝑥. We do this by drawing the curve that 𝑦=𝑎𝑥+𝑏𝑥+𝑐 makes on a graph with 𝑥- and 𝑦-axes.

Suppose we then want to solve the quadratic equation using this graph. Since a quadratic equation is solved when it is equal to 0, we set 𝑦=0 in the function and find the values of 𝑥 for which the equation is satisfied. Thus, the solutions of the equation are the 𝑥 values for which the function is zero, which we refer to as the roots of the function. On a graph, these values are the 𝑥-coordinates of the points where the 𝑦-value is zero, which corresponds to the points at which the graph crosses the 𝑥-axis.

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

Properties: Graphs of Quadratic Functions

  • The graphs of quadratic functions of the form 𝑦=𝑎𝑥+𝑏𝑥+𝑐 have distinctive parabola shapes, as shown below.
  • They have a minimum vertex with the curve opening upward when the value of 𝑎 is greater than zero (as shown in the left graph). They will have a maximum vertex with the curve opening downward when 𝑎 is less than zero (as shown in the right graph).
    Note that the value of 𝑎 cannot be equal to zero, as this would mean that there is no 𝑥 term and, as such, the corresponding equation would not be quadratic.
  • A quadratic function can also be rearranged into vertex form as 𝑦=𝑎(𝑥)+𝑘, where (,𝑘) are the coordinates of the vertex of the parabola (i.e., the turning point).
  • The graph of a quadratic function is symmetrical about the vertical line 𝑥=, where (,𝑘) is the vertex of the parabola.
  • 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. The 𝑥-coordinates of these points are the roots of the function and correspond to the solutions of the original quadratic equation. In a graph, we can identify these points via inspection.
  • It is useful to remember that a quadratic equation will have up to two real solutions. If an equation has two solutions, the corresponding function will have a graph that crosses the 𝑥-axis twice. An equation with a repeated solution will lead to a graph that has a vertex on the 𝑥-axis. Finally, an equation having no solution will mean that the graph is entirely above or below the 𝑥-axis.
  • In the graphs above, the first function has two roots, the middle function has one root where the graph touches the 𝑥-axis, and the last function has no roots.

Let us now look at an example where we can apply the above properties to find the solution to a quadratic equation using a graph.

Example 1: Solving a Quadratic Equation Graphically

The diagram shows the graph of 𝑦=𝑓(𝑥). What is the solution set of the equation 𝑓(𝑥)=0?

Answer

Let us recall that the coordinates of any point on the graph of a function are given by (𝑥,𝑦). We are being asked to find the solution set of the equation 𝑓(𝑥)=0, which is the set of values of 𝑥 for which the 𝑦-value is 0. On the graph, this corresponds to the points at which the curve crosses the 𝑥-axis, since 𝑦=0 at these points. By inspecting the curve, we can see that it crosses the 𝑥-axis at two points: when 𝑥=2 and when 𝑥=2.

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

In the first example, we saw that, since the curve crossed the 𝑥-axis twice, the equation had two solutions. Let us consider an example where that is not necessarily the case.

Example 2: Solving a Quadratic Equation Graphically

The diagram shows the graph of 𝑦=𝑓(𝑥). What is the solution set of the equation 𝑓(𝑥)=0?

Answer

Let us recall that the coordinates of any point on the graph of a function are given by (𝑥,𝑦). Thus, to find the solution set of 𝑓(𝑥)=0, we must find the points for which 𝑦=0 and find the corresponding 𝑥 values. We can find these on the graph by identifying the points where the curve crosses the 𝑥-axis. In this situation, we can see that the curve does not actually cross the 𝑥-axis, but it does touch it at one point, when 𝑥=2. Hence, we can say that 𝑦 is equal to 0 at the point where 𝑥=2.

Thus, the solution set has just one value, {2}.

So far we have seen graphs of quadratic equations that cross the 𝑥-axis twice or just touch it once, but what happens when the curve does not intersect the 𝑥-axis at all?

Example 3: Solving a Quadratic Equation Graphically

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

Answer

Here, we have been given the explicit function that describes 𝑓(𝑥), but, since we have the graph, we can simply solve the equation graphically without factoring or using the quadratic equation. Recall that the solution set of 𝑓(𝑥)=0 can be found by identifying the points (𝑥,𝑦) on the graph where 𝑦=0, which is where the curve intersects the 𝑥-axis. In this case, however, the curve is entirely above the 𝑥-axis. For this reason, there are no points at which 𝑦=0.

Hence, there are no real values of 𝑥 that solve the equation, so the solution set is .

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 this approach allows us to plot the graph of any polynomial function corresponding to an equation.

Example 4: Plotting the Graph of a Quadratic Function and Using It to Solve an Equation

By drawing a graph of the function 𝑓(𝑥)=2𝑥3𝑥, find the solution set of 𝑓(𝑥)=0.

Answer

We can begin by drawing a graph of the function by finding coordinates on the curve. We can do this by setting up a table of values and calculating 𝑓(𝑥) for the selected 𝑥-values.

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

Taking the values from the rows 𝑥 and 𝑓(𝑥), we get the points (2,14), (1,5), (0,0), (1,1), (2,2), and (3,9). Let us plot these on the 𝑥𝑦-plane and join them with a smooth curve.

We now need to find the solution set of 𝑓(𝑥)=0. Recall that the solutions of the equation 𝑓(𝑥)=0 are the 𝑥-values of the points where the graph of the function crosses the 𝑥-axis. We can see that the graph crosses the 𝑥-axis at two points: the first is the point labeled 𝐶, which is at 𝑥=0, and the second seems to be at 𝑥=32. We can verify this is the correct value by putting it into the formula for 𝑓(𝑥). This gives us 𝑓32=232332=9292=0.

This shows us that 𝑥=32 is indeed a solution of the equation. Thus, the solution set is 0,32.

Just as it is possible for us to draw a graph to help us solve a quadratic equation, it is also possible for us to solve a quadratic equation to help us determine the correct graph of the corresponding function. In the following example, we will consider how to factor an equation and use the answer to figure out what the graph must look like.

Example 5: Recognizing the Graph of a Quadratic Function after Solving It via Factoring

Solve 𝑥𝑥6=0 by factoring, and hence determine which of the following figures would be a sketch of 𝑦=𝑥𝑥6.

Answer

Part 1

As we have been asked to solve 𝑥𝑥6=0 by factoring, let us first remember how to do this. We want to factor the equation using two unknown values 𝑝 and 𝑞 as follows: 𝑥𝑥6=𝑥+(𝑝+𝑞)𝑥+𝑝𝑞=(𝑥+𝑝)(𝑥+𝑞).

Matching the coefficients, we can see that this requires 𝑝𝑞=6 and 𝑝+𝑞=1. Since the product of 𝑝 and 𝑞 is negative, that means one of 𝑝 or 𝑞 is negative and the other is positive. Let us assume 𝑝 is negative. Thus, let us consider the four possible pairs of 𝑝 and 𝑞 that multiply to make 6:

𝑝6132
𝑞1623

Out of these options, only 𝑝=3 and 𝑞=2 give us 𝑝+𝑞=1. Thus, the correct factoring is: 𝑥𝑥6=(𝑥3)(𝑥+2).

Having factored the equation, we can solve it by setting it to 0 and finding what values of 𝑥 satisfy the equation. In other words, we have (𝑥3)(𝑥+2)=0.

This is satisfied when (𝑥3)=0 or (𝑥+2)=0, which leads to 𝑥=3 or 𝑥=2.

Part 2

We now need to determine which of the given figures is a sketch of 𝑦=𝑥𝑥6. Recall that the roots of a function (which are the same as the solutions of the corresponding equation) tell us what values of 𝑥 give us 𝑦=0. This means we know at what points the curve will cross the 𝑥-axis: 𝑥=3 and 𝑥=2. Considering the five graphs, only one crosses the 𝑥-axis at these points: option E.

Additionally, let us note other aspects of the graph that we can use to verify the correct answer. We note that the 𝑦-intercept of the graph (the point where the curve crosses the 𝑦-axis) is 6. Recall that, for a quadratic function of the form 𝑦=𝑎𝑥+𝑏𝑥+𝑐, the 𝑦-intercept is 𝑐. Since the function is 𝑦=𝑥𝑥6, this gives us 𝑐=6, which is indeed correct. Furthermore, we can see that, as 𝑎=1 (i.e., 𝑎>0), the graph must open upward, which is exactly what happens in graph E. This further confirms for us that E is the correct answer.

In conclusion, the answer is option E.

In some questions, we will be given a quadratic equation that has to be rearranged before we can solve it graphically. Here is an example of this type.

Example 6: Rearranging and Solving a Quadratic Equation Graphically

Find the solution set of the equation 𝑥=3𝑥+10.

Answer

As we have been asked to find the solution set of the equation 𝑥=3𝑥+10, we must first rearrange it into the form 𝑓(𝑥)=0. Note that we can do this by subtracting 3𝑥 and 10 from both sides to get 𝑥3𝑥10=0.

Recall that the solutions of the equation 𝑓(𝑥)=0 are the 𝑥-values of the points where the graph of the function crosses the 𝑥-axis (since 𝑦=0 at these points). We can find these values by sketching the graph of the function 𝑓(𝑥)=𝑥3𝑥10 and finding where it crosses the 𝑥-axis. We can draw the graph by setting up a table of values and calculating 𝑓(𝑥) for the selected 𝑥-values, as follows.

𝑥3210123456
𝑓(𝑥)=𝑥3𝑥1080610121210608

Then, we plot these points on the 𝑥𝑦-plane and join them with a smooth curve, which gives the graph below.

It is easily seen that the curve crosses the 𝑥-axis at 𝑥=5 and 𝑥=2. Note that we could have read off these values directly from our table, which showed that 𝑓(𝑥)=0 for these two values of 𝑥.

We conclude that the solution set of the equation 𝑥=3𝑥+10 is {2,5}.

So far, we have exclusively dealt with quadratic equations of the form 𝑎𝑥+𝑏𝑥+𝑐=0 or 𝑎𝑥=𝑏𝑥𝑐 and considered how these relate to functions of the form 𝑦=𝑎𝑥+𝑏𝑥+𝑐 when 𝑦=0. Equally, we can form other quadratic equations by choosing 𝑦 to be equal to different values. For instance, if we chose 𝑦=3, we would have the equation 𝑎𝑥+𝑏𝑥+𝑐=3, which can be rearranged into 𝑎𝑥+𝑏𝑥+𝑐3=0.

In other words, choosing 𝑦=3 results in another quadratic equation where the constant term is 𝑐3. Solving equations of this form graphically can be done in almost the same way as for 𝑦=0: instead of considering where the curve crosses the 𝑥-axis (i.e., 𝑦=0), we consider where the curve crosses the line 𝑦=𝑑, where 𝑑 is a constant (it is 3 in our example above). This can be done by drawing a horizontal line on the graph at that value of 𝑦. In our final example, we will consider an application of this idea.

Example 7: Solving Two Quadratic Equations that Differ by a Constant 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 set of values of 𝑥 for which the curve crosses the 𝑥-axis (since 𝑦=0 at these points). Inspecting the graph, we can see that the curve crosses the 𝑥-axis at two points: 𝑥=1 and 𝑥=3. Therefore, the solution set of 𝑓(𝑥)=0 is {1,3}.

Part 2

Just as the solution set of 𝑓(𝑥)=0 is the set of values of 𝑥 for which 𝑦=0, the solution set of 𝑓(𝑥)=6 is the set of values where 𝑦=6. We can find this by drawing a horizontal line at 𝑦=6 and determining the coordinates of the points where the line and the curve 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}.

Note that we can use the above method to solve problems taken from a real-world context, as in the next example.

Example 8: Solving a Quadratic Equation From a Real-World Context Graphically

A ball is thrown vertically upward from the ground with velocity 𝑣=34.3/ms. The height of the ball above the ground, in metres, is given by the equation (𝑡)=34.3𝑡4.9𝑡. The graph of this function is shown below.

Work out the times at which the ball is at a height of 49 m above the ground.

Answer

Recall that the solution set of (𝑡)=0 is the set of values of 𝑡 for which the curve crosses the 𝑡-axis (since =0 at these points); these two values of 𝑡 would correspond to the times at which the ball is on the ground at the start and finish of its flight.

Similarly, the times at which the ball is at a height of 49 m above the ground correspond to the solution set of (𝑡)=49, which is the set of values of 𝑡 where =49. We can find these values by drawing a horizontal line at =49 and determining the coordinates of the points where the line and the curve intersect.

We can identify from the graph that the points of intersection are at 𝑡=2 and 𝑡=5, so the solution set of (𝑡)=49 is {2,5}. We conclude that the ball is at a height of 49 m above the ground after 2 seconds and 5 seconds.

Let us finish by considering the main things we have learned in this explainer.

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 corresponding 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 it allows us to visually compare a number of quadratic equations.
  • To solve a quadratic equation graphically, we first draw the graph of the corresponding function by creating a table of values. We can then inspect the graph to find the points where the curve crosses the 𝑥-axis as shown below.
  • It is important to remember that we may have two, one, or no solutions to a quadratic equation depending on whether the function crosses the 𝑥-axis twice, once, or never, as shown below.
  • We can solve quadratic equations formed by setting 𝑦=𝑑, by drawing a horizontal line at the value 𝑦=𝑑, and by finding where it intersects the function.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

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