10.5: Graphing Quadratic Equations
 Last updated
 Save as PDF
 Page ID
 19000
 Lynn Marecek
 Professor (Mathematics) at Santa Ana College
 Publisher: OpenStax CNX
 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
Before you get started, take this readiness quiz.
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=ax^2+bx+c\). We call this kind of equation a quadratic equation in two variables.
definition: QUADRATIC EQUATION IN TWO VARIABLES
A quadratic equation in two variables, where a,b,and c are real numbers and \(a\neq 0\), is an equation of the form \[y=ax^2+bx+c \nonumber\]
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=x^2\). We will choose integer values of x between −2 and 2 and find their y values. See Table.
\(y=x^2\)  
x  y 
0  0 
1  1 
\(−1\)  1 
2  4 
\(−2\)  4 
Notice when we let \(x=1\) and \(x=−1\), we got the same value for y.
\[\begin{array} {ll} {y=x^2} &{y=x^2} \\ {y=1^2} &{y=(−1)^2} \\ {y=1} &{y=1} \\ \nonumber \end{array}\]
The same thing happened when we let \(x=2\) and \(x=−2\).
Now, we will plot the points to show the graph of \(y=x^2\). See Figure.
The graph is not a line. This figure is called a parabola. Every quadratic equation has a graph that looks like this.
In Example you will practice graphing a parabola by plotting a few points.
Example \(\PageIndex{1}\)
\(y=x^21\)
 Answer

We will graph the equation by plotting points.
Choose integers values for x, substitute them into the equation and solve for y.Record the values of the ordered pairs in the chart. Plot the points, and then connect them with a smooth curve. The result will be the graph of the equation \(y=x^2−1\)
Example \(\PageIndex{2}\)
Graph \(y=−x^2\).
 Answer
Example \(\PageIndex{3}\)
Graph \(y=x^2+1\).
 Answer
How do the equations \(y=x^2\)and \(y=x^2−1\) differ? What is the difference between their graphs? How are their graphs the same?
All parabolas of the form \(y=ax^2+bx+c\) open upwards or downwards. See Figure.
Notice that the only difference in the two equations is the negative sign before the \(x^2\) in the equation of the second graph in Figure. When the \(x^2\) term is positive, the parabola opens upward, and when the \(x^2\) term is negative, the parabola opens downward.
Definition: PARABOLA ORIENTATION
For the quadratic equation \(y=ax^2+bx+c\), if:
Example\(\PageIndex{4}\)
Determine whether each parabola opens upward or downward:
 \(y=−3x^2+2x−4\)
 \( y=6x^2+7x−9\)
 Answer

Since the “a” is negative, the parabola will open downward.
Since the “a” is positive, the parabola will open upward.
Example\(\PageIndex{5}\)
Determine whether each parabola opens upward or downward:
 \(y=2x^2+5x−2\)
 \(y=−3x^2−4x+7\)
 Answer

 up
 down
Example \(\PageIndex{6}\)
Determine whether each parabola opens upward or downward:
 \(y=−2x^2−2x−3\)
 \(y=5x^2−2x−1\)
 Answer

 down
 up
Find the Axis of Symmetry and Vertex of a Parabola
Look again at Figure. 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.
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 \(y=ax^2+bx+c\) is x=\(−\frac{b}{2a}\).
So, to find the equation of symmetry of each of the parabolas we graphed above, we will substitute into the formula x=\(−\frac{b}{2a}\).
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 xcoordinate is \(−\frac{b}{2a}\). To find the ycoordinate of the vertex, we substitute the value of the xcoordinate into the quadratic equation.
Definition: AXIS OF SYMMETRY AND VERTEX OF A PARABOLA
For a parabola with equation \(y=ax^2+bx+c\):
 The axis of symmetry of a parabola is the line x=\(−\frac{b}{2a}\).
 The vertex is on the axis of symmetry, so its xcoordinate is \(−\frac{b}{2a}\).
To find the ycoordinate of the vertex, we substitute x=\(−\frac{b}{2a}\) into the quadratic equation.
Example\(\PageIndex{7}\)
For the parabola \(y=3x^2−6x+2\) find:
 the axis of symmetry and
 the vertex.
 Answer

