Learning Objectives
By the end of this section, you will be able to:
 • Graph quadratic equations of the form $f\left(x\right)={x}^{2}+k$
 • Graph quadratic functions of the form $f\left(x\right)={(xh)}^{2}$
 Graph quadratic functions of the form $f\left(x\right)=a{x}^{2}$
 Graph quadratic functions using transformations
 Find a quadratic function from its graph
Be Prepared 9.19
Before you get started, take this readiness quiz.
Graph the function $f\left(x\right)={x}^{2}$ by plotting points.
If you missed this problem, review Example 3.54.
Be Prepared 9.20
Factor completely: ${y}^{2}14y+49.$
If you missed this problem, review Example 6.24.
Be Prepared 9.21
Factor completely: $2{x}^{2}16x+32.$
If you missed this problem, review Example 6.26.
Graph Quadratic Functions of the form $f(x)={x}^{2}+k$
In the last section, we learned how to graph quadratic functions using their properties. Another method involves starting with the basic graph of $f(x)={x}^{2}$ 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 $f(x)={x}^{2}$ 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 $f(x)={x}^{2}+k.$
Example 9.53
Graph $f\left(x\right)={x}^{2},\phantom{\rule{0.2em}{0ex}}g\left(x\right)={x}^{2}+2,$ and $h\left(x\right)={x}^{2}2$ 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 $f(x)={x}^{2}$ 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 $g\left(x\right)={x}^{2}+2$ is the same as the graph of $f\left(x\right)={x}^{2}$ but shifted up 2 units.
The graph of $h\left(x\right)={x}^{2}2$ is the same as the graph of $f\left(x\right)={x}^{2}$ but shifted down 2 units.
Try It 9.105
ⓐ Graph $f\left(x\right)={x}^{2},\phantom{\rule{0.2em}{0ex}}g\left(x\right)={x}^{2}+1,$ and $h\left(x\right)={x}^{2}1$ 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 $f\left(x\right)={x}^{2},\phantom{\rule{0.2em}{0ex}}g\left(x\right)={x}^{2}+6,$ and $h\left(x\right)={x}^{2}6$ 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 $f(x)={x}^{2}+k,$ we take the basic parabola graph of $f(x)={x}^{2}$ and vertically shift it up $(k>0)$ or shift it down $(k<0)$.
This transformation is called a vertical shift.
Graph a Quadratic Function of the form $f(x)={x}^{2}+k$ Using a Vertical Shift
The graph of $f(x)={x}^{2}+k$ shifts the graph of $f\left(x\right)={x}^{2}$ vertically k units.
 If k > 0, shift the parabola vertically up k units.
 If k < 0, shift the parabola vertically down $\leftk\right$ units.
Now that we have seen the effect of the constant, k, it is easy to graph functions of the form $f(x)={x}^{2}+k.$ We just start with the basic parabola of $f\left(x\right)={x}^{2}$ and then shift it up or down.
It may be helpful to practice sketching $f\left(x\right)={x}^{2}$ 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 $f(x)={x}^{2}3$ using a vertical shift.
Solution
We first draw the graph of $f\left(x\right)={x}^{2}$ on the grid. 

Determine $k$.  
Shift the graph $f\left(x\right)={x}^{2}$ down 3. 
Try It 9.107
Graph $f(x)={x}^{2}5$ using a vertical shift.
Try It 9.108
Graph $f(x)={x}^{2}+7$ using a vertical shift.
Graph Quadratic Functions of the form $f(x)={\left(xh\right)}^{2}$
In the first example, we graphed the quadratic function $f(x)={x}^{2}$ 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 $f(x)={x}^{2}+k.$
We will now explore the effect of subtracting a constant, h, from x has on the resulting graph of the new function $f(x)={\left(xh\right)}^{2}.$
Example 9.55
Graph $f\left(x\right)={x}^{2},\phantom{\rule{0.5em}{0ex}}g\left(x\right)={\left(x1\right)}^{2},$ and $h\left(x\right)={\left(x+1\right)}^{2}$ 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 $f(x)={x}^{2}$ 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 $f\left(x\right)={x}^{2},\phantom{\rule{0.5em}{0ex}}g\left(x\right)={\left(x+2\right)}^{2},$ and $h\left(x\right)={(x2)}^{2}$ 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 $f\left(x\right)={x}^{2},\phantom{\rule{0.5em}{0ex}}g\left(x\right)={x}^{2}+5,$ and $h\left(x\right)={x}^{2}5$ 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 $f(x)={\left(xh\right)}^{2},$ we take the basic parabola graph of $f(x)={x}^{2}$ 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 $f(x)={\left(xh\right)}^{2}$ Using a Horizontal Shift
The graph of $f(x)={\left(xh\right)}^{2}$ shifts the graph of $f\left(x\right)={x}^{2}$ horizontally $h$ units.
 If h > 0, shift the parabola horizontally right h units.
 If h < 0, shift the parabola horizontally left $\lefth\right$ units.
