Skip to content
Graph Quadratic Functions Using Transformations

Graph Quadratic Functions Using Transformations

By the end of this section, you will be able to:

  • Graph quadratic equations of the form f(x)=x2+kf(x)=x^2+k
  • Graph quadratic functions of the form f(x)=(xh)2f(x)=(x-h)^2
  • Graph quadratic functions of the form f(x)=ax2f(x)=ax^2
  • Graph quadratic functions using transformations
  • Find a quadratic function from its graph

Graph Quadratic Functions of the Form f(x)=x2+kf(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)=x2f(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)=x2f(x)=x^2 by plotting points. Then we will see what effect adding a constant, kk, to the equation will have on the graph of the new function f(x)=x2+kf(x)=x^2+k.

Example 9.53. Graph f(x)=x2f(x)=x^2, g(x)=x2+2g(x)=x^2+2, and h(x)=x22h(x)=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)=x2f(x)=x^2 graph. We fill in the chart for all three functions.

xxf(x)=x2f(x)=x^2(x,f(x))(x,f(x))g(x)=x2+2g(x)=x^2+2(x,g(x))(x,g(x))h(x)=x22h(x)=x^2-2(x,h(x))(x,h(x))
3-399(3,9)(-3,9)9+29+2(3,11)(-3,11)929-2(3,7)(-3,7)
2-244(2,4)(-2,4)4+24+2(2,6)(-2,6)424-2(2,2)(-2,2)
1-111(1,1)(-1,1)1+21+2(1,3)(-1,3)121-2(1,1)(-1,-1)
0000(0,0)(0,0)0+20+2(0,2)(0,2)020-2(0,2)(0,-2)
1111(1,1)(1,1)1+21+2(1,3)(1,3)121-2(1,1)(1,-1)
2244(2,4)(2,4)4+24+2(2,6)(2,6)424-2(2,2)(2,2)
3399(3,9)(3,9)9+29+2(3,11)(3,11)929-2(3,7)(3,7)

The g(x)g(x) values are two more than the f(x)f(x) values. Also, the h(x)h(x) values are two less than the f(x)f(x) values. Now we will graph all three functions on the same rectangular coordinate system.

xy−4−3−2−11234−3−2−112345678

The graph of g(x)=x2+2g(x)=x^2+2 is the same as the graph of f(x)=x2f(x)=x^2 but shifted up 2 units.

The graph of h(x)=x22h(x)=x^2-2 is the same as the graph of f(x)=x2f(x)=x^2 but shifted down 2 units.

Graph f(x)=x2f(x)=x^2, g(x)=x2+1g(x)=x^2+1, and h(x)=x21h(x)=x^2-1 on the same rectangular coordinate system. What effect does the constant have on the basic parabola?

Graph f(x)=x2f(x)=x^2, g(x)=x2+6g(x)=x^2+6, and h(x)=x26h(x)=x^2-6 on the same rectangular coordinate system. What effect does the constant have on the basic parabola?

The last example shows us that to graph a quadratic function of the form f(x)=x2+kf(x)=x^2+k, we take the basic parabola graph of f(x)=x2f(x)=x^2 and vertically shift it up (k>0)(k>0) or shift it down (k<0)(k<0).

This transformation is called a vertical shift.

Graph a Quadratic Function of the Form f(x)=x2+kf(x)=x^2+k Using a Vertical Shift.

The graph of f(x)=x2+kf(x)=x^2+k shifts the graph of f(x)=x2f(x)=x^2 vertically kk units.

  • If k>0k>0, shift the parabola vertically up kk units.
  • If k<0k<0, shift the parabola vertically down k|k| units.

Now that we have seen the effect of the constant, kk, it is easy to graph functions of the form f(x)=x2+kf(x)=x^2+k. We just start with the basic parabola of f(x)=x2f(x)=x^2 and then shift it up or down.

It may be helpful to practice sketching f(x)=x2f(x)=x^2 quickly. We know the values and can sketch the graph from there.

xy−5−4−3−2−112345−2−11234567891011121314151617181920(−4, 16)(−3, 9)(−2, 4)(−1, 1)(0, 0)(1, 1)(2, 4)(3, 9)(4, 16)

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)=x23f(x)=x^2-3 using a vertical shift.

Solution.

We first draw the graph of f(x)=x2f(x)=x^2 on the grid. Determine kk.

