Quadratic functions are probably the simplest non-linear functions to study. The adjective quadratic comes from the Latin word for square, quadratus. This is because the addition of a term involving comes from measuring areas. Thinking of quadratic functions as ones that measure rectangular areas is what allows us to see that quadratic functions can be used to model positions of objects whose acceleration is constant.
A quadratic function is one of the form , where ,, and are constants with .
Checkpoint5.2.2.
Express the quadratic function in standard form and identify the coefficients and .
=
=
=
Checkpoint5.2.3.
Express the quadratic function in standard form .
=
Example5.2.4.
Let us consider the simplest possible quadratic function . Graph this function and describe its features.
Solution.
By plotting points, we may construct its graph:
Figure5.2.5.The graph of .
There are several observations we can make about the graph, along with connections to the algebraic expression defining this function.
Our first observation is that the outputs of are never negative. This is simply due to the fact that the square of any real number is either zero (only when ) or positive. Not all quadratic functions have non-negative graphs, but the fact that is never negative will be very useful in analyzing other quadratic functions.
Another observation is that the graph is symmetric about the -axis. This is because for any real number ,. Thus the output is the same at as it is for . We will see that the graph of every quadratic function has some vertical axis of symmetry.
We see that the graph is concave-up. That is, as you move from left to right, the slope between points on the graph is increasing. More precisely, using the input-output table
Table5.2.6.Values for
we may construct an table of slopes:
Table5.2.7.Slope Table for
Points on the Graph
and
and
and
and
and
and
Slope of Connecting Line
We see that the slope is increasing. Observing that the slope actually increases by a constant amount for constant steps from left to right is the key to applications of quadratic functions. If the slope were decreasing as we moved from left to right, we would say the graph is concave down.
These are the observations we made about , which has parameters ,, and . Throughout this section we will see how the parameters ,, and affect the placement of the maximum or minimum output, the axis of symmetry, and the concavity of the graph of a quadratic function, as well as their practical implications.
Question5.2.8.
In the definition of a quadratic function (5.2.1), it was noted that the parameter could not be zero. Why would we insist that be nonzero to define a quadratic function? What do we call a function of the form when ?
Just as the parameters and have graphical interpretations for the family of linear functions, the parameters ,, and have graphical interpretations for quadratic functions. However, because the family of quadratic functions involves three parameters instead of two, they are more complicated. Before reading the next paragraph, use the interactive graph below to experiment by changing the parameters ,, and to see how they change the graph and describe the changes in your own words. Then click to expose the next paragraph, which describes them in the words of a math book.
Textbook Description5.2.9.Meanings of ,, and in Quadratic Functions.
First let’s deal with the parameter . This one is simple; it’s just the output of when . Thus the -intercept of is at .
The second easiest parameter to understand is . The sign of tells use whether the parabola (the graph of a quadratic function is called a parabola) is concave up or concave down. To see this, notice that if is positive, then for very large values of , is positive and larger in absolute value than both and . This means that the parabola must be opening up. Likewise, if is negative, then the parabola is concave down.
The parameter is more complicated, and we will leave its exact meaning when we discuss the vertex of a parabola.
Checkpoint5.2.10.
Use properties of functions to match each of the following functions with its graph. Do not use your calculator. Clicking on a graph will give you an enlarged view.
one must just subtract from both sides, factor, and use the zero factors principle to solve. The -intercepts, or zeros, of a quadratic function can be seen when we write it in factored form:
In this form is the same as it is in the expanded form, while and are the zeros. Notice that not all quadratic functions can be put into factored form as they may not have any real zeros.
Checkpoint5.2.11.
Find the zeros of If more than one zero exists, enter your answers as a comma separated list. If no zeroes exist, enter NONE.
The zeros are
Checkpoint5.2.12.
Find the zero(s) (if any) of the function
Enter your answer as a comma separated list. If no real zeros exist, enter NONE.
The zero(s) is/are
Question5.2.13.
When , we can use the factors and to really see what the graph of looks like, and how influences it. In what follows, suppose and are generic real numbers with .
On a single set of axes graph the lines and . Use this graph to find the values of where and have the same sign and where they have different signs. Use this do decide when is positive and when it is negative.
Use your answers from part (a) to sketch a graph of .
Using your graph from part (b) and reasoning from part (a), explain why the sign of the parameter tells you whether the graph of opens up or down.
The usefulness of vertex form is well illustrated in the following example:
Example5.2.15.
Let . We wish to
Find the zeros of .
Find the maximum or minimum possible output of . This will tell you the range of .
Sketch the graph of .
Solution.
Based on prior experience, one may be tempted to expand to standard form and factor. Doing this we obtain the equation
However, when we try to factor, we see there aren’t any ways to do it using only integers. On further reflection, we can see that the vertex form makes it easier to solve, because it breaks a quadratic function into a straightforward process applied to the variable . From the vertex form we can say this function does the following:
subtract from
square S1
multiply S2 by , and finally
adds to S3.
The reverse process applied to any output of will be
subtract
and divide by , then
take the positive or negative square root, and finally
add .
Applying this to zero, we get the zeros
We can apply this to any proposed output, as long as the thing we need to take the square root of is not negative. Note: This reverse process does not actually describe an inverse function; the step where the reverse process allows for multiple possibilities prevents this process from defining a function, which must only yield one input for each output.
A slight rearrangement of the vertex form to look like makes it clear that the range is all . Because is never negative, some quantity is always being subtracted from . The maximum possible output is also clearly , and it occurs when . We can also see this from an algebraic expression for the reverse process applied to :
The possible values of in this expression are those that make non-negative. Thus we must have .
Plotting the vertex, the -intercept, and a few points to the left and right of the vertex gives us a good graph:
Figure5.2.16.The graph of .
Checkpoint5.2.17.
Find the minimum and maximum value of the function . Enter infinity or -infinity if the function never stops increasing or decreasing.
Maximum value =
Minimum value =
Question5.2.18.
In the last example, we found the zeros of to be . The zeros are also supposed to appear in the factored form as and . Expand the right-hand side of the equation and collect like terms to verify that
One must now ask how we find the vertex form of a given quadratic function, also sometimes called completing the square.There are a number of ways to do this. The way we present is very flexible, and may be modified to find useful formulas for many other types of functions. To find the vertex form, simply write down the proposed form with and , then expand and collect like terms to get a system of equations that you may solve for and . The following example illustrates this procedure nicely.
It is easier to just set up and solve the system of equations, which you’ll get faster at with practice, than to commit this to memory. The only reason to write down the general formula for vertex form is to derive the quadratic formula for the zeros of a quadratic (You should probably memorize this.):
Observe that is where the vertex is, which is halfway between the zeros. This may be seen as the graphical meaning of the parameter .
Question5.2.21.
Use the quadratic formula to find the zeros of the function in the above example, . Simplify your answer to show that it is equivalent to the answer given in the example.
Checkpoint5.2.22.
(a) Complete the square by writing in the form . Note: the numbers and can be positive or negative.
(b) Solve the equation by completing the square or using the quadratic formula. If there is more than one correct answer, enter your answers as a comma separated list. If there are no real solutions, enter NONE.
=
Question5.2.23.
Find the vertex form of the following quadratic functions. Use it to find the maximum or minimum output as well as the zeros of each function, if the zeros exist. Simplify your answers as much as possible, but do not use a calculator.
When a quadratic function appears in an applied context, we can now answer many questions about it. We can find output values, zeros, and also its maximum or minimum output and what input causes them.
Checkpoint5.2.28.
For a certain state, the function
models the number of accidents, , per 50 million miles driven as a function of a driver’s age, , in years, where includes drivers from ages 16 to 74, inclusive. The graph of is shown above. Use the equation for to solve:
a) Find the number of accidents per 50 million miles driven for drivers age 25.
Answer: accidents per 50 million miles
b) Find the number of accidents per 50 million miles driven for drivers age 35.
Answer: accidents per 50 million miles
c) For what value of does the graph have its lowest point? This is the age of drivers with the fewest accidents.
One application we can see for quadratic functions comes from their original purpose, finding areas. Now that we know how to find the vertex form of a quadratic function, we can find the maximum or minimum possible values of functions that describe area.
Example5.2.29.
Suppose a farmer wants to fence off a rectangular area with three sides of a rectangle, using a river as the fourth side. She has 100 yards of fence to use and wishes to enclose as large an area as possible. Let denote the length of the side of the rectangle parallel to the river and be the length of the side perpendicular to the rive, both measured in yards.
Solution.
The first thing we should do is draw a well labeled picture of the situation.
Figure5.2.30. Since she has yards of fence to use, we have the relation
The area is given by . To obtain the area as a function of , we substitute (from the constraint) for to get
When we find the vertex form of this function we find and , hence . Thus
This means the maximum area is yd, which occurs when and .
Question5.2.31.
How much fence would the farmer in the last problem need if she wanted the maximum possible enclosed area to be yd?
Hint.
Let be the total amount of fencing used, in yards, and use the vertex form. Notice that if the amount enclosed is to be yd, then we must have . A careful read of the solution in the example tells us that . This and knowing will allow you to solve for .
One of the most important applications of quadratic functions comes as a prelude to really doing differential Calculus. The application is modeling the motion of objects with constant acceleration. It was Galileo Galilei who reasoned that all massive objects objects accelerate at the same constant rate when dropped, no matter what the mass is (neglecting air resistance). What we would like to do is construct a function that gives the height of a dropped object seconds after it was dropped. What type of function should we use? We know that linear functions have a constant rate of change, thus if a linear function is used to describe the position of a moving object, that object’s velocity must be constant. This would mean its acceleration must be zero. To model an object whose acceleration is a nonzero constant, we must construct a function whose rate of change changes at a constant rate.
Let’s consider a candidate quadratic function . In order to find the rate of change of the rate of change (let’s call this quantity acceleration), we must first find its rate of change for a small change, , in . To figure this out, let’s think flexibly about the terms of as areas being summed up. The constant term, , can represent a rectangle, which does not change at all for a change in . The term can represent a rectangle. If the side of length increases by , the area increases by as in the following figure:
The shaded area is the total change in . Dividing this by to make it a rate of change, we find that the rate of change in is (this should not be surprising, is linear with slope ). Now we will consider the term as the area of a rectangle. If changes by , the total change in is represented by the shaded area in the following figure:
Thus the total change in for a change in of is given by . Dividing by to obtain a rate of change, we get . Hence the total rate of change in , at a given value changing by , is
Considering to be “infinitesimally small”, we find the instantaneous rate of change (velocity) is . This is a linear function with slope ! That means that its (velocitiy’s) rate of change (acceleration) is constant and equal to . This means we have a new characterization of quadratic functions to go along with their algebraic form:
Remark: The idea of computing instantaneous rates of change is central to Calculus. Re-read this section carefully now, then do it again when you learn about derivatives when you take Calculus.
Example5.2.36.
Now back to Galileo’s problem. He measured the acceleration of an object to be downward at m/s. Thus, to model the height of a projectile, we should use a quadratic function with leading term . The initial velocity, , should be the constant term of the velocity function ( above), so the linear term should be . The initial height is just the vertical intercept. Hence we have the formula for the height of a object, in meters after seconds, with initial height and initial velocity :
To find when it hits the ground, find the larger of its zeros.
To find the maximal height, find the vertex.
Checkpoint5.2.37.
The height (in feet) of a ball thrown by a child is
where is the horizontal distance in feet from the point at which the ball is thrown.
(a) How high is the ball when it leaves the child’s hand? (Hint: Find when .) feet
(b) What is the maximum height of the ball? feet
(c) How far from the child does the ball strike the ground? feet
Question5.2.38.
What is the instantaneous rate of change in ? Explain why your answer is correct using the volume of a cube as in 2.2.8