1. The axis of symmetry is the line x=\(−\frac{b}{2a}\) Substitute the values of a, b into the equation. Simplify x=1 The axis of symmetry is the line x=1 2. The vertex is on the line of symmetry, so its xcoordinate will be x=1 Substitute x=1 into the equation and solve for y. Simplify This is the ycoordinate. y=−1
The vertex is (1,−1).
Example \(\PageIndex{8}\)
For the parabola \(y=2x^2−8x+1\) find:
 the axis of symmetry and
 the vertex.
 Answer

 x=2
 (2,−7)
Example \(\PageIndex{9}\)
For the parabola \(y=2x^2−4x−3\) find:
 the axis of symmetry and
 the vertex.
 Answer

 x=1
 (1,−5)
Find the Intercepts of a Parabola
When we graphed linear equations, we often used the x and yintercepts to help us graph the lines. Finding the coordinates of the intercepts will help us to graph parabolas, too.
Remember, at the yintercept the value of x is zero. So, to find the yintercept, we substitute x=0 into the equation.
Let’s find the yintercepts of the two parabolas shown in the figure below.
At an xintercept, the value of y is zero. To find an xintercept, we substitute \(y=0\) into the equation. In other words, we will need to solve the equation \(0=ax^2+bx+c\) for x.
\[\begin{array} {ll} {y=ax^2+bx+c} \\ {0=ax^2+bx+c} \\ \nonumber \end{array}\]
But solving quadratic equations like this is exactly what we have done earlier in this chapter.
We can now find the xintercepts of the two parabolas shown in Figure.
First, we will find the xintercepts of a parabola with equation \(y=x^2+4x+3\).
Let y=0  
Factor.  
Use the zero product property.  
Solve.  
The x intercepts are (−1,0) and (−3,0). 
Now, we will find the xintercepts of the parabola with equation \(y=−x^2+4x+3\).
Let y=0  
This quadratic does not factor, so we use the Quadratic Formula.  
a=−1, b=4, c=3.  
Simplify.  
The x intercepts are \((2+\sqrt{7},0)\) and \((2−\sqrt{7},0)\) 
We will use the decimal approximations of the xintercepts, so that we can locate these points on the graph.
\[\begin{array} {l} {(2+\sqrt{7},0) \approx (4.6,0)} & {(2−\sqrt{7},0) \approx (0.6,0)}\\ \nonumber \end{array}\]
Do these results agree with our graphs? See Figure.
Definition: FIND THE INTERCEPTS OF A PARABOLA
To find the intercepts of a parabola with equation \(y=ax^2+bx+c\):
\[\begin{array}{ll} {\textbf{yintercept}}& {\textbf{xintercept}}\\ {\text{Let} x=0 \text{and solve the y}}& {\text{Let} y=0 \text{and solve the x}}\\ \nonumber \end{array}\]
Example \(\PageIndex{10}\)
Find the intercepts of the parabola \(y=x^2−2x−8\).
 Answer

To find the yintercept, let x=0 and solve for y. When x=0, then y=−8.
The yintercept is the point (0,−8).To find the xintercept, let y=0 and solve for x. Solve by factoring.  When y=0, then x=4 or x=−2. The xintercepts are the points (4,0) and (−2,0).
Example \(\PageIndex{11}\)
Find the intercepts of the parabola \(y=x^2+2x−8\).
 Answer

y:(0,−8); x:(−4,0), (2,0)
Example \(\PageIndex{12}\)
Find the intercepts of the parabola \(y=x^2−4x−12\).
 Answer

y:(0,−12); x:(6,0), (−2,0)
In this chapter, we have been solving quadratic equations of the form \(ax^2+bx+c=0\). We solved for xx and the results were the solutions to the equation.
We are now looking at quadratic equations in two variables of the form \(y=ax^2+bx+c\). The graphs of these equations are parabolas. The xintercepts of the parabolas occur where y=0.
For example:
\[\begin{array}{cc} {\textbf{Quadratic equation}}&{\textbf{Quadratic equation in two variable}}\\ {}&{y=x^2−2x−15}\\ {x^2−2x−15}&{\text{Let} y=0, 0=x^2−2x−15}\\ {(x−5)(x+3)=0}&{0=(x−5)(x+3)}\\ {x−5=0, x+3=0}&{x−5=0, x+3=0}\\ {x=5, x=−3}&{x=5, x=−3}\\ {}&{(5,0) \text{and} (−3,0)}\\ {}&{\text{xintercepts}}\\ \end{array}\]
The solutions of the quadratic equation are the x values of the xintercepts.
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 xintercepts of the graphs, the number of xintercepts 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 \(ax^2+bx+c=0\). Now, we can use the discriminant to tell us how many xintercepts there are on the graph.
Before you start solving the quadratic equation to find the values of the xintercepts, you may want to evaluate the discriminant so you know how many solutions to expect.
Example \(\PageIndex{13}\)
Find the intercepts of the parabola \(y=5x^2+x+4\).
 Answer