f(x)=x2+kf(x)=x23k=3. \begin{array}{rcl} f(x)&=&x^2+k\\[4pt] f(x)&=&x^2-3 \end{array} \qquad k=-3.

Shift the graph f(x)=x2f(x)=x^2 down 3.

xy−5−4−3−2−112345−4−3−2−112345678(0, −3)

Graph f(x)=x25f(x)=x^2-5 using a vertical shift.

Graph f(x)=x2+7f(x)=x^2+7 using a vertical shift. Enter the yy-coordinate of the vertex.

Graph Quadratic Functions of the Form f(x)=(xh)2f(x)=(x-h)^2

In the first example, we graphed the quadratic function f(x)=x2f(x)=x^2 by plotting points and then saw the effect of adding a constant kk to the function had on the resulting graph of the new function f(x)=x2+kf(x)=x^2+k.

We will now explore the effect of subtracting a constant, hh, from xx has on the resulting graph of the new function f(x)=(xh)2f(x)=(x-h)^2.

Example 9.55. Graph f(x)=x2f(x)=x^2, g(x)=(x1)2g(x)=(x-1)^2, and h(x)=(x+1)2h(x)=(x+1)^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)=x2f(x)=x^2 graph. We fill in the chart for all three functions.

xxf(x)=x2f(x)=x^2(x,f(x))(x,f(x))g(x)=(x1)2g(x)=(x-1)^2(x,g(x))(x,g(x))h(x)=(x+1)2h(x)=(x+1)^2(x,h(x))(x,h(x))
3-399(3,9)(-3,9)1616(3,16)(-3,16)44(3,4)(-3,4)
2-244(2,4)(-2,4)99(2,9)(-2,9)11(2,1)(-2,1)
1-111(1,1)(-1,1)44(1,4)(-1,4)00(1,0)(-1,0)
0000(0,0)(0,0)11(0,1)(0,1)11(0,1)(0,1)
1111(1,1)(1,1)00(1,0)(1,0)44(1,4)(1,4)
2244(2,4)(2,4)11(2,1)(2,1)99(2,9)(2,9)
3399(3,9)(3,9)44(3,4)(3,4)1616(3,16)(3,16)

The g(x)g(x) values and the h(x)h(x) values share the common numbers 0, 1, 4, 9, and 16, but are shifted.

xy−5−4−3−2−112345−4−3−2−112345678

The graph of g(x)=(x1)2g(x)=(x-1)^2 is the same as the graph of f(x)=x2f(x)=x^2 but shifted right 1 unit.

The graph of h(x)=(x+1)2h(x)=(x+1)^2 is the same as the graph of f(x)=x2f(x)=x^2 but shifted left 1 unit.

Graph f(x)=x2f(x)=x^2, g(x)=(x+2)2g(x)=(x+2)^2, and h(x)=(x2)2h(x)=(x-2)^2 on the same rectangular coordinate system. Describe the shifts.

The source prints f(x)=x2f(x)=x^2, g(x)=x2+5g(x)=x^2+5, and h(x)=x25h(x)=x^2-5. Graph them on the same rectangular coordinate system and describe the effect of the constant.

The last example shows us that to graph a quadratic function of the form f(x)=(xh)2f(x)=(x-h)^2, we take the basic parabola graph of f(x)=x2f(x)=x^2 and shift it left (h<0)(h<0) or shift it right (h>0)(h>0).

This transformation is called a horizontal shift.

Graph a Quadratic Function of the Form f(x)=(xh)2f(x)=(x-h)^2 Using a Horizontal Shift.

The graph of f(x)=(xh)2f(x)=(x-h)^2 shifts the graph of f(x)=x2f(x)=x^2 horizontally hh units.

  • If h>0h>0, shift the parabola horizontally right hh units.
  • If h<0h<0, shift the parabola horizontally left h|h| units.

Now that we have seen the effect of the constant, hh, it is easy to graph functions of the form f(x)=(xh)2f(x)=(x-h)^2. We just start with the basic parabola of f(x)=x2f(x)=x^2 and then shift it left or right.

The next example will require a horizontal shift.

Example 9.56. Graph f(x)=(x5)2f(x)=(x-5)^2 using a horizontal shift.

Solution.

We first draw the graph of f(x)=x2f(x)=x^2 on the grid. Determine hh.

