Learning Objectives
- Graph quadratic functions 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
Be Prepared 9.7
Before you get started, take this readiness quiz.
- Graph the function by plotting points.
If you missed this problem, review Example 3.54. - Factor completely:
If you missed this problem, review Example 6.24. - Factor completely:
If you missed this problem, review Example 6.26.
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, k, 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 g(x) values are two more than the f(x) values. Also, the h(x) values are two less than the f(x) 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.
Try It 9.105
ⓐ Graph and on the same rectangular coordinate system.
ⓑ Describe what effect adding a constant to the function has on the basic parabola.
Try It 9.106
ⓐ Graph and on the same rectangular coordinate system.
ⓑ Describe what effect adding a constant to the function has on the basic parabola.
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 k units.
- If k > 0, shift the parabola vertically up k units.
- If k < 0, shift the parabola vertically down units.
Now that we have seen the effect of the constant, k, 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. |
Try It 9.107
Graph using a vertical shift.
Try It 9.108
Graph using a vertical shift.
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 k to the function had on the resulting graph of the new function
We will now explore the effect of subtracting a constant, h, from x 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 g(x) values and the h(x) values share the common numbers 0, 1, 4, 9, and 16, but are shifted.
Try It 9.109
ⓐ Graph and on the same rectangular coordinate system.
ⓑ Describe what effect adding a constant to the function has on the basic parabola.
Try It 9.110
ⓐ Graph and on the same rectangular coordinate system.
ⓑ Describe what effect adding a constant to the function has on the basic parabola.
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 (h > 0) or shift it right (h < 0).
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 h > 0, shift the parabola horizontally left h units.
- If h < 0, shift the parabola horizontally right units.
Now that we have seen the effect of the constant, h, 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 h. | |
Shift the graph to the right 6 units. |
Try It 9.111
Graph using a horizontal shift.
Try It 9.112
Graph using a horizontal shift.
Now that we know the effect of the constants h and k, 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 h, k.
The h constant gives us a horizontal shift and the k gives us a vertical shift.
We first draw the graph of on the grid.
Try It 9.113
Graph using transformations.
Try It 9.114
Graph using transformations.
Graph Quadratic Functions of the Form
So far we graphed the quadratic function and then saw the effect of including a constant h or k in the equation had on the resulting graph of the new function. We will now explore the effect of the coefficient a on the resulting graph of the new function
If we graph these functions, we can see the effect of the constant a, assuming a > 0.
To graph a function with constant a it is easiest to choose a few points on and multiply the y-values by a.
Graph of a Quadratic Function of the form
The coefficient a 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 y-values by 3 to get the points for
Try It 9.115
Graph
Try It 9.116
Graph
Graph Quadratic Functions Using Transformations
We have learned how the constants a, h, and k 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.
When we complete the square in a function with a coefficient of x2 that is not one, we have to factor that coefficient from just the x-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 x-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
Separate the x terms from the constant. | |
Factor the coefficient of , . | |
Prepare to complete the square. | |
Take half of 2 and then square it to complete the square. |
|
The constant 1 completes the square in the parentheses, but the parentheses is multiplied by . So we are really adding We must then add 3 to not change the value of the function. |
|
Rewrite the trinomial as a square and subtract the constants. |
|
The function is now in the form. |
Try It 9.117
Rewrite in the form by completing the square.
Try It 9.118
Rewrite in the form by completing 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.
Separate the x terms from the constant. | |
Take half of 6 and then square it to complete the square. |
|
We both add 9 and subtract 9 to not change the value of the function. | |
Rewrite the trinomial as a square and subtract the constants. | |
The function is now in the form. |
Step 2: Graph the function using transformations.
Looking at the h, k 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.
Try It 9.119
Graph by using transformations.
Try It 9.120
Graph by using transformations.
We list the steps to take to graph a quadratic function using transformations here.
How To
Graph a quadratic function using transformations.
- Step 1. Rewrite the function in form by completing the square.
- Step 2. 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.
Separate the x terms from the constant. | |
We need the coefficient of to be one. We factor from the x-terms. |
|
Take half of 2 and then square it to complete the square. |
|
We add 1 to complete the square in the parentheses, but the parentheses is multiplied by . Se we are really adding . To not change the value of the function we add 2. | |
Rewrite the trinomial as a square and subtract the constants. | |
The function is now in the form. |
Step 2. Graph the function using transformations.
We first draw the graph of on the grid.
Try It 9.121
Graph by using transformations.
Try It 9.122
Graph by using transformations.
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 h and k.
In each case, the vertex is (h, k). Also the axis of symmetry is the line x = h.
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.
- Step 1. Rewrite the function in form.
- Step 2. Determine whether the parabola opens upward, a > 0, or downward, a < 0.
- Step 3. Find the axis of symmetry, x = h.
- Step 4. Find the vertex, (h, k).
- Step 5. Find the y-intercept. Find the point symmetric to the y-intercept across the axis of symmetry.
- Step 6. Find the x-intercepts.
- Step 7. Graph the parabola.
Example 9.62
ⓐ Rewrite in form and ⓑ 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 axis of symmetry is . |
The vertex is . | The vertex is . |
Find the y-intercept by finding . | |
y-intercept | |
Find the point symmetric to across the axis of symmetry. |
|
Find the x-intercepts. | The discriminant negative, so there are no x-intercepts. Graph the parabola. |
Try It 9.123
ⓐ Rewrite in form and ⓑ graph the function using properties.
Try It 9.124
ⓐ Rewrite in form and ⓑ graph the function using properties.
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
Try It 9.125
Write the quadratic function in form whose graph is shown.
Try It 9.126
Determine the quadratic function whose graph is shown.
Media
Access these online resources for additional instruction and practice with graphing quadratic functions using transformations.
Section 9.7 Exercises
Practice Makes Perfect
Graph Quadratic Functions of the form
In the following exercises, ⓐ graph the quadratic functions on the same rectangular coordinate system and ⓑ describe what effect adding a constant, k, to the function has on the basic parabola.
and
In the following exercises, graph each function using a vertical shift.
Graph Quadratic Functions of the form
In the following exercises, ⓐ graph the quadratic functions on the same rectangular coordinate system and ⓑ describe what effect adding a constant, , inside the parentheses has
and
In the following exercises, graph each function using a horizontal shift.
In the following exercises, graph each function using transformations.
Graph Quadratic Functions of the form
In the following exercises, graph each function.
Graph Quadratic Functions Using Transformations
In the following exercises, rewrite each function in the form by completing the square.
In the following exercises, ⓐ rewrite each function in form and ⓑ graph it by using transformations.
In the following exercises, ⓐ rewrite each function in form and ⓑ graph it using properties.
Matching
In the following exercises, match the graphs to one of the following functions: ⓐ ⓑ ⓒ ⓓ ⓔ ⓕ ⓖ ⓗ
Find a Quadratic Function from its Graph
In the following exercises, write the quadratic function in form whose graph is shown.
Writing Exercise
Graph the quadratic function first using the properties as we did in the last section and then graph it using transformations. Which method do you prefer? Why?
Graph the quadratic function first using the properties as we did in the last section and then graph it using transformations. Which method do you prefer? Why?
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ After looking at the checklist, do you think you are well-prepared for the next section? Why or why not?