# 10.1: Graphs of Quadratic Functions

## Learning Objectives

- Graph quadratic functions.
- Compare graphs of quadratic functions.
- Graph quadratic functions in intercept form.
- Analyze graphs of real-world quadratic functions.

## Introduction

The graphs of quadratic functions are curved lines called **parabolas**. You don’t have to look hard to find parabolic shapes around you. Here are a few examples:

- The path that a ball or a rocket takes through the air.
- Water flowing out of a drinking fountain.
- The shape of a satellite dish.
- The shape of the mirror in car headlights or a flashlight.
- The cables in a suspension bridge.

## Graph Quadratic Functions

Let’s see what a parabola looks like by graphing the simplest quadratic function, .

We’ll graph this function by making a table of values. Since the graph will be curved, we need to plot a fair number of points to make it accurate.

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 |

Here are the points plotted on a coordinate graph:

To draw the parabola, draw a smooth curve through all the points. (Do not connect the points with straight lines).

Let’s graph a few more examples.

**Example 1**

*Graph the following parabolas.*

a)

b)

c)

**Solution**

a)

Make a table of values:

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 |

Notice that the last two points have very large values. Since we don’t want to make our scale too big, we’ll just skip graphing those two points. But we’ll plot the remaining points and join them with a smooth curve.

b)

Make a table of values:

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 |

Plot the points and join them with a smooth curve.

Notice that this time we get an “upside down” parabola. That’s because our equation has a negative sign in front of the term. The sign of the coefficient of the term determines whether the parabola turns up or down: the parabola turns up if it’s positive and down if it’s negative.

c)

Make a table of values:

–2 | |

–1 | |

0 | |

1 | |

2 | |

3 |

Let’s not graph the first two points in the table since the values are so big. Plot the remaining points and join them with a smooth curve.

Wait—this doesn’t look like a parabola. What’s going on here?

Maybe if we graph more points, the curve will look more familiar. For negative values of it looks like the values of are just getting bigger and bigger, so let’s pick more positive values of beyond .

0 | |

1 | |

2 | |

3 | |

4 | |

5 | |

6 | |

7 | |

8 |

Plot the points again and join them with a smooth curve.

*Now* we can see the familiar parabolic shape. And now we can see the drawback to graphing quadratics by making a table of values—if we don’t pick the right values, we won’t get to see the important parts of the graph.

In the next couple of lessons, we’ll find out how to graph quadratic equations more efficiently—but first we need to learn more about the properties of parabolas.

## Compare Graphs of Quadratic Functions

The **general form** (or **standard form**) of a quadratic function is:

Here and are the **coefficients.** Remember, a coefficient is just a number (a constant term) that can go before a variable or appear alone.

Although the graph of a quadratic equation in standard form is always a parabola, the shape of the parabola depends on the values of the coefficients and . Let’s explore some of the ways the coefficients can affect the graph.

**Dilation**

Changing the value of makes the graph “fatter” or “skinnier”. Let’s look at how graphs compare for different positive values of . The plot on the left shows the graphs of and . The plot on the right shows the graphs of and .

Notice that the larger the value of is, the skinnier the graph is – for example, in the first plot, the graph of is skinnier than the graph of . Also, the smaller is, the fatter the graph is – for example, in the second plot, the graph of is fatter than the graph of . This might seem counterintuitive, but if you think about it, it should make sense. Let’s look at a table of values of these graphs and see if we can explain why this happens.

–2 | |||

–1 | |||

0 | |||

1 | |||

2 | |||

3 |

From the table, you can see that the values of are bigger than the values of . This is because each value of gets multiplied by 3. As a result the parabola will be skinnier because it grows three times faster than . On the other hand, you can see that the values of are smaller than the values of , because each value of gets divided by 3. As a result the parabola will be fatter because it grows at one third the rate of .

**Orientation**