f(x)=(xh)2f(x)=(x5)2h=5. \begin{array}{rcl} f(x)&=&(x-h)^2\\[4pt] f(x)&=&(x-5)^2 \end{array} \qquad h=5.

Shift the graph f(x)=x2f(x)=x^2 to the right 5 units.

xy−5−4−3−2−112345678910−4−3−2−1123456789101112(0, 0)(5, 0)

Graph f(x)=(x4)2f(x)=(x-4)^2 using a horizontal shift. Enter the xx-coordinate of the vertex.

Graph f(x)=(x+6)2f(x)=(x+6)^2 using a horizontal shift. Enter the xx-coordinate of the vertex.

Now that we know the effect of the constants hh and kk, we will graph a quadratic function of the form f(x)=(xh)2+kf(x)=(x-h)^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)=(x+1)22f(x)=(x+1)^2-2 using transformations.

Solution.

This function will involve two transformations and we need a plan. Let’s first identify the constants hh, kk.

f(x)=(xh)2+kf(x)=(x(1))2+(2)h=1,k=2. \begin{array}{rcl} f(x)&=&(x-h)^2+k\\[4pt] f(x)&=&(x-(-1))^2+(-2) \end{array} \qquad h=-1,\quad k=-2.

The hh constant gives us a horizontal shift and the kk gives us a vertical shift. We first draw the graph of f(x)=x2f(x)=x^2 on the grid. To graph f(x)=(x+1)2f(x)=(x+1)^2, shift the graph f(x)=x2f(x)=x^2 to the left 1 unit. To graph f(x)=(x+1)22f(x)=(x+1)^2-2, shift the graph f(x)=(x+1)2f(x)=(x+1)^2 down 2 units.

xy−5−4−3−2−112345−4−3−2−11234567vertex (−1, −2)

Graph f(x)=(x+2)23f(x)=(x+2)^2-3 using transformations. Enter the vertex as an ordered pair.

Graph f(x)=(x3)2+1f(x)=(x-3)^2+1 using transformations. Enter the vertex as an ordered pair.

Graph Quadratic Functions of the Form f(x)=ax2f(x)=ax^2

So far we graphed the quadratic function f(x)=x2f(x)=x^2 and then saw the effect of including a constant hh or kk in the equation had on the resulting graph of the new function. We will now explore the effect of the coefficient aa on the resulting graph of the new function f(x)=ax2f(x)=ax^2.

Let’s look at the quadratic functions f(x)=x2f(x)=x^2, g(x)=2x2g(x)=2x^2, and h(x)=12x2h(x)=\tfrac12x^2.

xxf(x)=x2f(x)=x^2(x,f(x))(x,f(x))g(x)=2x2g(x)=2x^2(x,g(x))(x,g(x))h(x)=12x2h(x)=\tfrac12x^2(x,h(x))(x,h(x))
2-244(2,4)(-2,4)242\cdot4(2,8)(-2,8)124\tfrac12\cdot4(2,2)(-2,2)
1-111(1,1)(-1,1)212\cdot1(1,2)(-1,2)121\tfrac12\cdot1(1,12)(-1,\tfrac12)
0000(0,0)(0,0)202\cdot0(0,0)(0,0)120\tfrac12\cdot0(0,0)(0,0)
1111(1,1)(1,1)212\cdot1(1,2)(1,2)121\tfrac12\cdot1(1,12)(1,\tfrac12)
2244(2,4)(2,4)242\cdot4(2,8)(2,8)124\tfrac12\cdot4(2,2)(2,2)

If we graph these functions, we can see the effect of the constant aa, assuming a>0a>0.

xy−5−4−3−2−112345−2−112345678910

The graph of the function g(x)=2x2g(x)=2x^2 is “skinnier” than the graph of f(x)=x2f(x)=x^2.

The graph of the function h(x)=12x2h(x)=\tfrac12x^2 is “wider” than the graph of f(x)=x2f(x)=x^2.

To graph a function with constant aa it is easiest to choose a few points on f(x)=x2f(x)=x^2 and multiply the yy-values by aa.

Graph of a Quadratic Function of the Form f(x)=ax2f(x)=ax^2.

The coefficient aa in the function f(x)=ax2f(x)=ax^2 affects the graph of f(x)=x2f(x)=x^2 by stretching or compressing it.

  • If 0<a<10<|a|<1, the graph of f(x)=ax2f(x)=ax^2 will be “wider” than the graph of f(x)=x2f(x)=x^2.
  • If a>1|a|>1, the graph of f(x)=ax2f(x)=ax^2 will be “skinnier” than the graph of f(x)=x2f(x)=x^2.

