# 10.5 Graphing Quadratic Equations in Two Variables

### Learning Objectives

By the end of this section, you will be able to:

• Recognize the graph of a quadratic equation in two variables
• Find the axis of symmetry and vertex of a parabola
• Find the intercepts of a parabola
• Graph quadratic equations in two variables
• Solve maximum and minimum applications

Be Prepared 10.13

Before you get started, take this readiness quiz.

Graph the equation y=3x−5 by plotting points.
If you missed this problem, review Example 4.11.

Be Prepared 10.14

Evaluate 2x2+4x−1 when x=−3.
If you missed this problem, review Example 1.57.

Be Prepared 10.15

Evaluate −b/2a when a=1/3 and b=5/6.
If you missed this problem, review Example 1.89.

### Recognize the Graph of a Quadratic Equation in Two Variables

We have graphed equations of the form Ax+By=C. We called equations like this linear equations because their graphs are straight lines.

Now, we will graph equations of the form y=ax2+bx+c. We call this kind of equation a quadratic equation in two variables.

### Quadratic Equation in Two Variables

A quadratic equation in two variables, where a,b,andc are real numbers and a≠0, is an equation of the form

y=ax2+bx+c

Just like we started graphing linear equations by plotting points, we will do the same for quadratic equations.

Let’s look first at graphing the quadratic equation y=x2. We will choose integer values of x between −2 and 2 and find their y values. See Table 10.1.

Notice when we let x=1 and x=−1, we got the same value for y.

The same thing happened when we let x=2 and x=−2.

Now, we will plot the points to show the graph of y=x2. See Figure 10.2.

The graph is not a line. This figure is called a parabola. Every quadratic equation has a graph that looks like this.

In Example 10.43 you will practice graphing a parabola by plotting a few points.

### Example 10.43

Graph y=x2−1.

Try It 10.85

Graph y=−x2.

Try It 10.86

Graph y=x 2 +1.

How do the equations y=x2 and y=x2−1 differ? What is the difference between their graphs? How are their graphs the same?

All parabolas of the form y=ax2+bx+c open upwards or downwards. See Figure 10.3.

Notice that the only difference in the two equations is the negative sign before the x2 in the equation of the second graph in Figure 10.3. When the x 2 term is positive, the parabola opens upward, and when the x 2 term is negative, the parabola opens downward.

### Parabola Orientation

For the quadratic equation y=ax2+bx+c, if:

### Example 10.44

Determine whether each parabola opens upward or downward:

y=−3x2+2x−4 ⓑ y=6x2+7x−9

Try It 10.87

Determine whether each parabola opens upward or downward:

y=2x2+5x−2 ⓑ y=−3x 2 −4x+7 Try It 10.88

Determine whether each parabola opens upward or downward:

y=−2x 2 −2x−3 ⓑ y=5x 2 −2x−1

### Find the Axis of Symmetry and Vertex of a Parabola

Look again at Figure 10.3. Do you see that we could fold each parabola in half and that one side would lie on top of the other? The ‘fold line’ is a line of symmetry. We call it the axis of symmetry of the parabola.

We show the same two graphs again with the axis of symmetry in red. See Figure 10.4.

The equation of the axis of symmetry can be derived by using the Quadratic Formula. We will omit the derivation here and proceed directly to using the result. The equation of the axis of symmetry of the graph of

Look back at Figure 10.4. Are these the equations of the dashed red lines?

The point on the parabola that is on the axis of symmetry is the lowest or highest point on the parabola, depending on whether the parabola opens upwards or downwards. This point is called the vertex of the parabola.

We can easily find the coordinates of the vertex, because we know it is on the axis of symmetry. This means its x-coordinate is −b/2a. To find the y-coordinate of the vertex, we substitute the value of the x-coordinate into the quadratic equation.

### Find the Intercepts of a Parabola

When we graphed linear equations, we often used the x– and y-intercepts to help us graph the lines. Finding the coordinates of the intercepts will help us to graph parabolas, too.

Remember, at the y-intercept the value of x is zero. So, to find the y-intercept, we substitute x=0 into the equation.

Let’s find the y-intercepts of the two parabolas shown in the figure below.

At an x-intercept, the value of y is zero. To find an x-intercept, we substitute y=0 into the equation. In other words, we will need to solve the equation 0=ax2+bx+c for x.

But solving quadratic equations like this is exactly what we have done earlier in this chapter.

We can now find the x-intercepts of the two parabolas shown in Figure 10.5.

First, we will find the x-intercepts of a parabola with equation y=x2+4x+3.