To find the yintercept, let x=0 and solve for y.
When x=0, then y=4.
The yintercept is the point (0,4).To find the xintercept, let y=0 and solve for x. Find the value of the discriminant to predict the number of solutions and so xintercepts. b^2−4ac
1^2−4⋅5⋅4
1−80
−79
Since the value of the discriminant is negative, there is no real solution to the equation. There are no xintercepts.
Example \(\PageIndex{14}\)
Find the intercepts of the parabola \(y=3x^2+4x+4\).
 Answer

y:(0,4); x:none
Example \(\PageIndex{15}\)
Find the intercepts of the parabola \(y=x^2−4x−5\).
 Answer

y:(0,−5); x:(5,0)(−1,0)
Example \(\PageIndex{16}\)
Find the intercepts of the parabola \(y=4x^2−12x+9\).
 Answer

To find the yintercept, let x=0 and solve for y.
When x=0, then y=9.
The yintercept is the point (0,9).To find the xintercept, let y=0 and solve for x. Find the value of the discriminant to predict the number of solutions and so xintercepts. b^2−4ac
12^2−4⋅4⋅9
144−144
0
Since the value of the discriminant is 0, there is no real solution to the equation. So there is one xintercept. Solve the equation by factoring the perfect square trinomial. Use the Zero Product Property. Solve for x.
When y=0, then \(\frac{3}{2}\)=x. The xintercept is the point \((\frac{3}{2},0)\).
Example \(\PageIndex{17}\)
Find the intercepts of the parabola \(y=−x^2−12x−36.\).
 Answer

y:(0,−36); x:(−6,0)
Example \(\PageIndex{18}\)
Find the intercepts of the parabola \(y=9x^2+12x+4\).
 Answer

y:(0,4); x:\((−\frac{2}{3},0)\)
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.
How To Graph a Quadratic Equation in Two Variables
Example \(\PageIndex{19}\)
Graph \(y=x2−6x+8\).
 Answer
Example \(\PageIndex{20}\)
Graph the parabola \(y=x^2+2x−8\).
 Answer

y:(0,−8); x:(2,0),(−4,0);
axis: x=−1; vertex: (−1,−9);
Example \(\PageIndex{21}\)
Graph the parabola \(y=x^2−8x+12\).
 Answer

y:(0,12); x:(2,0),(6,0);
axis: x=4; vertex:(4,−4);
Definition: GRAPH A QUADRATIC EQUATION IN TWO VARIABLES.
 Write the quadratic equation with yy on one side.
 Determine whether the parabola opens upward or downward.
 Find the axis of symmetry.
 Find the vertex.
 Find the yintercept. Find the point symmetric to the yintercept across the axis of symmetry.
 Find the xintercepts.
 Graph the parabola.
Example \(\PageIndex{22}\)
Graph \(y=−x^2+6x−9\).
 Answer

The equation y has on one side. Since a is −1, the parabola opens downward.
To find the axis of symmetry, find \(x=−\frac{b}{2a}\).
The axis of symmetry is x=3. The vertex is on the line x=3.
Find y when x=3.
The vertex is (3,0).
The yintercept occurs when x=0.
Substitute x=0.
Simplify.
The point (0,−9) is three units to the left of the line of symmetry.
The point three units to the right of the line of symmetry is (6,−9).
Point symmetric to the yintercept is (6,−9)
(0,−9).
The xintercept occurs when y=0. Substitute y=0. Factor the GCF. Factor the trinomial. Solve for x. Connect the points to graph the parabola.
Example \(\PageIndex{23}\)
Graph the parabola \(y=−3x^2+12x−12\).
 Answer