Example 9.58. Graph f(x)=3x2f(x)=3x^2.

Solution.

We will graph the functions f(x)=x2f(x)=x^2 and g(x)=3x2g(x)=3x^2 on the same grid. We will choose a few points on f(x)=x2f(x)=x^2 and then multiply the yy-values by 3 to get the points for g(x)=3x2g(x)=3x^2.

xx(x,f(x))(x,f(x)) for f(x)=x2f(x)=x^2(x,g(x))(x,g(x)) for g(x)=3x2g(x)=3x^2
2-2(2,4)(-2,4)(2,12)(-2,12)
1-1(1,1)(-1,1)(1,3)(-1,3)
00(0,0)(0,0)(0,0)(0,0)
11(1,1)(1,1)(1,3)(1,3)
22(2,4)(2,4)(2,12)(2,12)
xy−5−4−3−2−112345−2−11234567891011121314(−2, 4)(−2, 12)(−1, 1)(−1, 3)(0, 0)(1, 1)(1, 3)(2, 4)(2, 12)

Graph f(x)=3x2f(x)=-3x^2. Enter the yy-coordinate of the vertex.

Graph f(x)=2x2f(x)=2x^2. Compared with f(x)=x2f(x)=x^2, which description is correct?

Graph Quadratic Functions Using Transformations

We have learned how the constants aa, hh, and kk in the functions f(x)=x2+kf(x)=x^2+k, f(x)=(xh)2f(x)=(x-h)^2, and f(x)=ax2f(x)=ax^2 affect their graphs. We can now put this together and graph quadratic functions f(x)=ax2+bx+cf(x)=ax^2+bx+c by first putting them into the form f(x)=a(xh)2+kf(x)=a(x-h)^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.

Quadratic equationQuadratic function
x2+8x+6=0x2+8x=6x2+8x+16=6+16(x+4)2=10\begin{aligned}x^2+8x+6&=0\\x^2+8x&=-6\\x^2+8x+16&=-6+16\\(x+4)^2&=10\end{aligned}f(x)=x2+8x+6f(x)=x2+8x+16+616f(x)=(x+4)210\begin{aligned}f(x)&=x^2+8x+6\\f(x)&=x^2+8x+16+6-16\\f(x)&=(x+4)^2-10\end{aligned}

When we complete the square in a function with a coefficient of x2x^2 that is not one, we have to factor that coefficient from just the xx-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 xx-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 f(x)=3x26x1f(x)=-3x^2-6x-1 in the f(x)=a(xh)2+kf(x)=a(x-h)^2+k form by completing the square.

Solution.

f(x)=3x26x1Separate the x terms from the constant.f(x)=3x26x1Factor the coefficient of x2, 3.f(x)=3(x2+2x)1Prepare to complete the square.f(x)=3(x2+2x+1)1Take half of 2 and then square it.(122)2=1Add 1 inside; this adds 3, so add 3 outside.f(x)=3(x2+2x+1)1+3Rewrite the trinomial as a square.f(x)=3(x+1)2+2 \begin{array}{lrcl} &f(x)&=&-3x^2-6x-1\\[4pt] \text{Separate the }x\text{ terms from the constant.}&f(x)&=&-3x^2-6x\quad-1\\[4pt] \text{Factor the coefficient of }x^2,\ -3.&f(x)&=&-3(x^2+2x)-1\\[4pt] \text{Prepare to complete the square.}&f(x)&=&-3(x^2+2x\phantom{{}+1})-1\\[4pt] \text{Take half of 2 and then square it.}&&&(\tfrac12\cdot2)^2=1\\[4pt] \text{Add 1 inside; this adds }-3,\text{ so add 3 outside.}&f(x)&=&-3(x^2+2x+1)-1+3\\[4pt] \text{Rewrite the trinomial as a square.}&f(x)&=&-3(x+1)^2+2 \end{array}

The function is now in the f(x)=a(xh)2+kf(x)=a(x-h)^2+k form.

Rewrite f(x)=4x28x+1f(x)=-4x^2-8x+1 in the f(x)=a(xh)2+kf(x)=a(x-h)^2+k form by completing the square.

