Definition9.2.2
A quadratic function has the form \(f(x)=ax^2+bx+c\) where \(a, b\text{,}\) and \(c\) are real numbers, and \(a \neq 0\text{.}\) The graph of a quadratic function has the shape of a parabola.
In this section we will learn about quadratic functions and how to identify their key features on a graph. We will identify their direction, vertex, axis of symmetry and intercepts. We will also see how to graph a parabola by finding the vertex and making a table of function values. We will look at applications that involve the vertex of a quadratic function.
A quadratic function has the form \(f(x)=ax^2+bx+c\) where \(a, b\text{,}\) and \(c\) are real numbers, and \(a \neq 0\text{.}\) The graph of a quadratic function has the shape of a parabola.
Notice that a quadratic function has a squared term that linear functions do not have. If \(a=0,\) the function is linear. To understand the shape and features of a quadratic function, let's look at an example.
A toy rocket was fired from the ground and then flew into the air at a speed of 64 feet per second. The path of the rocket can be modeled by the function \(f\) where \(f(t)=-16t^2+64t\text{.}\) To see the shape of the function we will make a table of values and plot the points. For the table we we will choose some values for \(t\) and then evaluate the function at each \(t\)-value:
\(t\) | \(f(t)=-16t^2+64t\) | Point |
\(0\) | \(f(0)=-16(0)^2+64(0)=0\) | \((0,0)\) |
\(1\) | \(f(1)=-16(1)^2+64(1)=48\) | \((1,48)\) |
\(2\) | \(f(2)=-16(2)^2+64(2)=64\) | \((2,64)\) |
\(3\) | \(f(3)=-16(3)^2+64(3)=48\) | \((3,48)\) |
\(4\) | \(f(4)=-16(4)^2+64(4)=0\) | \((4,0)\) |
Now that we have TableĀ 9.2.3 and FigureĀ 9.2.4, we can see the features of this parabola. Notice the symmetry in the shape of the graph and the \(y\)-values in the table. Consecutive \(y\)-values do not increase by a constant amount in the way that linear functions do.
The first feature that we will talk about is the direction that a parabola opens. All parabolas open either upward or downward. This parabola in the rocket example opens downward because \(a\) is negative. Here are some more quadratic functions graphed so we can see which way they open.
We only need to look at the sign of the leading coefficient to determine which way the graph opens. If the leading coefficient is positive, the parabola opens upward. If the leading coefficient is negative, the parabola opens downward.
Determine whether the graph of each quadratic function opens upward or downward.
The vertex is the highest or lowest point on the graph. In FigureĀ 9.2.4, the vertex is \((2,64)\text{.}\) This tells us that the rocket reached its maximum height of \(64\) feet after \(2\) seconds. If the parabola opens downward, as in the rocket example, then the \(y\)-value of the vertex is the maximum \(y\)-value. If the parabola opens upward then the \(y\)-value of the vertex is the minimum \(y\)-value.
The axis of symmetry is a vertical line that passes through the vertex, dividing it in half. The vertex is the only point that does not have a symmetric point. We write the axis of symmetry as an equation of a vertical line so it always starts with "\(x=\text{.}\)" In FigureĀ 9.2.4, the equation for the axis of symmetry is \(x=2\text{.}\)
The vertical intercept is the point where the parabola crosses the vertical axis. The vertical intercept is the \(y\)-intercept if the axes are labeled \(x\) and \(y\text{.}\) In FigureĀ 9.2.4, the point \((0,0)\) is the starting point of the rocket. The \(y\)-value of \(0\) means the rocket started on the ground.
The horizontal intercept(s) are the points where the parabola crosses the horizontal axis. They are the \(x\)-intercepts if the axes are labeled \(x\) and \(y\text{.}\) The point \((0,0)\) on the path of the rocket is also a horizontal intercept. The \(t\)-value of \(0\) indicates the time when the rocket was launched from the ground. There is another horizontal intercept at the point \((4,0)\text{,}\) which means the rocket hit the ground after \(4\) seconds.
It is possible for a quadratic function to have \(0\text{,}\) \(1\) or \(2\) horizontal intercepts. The figures below show an example of each.
Here is a summary of the properties of quadratic functions:
A parabola opens upward if \(a\) is positive and opens downward of \(a\) is negative.
The vertex of a parabola is the maximum or minimum point on the graph.
The axis of symmetry is the vertical line that passes through the vertex.
The vertical intercept is the point where the function intersects the vertical axis. There is exactly one vertical intercept.
The horizontal intercept(s) are the points where a function intersects the horizontal axis. The graph of a parabola can have \(0, 1,\) or \(2\) horizontal intercepts.
Identify the key features of the quadratic function \(y=x^2-2x-8\) shown in FigureĀ 9.2.15.
First, we see that this parabola opens upward because the leading coefficient is positive.
Then we locate the vertex which is the point \((1,-9)\text{.}\) The axis of symmetry is the vertical line \(x=1\text{.}\)
The vertical intercept or \(y\)-intercept is the point \((0,-8)\text{.}\)
The horizontal intercepts are the points \((-2,0)\) and \((4,0)\text{.}\)
The coordinates of the vertex are not easy to identify on a graph if they are not integers. Another way to find it is by using a formula.
The vertex of a quadratic function \(f(x)=ax^2+bx+c\) occurs where \(x=-\frac{b}{2a}\text{.}\)
To understand this formula we can look at the quadratic formula. The vertex is on the axis of symmetry, so it will always occur between the the two horizontal intercepts. Looking at the quadratic formula we can see that this value is in the middle of the two values obtained from the quadratic formula:
Determine the vertex and axis of symmetry of the quadratic function \(f(x)=x^2-4x-12\text{.}\)
We will find the \(x\)-value of the vertex using the formula \(x=-\frac{b}{2a}\text{,}\) for \(a=1\) and \(b=-4\text{.}\)
Now we know the \(x\)-value of the vertex is \(2\text{,}\) so 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 symmetry is the line \(x=2\text{.}\)
Determine the vertex and axis of symmetry of the quadratic function \(y=-3x^2-3x+7\text{.}\)
Using the formula \(x=-\frac{b}{2a}\) with \(a=-3\) and \(b=-3\text{,}\) we have :
Now that we've determined that the \(x\)-value we will substitute it for \(x\) to find the the \(y\)-value:
The vertex is the point \(\left(-\frac{1}{2},\frac{31}{4}\right)\) and the axis of symmetry is the line \(x=-\frac{1}{2}\text{.}\)
When we learned how to graph lines, we could choose any \(x\)-values. For quadratic functions, though, we want to find the vertex and choose our \(x\)-values around it. Then we can use the property of symmetry to help us. Let's look at an example.
Determine the vertex and axis of symmetry for the quadratic function \(y=-x^2-2x+3\text{.}\) Then make a table of values and sketch the graph of the function.
To determine the vertex of \(y=-x^2-2x+3\text{,}\) we want to find the \(x\)-value of the vertex first. We will use \(x=-\frac{b}{2a}\) for \(a=-1\) and \(b=-2\text{:}\)
Now we know that our axis of symmetry is the line \(x=-1\) and the axis of symmetry is the line \(x=-1\text{.}\) We will set up our table with two values on each side of \(x=-1\text{.}\) We choose \(x=-3, -2, -1, 0\) and \(1\) as shown in TableĀ 9.2.21.
Next, we'll determine the \(y\)-coordinates by replacing \(x\) with each value and we have the complete table as shown in TableĀ 9.2.22. Notice that each pair of \(y\)-values on either side of the vertex match. This helps us to check that our vertex and \(y\)-values are correct.
\(x\) | \(y=-x^2-2x+3\) | Point |
\(-3\) | ||
\(-2\) | ||
\(-1\) | ||
\(0\) | ||
\(1\) |
\(x\) | \(y=-x^2-2x+3\) | Point |
\(-3\) | \(y=-(\substitute{-3})^2-2(\substitute{-3})+3=0\) | \((-3,0)\) |
\(-2\) | \(y=-(\substitute{-2})^2-2(\substitute{-2})+3=3\) | \((-2,3)\) |
\(-1\) | \(y=-(\substitute{-1})^2-2(\substitute{-1})+3=4\) | \((-1,4)\) |
\(0\) | \(y=-(\substitute{0})^2-2(\substitute{0})+3=3\) | \((0,3)\) |
\(1\) | \(y=-(\substitute{1})^2-2(\substitute{1})+3=0\) | \((1,0)\) |
Now that we have our table, we will plot the points and draw in the axis of symmetry as shown in FigureĀ 9.2.23. We complete the graph by drawing a smooth curve through the points and drawing an arrow on each end as shown in FigureĀ 9.2.24
The method we used works best when the \(x\)-value of the vertex is an integer. We can still make a graph if that is not the case as we will demonstrate in the next example.
Determine the vertex and axis of symmetry for the quadratic function \(y=2x^2-3x-4\text{.}\) Use this to create a table of values and sketch the graph of this function.
To determine the vertex of \(y=2x^2-3x-4\text{,}\) we'll find \(x=-\frac{b}{2a}\) for \(a=2\) and \(b=-3\text{:}\)
Next, we'll determine the \(y\)-coordinate by replacing \(x\) with \(\frac{3}{4}\) in \(y=2x^2-3x-4\text{:}\)
Thus the vertex occurs at \(\left(\frac{3}{4},-\frac{41}{8}\right)\text{,}\) or at \((0.75,-5.125)\text{.}\) The axis of symmetry is then the line \(x=\frac{3}{4}\text{,}\) or \(x=0.75\text{.}\)
Now that we know the \(x\)-value of the vertex, we will create a table. We will choose \(x\)-values on both sides of \(x=0.75\text{,}\) but we will choose integers because it will be easier to find the function values.
\(x\) | \(y=2x^2-3x-4\) | Point |
\(-1\) | \(1\) | \((-1,1)\) |
\(0\) | \(-4\) | \((0,-4)\) |
\(0.75\) | \(-5.125\) | \((0.75,-5.125)\) |
\(1\) | \(-5\) | \((1,-5)\) |
\(2\) | \(-2\) | \((2,-2)\) |
The points graphed in FigureĀ 9.2.27 don't have the symmetry we'd expect from a parabola. This is because the vertex occurs at an \(x\)-value that is not an integer, and all of the chosen values in the table are integers. We can use the axis of symmetry to determine more points on the graph (as shown in FigureĀ 9.2.28), which will give it the symmetry we expect. From there, we can complete the sketch of this graph.
In ExampleĀ 9.1.31, we found the domain and range of different types of functions using their graphs. Now that we have graphed some quadratic functions, let's practice identifying the domain and range.
We graphed the quadratic function \(y=-x^2-2x+3\) in FigureĀ 9.2.24. The domain is the set of all possible inputs to the function. The function is a continuous curve and when we look horizontally, one arrow points to the left and the other arrow points to the right. This means all \(x\)-values can be used in the function. The domain is \(\{x\mid x\ \textrm{is a real number}\}\) or \((-\infty,\infty)\text{.}\)
The range is the set of all outputs we can get from the function. For the range of this function we look vertically up and down the graph. This parabola opens downward, so both arrows point downward and the highest point along the graph is the vertex at \((-1,4)\text{.}\) The range is \(\{y \mid y \le 4\}\) or \((-\infty,4]\text{.}\)
Use the graph of \(y=2x^2-3x-4\) in FigureĀ 9.2.29 and its vertex at \((0.75,-5.125)\) to identify the domain and range in set-builder and interval notation.
For the domain, we look horizontally and see the graph is a continuous curve and one arrow points to the left and the other arrow points to the right. The domain is \(\{x\mid x\ \textrm{is a real number}\}\) or \((-\infty,\infty)\text{.}\)
For the range we look vertically up and down the graph, which opens upward. Both arrows point upward and the lowest point on the graph is the vertex at \((0.75,-5.125)\text{.}\) The range is \(\{y \mid y \ge -5.125\}\) or \([-5.125,\infty)\text{.}\)
Since all parabolas have the same shape, they all have the same domain of \(\{x\mid x\ \textrm{is a real number}\}\) or \((-\infty,\infty)\text{.}\) The range depends on which way the parabola opens and the \(y\)-coordinate of the vertex. When we look at application problems, however, the domain and range will depend on the values that make sense in the given context. For example, times and lengths do not usually have negative values. We will revisit this after looking at some applications.
We looked at the height of a toy rocket with respect to time at the beginning of this section and saw that it reached a maximum height of \(64\) feet after \(2\) seconds. Let's look at some more applications that involve finding the minimum or maximum value of a quadratic function.
Imagine that Yang got a new air rifle to shoot targets. The first thing he did with it was to sight the scope at a certain distance so the pellets consistently hit where the cross hairs are pointed. In Olympic \(10\)-meter air rifle shooting, the bulls-eye is a \(0.5\)mm dot, about the size of the head of a pin, so accuracy is key.ā1āVisit en.wikipedia.org/wiki/ISSF_10_meter_air_rifle for more.)
Yang would like to set up his air rifle scope to be accurate at a level distance of \(35\) yards (from the muzzle, which is the tip of the barrel), but he also needs to know how much to correct for gravity at different distances. Since the projectile will be affected by gravity, knowing the distance that the target will be set up is essential to be accurate. After zeroing his scope reticule (cross-hairs) at \(35\) yards so that he can consistently hit the bulls-eye with the reticule directly over it, he sets up targets at various distances to test his gun. He then shoots at the targets with the cross-hairs directly on the bulls-eye and measured the distance that the pellet hit above or below the bulls-eye when shot at those distances.
Distance to Target in Yards | Above/Below Bulls-eye | Distance Above/Below in Inches |
\(5\) yds | Below | \(0.1\) in |
\(10\) yds | Above | \(0.6\) in |
\(20\) yds | Above | \(1.1\) in |
\(30\) yds | Above | \(0.6\) in |
\(35\) yds | On Bulls-eye | \(0\) in |
\(40\) yds | Below | \(0.8\) in |
\(50\) yds | Below | \(3.2\) in |
Make a graph of the height above the bulls-eye that the air rifle shoots at the distances collected in the table and find the vertex. What does the vertex mean in this context?
(Note that values measured below the bulls-eye should be graphed as negative \(y\)-values. Keep in mind that the units on the axes are different: along the \(x\)-axis, the units are yards, whereas on the \(y\)-axis, the units are inches.)
Since the input values seem to be going up by \(5\)s or \(10\)s, we will scale the \(x\)-axis by \(5\)s. The \(y\)-axis needs to be scaled by \(1\)s.
From the graph we can see that the point \((20,1.1)\) is our best guess for the real life vertex. This means the highest above the cross-hairs he hit was \(1.1\) inches when the target was \(20\) yards away.
We looked at the quadratic function \(R=(13+0.25x)(1500-50x)\) in ExampleĀ 6.3.2 of SectionĀ 6.3, where \(R\) was the revenue (in dollars) for \(x\) 25-cent price increases. This function had each jar of jam priced at 13 dollars, and simplified to
Find the vertex of this quadratic function and explain what it means in the context of this model.
Note that if we tried to use \(R=(13+0.25x)(1500-50x)\text{,}\) we would not be able to immediately identify the values of \(a\) and \(b\) needed to determine the vertex. Using the expanded form of \(R=-12.5x^2-275x+19500\text{,}\) we see that \(a=-12.5\) and \(b=-275\text{,}\) so the vertex occurs at:
We will now find the value of \(R\) for \(x=-11\text{:}\)
Thus the vertex occurs at \((-11,21012.5)\text{.}\)
Literally interpreting this, we can state that \(-11\) of the 25-cent price increases result in a maximum revenue of \(\$21{,}012.50\text{.}\)
We can calculate ā\(-11\) of the 25-cent price increasesā to be a decrease of \(\$2.75\text{.}\) The price was set at \(\$13\) per jar, so the maximum revenue of \(\$21{,}012.50\) would occur when the price is set at \(\$10.25\) per jar.
Kali has \(500\) feet of fencing and she needs to build a rectangular pen for her goats. What are the dimensions of the rectangle that would give her goats the largest area?
We will use \(l\) for the length of the pen and \(w\) for the width, in feet. We know that the perimeter must be \(500\) feet so that gives us
First we will solve for the length:
Now we can build a function for the rectangle's area, using the formula for area:
The area is a quadratic function so we can identify \(a=-1\) and \(b=250\) and find the vertex:
Since the width of the rectangle is 125 feet, we can find the length using our expression:
To find the maximum area we can either substitute the width into the area function or multiply the length by the width:
The maximum area that Kali can get is \(15{,}625\) square feet if she builds her pen to be a square with a length and width of \(125\) feet.
Returning to the domain and range, we will look at the path of the toy rocket in GraphĀ 9.2.4. Looking horizontally, the \(t\)-values make sense from \(0\) seconds, when the rocket is fired, until \(4\) seconds, when it comes back to the ground. This give us a domain of \(\{t\mid 0 \le t \le 4\}\) or \([0,4]\text{.}\) For the range, the height of the rocket goes from \(0\) feet on the ground and reaches a maximum height of \(64\) feet. The range is \(\{f(t)\mid 0 \le f(t) \le 64\}\) or \([0,64]\text{.}\)
In the air-rifle application in ExampleĀ 9.2.32, the \(x\)-values are connected from \(5\) to \(50\) yards. If we assume that Yang will never be competing in target shoots beyond \(50\) yards, the domain will be \([5,50]\text{.}\) The \(y\)-values go from \(-3.2\) to \(1.1\) inches so the range is \([-3.2,1.1]\text{.}\)
In order to find the domain and range for many applications we need to know how to find the vertical and horizontal intercepts. We will look at that in the next section.
Algebraically Determining the Vertex and Axis of Symmetry of Quadratic Functions
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-x^{2}+8x-5}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={x^{2}-8x+4}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-2-12x-2x^{2}}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={2+2x-x^{2}}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-5-x^{2}-10x}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={3-x^{2}+10x}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-4x^{2}+8x}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-2x^{2}+20x}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={2-x^{2}}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-3-2x^{2}}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={x^{2}+5x+1}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={3x^{2}+3x-5}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={5x^{2}-15x-1}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={5x^{2}+25x+4}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-5x^{2}}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-0.4x^{2}}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-3x^{2}-4}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={-2x^{2}+4}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={0.2\!\left(x+5\right)^{2}+4}\)
Axis of symmetry:
Vertex:
Find the axis of symmetry and vertex of the quadratic function.
\({y}={2\!\left(x-1\right)^{2}-3}\)
Axis of symmetry:
Vertex:
Graphing Quadratic Functions Using the Vertex and a Table
For \(y=4x^2-8x+5\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
For \(y=2x^2+4x+7\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
For \(y=-x^2+4x+2\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
For \(y=-x^2+2x-5\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
For \(y=x^2-5x+3\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
For \(y=x^2+7x-1\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
For \(y=-2x^2-5x+6\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
For \(y=2x^2-9x\text{,}\) determine the vertex, create a table of ordered pairs, and then graph the function.
Finding Maximum and Minimum Values for Applications of Quadratic Functions
One number is \(9\) less than a second number. Find a pair of such number that their product is as small as possible.
These two numbers are .
The smallest possible product is .
One number is \(9\) less than a second number. Find a pair of such number that their product is as small as possible.
These two numbers are .
The smallest possible product is .
One number is 9 less than 5 times a second number. Find a pair of such numbers so that their product is as small as possible.
These two numbers are .
The smallest possible product is .
One number is 7 less than twice a second number. Find a pair of such numbers so that their product is as small as possible.
These two numbers are .
The smallest possible product is .
You will build a rectangular sheep pen next to a river. There is no need to build a fence along the river, so you only need to build three sides. You have a total of \(410\) feet of fence to use. Find the dimensions of the pen such that you can enclose the maximum area.
The length of the pen (parallel to the river) should be .
The width of the pen (away from the river) should be .
The maximum area of the pen is .
You will build a rectangular sheep pen next to a river. There is no need to build a fence along the river, so you only need to build three sides. You have a total of \(430\) feet of fence to use. Find the dimensions of the pen such that you can enclose the maximum area.
The length of the pen (parallel to the river) should be .
The width of the pen (away from the river) should be .
The maximum area of the pen is .
You will build two identical rectangular pens next to each other, sharing a side. You have a total of \(348\) feet of fence to use. Find the dimension of each pen such that you can enclose the maximum area.
The length of each pen (along the wall that they share) should be .
The width of each pen should be .
The maximum area of each pen is .
You will build two identical rectangular pens next to each other, sharing a side. You have a total of \(360\) feet of fence to use. Find the dimension of each pen such that you can enclose the maximum area.
The length of each pen (along the wall that they share) should be .
The width of each pen should be .
The maximum area of each pen is .
You plan to build four identical rectangular sheep pens in a row. Each adjacent pair of pens share a fence between them. You have a total of \(376\) feet of fence to use. Find the dimension of each pen such that you can enclose the maximum area.
The length of each pen (along the walls that they share) should be .
The width of each pen should be .
The maximum area of each pen is .
You plan to build four identical rectangular sheep pens in a row. Each adjacent pair of pens share a fence between them. You have a total of \(392\) feet of fence to use. Find the dimension of each pen such that you can enclose the maximum area.
The length of each pen (along the walls that they share) should be .
The width of each pen should be .
The maximum area of each pen is .
Currently, an artist can sell \(200\) paintings every year at the price of \({\$100.00}\) per painting. Each time he raises the price per painting by \({\$5.00}\text{,}\) he sells \(5\) fewer paintings every year.
Answer the following questions:
1) To obtain maximum income of , the artist should set the price per painting at .
2) To earn \({\$22{,}100.00}\) per year, the artist could sell his paintings at two different prices. The lower price is per painting, and the higher price is per painting.
Currently, an artist can sell \(230\) paintings every year at the price of \({\$100.00}\) per painting. Each time he raises the price per painting by \({\$20.00}\text{,}\) he sells \(5\) fewer paintings every year.
Answer the following questions:
1) To obtain maximum income of , the artist should set the price per painting at .
2) To earn \({\$63{,}000.00}\) per year, the artist could sell his paintings at two different prices. The lower price is per painting, and the higher price is per painting.