The key graphical properties of quadratic functions and parabolas were covered in List 9.2.13. If we don't have the graph of a quadratic function though, how do we know where these key features occur? In this section we'll explore how to algebraically determine where these features occur. We'll then use these processes to graph quadratic functions.
Let's start by looking at a somewhat complicated quadratic function that models the path of a baseball. The height of the baseball, \(H\) (measured in feet), after \(t\) seconds is given by \(H=-16t^2+75t+4.25\text{.}\) What information about this function is important? In general, we want to know the initial height, the maximum height, and the amount of time it takes for the ball to hit the ground. These key features will correspond to the vertical intercept, the vertex, and the horizontal intercept(s).
The graph of this function is shown in Figure 9.3.2.
Figure9.3.2Graph of \(H=-16t^2+75t+4.25\)
Notice that with this function, we cannot easily read where either the vertex or the intercepts occur. To do so we'll need algebraic methods for determining where these key features occur.
Subsection9.3.2Direction of Parabolas
As we've seen, parabolas can open either upward or downward. A simple example of a parabola that open upward is \(y=x^2\text{,}\) and a simple example of a parabola that opens downward is \(y=-x^2\text{:}\)
Figure9.3.3Graph of \(y=x^2\)Figure9.3.4Graph of \(y=-x^2\)
Fact9.3.5
The sign of the leading coefficient on a quadratic function determines whether the graph of this function opens upward or downward. If the leading coefficient is a positive number, the parabola opens upward. If the leading coefficient is a negative number, the parabola opens downward.
To see why the leading coefficient of a parabola makes it open upward or downward, let's look numerically at values of the quadratic functions that differ only by the sign of their leading coefficients, \(y=x^2+2x+3\) and \(y=-x^2+2x+3\text{:}\)
Table9.3.6Function values for \(y=x^2+2x+3\)Table9.3.7Function values for \(y=-x^2+2x+3\)
As we can see in Table 9.3.6 and Table 9.3.7, for large positive values of \(x\) and for large negative values of \(x\) the \(x^2\) term dominates. This is why its coefficient will determine whether the parabola opens upward or downward.
Exercise9.3.8
Determine if the graph of each quadratic function opens upward or downward.
Subsection9.3.3Algebraically Determining Horizontal and Vertical Intercepts
In List 9.2.13, we identified that horizontal intercepts occur where the graph of a function intersects the horizontal axis and that the vertical intercept occurs where the graph of a function intersects the vertical axis. If we're using \(x\) and \(y\) as our variables, this means that the \(x\)-intercept(s) occur where \(y=0\text{,}\) and the \(y\)-intercept occurs where \(x=0\text{.}\) These might seem the reverse of what you'd expect, but it's important to remember that when finding the \(\highlight{{}x{}}\)-intercept, we want to determine the value(s) of \(\highlight{{}x{}}\) when \(y\) is set to zero. Similarly, when determining the \(\highlight{{}y{}}\)-intercept, we want to determine the value of \(\highlight{{}y{}}\) when \(x\) is zero. We'll now look at determining these algebraically.
Example9.3.9
Algebraically determine the \(x\)-intercept(s) and \(y\)-intercept for the quadratic function \(y=x^2-4x-12\text{.}\)
To determine the \(x\)-intercept(s), we will set \(y=0\) and solve for \(x\text{:}\)
So the \(y\)-intercept occurs where \(y=-12\text{.}\) On a graph, this associates with the point \((0,-12)\text{.}\)
Subsection9.3.4Algebraically Determining the Vertex
The vertex of a quadratic function is either the minimum point or the maximum point on its graph, depending on whether this function opens upward or downward. When there are two horizontal intercepts for a quadratic function, we can see that the vertex occurs halfway between those two points. Similarly, when there is exactly one horizontal intercept, we know that this point is where the vertex occurs.
Figure9.3.10Parabola with two horizontal interceptsFigure9.3.11Parabola with one horizontal interceptFigure9.3.12Parabola with no horizontal intercepts
This visual method is quick, but it can only be used in limited cases. We cannot use this method if there are no horizontal intercepts, and it's also challenging to use if there are two horizontal intercepts with \(x\)-values that are irrational numbers.
Fact9.3.13
The vertex of a quadratic function \(f(x)=ax^2+bx+c\) occurs where \(x=-\frac{b}{2a}\text{,}\) or at the point \(\left(-\frac{b}{2a},f\left(-\frac{b}{2a}\right)\right)\text{.}\)
This formula may at first seem a bit random, but it is actually related to the quadratic formula. Still thinking about the vertex occuring in the middle of two horizontal intercepts, we can see that this value is in the middle of the two values obtained from the quadratic formula:
Algebraically determine the vertex of the quadratic function \(y=x^2-4x-12\text{.}\)
To algebraically determine this vertex, we could rely on the horizontal intercepts determined in Example 9.3.9. To do so, we'll note that the vertex and axis of symmetry will occur halfway between \(x=6\) and \(x=-2\text{,}\) which is at \(x=2\text{.}\) Visually, this looks like:
Figure9.3.15
We could also determine the \(x\)-value where the vertex occurs using the formula \(x=-\frac{b}{2a}\text{.}\) Noting that for \(y=x^2-4x-12\) we have \(a=1\) and \(b=-4\text{,}\) so:
Now that we've determined that the \(x\)-value where the vertex occurs is \(2\text{,}\) we will replace \(x\) with \(2\) in the original equation to determine \(y\text{:}\)
The vertex is the point \((2,-16)\) and the axis of symmtery is the line \(x=2\text{.}\)
Subsection9.3.5Graphing Quadratic Functions Using Their Key Features
To graph a quadratic function using its key features, we'll want to algebraically determine the following: whether the function opens upward or down, the horizontal intercepts, the vertical intercept, and the vertex. We'll then use this to connect the key points with a smooth curve.
Example9.3.16
Graph the function \(y=2x^2+10x+8\) by algebraically determining its key features.
To start, we'll note that this function will open upward, as the leading coefficient is the positive number \(2\text{.}\)
Next, we'll find the horizontal intercepts by setting \(y=0\) and solving for \(x\text{:}\)
The vertex is then the point \((-2.5,-4.5)\text{,}\) and the axis of symmetry is the line \(x=-2.5\text{.}\)
We're now ready to graph this function. We'll start by drawing and scaling axes so that all of our key features will be displayed as shown in Figure 9.3.17. Next, we'll plot these key points as shown in Figure 9.3.18. Finally, we'll note that this parabola opens upward and connect these points with a smooth curve, as shown in Figure 9.3.19.
Figure9.3.17Setting up the grid.Figure9.3.18Marking key features.Figure9.3.19Completing the graph.
Example9.3.20
Graph the function \(y=-x^2+4x-5\) by algebraically determining its key features.
To start, we'll note that this function will open downward, as the leading coefficient is the negative number \(-1\text{.}\)
Next, we'll find the horizontal intercepts by setting \(y=0\) and solving for \(x\text{.}\) As we cannot use factoring to solve this equation, we'll use the quadratic formula:
The vertex is then the point \((2,-1)\text{,}\) and the axis of symmetry is the line \(x=2\text{.}\)
Plotting this information in an appropriate grid, we have:
Figure9.3.21Setting up the grid.Figure9.3.22Marking key features.Figure9.3.23Using the axis of symmetry to determine one additional point.
As we can see in <<Unresolved xref, reference "figure-quadratic-function-no-horizontal-intecepts-key-features-initial-step-for-graphing-additional-point"; check spelling or use "provisional" attribute>>, this might be enough information for us to sketch the graph. If not, we'll first create a table to find a few more values around the vertex, add these, and then draw a smooth curve. This is shown in Table 9.3.24 and Figure 9.3.25.
\(x\)
\(y=-x^2+4x-5\)
Point
\(-1\)
\(-(-1)^2+4(-1)-5=-10\)
\((-1,-10)\)
\(1\)
\(-(1)^2+4(1)-5=-2\)
\((1,-2)\)
\(3\)
\(-(3)^2+4(3)-5=-2\)
\((3,-2)\)
\(5\)
\(-(5)^2+4(5)-5=-10\)
\((5,-10)\)
Table9.3.24Determing additional function values.Figure9.3.25Completing the graph.
Subsection9.3.6Looking at Horizontal and Vertical Intercepts and the Vertex in Context
Example9.3.26
Returning to Example 9.3.9, we can now algebraically determine the horizontal and vertical intercepts and the vertex of the quadratic function \(H=-16t^2+75t+4.25\text{.}\) After doing so, we will interpret what these values mean in the context of this model.
To determine the horizontal intercepts, we'll solve \(H=0\text{.}\) Since factoring is not a possibility to solve this equation, we'll rely on the quadratic formula:
Thus the vertex is \((2.34375,92.140625)\text{.}\)
In context, the second horizontal intercept tells us that the height of the baseball was 0 ft after about 5.2692 s. If we assume this model begins when \(t=0\text{,}\) then the first horizontal intercept found is irrelevant.
The vertical intercept tells us that the initial height of the baseball was 4.25 ft. The vertex tells us that the maximum height was 92.140625 ft and occurred after 2.34375 s.
Example9.3.27
The profit that a manufacturing company makes for selling \(n\) units of refrigerators is given by \(P=-0.01n^2+520n-54000\text{.}\)
Determine the maximum profit and the number of refrigerators sold that yield this profit.
How many refrigerators need to be sold in order for the company to “break even”? (In other words, for their profit to be \(\$0\text{.}\))
The vertex of this function will tell us both the maximum profit and how many units are sold to yield this profit. Using \(a=-0.01\) and \(b=520\text{,}\) we have:
The maximum profit is \(\$6{,}706{,}000\text{,}\) which occurs if \(26{,}000\) units are sold.
To find how many refrigerators need to be sold in order for the company to “break even”, we will set \(P=0\) and solve for \(n\) using the quadratic formula:
To determine the horizontal intercepts, we'll set \(y=0\) and solve for \(x\text{:}\)
\begin{align*}
0\amp=-2(x+5)^2+12\\
\end{align*}
We cannot immediately factor this equation, but we can use the square root property to solve it. To do so, we'll first need to subtract \(12\) from each side of the equation and then divide each side by \(-2\text{:}\)
To determine the vertex using the formula \(x=-\frac{b}{2a}\text{,}\) we'll first need to expand this equation so that \(a\) and \(b\) can be identified:
To determine the horizontal intercepts, we'll solve \(0=5x^2-2x-\frac{1}{3}\) using the quadratic formula. One option is to directly use \(a=5\text{,}\) \(b=-2\text{,}\) and \(c=-\frac{1}{3}\text{.}\) Another option is to first multiply each side of that equation by \(3\text{,}\) which will yield the equivalent equation \(0=15x^2-6x-1\text{.}\) From there, we can use the quadratic formula with \(a=10\text{,}\) \(b=-6\) and \(c=-1\text{:}\)
The horizontal intercepts occur at the points \(\left(\frac{3+ 2\sqrt{6}}{15},0\right)\) or \(\left(\frac{3-2\sqrt{6}}{15},0\right)\) , or at the approximate points \((-0.1266,0)\) and \((0.5266,0)\text{.}\)
To determine the vertical intercept, we'll set \(x=0\text{:}\)
The \(x\)-intercepts are \(\left(\frac{-1-\sqrt{13}}{2},0\right)\) and \(\left(\frac{-1+\sqrt{13}}{2},0\right)\text{,}\) or approximately \((-2.303,0)\) and \((1.303,0)\text{.}\)
The \(y\)-intercept is \((0,3)\text{.}\)
The vertex is \((-0.5,3.25)\) and the axis of symmetry is \(x=-0.5\text{.}\)
Symmetry can be used to determine the point \((-1,3)\text{.}\)
Figure9.3.48
50
Graph \(y=2x^2-4x-30\) by algebraically determining its key features.