As the value of gets smaller and smaller, then, the parabola gets wider and flatter. What happens when gets all the way down to zero? What happens when it’s negative?

Well, when , the term drops out of the equation entirely, so the equation becomes linear and the graph is just a straight line. For example, we just saw what happens to when we change the value of ; if we tried to graph , we would just be graphing , which would be a horizontal line.

So as gets smaller and smaller, the graph of gets flattened all the way out into a horizontal line. Then, when becomes negative, the graph of starts to curve again, only it curves downward instead of upward. This fits with what you’ve already learned: the graph opens upward if is positive and downward if is negative.

For example, here are the graphs of and . You can see that the parabola has the same shape in both graphs, but the graph of is right-side-up and the graph of is upside-down.

**Vertical Shift**

Changing the constant just shifts the parabola up or down. The following plot shows the graphs of and .

You can see that when is positive, the graph shifts up, and when is negative the graph shifts down; in either case, it shifts by units. In one of the later sections we’ll learn about **horizontal shift** (i.e. moving to the right or to the left). Before we can do that, though, we need to learn how to rewrite quadratic equations in different forms.

Meanwhile, if you want to explore further what happens when you change the coefficients of a quadratic equation, the page at http://www.analyzemath.com/quadraticg/quadraticg.htm has an applet you can use. Click on the “Click here to start” button in section A, and then use the sliders to change the values of and .

## Graph Quadratic Functions in Intercept Form

Now it’s time to learn how to graph a parabola without having to use a table with a large number of points.

Let’s look at the graph of .

There are several things we can notice:

- The parabola crosses the axis at two points: and . These points are called the
**intercepts**of the parabola. - The lowest point of the parabola occurs at (3, -1).
- This point is called the
**vertex**of the parabola. - The vertex is the lowest point in any parabola that turns upward, or the highest point in any parabola that turns downward.
- The vertex is
*exactly halfway between the two*This will always be the case, and you can find the vertex using that property.*intercepts.*

- This point is called the
- The parabola is
**symmetric.**If you draw a vertical line through the vertex, you see that the two halves of the parabola are mirror images of each other. This vertical line is called the**line of symmetry.**

We said that the general form of a quadratic function is . When we can factor a quadratic expression, we can rewrite the function in **intercept form:**

This form is very useful because it makes it easy for us to find the intercepts and the vertex of the parabola. The intercepts are the values of where the graph crosses the axis; in other words, they are the values of when . To find the intercepts from the quadratic function, we set and solve:

Since the equation is already factored, we use the zero-product property to set each factor equal to zero and solve the individual linear equations:

So the intercepts are at points and .

Once we find the intercepts, it’s simple to find the vertex. The value of the vertex is halfway between the two intercepts, so we can find it by taking the average of the two values: . Then we can find the value by plugging the value of back into the equation of the function.

**Example 2**

*Find the intercepts and the vertex of the following quadratic functions:*

a)

b)

**Solution**

a)

Write the quadratic function in intercept form by factoring the right hand side of the equation. Remember, to factor we need two numbers whose product is 15 and whose sum is –8. These numbers are –5 and –3.

The function in intercept form is

We find the intercepts by setting .

We have:

So **the** **intercepts are (5, 0) and (3, 0).**

The vertex is halfway between the two intercepts. We find the value by taking the average of the two intercepts:

We find the value by plugging the value we just found into the original equation:

So **the vertex is (4, -1).**

b)

Re-write the function in intercept form.

Factor the common term of 3 first:

Then factor completely:

Set and solve:

**The intercepts are (-4, 0) and (2, 0).**

For the vertex,

and

**The vertex is: (-1, -27)**

Knowing the vertex and intercepts is a useful first step toward being able to graph quadratic functions more easily. Knowing the vertex tells us where the middle of the parabola is. When making a table of values, we can make sure to pick the vertex as a point in the table. Then we choose just a few smaller and larger values of . In this way, we get an accurate graph of the quadratic function without having to have too many points in our table.