Rewrite f(x)=2x28x+3f(x)=2x^2-8x+3 in the f(x)=a(xh)2+kf(x)=a(x-h)^2+k form by completing the square.

Once we put the function into the f(x)=(xh)2+kf(x)=(x-h)^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(x)=x2+6x+5f(x)=x^2+6x+5 by using transformations.

Solution.

Step 1. Rewrite the function in f(x)=a(xh)2+kf(x)=a(x-h)^2+k vertex form by completing the square.

f(x)=x2+6x+5Separate the x terms from the constant.f(x)=x2+6x+5Take half of 6 and then square it.(126)2=9Add and subtract 9.f(x)=x2+6x+9+59Rewrite the trinomial as a square.f(x)=(x+3)24 \begin{array}{lrcl} &f(x)&=&x^2+6x+5\\[4pt] \text{Separate the }x\text{ terms from the constant.}&f(x)&=&x^2+6x\quad+5\\[4pt] \text{Take half of 6 and then square it.}&&&(\tfrac12\cdot6)^2=9\\[4pt] \text{Add and subtract 9.}&f(x)&=&x^2+6x+9+5-9\\[4pt] \text{Rewrite the trinomial as a square.}&f(x)&=&(x+3)^2-4 \end{array}

Step 2. Graph the function using transformations.

Looking at the hh, kk values, we see the graph will take the graph of f(x)=x2f(x)=x^2 and shift it to the left 3 units and down 4 units.

We first draw the graph of f(x)=x2f(x)=x^2 on the grid. To graph f(x)=(x+3)2f(x)=(x+3)^2, shift the graph f(x)=x2f(x)=x^2 to the left 3 units. To graph f(x)=(x+3)24f(x)=(x+3)^2-4, shift the graph f(x)=(x+3)2f(x)=(x+3)^2 down 4 units.

xy−7−6−5−4−3−2−112345−6−5−4−3−2−1123456vertex (−3, −4)

Graph f(x)=x2+2x3f(x)=x^2+2x-3 by using transformations. First enter the function in vertex form.

Graph f(x)=x28x+12f(x)=x^2-8x+12 by using transformations. First enter the function in vertex form.

We list the steps to take to graph a quadratic function using transformations here.

How To: Graph a quadratic function using transformations.

  1. Rewrite the function in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form by completing the square.
  2. Graph the function using transformations.

Example 9.61. Graph f(x)=2x24x+2f(x)=-2x^2-4x+2 by using transformations.

Solution.

Step 1. Rewrite the function in f(x)=a(xh)2+kf(x)=a(x-h)^2+k vertex form by completing the square.

f(x)=2x24x+2Separate the x terms from the constant.f(x)=2x24x+2Factor 2 from the x-terms.f(x)=2(x2+2x)+2Take half of 2 and then square it.(122)2=1Add 1 inside; this adds 2, so add 2 outside.f(x)=2(x2+2x+1)+2+2Rewrite the trinomial as a square.f(x)=2(x+1)2+4 \begin{array}{lrcl} &f(x)&=&-2x^2-4x+2\\[4pt] \text{Separate the }x\text{ terms from the constant.}&f(x)&=&-2x^2-4x\quad+2\\[4pt] \text{Factor }-2\text{ from the }x\text{-terms.}&f(x)&=&-2(x^2+2x)+2\\[4pt] \text{Take half of 2 and then square it.}&&&(\tfrac12\cdot2)^2=1\\[4pt] \text{Add 1 inside; this adds }-2,\text{ so add 2 outside.}&f(x)&=&-2(x^2+2x+1)+2+2\\[4pt] \text{Rewrite the trinomial as a square.}&f(x)&=&-2(x+1)^2+4 \end{array}

Step 2. Graph the function using transformations.

We first draw the graph of f(x)=x2f(x)=x^2 on the grid. To graph f(x)=2x2f(x)=-2x^2, multiply the yy-values in the parabola of f(x)=x2f(x)=x^2 by 2-2. To graph f(x)=2(x+1)2f(x)=-2(x+1)^2, shift the graph f(x)=2x2f(x)=-2x^2 to the left 1 unit. To graph f(x)=2(x+1)2+4f(x)=-2(x+1)^2+4, shift the graph f(x)=2(x+1)2f(x)=-2(x+1)^2 up 4 units.