Now that we have seen the effect of the constant, h, it is easy to graph functions of the form $f(x)={\left(xh\right)}^{2}.$ We just start with the basic parabola of $f\left(x\right)={x}^{2}$ and then shift it left or right.
The next example will require a horizontal shift.
Example 9.56
Graph $f(x)={\left(x6\right)}^{2}$ using a horizontal shift.
Solution
We first draw the graph of $f\left(x\right)={x}^{2}$ on the grid. 

Determine h.  
Shift the graph $f\left(x\right)={x}^{2}$ to the right 6 units. 
Try It 9.111
Graph $f(x)={\left(x4\right)}^{2}$ using a horizontal shift.
Try It 9.112
Graph $f(x)={\left(x+6\right)}^{2}$ 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 $f(x)={\left(xh\right)}^{2}+k$ 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 $f(x)={\left(x+1\right)}^{2}2$ 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 $f\left(x\right)={x}^{2}$ on the grid.
Try It 9.113
Graph $f(x)={\left(x+2\right)}^{2}3$ using transformations.
Try It 9.114
Graph $f(x)={\left(x3\right)}^{2}+1$ using transformations.
Graph Quadratic Functions of the Form $f(x)=a{x}^{2}$
So far we graphed the quadratic function $f(x)={x}^{2}$ 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 $f(x)=a{x}^{2}.$
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 $f\left(x\right)={x}^{2}$ and multiply the yvalues by a.
Graph of a Quadratic Function of the form $f(x)=a{x}^{2}$
The coefficient a in the function $f(x)=a{x}^{2}$ affects the graph of $f\left(x\right)={x}^{2}$ by stretching or compressing it.
 If $0<\lefta\right<1,$ the graph of $f(x)=a{x}^{2}$ will be “wider” than the graph of $f\left(x\right)={x}^{2}.$
 If $\lefta\right>1$, the graph of $f(x)=a{x}^{2}$ will be “skinnier” than the graph of $f\left(x\right)={x}^{2}.$
Example 9.58
Graph $f(x)=3{x}^{2}.$
Solution
We will graph the functions $f\left(x\right)={x}^{2}$ and $g(x)=3{x}^{2}$ on the same grid. We will choose a few points on $f\left(x\right)={x}^{2}$ and then multiply the yvalues by 3 to get the points for $g(x)=3{x}^{2}.$
Try It 9.115
Graph $f(x)=\mathrm{3}{x}^{2}.$
Try It 9.116
Graph $f(x)=2{x}^{2}.$
Graph Quadratic Functions Using Transformations
We have learned how the constants a, h, and k in the functions, $f\left(x\right)={x}^{2}+k,\phantom{\rule{0.2em}{0ex}}f\left(x\right)={\left(xh\right)}^{2},$ and $f\left(x\right)=a{x}^{2}$ affect their graphs. We can now put this together and graph quadratic functions $f\left(x\right)=a{x}^{2}+bx+c$ by first putting them into the form $f\left(x\right)=a{\left(xh\right)}^{2}+k$ 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 x^{2} that is not one, we have to factor that coefficient from just the xterms. 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 xterms.
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 $f\left(x\right)=\mathrm{3}{x}^{2}6x1$ in the $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form by completing the square.
Solution
Separate the x terms from the constant.  
Factor the coefficient of ${x}^{2}$, $\mathrm{3}$.  
Prepare to complete the square.  
Take half of 2 and then square it to complete the square. ${\left(\frac{1}{2}\xb72\right)}^{2}=1$ 

The constant 1 completes the square in the parentheses, but the parentheses is multiplied by $\mathrm{3}$. So we are really adding $\mathrm{3}$ 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 $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form. 
Try It 9.117
Rewrite $f\left(x\right)=\mathrm{4}{x}^{2}8x+1$ in the $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form by completing the square.
Try It 9.118
Rewrite $f\left(x\right)=2{x}^{2}8x+3$ in the $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form by completing the square.
Once we put the function into the $f\left(x\right)={\left(xh\right)}^{2}+k$ 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 $f\left(x\right)={x}^{2}+6x+5$ by using transformations.
Solution
Step 1. Rewrite the function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ 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. ${\left(\frac{1}{2}\xb76\right)}^{2}=9$ 

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 $f\left(x\right)={\left(xh\right)}^{2}+k$ form. 
Step 2: Graph the function using transformations.
Looking at the h, k values, we see the graph will take the graph of $f\left(x\right)={x}^{2}$ and shift it to the left 3 units and down 4 units.
We first draw the graph of $f\left(x\right)={x}^{2}$ on the grid.
Try It 9.119
Graph $f\left(x\right)={x}^{2}+2x3$ by using transformations.
Try It 9.120
Graph $f\left(x\right)={x}^{2}8x+12$ 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 $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form by completing the square.
 Step 2. Graph the function using transformations.