y:(0,−12); x:(2,0);
axis: x=2; vertex:(2,0);
Example \(\PageIndex{24}\)
Graph the parabola \(y=25x^2+10x+1\).
 Answer

y:(0,1); x:(−15,0);
axis: x=−15; vertex:(−15,0);
How many xintercepts would you expect to see on the graph of \(y=x^2+4x+5\)?
Example \(\PageIndex{25}\)
Graph \(y=x^2+4x+5\).
 Answer

The equation has y on one side. Since a is 1, the parabola opens upward. \(x=−\frac{b}{2a}\).
x=−2.
The vertex is on the line x=−2. Find y when x=−2.
(−2,1).
The yintercept occurs when x=0.
Substitute x=0.
Simplify.
The point (0,5) is two units to the right of the line of symmetry.
The point two units to the left of the line of symmetry is (−4,5).
(0,5).
(−4,5)The x intercept occurs when y=0. Substitute y=0.
Test the discriminant.
\(b^2−4ac\)
\(42−4⋅15\)
\(16−20\)
\(−4\)Since the value of the discriminant is negative, there is no solution and so no x intercept.
Connect the points to graph the parabola. You may want to choose two more points for greater accuracy.
Example \(\PageIndex{26}\)
Graph the parabola \(y=2x^2−6x+5\).
 Answer

y:(0,5); x:none;
axis: \(x=\frac{3}{2}\); vertex:\((\frac{3}{2},\frac{1}{2})\);
Example \(\PageIndex{27}\)
Graph the parabola \(y=−2x^2−1\).
 Answer

y:(0,−1); x:none;
axis: x=0; vertex:(0,−1);
Finding the yintercept by substituting x=0 into the equation is easy, isn’t it? But we needed to use the Quadratic Formula to find the xintercepts in Example. We will use the Quadratic Formula again in the next example.
Example \(\PageIndex{28}\)
Graph \(y=2x^2−4x−3\).
 Answer

The equation y has one side.
Since a is 2, the parabola opens upward.To find the axis of symmetry, find\(x=−\frac{b}{2a}\)
The vertex is x=1The vertex on the line x=1. Find y when x=1
(1,−5)The yintercept occurs when x=0. Substitute x=0. Simplify.
The yintercept is (0,−3)
The point (0,−3) is one unit to the left of the line of symmetry.
The point one unit to the right of the line of symmetry is (2,−3)Point symmetric to the yintercept is (2,−3). The xintercept occurs when y=0 Substitute y=0 Use the Quadratic Formula. Substitute in the values of a, b, c. Simplify. Simplify inside the radical. Simplify the radical. Factor the GCF. Remove common factors. Write as two equations. Approximate the values. The approximate values of the xintercepts are (2.5,0) and (−0.6,0). Graph the parabola using the points found.
Example \(\PageIndex{29}\)
Graph the parabola \(y=5x^2+10x+3\).
 Answer

y:(0,3); x:(−1.6,0),(−0.4,0);
axis: x=−1; vertex:(−1,−2);
Example \(\PageIndex{30}\)
Graph the parabola \(y=−3x^2−6x+5\).
 Answer

y:(0,5); x:(0.6,0),(−2.6,0);
axis: x=−1; vertex:(−1,8);
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 ycoordinate of the vertex is the minimum yvalue of a parabola that opens upward. It is the maximum yvalue of a parabola that opens downward. See Figure.
Definition: MINIMUM OR MAXIMUM VALUES OF A QUADRATIC EQUATION
The ycoordinate 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 \(\PageIndex{31}\)
Find the minimum value of the quadratic equation \(y=x^2+2x−8\).
 Answer

Since a is positive, the parabola opens upward. The quadratic equation has a minimum. Find the axis of symmetry.
x=−1The vertex is on the line x=−1. Find y when x=−1.
(−1,−9)Since the parabola has a minimum, the ycoordinate of the vertex is the minimum yvalue of the quadratic equation. The minimum value of the quadratic is −9 and it occurs when x=−1. Show the graph to verify the result.
Example \(\PageIndex{32}\)
Find the maximum or minimum value of the quadratic equation \(y=x^2−8x+12\).
 Answer

