<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are reading an older version of this FlexBook® textbook: CK-12 Algebra I - Second Edition Go to the latest version.

# 10.2: Quadratic Equations by Graphing

Difficulty Level: At Grade Created by: CK-12

## 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 $x-$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 $x-$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 $x-$axis at two points. An example of this is $y = x^2 + x - 6$:

Looking at the graph, we see that the parabola crosses the $x-$axis at $x = -3$ and $x = 2$.

We can also find the solutions to the equation $x^2 + x - 6 = 0$ by setting $y = 0$. We solve the equation by factoring:

$(x + 3)(x - 2) = 0$, so $x = -3$ or $x = 2$.

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

Case 2: The parabola touches the $x-$axis at one point. An example of this is $y = x^2 - 2x + 1$:

We can see that the graph touches the $x-$axis at $x = 1$.

We can also solve this equation by factoring. If we set $y = 0$ and factor, we obtain $(x - 1)^2 = 0$, so $x = 1$. 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 $x-$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 $x-$axis. An example of this is $y = x^2 + 4$:

If we set $y = 0$ we get $x^2 + 4 = 0$. This quadratic polynomial does not factor.

When the graph of a quadratic function does not cross or touch the $x-$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) $-x^2 + 3 = 0$

b) $2x^2 + 5x - 7 = 0$

c) $-x^2 + x - 3 = 0$

d) $y = - x^2 + 4x - 4$

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)

$x$ $y = -x^2 + 3$
$-3$ $y = -( -3)^2 + 3 = -6$
–2 $y = -( -2)^2 + 3 = -1$
–1 $y = -( -1)^2 + 3 = 2$
0 $y = -(0)^2 + 3 = 3$
1 $y = -(1)^2 + 3 = 2$
2 $y = -(2)^2 + 3 = -1$
3 $y = -(3)^2 + 3 = -6$

We plot the points and get the following graph:

From the graph we can read that the $x-$intercepts are approximately $x = 1.7$ and $x = -1.7$. These are the solutions to the equation.

b)

$x$ $y =2x^2 + 5x -7$
$-5$ $y = 2(-5)^2 + 5(-5) - 7 = 18$
–4 $y = 2(-4)^2 + 5(-4) - 7 = 5$
–3 $y = 2(-3)^2 + 5(-3) - 7 = -4$
–2 $y = 2(-2)^2 + 5(-2) - 7 = -9$
–1 $y = 2(-1)^2 + 5(-1) - 7 = -10$
0 $y = 2(0)^2 + 5(0) - 7 = -7$
1 $y = 2(1)^2 + 5(1) - 7 = 0$
2 $y = 2(2)^2 + 5(2) - 7 = 11$
3 $y = 2(3)^2 + 5(3) - 7 = 26$

We plot the points and get the following graph:

From the graph we can read that the $x-$intercepts are $x = 1$ and $x = -3.5$. These are the solutions to the equation.

c)

$x$ $y = - x^2 + x - 3$
$-3$ $y=-(-3)^2 +( -3) - 3 = -15$
–2 $y=-(-2)^2 + (-2) -3 = -9$
–1 $y=-(-1)^2 + ( -1) - 3 = -5$
0 $y=-(0)^2 + (0) - 3 = -3$
1 $y=-(1)^2 + (1) - 3 = -3$
2 $y=-(2)^2 + (2) - 3 = -5$
3 $y=-(3)^2 + (3) - 3 = -9$

We plot the points and get the following graph:

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

d)

$x$ $y = - x^2 + 4x - 4$
$-3$ $y= -(-3)^2 + 4(-3) - 4 = -25$
–2 $y= -(-2)^2 + 4(-2) - 4 = -16$
–1 $y= -(-1)^2 + 4(-1) - 4 =-9$
0 $y= -(0)^2 + 4(0) - 4 = -4$
1 $y= -(1)^2 + 4(1) - 4 = -1$
2 $y= -(2)^2 + 4(2) - 4 = 0$
3 $y= -(3)^2 + 4(3) - 4 = -1$
4 $y= -(4)^2 + 4(4) - 4 = -4$
5 $y= -(5)^2 + 4(5) - 4 = -9$

Here is the graph of this function:

The graph just touches the $x-$axis at $x = 2$, so the function has a double root there. $x = 2$ 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 $y= x^2 - 20x + 35$.

Solution

1. Graph the function.

Press the [Y=] button and enter “$x^2 - 20x + 35$” next to $[Y_1=]$. 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 $x-$values should range from -10 to 30 and the $y-$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 $x-$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 $y$ 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 $x = 1.9$ and $x = 18$ 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 $y$. 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 $x-$ and $y-$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 $y = -4.9t^2 + 48t$, where $y$ is the height of the arrow in meters and $t$ 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.

$t$ $y = -4.9t^2 + 48t$
0 $y = -4.9(0)^2 + 48(0) = 0$
1 $y = -4.9(1)^2 + 48(1) = 43.1$
2 $y = -4.9(2)^2 + 48(2) = 76.4$
3 $y = -4.9(3)^2 + 48(3) = 99.9$
4 $y = -4.9(4)^2 + 48(4) = 113.6$
5 $y = -4.9(5)^2 + 48(5) = 117.6$
6 $y = -4.9(6)^2 + 48(6) = 111.6$
7 $y = -4.9(7)^2 + 48(7) = 95.9$
8 $y = -4.9(8)^2 + 48(8) = 70.4$
9 $y = -4.9(9)^2 + 48(9) = 35.1$
10 $y = -4.9(10)^2 + 48(10) = -10$

Here’s the graph of the function:

The roots of the function are approximately $x = 0$ sec and $x = 9.8$ 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.

1. $x^2 + 3x + 6 = 0$
2. $-2x^2 + x + 4 = 0$
3. $x^2 - 9 = 0$
4. $x^2 + 6x + 9 = 0$
5. $10x - 3x^2 = 0$
6. $\frac{1}{2}x^2 - 2x + 3 = 0$

Find the roots of the following quadratic functions by graphing.

1. $y = -3x^2 + 4x - 1$
2. $y = 9 - 4x^2$
3. $y = x^2 + 7x + 2$
4. $y = -x^2 - 10x - 25$
5. $y = 2x^2 - 3x$
6. $y = x^2 - 2x + 5$

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

1. $y = x^2 + 12x + 5$
2. $y = x^2 + 3x + 6$
3. $y = -x^2 - 3x + 9$
4. $y = -x^2 + 4x -12$
5. $y = 2x^2 - 4x + 8$
6. $y = -5x^2 - 3x + 2$
7. Graph the equations $y = 2x^2 - 4x + 8$ and $y = x^2 - 2x + 4$ on the same screen. Find their roots and vertices.
1. What is the same about the graphs? What is different?
2. How are the two equations related to each other? (Hint: factor them.)
3. What might be another equation with the same roots? Graph it and see.
8. Graph the equations $y = x^2 - 2x + 2$ and $y = x^2 - 2x + 4$ on the same screen. Find their roots and vertices.
1. What is the same about the graphs? What is different?
2. How are the two equations related to each other?
9. Phillip throws a ball and it takes a parabolic path. The equation of the height of the ball with respect to time is $y = - 16t^2 + 60t$, where $y$ is the height in feet and $t$ is the time in seconds. Find how long it takes the ball to come back to the ground.
10. Use your graphing calculator to solve Ex. 3. You should get the same answers as we did graphing by hand, but a lot quicker!

Feb 23, 2012

Feb 12, 2015