Example 9.61
Graph $f\left(x\right)=\mathrm{2}{x}^{2}4x+2$ by using transformations.
Solution
Step 1. Rewrite the function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ vertex form by completing the square.
Separate the x terms from the constant.  
We need the coefficient of ${x}^{2}$ to be one. We factor $\mathrm{2}$ from the xterms. 

Take half of 2 and then square it to complete the square. ${\left(\frac{1}{2}\xb72\right)}^{2}=1$ 

We add 1 to complete the square in the parentheses, but the parentheses is multiplied by $\mathrm{2}$. Se we are really adding $\mathrm{2}$. 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 $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form. 
Step 2. Graph the function using transformations.
We first draw the graph of $f\left(x\right)={x}^{2}$ on the grid.
Try It 9.121
Graph $f\left(x\right)=\mathrm{3}{x}^{2}+12x4$ by using transformations.
Try It 9.122
Graph $f\left(x\right)=\mathrm{2}{x}^{2}+12x9$ by using transformations.
Now that we have completed the square to put a quadratic function into $f\left(x\right)=a{\left(xh\right)}^{2}+k$ 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 $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form.
How To
Graph a quadratic function in the form $f\left(x\right)=a{\left(xh\right)}^{2}+k$ using properties.
 Step 1. Rewrite the function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ 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 yintercept. Find the point symmetric to the yintercept across the axis of symmetry.
 Step 6. Find the xintercepts.
 Step 7. Graph the parabola.
