# 10.2: Quadratic Equations by Graphing

## Learning Objectives

- Identify the number of solutions of a quadratic equation.
- Solve quadratic equations by graphing.
- Analyze quadratic functions using a graphing calculator.
- Solve real-world problems by graphing quadratic functions.

## Introduction

Solving a quadratic equation means finding the values that will make the quadratic function equal zero; in other words, it means finding the points where the graph of the function crosses the axis. The solutions to a quadratic equation are also called the **roots** or **zeros** of the function, and in this section we’ll learn how to find them by graphing the function.

## Identify the Number of Solutions of a Quadratic Equation

Three different situations can occur when graphing a quadratic function:

**Case 1:** The parabola crosses the axis at two points. An example of this is :

Looking at the graph, we see that the parabola crosses the axis at and .

We can also find the solutions to the equation by setting . We solve the equation by factoring:

, so or .

When the graph of a quadratic function crosses the axis at two points, we get **two distinct solutions** to the quadratic equation.

**Case 2:** The parabola touches the axis at one point. An example of this is :

We can see that the graph touches the axis at .

We can also solve this equation by factoring. If we set and factor, we obtain , so . Since the quadratic function is a perfect square, we get only one solution for the equation—it’s just the same solution repeated twice over.

When the graph of a quadratic function touches the axis at one point, the quadratic equation has one solution and the solution is called a **double root.**

**Case 3:** The parabola does not cross or touch the axis. An example of this is :

If we set we get . This quadratic polynomial does not factor.

When the graph of a quadratic function does not cross or touch the axis, the quadratic equation has **no real solutions.**

## Solve Quadratic Equations by Graphing

So far we’ve found the solutions to quadratic equations using factoring. However, in real life very few functions factor easily. As you just saw, graphing a function gives a lot of information about the solutions. We can find exact or approximate solutions to a quadratic equation by graphing the function associated with it.

**Example 1**

*Find the solutions to the following quadratic equations by graphing.*

a)

b)

c)

d)

**Solution**

Since we can’t factor any of these equations, we won’t be able to graph them using intercept form (if we could, we wouldn’t need to use the graphs to find the intercepts!) We’ll just have to make a table of arbitrary values to graph each one.

a)

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 |

We plot the points and get the following graph:

From the graph we can read that the intercepts are approximately **and** . These are the solutions to the equation.

b)

–4 | |

–3 | |

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 |

We plot the points and get the following graph:

From the graph we can read that the intercepts are **and** . These are the solutions to the equation.

c)

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 |

We plot the points and get the following graph:

The graph curves up toward the axis and then back down without ever reaching it. This means that the graph never intercepts the axis, and so the corresponding equation has **no real solutions.**

d)

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 | |

4 | |

5 |

Here is the graph of this function:

The graph just touches the axis at , so the function has a **double root** there. is the only solution to the equation.

## Analyze Quadratic Functions Using a Graphing Calculator

A graphing calculator is very useful for graphing quadratic functions. Once the function is graphed, we can use the calculator to find important information such as the roots or the vertex of the function.

**Example 2**

*Use a graphing calculator to analyze the graph of* .

**Solution**

1. **Graph** the function.

Press the **[Y=]** button and enter “” next to . Press the **[GRAPH]** button. This is the plot you should see:

If this is not what you see, press the **[WINDOW]** button to change the window size. For the graph shown here, the values should range from -10 to 30 and the values from -80 to 50.

2. Find the **roots.**

There are at least three ways to find the roots:

Use **[TRACE]** to scroll over the intercepts. The approximate value of the roots will be shown on the screen. You can improve your estimate by zooming in.

OR

Use **[TABLE]** and scroll through the values until you find values of equal to zero. You can change the accuracy of the solution by setting the step size with the **[TBLSET]** function.

OR

Use **[2nd] [TRACE]** (i.e. ‘calc’ button) and use option ‘zero’.

Move the cursor to the left of one of the roots and press **[ENTER]**.

Move the cursor to the right of the same root and press **[ENTER]**.

Move the cursor close to the root and press **[ENTER]**.

The screen will show the value of the root. Repeat the procedure for the other root.

Whichever technique you use, you should get about **and** for the two roots.

3. Find the **vertex.**

There are three ways to find the vertex:

Use **[TRACE]** to scroll over the highest or lowest point on the graph. The approximate value of the roots will be shown on the screen.

OR

Use **[TABLE]** and scroll through the values until you find values the lowest or highest value of . You can change the accuracy of the solution by setting the step size with the **[TBLSET]** function.

OR

Use **[2nd] [TRACE]** and use the option ‘maximum’ if the vertex is a maximum or ‘minimum’ if the vertex is a minimum.

Move the cursor to the left of the vertex and press **[ENTER]**.

Move the cursor to the right of the vertex and press **[ENTER]**.

Move the cursor close to the vertex and press **[ENTER]**.

The screen will show the and values of the vertex.

Whichever method you use, you should find that the vertex is at **(10, -65)**.

## Solve Real-World Problems by Graphing Quadratic Functions

Here’s a real-world problem we can solve using the graphing methods we’ve learned.

**Example 3**

*Andrew is an avid archer. He launches an arrow that takes a parabolic path. The equation of the height of the ball with respect to time is* , *where* *is the height of the arrow in meters and is the time in seconds since Andrew shot the arrow. Find how long it takes the arrow to come back to the ground.*

**Solution**

Let’s graph the equation by making a table of values.

0 | |

1 | |

2 | |

3 | |

4 | |

5 | |

6 | |

7 | |

8 | |

9 | |

10 |

Here’s the graph of the function:

The roots of the function are approximately sec and sec. The first root tells us that the height of the arrow was 0 meters when Andrew first shot it. The second root says that it takes approximately **9.8 seconds** for the arrow to return to the ground.

## Further Practice

Now that you’ve learned how to solve quadratic equations by graphing them, you can sharpen your skills even more by learning how to find an equation from the graph alone. Go to the page linked in the previous section, http://www.analyzemath.com/quadraticg/quadraticg.htm, and scroll down to section E. Read the example there to learn how to find the equation of a quadratic function by reading off a few key values from the graph; then click the “Click here to start” button to try a problem yourself. The “New graph” button will give you a new problem when you finish the first one.

## Review Questions

Find the solutions of the following equations by graphing.

Find the roots of the following quadratic functions by graphing.

Using your graphing calculator, find the roots and the vertex of each polynomial.

- Graph the equations and on the same screen. Find their roots and vertices.
- What is the same about the graphs? What is different?
- How are the two equations related to each other? (Hint: factor them.)
- What might be another equation with the same roots? Graph it and see.

- Graph the equations and on the same screen. Find their roots and vertices.
- What is the same about the graphs? What is different?
- How are the two equations related to each other?

- Phillip throws a ball and it takes a parabolic path. The equation of the height of the ball with respect to time is , where is the height in feet and is the time in seconds. Find how long it takes the ball to come back to the ground.
- Use your graphing calculator to solve Ex. 3. You should get the same answers as we did graphing by hand, but a lot quicker!