Quadratic Functions
By the end of this section, you will be able to:
- Recognize characteristics of parabolas
- Understand how the graph of a parabola is related to its quadratic function
- Determine a quadratic function’s minimum or maximum value
- Solve problems involving a quadratic function’s minimum or maximum value
Curved antennas are commonly used to focus microwaves and radio waves to transmit television and telephone signals, as well as satellite and spacecraft communication. The cross-section of the antenna is in the shape of a parabola, which can be described by a quadratic function.
In this section, we will investigate quadratic functions, which frequently model problems involving area and projectile motion. Working with quadratic functions can be less complex than working with higher degree functions, so they provide a good opportunity for a detailed study of function behavior.
Recognizing characteristics of parabolas
The graph of a quadratic function is a U-shaped curve called a parabola. One important feature of the graph is that it has an extreme point, called the vertex. If the parabola opens up, the vertex represents the lowest point on the graph, or the minimum value of the quadratic function. If the parabola opens down, the vertex represents the highest point on the graph, or the maximum value. In either case, the vertex is a turning point on the graph. The graph is also symmetric with a vertical line drawn through the vertex, called the axis of symmetry. These features are illustrated below.
The -intercept is the point at which the parabola crosses the -axis. The -intercepts are the points at which the parabola crosses the -axis. If they exist, the -intercepts represent the zeros, or roots, of the quadratic function, the values of at which .
Example. Determine the vertex, axis of symmetry, zeros, and -intercept of the parabola shown below.
Solution. The vertex is the turning point of the graph. We can see that the vertex is at . Because this parabola opens upward, the axis of symmetry is the vertical line that intersects the parabola at the vertex. So the axis of symmetry is . This parabola does not cross the -axis, so it has no zeros. It crosses the -axis at , so this is the -intercept.
Understanding how the graphs of parabolas are related to their quadratic functions
The general form of a quadratic function presents the function in the form
where , , and are real numbers and . If , the parabola opens upward. If , the parabola opens downward. We can use the general form of a parabola to find the equation for the axis of symmetry.
The axis of symmetry is defined by . If we use the quadratic formula, , to solve for the -intercepts, or zeros, we find the value of halfway between them is always , the equation for the axis of symmetry.
The graph below is the quadratic function written in general form as . In this form, , , and . Because , the parabola opens upward. The axis of symmetry is . This also makes sense because we can see from the graph that the vertical line divides the graph in half. The vertex always occurs along the axis of symmetry. For a parabola that opens upward, the vertex occurs at the lowest point on the graph, in this instance, . The -intercepts, those points where the parabola crosses the -axis, occur at and .
The standard form of a quadratic function presents the function in the form
where is the vertex. Because the vertex appears in the standard form of the quadratic function, this form is also known as the vertex form of a quadratic function.
As with the general form, if , the parabola opens upward and the vertex is a minimum. If , the parabola opens downward, and the vertex is a maximum. The graph below is the quadratic function written in standard form as . Since in this example, . In this form, , , and . Because , the parabola opens downward. The vertex is at .
The standard form is useful for determining how the graph is transformed from the graph of . The graph below is that basic function.
If , the graph shifts upward, whereas if , the graph shifts downward. Above, , so the graph is shifted 4 units upward. If , the graph shifts toward the right and if , the graph shifts to the left. Above, , so the graph is shifted 2 units to the left. The magnitude of indicates the stretch of the graph. If , the point associated with a particular -value shifts farther from the -axis, so the graph appears to become narrower, and there is a vertical stretch. But if , the point associated with a particular -value shifts closer to the -axis, so the graph appears to become wider, but in fact there is a vertical compression. Above, , so the graph becomes narrower.
The standard form and the general form are equivalent methods of describing the same function. We can see this by expanding out the general form and setting it equal to the standard form.
For the linear terms to be equal, the coefficients must be equal.
This is the axis of symmetry we defined earlier. Setting the constant terms equal:
In practice, though, it is usually easier to remember that is the output value of the function when the input is , so .
Forms of quadratic functions. A quadratic function is a function of degree two. The graph of a quadratic function is a parabola. The general form of a quadratic function is where , , and are real numbers and .
The standard form of a quadratic function is .
The vertex is located at
How to: given a graph of a quadratic function, write the equation of the function in general form.
- Identify the horizontal shift of the parabola; this value is . Identify the vertical shift of the parabola; this value is .
- Substitute the values of the horizontal and vertical shift for and in the function .
- Substitute the values of any point, other than the vertex, on the graph of the parabola for and .
- Solve for the stretch factor, .
- If the parabola opens up, . If the parabola opens down, since this means the graph was reflected about the -axis.
- Expand and simplify to write in general form.
Example. Write an equation for the quadratic function shown below as a transformation of , and then expand the formula, and simplify terms to write the equation in general form.
Solution. We can see the graph of is the graph of shifted to the left 2 and down 3, giving a formula in the form .
Substituting the coordinates of a point on the curve, such as , we can solve for the stretch factor.
In standard form, the algebraic model for this graph is .
To write this in general polynomial form, we can expand the formula and simplify terms.
Notice that the horizontal and vertical shifts of the basic graph of the quadratic function determine the location of the vertex of the parabola; the vertex is unaffected by stretches and compressions.
Analysis. We can check our work using the table feature on a graphing utility. First enter . Next, select , then use and , and select .
The ordered pairs in the table correspond to points on the graph.
A coordinate grid can be superimposed over the quadratic path of a basketball, with the shooter releasing the ball at the origin. Assume the point is the highest point of the basketball’s trajectory, and that the hoop sits 4 feet high at the horizontal position .
Find an equation for the path of the basketball, in standard (vertex) form.
The vertex is the highest point,; substitute the origin forandto solve for the stretch factor.Using that equation, does the shooter make the basket?
Evaluate the equation atand compare it with the hoop’s height of 4 feet.How to: given a quadratic function in general form, find the vertex of the parabola.
- Identify , , and .
- Find , the -coordinate of the vertex, by substituting and into .
- Find , the -coordinate of the vertex, by evaluating .
Example. Find the vertex of the quadratic function . Rewrite the quadratic in standard form (vertex form).
Solution. The horizontal coordinate of the vertex will be at
The vertical coordinate of the vertex will be at
Rewriting into standard form, the stretch factor will be the same as the in the original quadratic.
Using the vertex to determine the shifts,
Analysis. One reason we may want to identify the vertex of the parabola is that this point will inform us where the maximum or minimum value of the output occurs, , and where it occurs, .
Which of these iswritten in general form?
General form lists the terms in descending order of degree.Given the equation, write the equation in standard (vertex) form.
Findandfrom the general form, then substitute into.Finding the domain and range of a quadratic function
Any number can be the input value of a quadratic function. Therefore, the domain of any quadratic function is all real numbers. Because parabolas have a maximum or a minimum point, the range is restricted. Since the vertex of a parabola will be either a maximum or a minimum, the range will consist of all -values greater than or equal to the -coordinate at the turning point or less than or equal to the -coordinate at the turning point, depending on whether the parabola opens up or down.
Domain and range of a quadratic function. The domain of any quadratic function is all real numbers.
The range of a quadratic function written in general form with a positive value is , or .
The range of a quadratic function written in general form with a negative value is , or .
The range of a quadratic function written in standard form with a positive value is ; the range of a quadratic function written in standard form with a negative value is .
How to: given a quadratic function, find the domain and range.
- Identify the domain of any quadratic function as all real numbers.
- Determine whether is positive or negative. If is positive, the parabola has a minimum. If is negative, the parabola has a maximum.
- Determine the maximum or minimum value of the parabola, .
- If the parabola has a minimum, the range is given by , or . If the parabola has a maximum, the range is given by , or .
Example. Find the domain and range of .
Solution. As with any quadratic function, the domain is all real numbers.
Because is negative, the parabola opens downward and has a maximum value. We need to determine the maximum value. We can begin by finding the -value of the vertex.
The maximum value is given by .
The range is , or .
Find the range of.
This is already in standard form;, so the range is.Determining the maximum and minimum values of quadratic functions
The output of the quadratic function at the vertex is the maximum or minimum value of the function, depending on the orientation of the parabola. We can see the maximum and minimum values in the two graphs below.
There are many real-world scenarios that involve finding the maximum or minimum value of a quadratic function, such as applications involving area and revenue.
Example. A backyard farmer wants to enclose a rectangular space for a new garden within her fenced backyard. She has purchased 80 feet of wire fencing to enclose three sides, and she will use a section of the backyard fence as the fourth side.
- Find a formula for the area enclosed by the fence if the sides of fencing perpendicular to the existing fence have length .
- What dimensions should she make her garden to maximize the enclosed area?
Solution. Let’s use a diagram such as the one below to record the given information. It is also helpful to introduce a temporary variable, , to represent the width of the garden and the length of the fence section parallel to the backyard fence.
We know we have only 80 feet of fence available, and , or more simply, . This allows us to represent the width, , in terms of .
Now we are ready to write an equation for the area the fence encloses. We know the area of a rectangle is length multiplied by width, so
This formula represents the area of the fence in terms of the variable length . The function, written in general form, is
The quadratic has a negative leading coefficient, so the graph will open downward, and the vertex will be the maximum value for the area. In finding the vertex, we must be careful because the equation is not written in standard polynomial form with decreasing powers. This is why we rewrote the function in general form above. Since is the coefficient of the squared term, , , and .
To find the vertex:
and
The maximum value of the function is an area of 800 square feet, which occurs when feet. When the shorter sides are 20 feet, there is 40 feet of fencing left for the longer side. To maximize the area, she should enclose the garden so the two shorter sides have length 20 feet and the longer side parallel to the existing fence has length 40 feet.
Analysis. This problem also could be solved by graphing the quadratic function. We can see where the maximum area occurs on the graph below.
How to: given an application involving revenue, use a quadratic equation to find the maximum.
- Write a quadratic equation for revenue.
- Find the vertex of the quadratic equation.
- Determine the -value of the vertex.
Example. The unit price of an item affects its supply and demand. That is, if the unit price goes up, the demand for the item will usually decrease. For example, a local newspaper currently has 84,000 subscribers at a quarterly charge of $30. Market research has suggested that if the owners raise the price to $32, they would lose 5,000 subscribers. Assuming that subscriptions are linearly related to the price, what price should the newspaper charge for a quarterly subscription to maximize their revenue?
Solution. Revenue is the amount of money a company brings in. In this case, the revenue can be found by multiplying the price per subscription times the number of subscribers, or quantity. We can introduce variables, for price per subscription and for quantity, giving us the equation .
Because the number of subscribers changes with the price, we need to find a relationship between the variables. We know that currently and . We also know that if the price rises to $32, the newspaper would lose 5,000 subscribers, giving a second pair of values, and . From this we can find a linear equation relating the two quantities. The slope will be
This tells us the paper will lose 2,500 subscribers for each dollar they raise the price. We can then solve for the -intercept.
This gives us the linear equation relating cost and subscribers. We now return to our revenue equation.
We now have a quadratic function for revenue as a function of the subscription charge. To find the price that will maximize revenue for the newspaper, we can find the vertex.
The model tells us that the maximum revenue will occur if the newspaper charges $31.80 for a subscription. To find what the maximum revenue is, we evaluate the revenue function.
Analysis. This could also be solved by graphing the quadratic, below. We can see the maximum revenue on the graph of the quadratic function.
Finding the x- and y-intercepts of a quadratic function
Much as we did in the application problems above, we also need to find intercepts of quadratic equations for graphing parabolas. Recall that we find the -intercept of a quadratic by evaluating the function at an input of zero, and we find the -intercepts at locations where the output is zero. Notice below that the number of -intercepts can vary depending upon the location of the graph.
How to: given a quadratic function , find the - and -intercepts.
- Evaluate to find the -intercept.
- Solve the quadratic equation to find the -intercepts.
Example. Find the - and -intercepts of the quadratic .
Solution. We find the -intercept by evaluating .
So the -intercept is at .
For the -intercepts, we find all solutions of .
In this case, the quadratic can be factored easily, providing the simplest method for solution.
So the -intercepts are at and .
Analysis. By graphing the function, we can confirm that the graph crosses the -axis at . We can also confirm that the graph crosses the -axis at and . See the graph below.
Rewriting quadratics in standard form
In the example above, the quadratic was easily solved by factoring. However, there are many quadratics that cannot be factored. We can solve these quadratics by first rewriting them in standard form.
How to: given a quadratic function, find the -intercepts by rewriting in standard form.
- Substitute and into .
- Substitute into the general form of the quadratic function to find .
- Rewrite the quadratic in standard form using and .
- Solve for when the output of the function will be zero to find the -intercepts.
Example. Find the -intercepts of the quadratic function .
Solution. We begin by solving for when the output will be zero.
Because the quadratic is not easily factorable in this case, we solve for the intercepts by first rewriting the quadratic in standard form.
We know that . Then we solve for and .
So now we can rewrite in standard form.
We can now solve for when the output will be zero.
The graph has -intercepts at and .
Analysis. We can check our work by graphing the given function on a graphing utility and observing the -intercepts, shown below.
Earlier, we found the standard and general form for the function. Now find its y-intercept. Enter your answer as an ordered pair.
Evaluate.How many real x-intercepts does that same parabola,, have?
Rewrite in standard form,, and check the sign of the constant termagainst the direction the parabola opens.Example. Solve .
Solution. Let’s begin by writing the quadratic formula: .
When applying the quadratic formula, we identify the coefficients , , and . For the equation , we have , , and . Substituting these values into the formula we have:
The solutions to the equation are and , or and .
Example. A ball is thrown upward from the top of a 40 foot high building at a speed of 80 feet per second. The ball’s height above ground can be modeled by the equation .
- When does the ball reach the maximum height?
- What is the maximum height of the ball?
- When does the ball hit the ground?
Solution.
The ball reaches the maximum height at the vertex of the parabola.
The ball reaches a maximum height after 2.5 seconds.
To find the maximum height, find the -coordinate of the vertex of the parabola.
The ball reaches a maximum height of 140 feet.
To find when the ball hits the ground, we need to determine when the height is zero, .
We use the quadratic formula.
Because the square root does not simplify nicely, we can use a calculator to approximate the values of the solutions.
The second answer is outside the reasonable domain of our model, so we conclude the ball will hit the ground after about 5.458 seconds. See the graph below.
A rock is thrown upward from the top of a 112-foot high cliff overlooking the ocean at a speed of 96 feet per second. The rock’s height above the ocean can be modeled by. When does the rock reach its maximum height, in seconds?
3 secondsThe maximum height occurs at the vertex; find.What is the maximum height of that same rock, in feet?
256 feetEvaluateat the time you just found for the vertex.When does that same rock hit the ocean, in seconds?
7 secondsSolvewith the quadratic formula, and keep only the positive solution.Key equations
| general form of a quadratic function | |
|---|---|
| the quadratic formula | |
| standard form of a quadratic function |
Key concepts
- A polynomial function of degree two is called a quadratic function.
- The graph of a quadratic function is a parabola. A parabola is a U-shaped curve that can open either up or down.
- The axis of symmetry is the vertical line passing through the vertex. The zeros, or -intercepts, are the points at which the parabola crosses the -axis. The -intercept is the point at which the parabola crosses the -axis.
- Quadratic functions are often written in general form. Standard or vertex form is useful to easily identify the vertex of a parabola. Either form can be written from a graph.
- The vertex can be found from an equation representing a quadratic function.
- The domain of a quadratic function is all real numbers. The range varies with the function.
- A quadratic function’s minimum or maximum value is given by the -value of the vertex.
- The minimum or maximum value of a quadratic function can be used to determine the range of the function and to solve many kinds of real-world problems, including problems involving area and revenue.
- Some quadratic equations must be solved by using the quadratic formula.
- The vertex and the intercepts can be identified and interpreted to solve real-world problems.
Practice
Recognize characteristics of parabolas
Sketch the graph of.
Vertex, opening upward throughandPlot the vertex and one or two nearby points, then draw the U-shape through them.What is the vertex of that same parabola,? Enter your answer as an ordered pair.
Find, then evaluate.What is the axis of symmetry of that same parabola,?
The axis of symmetry is the vertical line through the vertex,.What is the vertex of? Enter your answer as an ordered pair.
Find, then evaluate.What is the axis of symmetry of that same parabola,?
The axis of symmetry is the vertical line through the vertex,.Understand how the graph of a parabola is related to its quadratic function
Rewritein standard (vertex) form.
Findand, then substitute into.Rewritein standard (vertex) form.
Findand, then substitute into.Write the general form of the equation for the parabola graphed below.
Read the vertex and one other point off the graph, then follow the same steps as writing an equation from a graph.Write the general form of the equation for the parabola graphed below.
Read the vertex and one other point off the graph, then follow the same steps as writing an equation from a graph.Determine a quadratic function’s minimum or maximum value
Find the minimum value of.
The minimum value occurs at the vertex; evaluateat.What is the axis of symmetry of that same parabola,?
The axis of symmetry is.Find the minimum value of.
The minimum value occurs at the vertex; evaluateat.Find the range of. Write your answer in interval notation.
This is already in standard form with, so the range is.Solve problems involving a quadratic function’s minimum or maximum value
A backyard farmer wants to enclose a rectangular corral using 200 feet of fencing on all four sides.
What side length, in feet, produces the greatest enclosed area?
50 feetLet one side be; the opposite side is alsoand the other pair iseach, so maximize.Using that same 200 feet of fencing, what is the greatest enclosed area, in square feet?
2,500 square feetEvaluate the area function at the side length you just found.A soccer stadium holds 62,000 spectators. With a ticket price of $11, average attendance has been 26,000. When the price dropped to $9, average attendance rose to 31,000. Assuming attendance is linearly related to ticket price, what ticket price would maximize revenue?
$10.70Find the linear attendance-vs-price relationship first, then maximize.A rocket is launched in the air. Its height, in meters above sea level, as a function of time, in seconds, is given by. Find the maximum height the rocket attains, in meters, rounded to two decimal places.
2,909.56 metersThe maximum height is the-value of the vertex,.Among all pairs of numbers whose difference is 12, find the pair with the smallest product. Enter both numbers, separated by a comma.
andLet the numbers beand; minimize the product.What is that smallest product?
Evaluate the product function at the vertex you just found.This section is adapted from Precalculus 2e, Section 3.2: Quadratic Functions by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated every graph as an accessible inline SVG generated from its exact equation — the labeled-features schematic parabola ; the vertex/no-x-intercept parabola of Example 1; the general-form parabola ; the standard-form parabola ; the basic parabola ; the graph-transformation parabola ; the two minimum/maximum panels and ; the area function ; the revenue function, scaled to thousands of dollars, ; the three no/one/two--intercept panels; the -/-intercept parabola ; the standard-form parabola with its irrational intercepts; the corrected height-vs-time parabola ; and the two Practice graph-reading items and ; recreated the garden diagram as a labeled rectangle-in-rectangle figure; presented the table-feature check in Example 2 as a Markdown table; omitted the decorative satellite-dish photograph, which carries no mathematics, and reworded the opening sentence that pointed at it; omitted the section’s four Media links to external graphing-calculator resources; converted the basketball Try It’s photograph-with-grid-overlay into a recreated graph, stating in the question the release point, vertex, and the hoop’s location and height that the source conveyed only through the image; converted the practice problems (“Try Its”) into interactive exercises with instant feedback — a fillin plus multiple choice for the basketball path and shot outcome, a multiple choice among competing writings plus a fillin for the rewritten-in-standard-form Try It (its general-form half is a bare reordering of an already-expanded printed expression, so no answerForm token restricts term order and a retyped printed span would grade correct; a multiple choice among the general, standard, and mis-ordered forms grades the shape instead), a fillin for the domain-and-range Try It, a fillin plus multiple choice for the -intercept and -intercept count of the rewritten function, and three fillins for the falling-rock application; split each of the two “sketch a graph and give the vertex, axis of symmetry, and intercepts” Practice items into a graphing or fillin component per requested quantity; and adapted thirteen selected end-of-section exercises — two vertex/axis-of-symmetry rewrites, two graph-reading equations, two minimum-value/axis-of-symmetry evaluations, a range evaluation, and four real-world optimization problems (a four-sided corral, a ticket-revenue maximization, a rocket’s maximum height, and a smallest-product pair) — into nineteen interactive components in a closing Practice block, one group per objective. One upstream figure defect is corrected here: the pinned CNXML’s Figure 16 (module m49337) prints its vertical axis labeled “” carrying the height values (50, 100, 150) and its horizontal axis labeled “” carrying the time values (1 through 6), the reverse of the function it illustrates, alongside a stray “ from to ” annotation left over from a different window setting; this page draws the corrected axes, time on the horizontal axis and height on the vertical axis, over the function’s own domain, and carries a visible source note beside the corrected figure disclosing the correction in addition to this footer.