Example 9.62
ⓐ Rewrite $f\left(x\right)=2{x}^{2}+4x+5$ in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form and ⓑ graph the function using properties.
Solution
Rewrite the function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form by completing the square. 
$f(x)=2{x}^{2}+4x+5$ 
$f(x)=2({x}^{2}+2x)+5$  
$f(x)=2({x}^{2}+2x+1)+52$  
$f(x)=2{(x+1)}^{2}+3$  
Identify the constants $a,h,k.$  $\phantom{\rule{1.2em}{0ex}}a=2\phantom{\rule{1em}{0ex}}h=\mathrm{1}\phantom{\rule{1em}{0ex}}k=3$ 
Since $a=2$, the parabola opens upward.  
The axis of symmetry is $x=h$.  The axis of symmetry is $x=\mathrm{1}$. 
The vertex is $\left(h,k\right)$.  The vertex is $\left(\mathrm{1},3\right)$. 
Find the yintercept by finding $f\left(0\right)$.  $f(0)=2\cdot {0}^{2}+4\cdot 0+5$ 
$f(0)=5$  
yintercept $\left(0,5\right)$  
Find the point symmetric to $\left(0,5\right)$ across the axis of symmetry. 
$(2,\phantom{\rule{0.2em}{0ex}}5)$ 
Find the xintercepts.  The discriminant negative, so there are no xintercepts. Graph the parabola. 
Try It 9.123
ⓐ Rewrite $f\left(x\right)=3{x}^{2}6x+5$ in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form and ⓑ graph the function using properties.
Try It 9.124
ⓐ Rewrite $f\left(x\right)=\mathrm{2}{x}^{2}+8x7$ in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ 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
Since it is quadratic, we start with the $f\left(x\right)=a{\left(xh\right)}^{2}+k\phantom{\rule{0.2em}{0ex}}\text{form.}$  
The vertex, $(h,k),$ is $(\mathrm{2},\mathrm{1})$ so $h=\mathrm{2}$ and $k=\mathrm{1.}$  $\phantom{\rule{1.5em}{0ex}}f\left(x\right)=a{\left(x\left(\mathrm{2}\right)\right)}^{2}1$ 
To find $a$, we use the $y$intercept, $(0,7)$.  
So $f\left(0\right)=7$.  $\phantom{\rule{3em}{0ex}}7=a{\left(0+2\right)}^{2}1$ 
Solve for $a$.  $\phantom{\rule{3em}{0ex}}7=4a1$ 
$\phantom{\rule{3em}{0ex}}8=4a$  
$\phantom{\rule{3em}{0ex}}2=a$  
Write the function.  $\phantom{\rule{1.5em}{0ex}}f\left(x\right)=a{\left(xh\right)}^{2}+k$ 
Substitute in $h=\mathrm{2},k=\mathrm{1}$ and $a=2$.  $\phantom{\rule{1.5em}{0ex}}f\left(x\right)=2{\left(x+2\right)}^{2}1$ 
Try It 9.125
Write the quadratic function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ 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 $f(x)={x}^{2}+k$
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.
$f\left(x\right)={x}^{2},\phantom{\rule{0.2em}{0ex}}g\left(x\right)={x}^{2}+4,$ and $h\left(x\right)={x}^{2}4.$
$f\left(x\right)={x}^{2},\phantom{\rule{0.2em}{0ex}}g\left(x\right)={x}^{2}+7,$ and $h\left(x\right)={x}^{2}7.$
In the following exercises, graph each function using a vertical shift.
$f(x)={x}^{2}7$
$g\left(x\right)={x}^{2}+5$
$h\left(x\right)={x}^{2}5$
Graph Quadratic Functions of the form $f(x)={\left(xh\right)}^{2}$
In the following exercises, ⓐ graph the quadratic functions on the same rectangular coordinate system and ⓑ describe what effect adding a constant, $h$, inside the parentheses has
$f\left(x\right)={x}^{2},\phantom{\rule{0.2em}{0ex}}g\left(x\right)={\left(x3\right)}^{2},$ and $h\left(x\right)={\left(x+3\right)}^{2}.$
$f\left(x\right)={x}^{2},\phantom{\rule{0.2em}{0ex}}g\left(x\right)={\left(x+4\right)}^{2},$ and $h\left(x\right)={\left(x4\right)}^{2}.$
In the following exercises, graph each function using a horizontal shift.
$f(x)={\left(x1\right)}^{2}$
$f(x)={\left(x+3\right)}^{2}$
$f(x)={\left(x+2\right)}^{2}$
In the following exercises, graph each function using transformations.
$f(x)={\left(x+4\right)}^{2}+2$
$f(x)={\left(x3\right)}^{2}+4$
$f(x)={\left(x+5\right)}^{2}2$
$f(x)={\left(x6\right)}^{2}2$
Graph Quadratic Functions of the form $f(x)=a{x}^{2}$
In the following exercises, graph each function.
$f(x)=4{x}^{2}$
$f(x)=\text{\u2212}{x}^{2}$
$f(x)=\frac{1}{3}{x}^{2}$
$f(x)=\frac{1}{2}{x}^{2}$
Graph Quadratic Functions Using Transformations
In the following exercises, rewrite each function in the $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form by completing the square.
$f\left(x\right)=2{x}^{2}12x+7$
$f\left(x\right)=\mathrm{4}{x}^{2}16x9$
In the following exercises, ⓐ rewrite each function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form and ⓑ graph it by using transformations.
$f\left(x\right)={x}^{2}+4x12$
$f\left(x\right)={x}^{2}6x+8$
$f\left(x\right)={x}^{2}+8x+10$
$f\left(x\right)=\text{\u2212}{x}^{2}+2x7$
$f\left(x\right)=\text{\u2212}{x}^{2}+4x5$
$f\left(x\right)=3{x}^{2}+18x+20$
$f\left(x\right)=3{x}^{2}6x1$
$f\left(x\right)=\mathrm{3}{x}^{2}+6x+1$
In the following exercises, ⓐ rewrite each function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form and ⓑ graph it using properties.
$f\left(x\right)=3{x}^{2}12x+7$
$f\left(x\right)=\mathrm{2}{x}^{2}4x5$
Matching
In the following exercises, match the graphs to one of the following functions: ⓐ $f\left(x\right)={x}^{2}+4$ ⓑ $f\left(x\right)={x}^{2}4$ ⓒ $f\left(x\right)={\left(x+4\right)}^{2}$ ⓓ $f\left(x\right)={\left(x4\right)}^{2}$ ⓔ $f\left(x\right)={\left(x+4\right)}^{2}4$ ⓕ $f\left(x\right)={\left(x+4\right)}^{2}+4$ ⓖ $f\left(x\right)={\left(x4\right)}^{2}4$ ⓗ $f\left(x\right)={\left(x4\right)}^{2}+4$
Find a Quadratic Function from its Graph
In the following exercises, write the quadratic function in $f\left(x\right)=a{\left(xh\right)}^{2}+k$ form whose graph is shown.
Writing Exercise
Graph the quadratic function $f\left(x\right)={x}^{2}+4x+5$ 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 $f\left(x\right)=2{x}^{2}4x3$ 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 wellprepared for the next section? Why or why not?