Finding the Domain and Range of a Quadratic Function
The domain and range of a function are integral to its definition. In this section, you will learn how to use algebraic techniques to define a function's domain and range given its equation.
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 x- intercepts, or zeros, we find the value of halfway between them is always , the equation for the axis of symmetry.
Figure 4 represents the graph of 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 x- intercepts, those points where the parabola crosses the x- axis, occur at and .
Figure 4
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. Figure 5 represents the graph of 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 .
Figure 5
The standard form is useful for determining how the graph is transformed from the graph of . Figure 6 is the graph of this basic function.
Figure 6
If , the graph shifts upward, whereas if , the graph shifts downward. In Figure 5, , so the graph is shifted 4 units upward. If , the graph shifts toward the right and if , the graph shifts to the left. In Figure 5, , so the graph is shifted 2 units to the left. The magnitude of a indicates the stretch of the graph. If , the point associated with a particular x- value shifts farther from the x-axis, so the graph appears to become narrower, and there is a vertical stretch. But if , the point associated with a particular x- value shifts closer to the x-axis, so the graph appears to become wider, but in fact there is a vertical compression. In Figure 5, , 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 polynomial 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 where .
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, .
- Expand and simplify to write in general form.
Example 2
Writing the Equation of a Quadratic Function from the Graph
Write an equation for the quadratic function in Figure 7 as a transformation of , and then expand the formula, and simplify terms to write the equation in general form.
Figure 7
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 (0,−1), 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 TBLSET, then use TblStart=–6 and ΔTbl = 2, and select TABLE. See Table 1.
–6 | –4 | –2 | 0 | 2 | |
5 | –1 | –3 | –1 | 5 |
Table 1
The ordered pairs in the table correspond to points on the graph.
Try It #1
A coordinate grid has been superimposed over the quadratic path of a basketball in Figure 8. Find an equation for the path of the ball. Does the shooter make the basket?Figure 8
How To
Given a quadratic function in general form, find the vertex of the parabola.- Identify , and .
- Find , the x-coordinate of the vertex, by substituting and into .
- Find , the y-coordinate of the vertex, by evaluating .
Example 3
Finding the Vertex of a Quadratic FunctionFind the vertex of the quadratic function . Rewrite the quadratic in standard form (vertex form).
SolutionThe 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. First, find the horizontal coordinate of the vertex. Then find the vertical coordinate of the vertex. Substitute the values into standard form, using the " " from the general form.
The standard form of a quadratic function prior to writing the function then becomes the following:
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, .
Try It #2
Given the equation , write the equation in general form and then in standard form.
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 y-values greater than or equal to the y-coordinate at the turning point or less than or equal to the y-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 unless the context of the function presents some restrictions.
The range of a quadratic function written in general form with a positive a value is , or ; the range of a quadratic function written in general form with a negative a value is , or .
The range of a quadratic function written in standard form with a positive a value is ; the range of a quadratic function written in standard form with a negative a 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 a is positive or negative. If a is positive, the parabola has a minimum. If a 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 4
Finding the Domain and Range of a Quadratic Function
Find the domain and range of .
Solution
As with any quadratic function, the domain is all real numbers.
Because a is negative, the parabola opens downward and has a maximum value. We need to determine the maximum value. We can begin by finding the x- value of the vertex.
The maximum value is given by .
Try It #3
Find the domain and range of .
Source: Rice University, https://openstax.org/books/college-algebra/pages/5-1-quadratic-functions
This work is licensed under a Creative Commons Attribution 4.0 License.