We will use the decimal approximations of the x-intercepts, so that we can locate these points on the graph.

Do these results agree with our graphs? See Figure 10.6.

In this chapter, we have been solving quadratic equations of the form ax 2 +bx+c=0. We solved for x and the results were the solutions to the equation.

We are now looking at quadratic equations in two variables of the form y=ax2+bx+c. The graphs of these equations are parabolas. The x-intercepts of the parabolas occur where y=0.

For example:

The solutions of the quadratic equation are the x values of the x-intercepts.

Earlier, we saw that quadratic equations have 2, 1, or 0 solutions. The graphs below show examples of parabolas for these three cases. Since the solutions of the equations give the x-intercepts of the graphs, the number of x-intercepts is the same as the number of solutions.

Previously, we used the discriminant to determine the number of solutions of a quadratic equation of the form ax2+bx+c=0. Now, we can use the discriminant to tell us how many x-intercepts there are on the graph.

Before you start solving the quadratic equation to find the values of the x-intercepts, you may want to evaluate the discriminant so you know how many solutions to expect.

### Example 10.47

Find the intercepts of the parabola y=5x2+x+4.

Try It 10.93

Find the intercepts of the parabola y=3x2+4x+4.

Try It 10.94

Find the intercepts of the parabola y=x2−4x−5.

### Example 10.48

Find the intercepts of the parabola y=4x2−12x+9.

Try It 10.95

Find the intercepts of the parabola y=−x2−12x−36.

Try It 10.96

Find the intercepts of the parabola y=9x2+12x+4.

### Graph Quadratic Equations in Two Variables

Now, we have all the pieces we need in order to graph a quadratic equation in two variables. We just need to put them together. In the next example, we will see how to do this.

### Example 10.49

#### How To Graph a Quadratic Equation in Two Variables

Graph y=x2−6x+8.

Try It 10.97

Graph the parabola y=x2+2x−8.

Try It 10.98

Graph the parabola y=x2−8x+12.

### How To

#### Graph a quadratic equation in two variables.

1. Step 1. Write the quadratic equation with y on one side.
2. Step 2. Determine whether the parabola opens upward or downward.
3. Step 3. Find the axis of symmetry.
4. Step 4. Find the vertex.
5. Step 5. Find the y-intercept. Find the point symmetric to the y-intercept across the axis of symmetry.
6. Step 6. Find the x-intercepts.
7. Step 7. Graph the parabola.

We were able to find the x-intercepts in the last example by factoring. We find the x-intercepts in the next example by factoring, too.

### Example 10.50

Graph y=−x2+6x−9.

Solution;-

Try It 10.99

Graph the parabola y=−3x2+12x−12.

Try It 10.100

Graph the parabola y=25x 2 +10x+1.

For the graph of y=−x2+6x−9, the vertex and the x-intercept were the same point. Remember how the discriminant determines the number of solutions of a quadratic equation? The discriminant of the equation 0=−x2+6x−9 is 0, so there is only one solution. That means there is only one x-intercept, and it is the vertex of the parabola.

How many x-intercepts would you expect to see on the graph of y=x2+4x+5?

### Example 10.51

Graph y=x2+4x+5.

#### Solution

Try It 10.101

Graph the parabola y=2x2−6x+5.

Try It 10.102

Graph the parabola y=−2x2−1.

Finding the y-intercept by substituting x=0 into the equation is easy, isn’t it? But we needed to use the Quadratic Formula to find the x-intercepts in Example 10.51. We will use the Quadratic Formula again in the next example.

### Example 10.52

Graph y=2x2−4x−3.

#### Solution

Try It 10.103

Graph the parabola y=5x2+10x+3.

Try It 10.104

Graph the parabola y=−3x 2 −6x+5.

### Solve Maximum and Minimum Applications

Knowing that the vertex of a parabola is the lowest or highest point of the parabola gives us an easy way to determine the minimum or maximum value of a quadratic equation. The y-coordinate of the vertex is the minimum y-value of a parabola that opens upward. It is the maximum y-value of a parabola that opens downward. See Figure 10.7.

### Minimum or Maximum Values of a Quadratic Equation

The y-coordinate of the vertex of the graph of a quadratic equation is the

• minimum value of the quadratic equation if the parabola opens upward.
• maximum value of the quadratic equation if the parabola opens downward.

### Example 10.53

Find the minimum value of the quadratic equation y=x2+2x−8.

#### Solution

Try It 10.105

Find the maximum or minimum value of the quadratic equation y=x2−8x+12.

Try It 10.106

