Graph Quadratic Functions Using Transformations
By the end of this section, you will be able to:
- Graph quadratic equations of the form
- Graph quadratic functions of the form
- Graph quadratic functions of the form
- Graph quadratic functions using transformations
- Find a quadratic function from its graph
Graph Quadratic Functions of the Form
In the last section, we learned how to graph quadratic functions using their properties. Another method involves starting with the basic graph of and “moving” it according to information given in the function equation. We call this graphing quadratic functions using transformations.
In the first example, we will graph the quadratic function by plotting points. Then we will see what effect adding a constant, , to the equation will have on the graph of the new function .
Example 9.53. Graph , , and on the same rectangular coordinate system. Describe what effect adding a constant to the function has on the basic parabola.
Solution.
Plotting points will help us see the effect of the constants on the basic graph. We fill in the chart for all three functions.
The values are two more than the values. Also, the values are two less than the values. Now we will graph all three functions on the same rectangular coordinate system.
The graph of is the same as the graph of but shifted up 2 units.
The graph of is the same as the graph of but shifted down 2 units.
Graph , , and on the same rectangular coordinate system. What effect does the constant have on the basic parabola?
Compare each constant term with zero.Graph , , and on the same rectangular coordinate system. What effect does the constant have on the basic parabola?
A constant added outside the square changes every -value.The last example shows us that to graph a quadratic function of the form , we take the basic parabola graph of and vertically shift it up or shift it down .
This transformation is called a vertical shift.
Graph a Quadratic Function of the Form Using a Vertical Shift.
The graph of shifts the graph of vertically units.
- If , shift the parabola vertically up units.
- If , shift the parabola vertically down units.
Now that we have seen the effect of the constant, , it is easy to graph functions of the form . We just start with the basic parabola of and then shift it up or down.
It may be helpful to practice sketching quickly. We know the values and can sketch the graph from there.
Once we know this parabola, it will be easy to apply the transformations. The next example will require a vertical shift.
Example 9.54. Graph using a vertical shift.
Solution.
We first draw the graph of on the grid. Determine .
Shift the graph down 3.
Graph using a vertical shift.
Start with the vertex of and shift it vertically.Graph using a vertical shift. Enter the -coordinate of the vertex.
The vertex of is .Graph Quadratic Functions of the Form
In the first example, we graphed the quadratic function by plotting points and then saw the effect of adding a constant to the function had on the resulting graph of the new function .
We will now explore the effect of subtracting a constant, , from has on the resulting graph of the new function .
Example 9.55. Graph , , and on the same rectangular coordinate system. Describe what effect adding a constant to the function has on the basic parabola.
Solution.
Plotting points will help us see the effect of the constants on the basic graph. We fill in the chart for all three functions.
The values and the values share the common numbers 0, 1, 4, 9, and 16, but are shifted.
The graph of is the same as the graph of but shifted right 1 unit.
The graph of is the same as the graph of but shifted left 1 unit.
Graph , , and on the same rectangular coordinate system. Describe the shifts.
Write each function as .The source prints , , and . Graph them on the same rectangular coordinate system and describe the effect of the constant.
In the printed formulas, the constants are outside the square.The last example shows us that to graph a quadratic function of the form , we take the basic parabola graph of and shift it left or shift it right .
This transformation is called a horizontal shift.
Graph a Quadratic Function of the Form Using a Horizontal Shift.
The graph of shifts the graph of horizontally units.
- If , shift the parabola horizontally right units.
- If , shift the parabola horizontally left units.
Now that we have seen the effect of the constant, , it is easy to graph functions of the form . We just start with the basic parabola of and then shift it left or right.
The next example will require a horizontal shift.
Example 9.56. Graph using a horizontal shift.
Solution.
We first draw the graph of on the grid. Determine .
Shift the graph to the right 5 units.
Graph using a horizontal shift. Enter the -coordinate of the vertex.
Compare with .Graph using a horizontal shift. Enter the -coordinate of the vertex.
Rewrite as .Now that we know the effect of the constants and , we will graph a quadratic function of the form by first drawing the basic parabola and then making a horizontal shift followed by a vertical shift. We could do the vertical shift followed by the horizontal shift, but most students prefer the horizontal shift followed by the vertical.
Example 9.57. Graph using transformations.
Solution.
This function will involve two transformations and we need a plan. Let’s first identify the constants , .
The constant gives us a horizontal shift and the gives us a vertical shift. We first draw the graph of on the grid. To graph , shift the graph to the left 1 unit. To graph , shift the graph down 2 units.
Graph using transformations. Enter the vertex as an ordered pair.
The vertex of is .Graph using transformations. Enter the vertex as an ordered pair.
Read and from vertex form.Graph Quadratic Functions of the Form
So far we graphed the quadratic function and then saw the effect of including a constant or in the equation had on the resulting graph of the new function. We will now explore the effect of the coefficient on the resulting graph of the new function .
Let’s look at the quadratic functions , , and .
If we graph these functions, we can see the effect of the constant , assuming .
The graph of the function is “skinnier” than the graph of .
The graph of the function is “wider” than the graph of .
To graph a function with constant it is easiest to choose a few points on and multiply the -values by .
Graph of a Quadratic Function of the Form .
The coefficient in the function affects the graph of by stretching or compressing it.
- If , the graph of will be “wider” than the graph of .
- If , the graph of will be “skinnier” than the graph of .
Example 9.58. Graph .
Solution.
We will graph the functions and on the same grid. We will choose a few points on and then multiply the -values by 3 to get the points for .
| for | for | |
|---|---|---|
Graph . Enter the -coordinate of the vertex.
Multiplying the -values changes the opening and width, not the vertex.Graph . Compared with , which description is correct?
Use the sign and absolute value of .Graph Quadratic Functions Using Transformations
We have learned how the constants , , and in the functions , , and affect their graphs. We can now put this together and graph quadratic functions by first putting them into the form by completing the square. This form is sometimes known as the vertex form or standard form.
We must be careful to both add and subtract the number to the SAME side of the function to complete the square. We cannot add the number to both sides as we did when we completed the square with quadratic equations.
| Quadratic equation | Quadratic function |
|---|---|
When we complete the square in a function with a coefficient of that is not one, we have to factor that coefficient from just the -terms. We do not factor it from the constant term. It is often helpful to move the constant term a bit to the right to make it easier to focus only on the -terms.
Once we get the constant we want to complete the square, we must remember to multiply it by that coefficient before we then subtract it.
Example 9.59. Rewrite in the form by completing the square.
Solution.
The function is now in the form.
Rewrite in the form by completing the square.
Factor from the -terms before completing the square.Rewrite in the form by completing the square.
Factor 2 from the -terms, then complete the square.Once we put the function into the form, we can then use the transformations as we did in the last few problems. The next example will show us how to do this.
Example 9.60. Graph by using transformations.
Solution.
Step 1. Rewrite the function in vertex form by completing the square.
Step 2. Graph the function using transformations.
Looking at the , values, we see the graph will take the graph of and shift it to the left 3 units and down 4 units.
We first draw the graph of on the grid. To graph , shift the graph to the left 3 units. To graph , shift the graph down 4 units.
Graph by using transformations. First enter the function in vertex form.
Complete the square on .Graph by using transformations. First enter the function in vertex form.
Complete the square on .We list the steps to take to graph a quadratic function using transformations here.
How To: Graph a quadratic function using transformations.
- Rewrite the function in form by completing the square.
- Graph the function using transformations.
Example 9.61. Graph by using transformations.
Solution.
Step 1. Rewrite the function in vertex form by completing the square.
Step 2. Graph the function using transformations.
We first draw the graph of on the grid. To graph , multiply the -values in the parabola of by . To graph , shift the graph to the left 1 unit. To graph , shift the graph up 4 units.
Graph by using transformations.
Complete the square to locate the vertex, then use the coefficient to choose another point.Graph by using transformations. First enter the function in vertex form.
Factor from the -terms, then complete the square.Now that we have completed the square to put a quadratic function into form, we can also use this technique to graph the function using its properties as in the previous section.
If we look back at the last few examples, we see that the vertex is related to the constants and .
In each case, the vertex is . Also the axis of symmetry is the line .
We rewrite our steps for graphing a quadratic function using properties for when the function is in form.
How To: Graph a quadratic function in the form using properties.
- Rewrite the function in form.
- Determine whether the parabola opens upward, , or downward, .
- Find the axis of symmetry, .
- Find the vertex, .
- Find the -intercept. Find the point symmetric to the -intercept across the axis of symmetry.
- Find the -intercepts.
- Graph the parabola.
Example 9.62. (a) Rewrite in form and (b) graph the function using properties.
Solution.
Rewrite the function in form by completing the square.
Identify the constants , , . Since , the parabola opens upward. The axis of symmetry is . The vertex is .
Find the -intercept by finding .
so the -intercept is . The point symmetric to across the axis of symmetry is . The discriminant is negative, so there are no -intercepts. Graph the parabola.
Rewrite in form and graph the function using properties. Enter the vertex form.
Factor 3 from the -terms before completing the square.Rewrite in form and graph the function using properties. Enter the vertex form.
Factor from the -terms before completing the square.Find a Quadratic Function from Its Graph
So far we have started with a function and then found its graph.
Now we are going to reverse the process. Starting with the graph, we will find the function.
Example 9.63. Determine the quadratic function whose graph is shown.
Solution.
Since it is quadratic, we start with the form.
The vertex, , is so and . To find , we use the -intercept, . So .
Write the function and substitute in , , and .
Write the quadratic function in form whose graph has vertex and passes through .
Substitute the vertex first, then use to solve for .Determine the quadratic function whose graph has vertex and passes through .
Substitute the vertex first, then use to solve for .Key terms. A vertical shift moves a graph up or down. A horizontal shift moves a graph left or right. The form is called the vertex form or standard form of a quadratic function.
Adapted from [Intermediate Algebra 2e, Section 9.7](https://openstax.org/books/intermediate-algebra-2e/pages/9-7-graph-quadratic-functions-using-transformations) by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/). Access the original for free at [OpenStax](https://openstax.org/). Changes: converted Try It exercises to interactive checks and recreated graphs for accessible web presentation.