2.1 Quadratic Functions
2.1.1 Graphs of Quadratic Functions
You may recall studying quadratic equations in a previous Algebra course. If not, you may wish to refer to Section 0.5.5 to revisit this topic. In this section, we review those equations in the context of our next family of functions: the quadratic functions.
Definition 2.1
A quadratic function is a function of the form
where , and are real numbers with .
The domain of a quadratic function is .
As in Definitions 1.9 and 1.10, the independent variable in Definition 2.1 is while the values , and are parameters. Note that – otherwise we would have a linear function (see Definition 1.10).
The most basic quadratic function is , the squaring function, whose graph appears below along with a corresponding table of values. Its shape may look familiar from your previous studies in Algebra — it is called a parabola. The point is called the vertex of the parabola because it is the sole point where the function obtains its extreme value, in this case, a minimum of when .
Indeed, the range of appears to be from the graph. We can substantiate this algebraically because for all , . This tells us that the range of is a subset of . To show that the range of actually equals , we need to show that every real number in is in the range of . That is, for every , we have to show is an output from . In other words, we have to show there is a real number so that . Choosing , we find , as required.[1]
The techniques we used to graph many of the absolute value functions in Section 1.4 can be applied to quadratic functions, too. In fact, knowing the graph of enables us to graph every quadratic function, but there’s some extra work involved. We start with the following theorem:
Theorem 2.1
For real numbers , and with , the graph of is a parabola with vertex .
- If , the graph resembles `.’
- If , the graph resembles `.’
Moreover, the vertical line is the axis of symmetry of the graph of .
To prove Theorem 2.1 the reader is encouraged to revisit the discussion following the proof of Theorem 1.4, replacing every occurrence of absolute value notation with the squared exponent.[2] Alternatively, the reader can skip ahead and read the statement and proof of Theorem 2.2 in Section 2.2. In the meantime we put Theorem 2.1 to good use in the next example.
Example 2.1.1
Example 2.1.1.1a
Graph the following functions using Theorem 2.1. Determine the vertex, zeros and axis-intercepts (if any exist). Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
Solution:
Graph .
For , we identify , and .
Thus the vertex is and the parabola opens upwards.
The only -intercept is .
Our -intercept is , because .
To help us graph the function, it would be nice to have a third point and we’ll use symmetry to find it. The -value three units to the left of the vertex is , so the -value must be three units to the right of the vertex as well. Hence, we have our third point: .
From the graph, we identify that the range is and see that has the minimum value of at and no maximum.
Also, is decreasing on and increasing on .
The graph is below.
Example 2.1.1.1b
Graph the following functions using Theorem 2.1. Determine the vertex, zeros and axis-intercepts (if any exist). Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
Solution:
Graph .
For , we identify , and .
This means that the vertex is and the parabola opens upwards.
Thus we have two -intercepts. To find them, we set and solve. Doing so yields the equation , or . Extracting square roots gives us the two zeros of : , or . Our -intercepts are and .
We find so our -intercept is .
Using symmetry, we get as another point to help us graph.
The range of is . The minimum of is at , and has no maximum.
Moreover, is decreasing on and is increasing on .
The graph is below.
Example 2.1.1.1c
Graph the following functions using Theorem 2.1. Determine the vertex, zeros and axis-intercepts (if any exist). Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
Solution:
Graph .
Given , we identify , and .
Hence the vertex of the graph is and the parabola opens downwards.
Solving gives . Extracting square roots\footnote{and rationalizing denominators!} gives , so that when we add to each side,[3] we get . Hence, our -intercepts are and .
To find the -intercept, we compute . Thus the -intercept is .
Using symmetry, we also know is on the graph.
The range of is . The maximum of is at , and has no minimum.
Moreover, is increasing on and is increasing on .
The graph is below.
Example 2.1.1.1d
Graph the following functions using Theorem 2.1. Determine the vertex, zeros and axis-intercepts (if any exist). Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
Solution:
Graph .
We have some work ahead of us to put into a form we can use to exploit Theorem 2.1:
We identify , and .
Hence our vertex is and the parabola opens upwards, meaning there are no -intercepts.
By computing , we get as the -intercept.
Using symmetry, this means we also have on the graph.
The range is with the minimum of , , occurring when .
Also, is decreasing on and increasing on .
The graph is given next.
Example 2.1.1.2
Use Theorem 2.1 to write a possible formula for whose graph is given below:
Solution:
Use Theorem 2.1 to write a possible formula for whose graph is given.
We are instructed to use Theorem 2.1, so we know for some choice of parameters , and .
The vertex is so we know and , and hence .
To determine the value of , we use the fact that the -intercept, as labeled, is . This means , or . This reduces to or .
Our final answer[4] is .
A few remarks about Example 2.1.1 are in order. First note that none of the functions are in the form of Definition 2.1. However, if we took the time to perform the indicated operations and simplify, we’d determine:
While the -intercepts of the graphs of the each of the functions are easier to see when the formulas for the functions are written in the form of Definition 2.1, the vertex is not. For this reason, the form of the functions presented in Theorem 2.1 are given a special name.
Definition 2.2 Standard and General Form of Quadratic Functions
- The general form of the quadratic function is , where , and are real numbers with .
- The standard form of the quadratic function is , where , and are real numbers with . The standard form is often called the vertex form.
If we proceed as in the remarks following Example 2.1.1, we can convert any quadratic function given to us in standard form and convert to general form by performing the indicated operation and simplifying:
With the identifications and , we have written in the form . Likewise, through a process known as `completing the square’, we can take any quadratic function written in general form and rewrite it in standard form. We briefly review this technique in the following example — for a more thorough review the reader should see Section 0.5.5.
Example 2.1.2
Example 2.1.2.1
Graph the following functions. Determine the vertex, zeros and axis-intercepts, if any exist. Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
Solution:
Graph . Determine the vertex, zeros and axis-intercepts, if any exist. Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
We follow the procedure for completing the square in Section 0.5.5. The only difference here is instead of the quadratic equation being set to , it is equal to . This means when we are finished completing the square, we need to solve for .
The reader is encouraged to start with , perform the indicated operations and simplify the result to .
From the standard form, , we see that the vertex is and that the parabola opens upwards.
To find the zeros of , we set .
We have two equivalent expressions for so we could use either the general form or standard form. We solve the former and leave it to the reader to solve the latter to see that we get the same results either way. To solve , we factor: and obtain and . We get two -intercepts, and .
To find the -intercept, we need . Again, we could use either form of for this and we choose the general form and find that the -intercept is .
From symmetry, we know the point is also on the graph.
We see that the range of is with the minimum at .
Finally, is decreasing on and increasing from .
The graph is below.
Example 2.1.2.2
Graph the following functions. Determine the vertex, zeros and axis-intercepts, if any exist. Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
Solution:
Graph . Determine the vertex, zeros and axis-intercepts, if any exist. Identify the extrema and then list the intervals over which the function is increasing, decreasing or constant.
We first rewrite as . As with the previous example, once we complete the square, we solve for :
We can check our answer by expanding and show that it simplifies to .
From the standard form, we identify the vertex is and that the parabola opens downwards.
Setting , we factor to get so and . Hence, our two -intercepts are and .
The -intercept is , as .
Using symmetry, we also have the point on the graph.
The range is with a maximum of when .
Finally we note that is increasing on and decreasing on .
We now generalize the procedure demonstrated in Example 2.1.2. Let for :
By setting and , we have written the function in the form . This establishes the fact that every quadratic function can be written in standard form. Moreover, writing a quadratic function in standard form allows us to identify the vertex rather quickly, and so our work also shows us that the vertex of is . It is not worth memorizing the expression due to the fact that we can write this as .
We summarize the information detailed above in the following box:
Equation 2.1 Vertex Formulas for Quadratic Functions
Suppose , , , and are real numbers where .
- If , then the vertex of the graph of is the point .
- If , then the vertex of the graph of is the point .
Completing the square is also the means by which we may derive the celebrated Quadratic Formula, a formula which returns the solutions to for . Before we state it here for reference, we wish to encourage the reader to pause a moment and read the derivation if the Quadratic Formula found in Section 0.5.5. The work presented in this section transforms the general form of a quadratic function into the standard form whereas the work in Section 0.5.5 finds a formula to solve an equation. There is great value in understanding the similarities and differences between the two approaches.
It is worth pointing out the symmetry inherent in Equation 2.2. We may rewrite the zeros as:
so that, if there are real zeros, they (like the rest of the parabola) are symmetric about the line . Another way to view this symmetry is that the -coordinate of the vertex is the average of the zeros. We encourage the reader to verify this fact in all of the preceding examples, where applicable.
Next, recall that if the quantity is strictly negative then we do not have any real zeros. This quantity is called the discriminant and is useful in determining the number and nature of solutions to a quadratic equation. We remind the reader of this below.
Equation 2.3 The Discriminant of a Quadratic Function
Given a quadratic function in general form , the discriminant is the quantity .
- If then has two unequal (distinct) real zeros.
- If then has one (repeated) real zero.
- If If then has two unequal (distinct) non-real zeros.
We’ll talk more about what we mean by a `repeated’ zero and how to compute `non-real’ zeros in Chapter 2. For us, the discriminant has the graphical implication that if then we have two -intercepts; if then we have just one -intercept, namely, the vertex; and if then we have no -intercepts because the parabola lies entirely above or below the -axis. We sketch each of these scenarios below assuming . (The sketches for are similar.)
We now revisit the economic scenario first described in Examples 1.3.8 and 1.3.9 where we were producing and selling PortaBoy game systems. Recall that the cost to produce PortaBoys is denoted by and the price-demand function, that is, the price to charge in order to sell systems is denoted by . We introduce two more related functions below: the revenue and profit functions.
Definition 2.3 Revenue and Profit
Suppose represents the cost to produce units and is the associated price-demand function. Under the assumption that we are producing the same number of units as are being sold:
- The revenue obtained by selling units is .
That is, revenue = (number of items sold) (price per item). - The profit made by selling units is .
That is, profit = (revenue) – (cost).
Said differently, the revenue is the amount of money collected by selling items whereas the profit is how much money is left over after the costs are paid.
Example 2.1.3
Example 2.1.3.1
In Example 1.3.8 the cost to produce PortaBoy game systems for a local retailer was given by for and in Example 1.3.9 the price-demand function was found to be , for .
Write formulas for the associated revenue and profit functions; include the domain of each.
Solution:
Write formulas for the associated revenue and profit functions, including the domain of each.
The formula for the revenue function is
The domain of is restricted to , and thus the domain of .
To find the profit function , we subtract
The cost function formula is valid for , but the revenue function is valid when . Hence, the domain of is likewise restricted to .
Example 2.1.3.2
In Example 1.3.8 the cost to produce PortaBoy game systems for a local retailer was given by for and in Example 1.3.9 the price-demand function was found to be , for .
Compute and interpret .
Solution:
Compute and interpret .
We find
This means that if we produce and sell 0 PortaBoy game systems, we have a profit of 150 dollars.
As profit = (revenue) (cost), this means our costs exceed our revenue by 150 dollars. This makes perfect sense, we don’t sell any systems and our revenue is 0 dollars, but our fixed costs (see Example 1.3.8) are 150 dollars.
Example 2.1.3.3
In Example 1.3.8 the cost to produce PortaBoy game systems for a local retailer was given by for and in Example 1.3.9 the price-demand function was found to be , for .
Compute and interpret the zeros of .
Solution:
Compute and interpret the zeros of .
To find the zeros of , we set and solve . Factoring here would be challenging to say the least, so we use the Quadratic Formula, Equation 2.2. Identifying , and , we obtain
Given that profit = (revenue) (cost), if profit = 0, then revenue = cost. Hence, the zeros of are called the `break-even’ points – where just enough product is sold to recover the cost spent to make the product. Also, represents a number of game systems, which is a whole number, so instead of using the exact values of the zeros, or even their approximations, we consider and along with and .
We find , , and .
These data suggest that, in order to be profitable, at least 1 but not more than 112 systems should be produced and sold, as borne out in number 4.
Example 2.1.3.4
In Example 1.3.8 the cost to produce PortaBoy game systems for a local retailer was given by for and in Example 1.3.9 the price-demand function was found to be , for .
Graph . Find the vertex and axis intercepts.
Solution:
Graph . Find the vertex and axis intercepts.
Knowing the zeros of , we have two -intercepts: and .
As , we get the -intercept is .
To find the vertex, we appeal to Equation 2.1. Substituting and , we get
To find the -coordinate of the vertex, we compute
Hence, the vertex is .
The domain is restricted and we find . Attempting to plot all of these points on the same graph to any sort of scale is challenging. Instead, we present a portion of the graph for . Even with this, the intercepts near the origin are crowded.
Example 2.1.3.5
In Example 1.3.8 the cost to produce PortaBoy game systems for a local retailer was given by for and in Example 1.3.9 the price-demand function was found to be , for .
Interpret the vertex of the graph of .
Solution:
Interpret the vertex of the graph of .
From the vertex, we see that the maximum of is when . As before, represents the number of PortaBoy systems produced and sold, so we cannot produce and sell systems.
Hence, by comparing and , we conclude that we will make a maximum profit of 4666.50 dollars if we sell 57 game systems.
Example 2.1.3.6
In Example 1.3.8 the cost to produce PortaBoy game systems for a local retailer was given by for and in Example 1.3.9 the price-demand function was found to be , for .
What should the price per system be in order to maximize profit?
Solution:
What should the price per system be in order to maximize profit?
We’ve determined that we need to sell 57 PortaBoys to maximize profit, so we substitute into the price-demand function to get .
In other words, to sell 57 systems, and thereby maximize the profit, we should set the price at 164.50 dollars per system.
Example 2.1.3.7
In Example 1.3.8 the cost to produce PortaBoy game systems for a local retailer was given by for and in Example 1.3.9 the price-demand function was found to be , for .
Compute and interpret the average rate of change of over the interval .
Solution:
Compute and interpret the average rate of change of over the interval .
To find the average rate of change of over , we compute
This means that as the number of systems produced and sold ranges from 0 to 57, the average profit per system is increasing at a rate of 84.50 dollars. In other words, for each additional system produced and sold, the profit increased by 84.50 dollars on average.
We hope Example 2.1.3 shows the value of using a continuous model to describe a discrete situation. True, we could have `run the numbers’ and computed to eventually determine the maximum profit, but the vertex formula made much quicker work of the problem.
Our next example is classic application of optimizing a quadratic function.
Example 2.1.4
Example 2.1.3.7
Much to Donnie’s surprise and delight, he inherits a large parcel of land in Ashtabula County from one of his (e)strange(d) relatives so the time is right for him to pursue his dream of raising alpaca. He wishes to build a rectangular pasture and estimates that he has enough money for 200 linear feet of fencing material. If he makes the pasture adjacent to a river (so that no fencing is required on that side), what are the dimensions of the pasture which maximize the area? What is the maximum area? If an average alpaca needs 25 square feet of grazing area, how many alpaca can Donnie keep in his pasture?
Solution:
We are asked to determine the dimensions of the pasture which would give a maximum area, so we begin by sketching the diagram seen below.
We let denote the width of the pasture and we let denote the length of the pasture. The units given to us in the statement of the problem are feet, so we assume that and are measured in feet. The area of the pasture, which we’ll call , is related to and by the equation . Given and are both measured in feet, has units of , or square feet.
We are also told that the total amount of fencing available is feet, which means , or, .
We now have two equations, and .
In order to use the tools given to us in this section to maximize , we need to use the information given to write as a function of just one variable, either or . This is where we use the equation . Solving for , we find , and we substitute this into our equation for . We get
We now have as a function of ,
Before we go any further, we need to find the applied domain of so that we know what values of make sense in this situation.[5] Given that represents the width of the pasture we need .
Likewise, represents the length of the pasture, so . Solving this latter inequality yields .
Hence, the function we wish to maximize is for . We know two things about the quadratic function : the graph of is a parabola and (with the coefficient of being ) the parabola opens downwards.
This means that there is a maximum value to be found, and we know it occurs at the vertex. Using the vertex formula, we find
and
lies in the applied domain, , thus we have that the area of the pasture is maximized when the width is feet.
To find the length, we use and find , so the length of the pasture is feet.
The maximum area is , or square feet. If an average alpaca requires 25 square feet of pasture, Donnie can raise average alpaca.
The function in Example 2.1.4 is called the objective function for this problem – it’s the function we’re trying to optimize. In the case above, we were trying to maximize . The equation along with the inequalities and are called the constraints. As we saw in this example, and as we’ll see again and again, the constraint equation is used to rewrite the objective function in terms of just one of the variables where constraint inequalities, if any, help determine the applied domain.
2.1.2 Section Exercises
In Exercises 1 – 9, graph the quadratic function. Determine the vertex and axis intercepts of each graph, if they exist. State the domain and range, identify the maximum or minimum, and list the intervals over which the function is increasing or decreasing. If the function is given in general form, convert it into standard form; if it is given in standard form, convert it into general form.
In Exercises 10 – 13, write a formula for each function below in the form .
In Exercises 14 – 18, cost and price-demand functions are given. For each scenario,
- Determine the profit function .
- Compute the number of items which need to be sold in order to maximize profit.
- Calculate the maximum profit.
- Calculate the price to charge per item in order to maximize profit.
- Identify and interpret break-even points.
- The cost, in dollars, to produce “I’d rather be a Sasquatch” T-Shirts is , and the price-demand function, in dollars per shirt, is , for .
- The cost, in dollars, to produce bottles of All-Natural Certified Free-Trade Organic Sasquatch Tonic is , and the price-demand function, in dollars per bottle, is , for .
- The cost, in cents, to produce cups of Mountain Thunder Lemonade at Junior’s Lemonade Stand is , and the price-demand function, in cents per cup, is , for .
- The daily cost, in dollars, to produce Sasquatch Berry Pies is , and the price-demand function, in dollars per pie, is , for .
- The monthly cost, in hundreds of dollars, to produce custom built electric scooters is , and the price-demand function, in hundreds of dollars per scooter, is , for .
- The International Silver Strings Submarine Band holds a bake sale each year to fund their trip to the National Sasquatch Convention. It has been determined that the cost in dollars of baking cookies is and that the demand function for their cookies is for . How many cookies should they bake in order to maximize their profit?
- Using data from Bureau of Transportation Statistics, the average fuel economy in miles per gallon for passenger cars in the US years after 1980 can be modeled by , . Find and interpret the coordinates of the vertex of the graph of .
- The temperature , in degrees Fahrenheit, hours after 6 AM is given by:
What is the warmest temperature of the day? When does this happen?
- Suppose represents the costs, in hundreds, to produce thousand pens. How many pens should be produced to minimize the cost? What is this minimum cost?
- Skippy wishes to plant a vegetable garden along one side of his house. In his garage, he found 32 linear feet of fencing. Due to the fact that one side of the garden will border the house, Skippy doesn’t need fencing along that side. What are the dimensions of the garden which will maximize the area of the garden? What is the maximum area of the garden?
- In the situation of Example 2.1.4, Donnie has a nightmare that one of his alpaca fell into the river. To avoid this, he wants to move his rectangular pasture away from the river so that all four sides of the pasture require fencing. If the total amount of fencing available is still 200 linear feet, what dimensions maximize the area of the pasture now? What is the maximum area? Assuming an average alpaca requires 25 square feet of pasture, how many alpaca can he raise now?
- What is the largest rectangular area one can enclose with 14 inches of string?
- The two towers of a suspension bridge are 400 feet apart. The parabolic cable[6] attached to the tops of the towers is 10 feet above the point on the bridge deck that is midway between the towers. If the towers are 100 feet tall, find the height of the cable directly above a point of the bridge deck that is 50 feet to the right of the left-hand tower.
In Exercises 27 – 32, solve the quadratic equation for the indicated variable.
- for
- for
- for
- for
- for
- for (Assume .)
- (This is a follow-up to Exercise 96 in Section 1.3.1.) The Lagrange Interpolate function for three points , , and where , , and are three distinct real numbers is given by:
- For each of the following sets of points, find using the formula above and verify each of the points lies on the graph of .
- , ,
- , ,
- , ,
- Verify that, in general, , , and .
- Find for the points , and . What happens?
- Under what conditions will produce a quadratic function? Make a conjecture, test some cases, and prove your answer.
- For each of the following sets of points, find using the formula above and verify each of the points lies on the graph of .
Section 2.1 Exercise Answers can be found in the Appendix … Coming soon
- This assumes, of course, is a real number for all real numbers \ldots ↵
- i.e., replace with , with , with . ↵
- and get common denominators! ↵
- The reader is encouraged to compare this example with number 2 of Example 1.4.2. ↵
- Donnie would be very upset if, for example, we told him the width of the pasture needs to be feet. ↵
- The weight of the bridge deck forces the bridge cable into a parabola and a free hanging cable such as a power line does not form a parabola. We shall see in an exercise in Section 5.7 what shape a free hanging cable makes. ↵
A function of one variable with with the highest power is a two.
A function that is being optimized.
The inequalities which restrict or place conditions on the variables variables of an objective function.