The minimum value is −4 when x=4.
Example \(\PageIndex{33}\)
Find the maximum or minimum value of the quadratic equation \(y=−4x^2+16x−11\).
 Answer

The maximum value is 5 when x=2.
We have used the formula
\[\begin{array} {l} {h=−16t^2+v_{0}t+h_{0}}\\ \nonumber \end{array}\]
to calculate the height in feet, h, of an object shot upwards into the air with initial velocity, \(v_{0}\), after t seconds.
This formula is a quadratic equation in the variable tt, 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 \(\PageIndex{34}\)
The quadratic equation \(h=−16t^2+v_{0}t+h_{0}\) models the height of a volleyball hit straight upwards with velocity 176 feet per second from a height of 4 feet.
 How many seconds will it take the volleyball to reach its maximum height?
 Find the maximum height of the volleyball.
 Answer

\(h=−16t^2+176t+4\)
Since a is negative, the parabola opens downward.
The quadratic equation has a maximum.
1.
\[\begin{array} {ll} {}&{t=−\frac{b}{2a}}\\ {\text{Find the axis of symmetry.}}& {t=−\frac{176}{2(−16)}}\\ {}&{t=5.5}\\ {}&{\text{The axis of symmetry is} t = 5.5}\\ {\text{The vertex is on the line} t=5.5}& {\text{The maximum occurs when} t =5.5 \text{seconds.}}\\ \nonumber \end{array}\]2.
Find h when t=5.5.
Use a calculator to simplify. The vertex is (5.5,488) Since the parabola has a maximum, the hcoordinate of the vertex is the maximum yvalue of the quadratic equation. The maximum value of the quadratic is 488 feet and it occurs when t=5.5 seconds.
Example \(\PageIndex{35}\)
The quadratic equation \(h=−16t^2+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.
 Answer

It will take 4 seconds to reach the maximum height of 288 feet.
Example \(\PageIndex{36}\)
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.
 Answer

It will take 6.5 seconds to reach the maximum height of 676 feet.
 Graphing Quadratic Functions
 How do you graph a quadratic function?
 Graphing Quadratic Equations
Key Concepts
 The graph of every quadratic equation is a parabola.
 Parabola Orientation For the quadratic equation \(y=ax^2+bx+c\), if
 a>0, the parabola opens upward.
 a<0, the parabola opens downward.
 Axis of Symmetry and Vertex of a Parabola For a parabola with equation \(y=ax^2+bx+c\):
 The axis of symmetry of a parabola is the line \(x=−\frac{b}{2a}\).
 The vertex is on the axis of symmetry, so its xcoordinate is \(−\frac{b}{2a}\).
 To find the ycoordinate of the vertex we substitute \(x=−\frac{b}{2a}\) into the quadratic equation.
 Find the Intercepts of a Parabola To find the intercepts of a parabola with equation \(y=ax^2+bx+c\):
\[\begin{array} {ll} {\textbf{yintercept}}&{\textbf{xintercepts}}\\ {\text{Let} x=0 \text{and solve for y}}&{\text{Let} y=0 \text{and solve for x}}\\ \nonumber \end{array}\]  To Graph a Quadratic Equation in Two Variables
 Write the quadratic equation with yy on one side.
 Determine whether the parabola opens upward or downward.
 Find the axis of symmetry.
 Find the vertex.
 Find the yintercept. Find the point symmetric to the yintercept across the axis of symmetry.
 Find the xintercepts.
 Graph the parabola.
 Minimum or Maximum Values of a Quadratic Equation
 The ycoordinate 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.
Glossary
 axis of symmetry
 The axis of symmetry is the vertical line passing through the middle of the parabola \(y=ax^2+bx+c\).
 parabola
 The graph of a quadratic equation in two variables is a parabola.
 quadratic equation in two variables
 A quadratic equation in two variables, where a, b, and c are real numbers and \(a \ge 0\) is an equation of the form \(y=ax^2+bx+c\).
 vertex
 The point on the parabola that is on the axis of symmetry is called the vertex of the parabola; it is the lowest or highest point on the parabola, depending on whether the parabola opens upwards or downwards.
 xintercepts of a parabola
 The xintercepts are the points on the parabola where \(y=0\).
 yintercept of a parabola
 The yintercept is the point on the parabola where \(x=0\).