Graphing Quadratic Equations in Two Variables
Recognize the graph of a quadratic equation in two variables
We have graphed equations of the form . We called equations like this linear equations because their graphs are straight lines.
Now, we will graph equations of the form . We call this kind of equation a quadratic equation in two variables.
Quadratic equation in two variables. A quadratic equation in two variables, where , , and are real numbers and , is an equation of the form
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 . We will choose integer values of between and and find their values.
Notice when we let and , we got the same value for .
The same thing happened when we let and .
Now, we will plot the points to show the graph of .
The graph is not a line. This figure is called a parabola. Every quadratic equation has a graph that looks like this.
Example 10.43. Graph .
We will graph the equation by plotting points. Choose integer values for , substitute them into the equation and solve for .
Record the values of the ordered pairs in the chart. Plot the points, and then connect them with a smooth curve.
The result is the graph of .
Graph . Which description identifies its graph?
Use and plot the corresponding values of .How do the equations and differ? What is the difference between their graphs? How are their graphs the same?
All parabolas of the form open upwards or downwards. Compare the two graphs below.
Notice that the only difference in the two equations is the negative sign before the in the equation of the second graph. When the term is positive, the parabola opens upward, and when the term is negative, the parabola opens downward.
Parabola orientation. For the quadratic equation , if:
- , the parabola opens upward.
- , the parabola opens downward.
Example 10.44. Determine whether each parabola opens upward or downward: (a) ; (b) .
(a) Find the value of . Since is negative, the parabola will open downward.
(b) Find the value of . Since is positive, the parabola will open upward.
Determine whether the parabola opens upward or downward.
Find the value and sign of , the coefficient of .Find the axis of symmetry and vertex of a parabola
Look again at the two parabolas and . 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.
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 is
So, to find the equation of symmetry of each of the parabolas we graphed above, we will substitute into the formula .
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 -coordinate is . To find the -coordinate of the vertex, we substitute the value of the -coordinate into the quadratic equation.
For , the axis is and , so the vertex is . For , the axis is and , so the vertex is .
Axis of symmetry and vertex of a parabola. For a parabola with equation :
- The axis of symmetry is the line .
- The vertex is on the axis of symmetry, so its -coordinate is .
To find the -coordinate of the vertex, substitute into the quadratic equation.
Example 10.45. For the parabola find: (a) the axis of symmetry and (b) the vertex.
(a) The axis of symmetry is the line .
The axis of symmetry is the line .
(b) The vertex is on the line of symmetry, so its -coordinate will be . Substitute into the equation and solve for .
The vertex is .
For the parabola , find the -coordinate of the axis of symmetry.
Use with and .Find the intercepts of a parabola
When we graphed linear equations, we often used the - and -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 is zero. So, to find the -intercept, we substitute into the equation. Both and have -intercept .
At an x-intercept, the value of is zero. To find an -intercept, we substitute into the equation. In other words, we will need to solve for .
But solving quadratic equations like this is exactly what we have done earlier in this chapter.
First, we will find the -intercepts of .
The -intercepts are and .
Now, we will find the -intercepts of .
The -intercepts are and , approximately and .
Find the intercepts of a parabola. For :
- y-intercept: Let and solve for .
- x-intercepts: Let and solve for .
Example 10.46. Find the intercepts of .
To find the -intercept, let and solve for : . The -intercept is .
To find the -intercept, let and solve for .
The -intercepts are and .
Find the -intercepts of . Enter the -values separated by commas from least to greatest.
Let and factor .In this chapter, we have been solving quadratic equations of the form . We solved for and the results were the solutions to the equation.
We are now looking at quadratic equations in two variables of the form . The graphs of these equations are parabolas. The -intercepts of the parabolas occur where .
The solutions of the quadratic equation are the values of the -intercepts.
Earlier, we saw that quadratic equations have 2, 1, or 0 solutions. The graphs below show parabolas for these three cases. Since the solutions of the equations give the -intercepts of the graphs, the number of -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 . Now, we can use the discriminant to tell us how many -intercepts there are on the graph.
| Discriminant | Solutions | Graph |
|---|---|---|
| Two solutions | Two -intercepts | |
| One solution | One -intercept | |
| No real solution | No -intercept |
Before you start solving the quadratic equation to find the values of the -intercepts, you may want to evaluate the discriminant so you know how many solutions to expect.
Example 10.47. Find the intercepts of .
To find the -intercept, let and solve for .
When , then . The -intercept is the point .
To find the -intercept, let and solve for . Find the value of the discriminant to predict the number of solutions and so -intercepts.
Since the value of the discriminant is negative, there is no real solution to the equation. There are no -intercepts.
Example 10.48. Find the intercepts of .
To find the -intercept, let and solve for .
When , then . The -intercept is the point .
To find the -intercept, let and solve for . Find the value of the discriminant to predict the number of solutions and so -intercepts.
Since the value of the discriminant is 0, there is only one real solution to the equation. Therefore, there is only one -intercept.
When , then . The -intercept is the point .
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.
Example 10.49. How To Graph a Quadratic Equation in Two Variables. Graph .
Step 1. Write the quadratic equation with on one side. This equation has on one side.
Step 2. Determine whether the parabola opens upward or downward. Look at in the equation. Since is positive, the parabola opens upward.
Step 3. Find the axis of symmetry.
The axis of symmetry is the line .
Step 4. Find the vertex. The vertex is on the axis of symmetry. Substitute into the equation and solve for .
The vertex is .
Step 5. Find the -intercept. Find the point symmetric to the -intercept across the axis of symmetry. We substitute into the equation.
The -intercept is . We use the axis of symmetry to find a point symmetric to the -intercept. The -intercept is 3 units left of the axis of symmetry, . A point 3 units to the right of the axis of symmetry has . The point is .
Step 6. Find the -intercepts. We substitute into the equation. We can solve this quadratic equation by factoring.
The -intercepts are and .
Step 7. Graph the parabola. We graph the vertex, intercepts, and the point symmetric to the -intercept. We connect these 5 points to sketch the parabola.
Graph a quadratic equation in two variables.
- Write the quadratic equation with on one side.
- Determine whether the parabola opens upward or downward.
- Find the axis of symmetry.
- Find the vertex.
- Find the -intercept. Find the point symmetric to the -intercept across the axis of symmetry.
- Find the -intercepts.
- Graph the parabola.
Example 10.50. Graph .
The equation has on one side. Since is , the parabola opens downward. To find the axis of symmetry, find .
The axis of symmetry is . The vertex is on the line . Find when .
The vertex is . The -intercept occurs when . Substitute . Simplify.
The -intercept is . The point is three units to the left of the line of symmetry. The point three units to the right of the line of symmetry is . Point symmetric to the -intercept is .
Connect the points to graph the parabola.
For the graph of , the vertex and the -intercept were the same point. Remember how the discriminant determines the number of solutions of a quadratic equation? The discriminant of the equation is 0, so there is only one solution. That means there is only one -intercept, and it is the vertex of the parabola.
How many -intercepts would you expect to see on the graph of ?
Example 10.51. Graph .
The equation has on one side. Since is 1, the parabola opens upward. To find the axis of symmetry, find .
The axis of symmetry is . The vertex is on the line . Find when .
The vertex is . The -intercept occurs when . Substitute . Simplify.
The -intercept is . The point is two units to the right of the line of symmetry. The point two units to the left of the line of symmetry is . Point symmetric to the -intercept is .
The -intercept occurs when . Substitute . Test the discriminant.
Since the value of the discriminant is negative, there is no solution and so no -intercept. Connect the points to graph the parabola. You may want to choose two more points for greater accuracy.
Example 10.52. Graph .
The equation has on one side. Since is 2, the parabola opens upward. To find the axis of symmetry, find .
The axis of symmetry is . The vertex is on the line . Find when .
The vertex is . The -intercept occurs when . Substitute . Simplify.
The -intercept is . The point is one unit to the left of the line of symmetry. The point one unit to the right of the line of symmetry is . Point symmetric to the -intercept is .
The -intercept occurs when . Substitute . Use the Quadratic Formula.
Write as two equations: , . Approximate the values: , . The approximate values of the -intercepts are and . Graph the parabola using the points found.
Graph . Which description identifies its vertex and orientation?
Find , substitute, and inspect the sign of .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 -coordinate of the vertex is the minimum -value of a parabola that opens upward. It is the maximum -value of a parabola that opens downward.
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 .
Since is positive, the parabola opens upward. The quadratic equation has a minimum. Find the axis of symmetry.
The axis of symmetry is . The vertex is on the line . Find when .
The vertex is . Since the parabola has a minimum, the -coordinate of the vertex is the minimum -value of the quadratic equation. The minimum value of the quadratic is and it occurs when . Show the graph to verify the result.
Find the minimum value of .
Find the vertex using , then substitute.We have used the formula
to calculate the height in feet, , of an object shot upwards into the air with initial velocity, , after seconds.
This formula is a quadratic equation in the variable , 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 models the height of a volleyball hit straight upwards with velocity 176 feet per second from a height of 4 feet.
(a) How many seconds will it take the volleyball to reach its maximum height? (b) Find the maximum height of the volleyball.
Here . Since is negative, the parabola opens downward. The quadratic equation has a maximum.
(a) Find the axis of symmetry.
The axis of symmetry is . The vertex is on the line . The maximum occurs when seconds.
(b) Find when .
Use a calculator to simplify: . The vertex is . Since the parabola has a maximum, the -coordinate of the vertex is the maximum -value of the quadratic equation. The maximum value of the quadratic is 488 feet and it occurs when seconds.
For , how many seconds will it take the stone to reach its maximum height?
Use with and .Key terms
quadratic equation in two variables — an equation of the form , where , , and are real numbers and . parabola — the graph of a quadratic equation in two variables. axis of symmetry — the vertical line passing through the middle of the parabola. vertex — the point on the parabola that is on the axis of symmetry; it is the lowest or highest point on the parabola. x-intercepts of a parabola — the points where . y-intercept of a parabola — the point where .
This section is adapted from Elementary Algebra 2e, Section 10.5: Graphing Quadratic Equations in Two Variables by Lynn Marecek and MaryAnne Anthony-Smith, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the source parabola graphs as accessible inline graphics, recast source data tables as markdown tables, omitted the Be Prepared quiz, media links, and end-of-section exercises, and converted selected practice problems (“Try Its”) into interactive exercises with instant feedback.