xy−5−4−3−2−112345−6−5−4−3−2−11234567vertex (−1, 4)

Graph f(x)=3x2+12x4f(x)=-3x^2+12x-4 by using transformations.

Graph f(x)=2x2+12x9f(x)=-2x^2+12x-9 by using transformations. First enter the function in vertex form.

Now that we have completed the square to put a quadratic function into f(x)=a(xh)2+kf(x)=a(x-h)^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 hh and kk.

xy−9−8−7−6−5−4−3−2−112345−6−5−4−3−2−11234567(−3, −4)(−1, 4)

In each case, the vertex is (h,k)(h,k). Also the axis of symmetry is the line x=hx=h.

We rewrite our steps for graphing a quadratic function using properties for when the function is in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form.

How To: Graph a quadratic function in the form f(x)=a(xh)2+kf(x)=a(x-h)^2+k using properties.

  1. Rewrite the function in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form.
  2. Determine whether the parabola opens upward, a>0a>0, or downward, a<0a<0.
  3. Find the axis of symmetry, x=hx=h.
  4. Find the vertex, (h,k)(h,k).
  5. Find the yy-intercept. Find the point symmetric to the yy-intercept across the axis of symmetry.
  6. Find the xx-intercepts.
  7. Graph the parabola.

Example 9.62. (a) Rewrite f(x)=2x2+4x+5f(x)=2x^2+4x+5 in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form and (b) graph the function using properties.

Solution.

Rewrite the function in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form by completing the square.

f(x)=2x2+4x+5f(x)=2(x2+2x)+5f(x)=2(x2+2x+1)+52f(x)=2(x+1)2+3 \begin{array}{rcl} f(x)&=&2x^2+4x+5\\[4pt] f(x)&=&2(x^2+2x)+5\\[4pt] f(x)&=&2(x^2+2x+1)+5-2\\[4pt] f(x)&=&2(x+1)^2+3 \end{array}

Identify the constants a=2a=2, h=1h=-1, k=3k=3. Since a=2a=2, the parabola opens upward. The axis of symmetry is x=1x=-1. The vertex is (1,3)(-1,3).

Find the yy-intercept by finding f(0)f(0).

f(0)=202+40+5=5, f(0)=2\cdot0^2+4\cdot0+5=5,

so the yy-intercept is (0,5)(0,5). The point symmetric to (0,5)(0,5) across the axis of symmetry is (2,5)(-2,5). The discriminant is negative, so there are no xx-intercepts. Graph the parabola.

xy−6−5−4−3−2−1123456−2−112345678910(−1, 3)(0, 5)(−2, 5)

Rewrite f(x)=3x26x+5f(x)=3x^2-6x+5 in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form and graph the function using properties. Enter the vertex form.

Rewrite f(x)=2x2+8x7f(x)=-2x^2+8x-7 in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form and graph the function using properties. Enter the vertex form.

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.

xy−8−7−6−5−4−3−2−11234−3−2−112345678910(−2, −1)(0, 7)

Solution.

Since it is quadratic, we start with the f(x)=a(xh)2+kf(x)=a(x-h)^2+k form.

The vertex, (h,k)(h,k), is (2,1)(-2,-1) so h=2h=-2 and k=1k=-1. To find aa, we use the yy-intercept, (0,7)(0,7). So f(0)=7f(0)=7.

7=a(0+2)217=4a18=4a2=a \begin{array}{rcl} 7&=&a(0+2)^2-1\\[4pt] 7&=&4a-1\\[4pt] 8&=&4a\\[4pt] 2&=&a \end{array}

Write the function and substitute in h=2h=-2, k=1k=-1, and a=2a=2.

f(x)=2(x+2)21. f(x)=2(x+2)^2-1.
xy−4−3−2−112345678−6−5−4−3−2−11234567(3, −4)(0, 5)

Write the quadratic function in f(x)=a(xh)2+kf(x)=a(x-h)^2+k form whose graph has vertex (3,4)(3,-4) and passes through (0,5)(0,5).

xy−8−7−6−5−4−3−2−11234−3−2−112345678910(−3, −1)(0, 8)

Determine the quadratic function whose graph has vertex (3,1)(-3,-1) and passes through (0,8)(0,8).

Key terms. A vertical shift moves a graph up or down. A horizontal shift moves a graph left or right. The form f(x)=a(xh)2+kf(x)=a(x-h)^2+k 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.