**Example 3**

*Find the* *intercepts and vertex. Use these points to create a table of values and graph each function.*

a)

b)

**Solution**

a)

Let’s find the intercepts and the vertex:

Factor the right-hand side of the function to put the equation in intercept form:

Set and solve:

The intercepts are (2, 0) and (-2, 0).

Find the vertex:

The vertex is (0, -4).

Make a table of values using the vertex as the middle point. Pick a few values of smaller and larger than . Include the intercepts in the table.

–2 | intercept | |

–1 | ||

0 | vertex | |

1 | ||

2 | intercept | |

3 |

Then plot the graph:

b)

Let’s find the intercepts and the vertex:

Factor the right-hand-side of the function to put the equation in intercept form:

Set and solve:

The intercepts are (6, 0) and (8, 0).

Find the vertex:

The vertex is (7, 1).

Make a table of values using the vertex as the middle point. Pick a few values of smaller and larger than . Include the intercepts in the table.

4 | |

5 | |

6 | |

7 | |

8 | |

9 | |

10 |

Then plot the graph:

## Analyze Graphs of Real-World Quadratic Functions.

As we mentioned at the beginning of this section, parabolic curves are common in real-world applications. Here we will look at a few graphs that represent some examples of real-life application of quadratic functions.

**Example 4**

*Andrew has 100 feet of fence to enclose a rectangular tomato patch. What should the dimensions of the rectangle be in order for the rectangle to have the greatest possible area?*

**Solution**

Drawing a picture will help us find an equation to describe this situation:

If the length of the rectangle is , then the width is . (The length and the width add up to 50, not 100, because two lengths and two widths together add up to 100.)

If we let be the area of the triangle, then we know that the area is length width, so .

Here’s the graph of that function, so we can see how the area of the rectangle depends on the length of the rectangle:

We can see from the graph that the highest value of the area occurs when the length of the rectangle is 25. The area of the rectangle for this side length equals 625. (Notice that the width is also 25, which makes the shape a square with side length 25.)

This is an example of an *optimization problem.* These problems show up often in the real world, and if you ever study calculus, you’ll learn how to solve them without graphs.

**Example 5**

*Anne is playing golf. On the* *tee, she hits a slow shot down the level fairway. The ball follows a parabolic path described by the equation* , *where* *is the ball’s height in the air and* *is the horizontal distance it has traveled from the tee. The distances are measured in feet. How far from the tee does the ball hit the ground? At what distance from the tee does the ball attain its maximum height? What is the maximum height?*

**Solution**

Let’s graph the equation of the path of the ball:

has solutions and .

From the graph, we see that the ball hits the ground **25 feet from the tee.** (The other intercept, , tells us that the ball was also on the ground when it was on the tee!)

We can also see that the ball reaches its maximum height of **about 6.25 feet** when it is **12.5 feet from the tee.**

## Review Questions

Rewrite the following functions in intercept form. Find the intercepts and the vertex.

Does the graph of the parabola turn up or down?

The vertex of which parabola is higher?

- or
- or
- or
- or

Which parabola is wider?

- or
- or
- or
- or

Graph the following functions by making a table of values. Use the vertex and intercepts to help you pick values for the table.

- Nadia is throwing a ball to Peter. Peter does not catch the ball and it hits the ground. The graph shows the path of the ball as it flies through the air. The equation that describes the path of the ball is . Here is the height of the ball and is the horizontal distance from Nadia. Both distances are measured in feet.
- How far from Nadia does the ball hit the ground?
- At what distance from Nadia, does the ball attain its maximum height?
- What is the maximum height?

- Jasreel wants to enclose a vegetable patch with 120 feet of fencing. He wants to put the vegetable against an existing wall, so he only needs fence for three of the sides. The equation for the area is given by . From the graph, find what dimensions of the rectangle would give him the greatest area.