Find the maximum or minimum value of the quadratic equation y=−4x 2 +16x−11.

We have used the formula

to calculate the height in feet, h, of an object shot upwards into the air with initial velocity, v0, after t seconds.

This formula is a quadratic equation in the variable t, so its graph is a parabola. By solving for the coordinates of the vertex, we can find how long it will take the object to reach its maximum height. Then, we can calculate the maximum height.

### Example 10.54

The quadratic equation h=−16t2+v0t+h0 models the height of a volleyball hit straight upwards with velocity 176 feet per second from a height of 4 feet.

1. ⓐ How many seconds will it take the volleyball to reach its maximum height?
2. ⓑ Find the maximum height of the volleyball.

#### Solution

h=−16t2+176t+4

Since a is negative, the parabola opens downward.

The quadratic equation has a maximum.

1. Find the axis of symmetry.The vertex is on the linet=5.5.t=−b2at=−1762(−16)t=5.5The axis of symmetry ist=5.5.The maximum occurs whent=5.5seconds.

Try It 10.107

The quadratic equation h=−16t2+128t+32 is used to find the height of a stone thrown upward from a height of 32 feet at a rate of 128 ft/sec. How long will it take for the stone to reach its maximum height? What is the maximum height? Round answers to the nearest tenth.

Try It 10.108

A toy rocket shot upward from the ground at a rate of 208 ft/sec has the quadratic equation of h=−16t 2 +208t. When will the rocket reach its maximum height? What will be the maximum height? Round answers to the nearest tenth.

### Media

Access these online resources for additional instruction and practice graphing quadratic equations:

• How do you graph a quadratic function?

### Section 10.5 Exercises

#### Practice Makes Perfect

Recognize the Graph of a Quadratic Equation in Two Variables

In the following exercises, graph:

203.An arrow is shot vertically upward from a platform 45 feet high at a rate of 168 ft/sec. Use the quadratic equation h=−16t2+168t+45 to find how long it will take the arrow to reach its maximum height, and then find the maximum height.

204.A stone is thrown vertically upward from a platform that is 20 feet high at a rate of 160 ft/sec. Use the quadratic equation h=−16t2+160t+20 to find how long it will take the stone to reach its maximum height, and then find the maximum height.

205.A computer store owner estimates that by charging x dollars each for a certain computer, he can sell 40−x computers each week. The quadratic equation R=−x 2 +40x is used to find the revenue, R, received when the selling price of a computer is x. Find the selling price that will give him the maximum revenue, and then find the amount of the maximum revenue.

206.A retailer who sells backpacks estimates that, by selling them for x dollars each, he will be able to sell 100−x backpacks a month. The quadratic equation R=−x2+100x is used to find the R received when the selling price of a backpack is x. Find the selling price that will give him the maximum revenue, and then find the amount of the maximum revenue.

207.A rancher is going to fence three sides of a corral next to a river. He needs to maximize the corral area using 240 feet of fencing. The quadratic equation A=x(240−2x) gives the area of the corral, A, for the length, x, of the corral along the river. Find the length of the corral along the river that will give the maximum area, and then find the maximum area of the corral.

208.A veterinarian is enclosing a rectangular outdoor running area against his building for the dogs he cares for. He needs to maximize the area using 100 feet of fencing. The quadratic equation A=x(100−2x) gives the area, A, of the dog run for the length, x, of the building that will border the dog run. Find the length of the building that should border the dog run to give the maximum area, and then find the maximum area of the dog run.

#### Everyday Math

209.In the previous set of exercises, you worked with the quadratic equation R=−x2+40x that modeled the revenue received from selling computers at a price of x dollars. You found the selling price that would give the maximum revenue and calculated the maximum revenue. Now you will look at more characteristics of this model.
ⓐ Graph the equation R=−x2+40x. ⓑ Find the values of the x-intercepts.
210.In the previous set of exercises, you worked with the quadratic equation R=−x2+100x that modeled the revenue received from selling backpacks at a price of x dollars. You found the selling price that would give the maximum revenue and calculated the maximum revenue. Now you will look at more characteristics of this model.
ⓐ Graph the equation R=−x2+100x. ⓑ Find the values of the x-intercepts.

#### Writing Exercises

211.

For the revenue model in Exercise 10.205 and Exercise 10.209, explain what the x-intercepts mean to the computer store owner.
212.

For the revenue model in Exercise 10.206 and Exercise 10.210, explain what the x-intercepts mean to the backpack retailer.

#### Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section. ⓑ What does this checklist tell you about your mastery of this section? What steps will you take to improve?