In prior lessons, we have discussed the **standard form** of a quadratic function: \begin{align*}f(x)=ax^{2}+bx+c\end{align*}

### Graphing Quadratic Functions

#### Quadratic Functions

A function \begin{align*}f\end{align*}**quadratic function**.

The defining characteristic of a quadratic function is that it is a polynomial whose highest exponent is 2.

There are several ways to write quadratic functions:

**standard form**, the form of the quadratic function above: \begin{align*}f(x)=ax^{2}+bx+c\end{align*}f(x)=ax2+bx+c **vertex form**, commonly used for quick sketching: \begin{align*}f(x)=a(x-h)^{2}+k\end{align*}f(x)=a(x−h)2+k **factored form**, excellent for finding*x*-intercepts: \begin{align*}f(x)=a(x-r_{1})(x-r_{2})\end{align*}

The **\begin{align*}y-\end{align*}**** intercept** of a quadratic function in standard form is \begin{align*}(0, c)\end{align*} and it is found by substituting \begin{align*}0\end{align*} for \begin{align*}x\end{align*} in \begin{align*}f(x)=ax^{2}+bx+c\end{align*}.

#### Summary of Vertex Form

Given a quadratic function in **vertex form**: \begin{align*}f(x)=a(x-h)^{2}+k\end{align*}:

- The vertex is at \begin{align*}(h, k)\end{align*}
- The parabola opens up if \begin{align*}a>0\end{align*}
- The parabola opens down if \begin{align*}a<0\end{align*}
- The parabola is narrower than \begin{align*}y=x^{2}\end{align*} if \begin{align*}|a|>1\end{align*}
- The parabola opens wider than \begin{align*}y=x^{2}\end{align*} if \begin{align*}|a|<1\end{align*}

#### Vertex of a Parabola

In the **standard form** of a quadratic function, the \begin{align*}x-\end{align*}coordinate of the vertex of the parabola is given by the equation:

\begin{align*}x=-\frac{b}{2a}\end{align*}

The \begin{align*}y-\end{align*}coordinate of the vertex is found with:

\begin{align*}y=f \left ( -\frac{b}{2a} \right )\end{align*}

#### Axis of Symmetry of a Parabola

A parabola has reflective symmetry about a vertical line through the vertex.

The vertical line \begin{align*}x=-\frac{b}{2a}\end{align*} is also the parabola's **axis of symmetry**.

### Examples

#### Example 1

Graph \begin{align*}g(x)=x^{2}+6x+7\end{align*} using transformations.

First, complete the square to write this function in vertex form. Add and subtract \begin{align*}\left ( \frac{b}{2} \right )^{2}\end{align*} to the right hand side of the equation:

\begin{align*}g(x) & = x^2 + 6x +7\\ & = x^2 + 6x + 9 + 7 - 9\end{align*}

Now, factor the right hand side:

\begin{align*}g(x) & = (x+3)^2 -2\end{align*}

Thus, \begin{align*}a=1\end{align*} and the vertex of this parabola is (-3, -2). We know that the parabola opens up with the same width as \begin{align*}y=x^{2}\end{align*} and it has a minimum value at the vertex. The graph of the parabola is below.

#### Example 2

Find the vertex and graph the quadratic function \begin{align*}g(x)=x^{2}-8x+12\end{align*}.

The \begin{align*}x-\end{align*}coordinate of the vertex is \begin{align*}x=-\frac{-8}{2}=4\end{align*}.

The \begin{align*}y-\end{align*}coordinate of the vertex is \begin{align*}g(4)=(4)^{2}-8(4)+12=16-32+12=-4\end{align*}

Thus the vertex is at (4, -4).

To graph the parabola, we will make a table of points staring with the \begin{align*}x-\end{align*}coordinate of 4:

\begin{align*}x\end{align*} | \begin{align*}y=g(x)\end{align*} |
---|---|

4 | -4 |

5 | -3 |

6 | 0 |

7 | 5 |

Now we can use the symmetry of \begin{align*}g(x)\end{align*} to fill in this table for \begin{align*}g(3)\end{align*}. Note that \begin{align*}g(3)=g(5)=-3\end{align*}. Likewise, \begin{align*}g(2)=g(6)=0\end{align*}. The final graph is below.

#### Example 3

Sketch the graph of the function \begin{align*}y=f(x)=x^{2}+2x-3\end{align*}.

Let's first find the intercepts. For the \begin{align*}y-\end{align*}intercept, if \begin{align*}x=0\end{align*}, then \begin{align*}f(0)=-3\end{align*}, or \begin{align*}y=-3\end{align*}, so the \begin{align*}y-\end{align*}intercept point is (0, -3).

Now, for the \begin{align*}x-\end{align*}intercepts, if \begin{align*}y=f(x)=0\end{align*}, then \begin{align*}x^{2}+2x-3=0\end{align*}, or

\begin{align*}x^{2}+2x-3=(x+3)(x-1)=0\end{align*}

so that \begin{align*}x=-3\end{align*} and \begin{align*}x=1\end{align*} are the \begin{align*}x-\end{align*}intercepts, that is (-3, 0) and (1, 0).

The vertex (extreme point) is at

\begin{align*}x=\frac{-b}{2a}=\frac{-2}{2(1)}=-1\end{align*}

Since

\begin{align*}f(-1) & = (-1)^2 + 2(-1)-3\\ & = -4\end{align*}

The vertex is (-1, -4).

Since the coefficient of \begin{align*}x^{2}\end{align*} is positive, \begin{align*}a>0\end{align*}, the extreme point is a minimum and the parabola opens up. From this information, we can make a rough sketch of the parabola containing the points determined above. Notice that the range of the function is \begin{align*}y\ge-4\end{align*}.

#### Example 4

Sketch the graph of the quadratic function \begin{align*}f(x)=-x^{2} + 4x\end{align*}.

To find the \begin{align*}y-\end{align*}intercept, set \begin{align*}x = 0\end{align*}, and \begin{align*}f(0) = -(0)^{2} + 4(0) = 0\end{align*}

Thus the parabola intercepts the \begin{align*}y-\end{align*}axis at the origin.

The \begin{align*}x-\end{align*}intercept is obtained by setting \begin{align*}y=0\end{align*}. Thus, \begin{align*}-x^{2} + 4x = 0\end{align*}.

Factoring,\begin{align*}-x^{2} + 4x = -x(x - 4)= 0\end{align*}so that \begin{align*}x = 0\end{align*} and \begin{align*}x = 4\end{align*} are the \begin{align*}x-\end{align*}intercepts.

We have \begin{align*}a = -1\end{align*} and \begin{align*}b = 4\end{align*}, so that the extreme point occurs when\begin{align*}x = \frac{-b}{2a} = \frac{-4}{2(-1)} = 2\end{align*}Since \begin{align*}f(2)=-(2)^{2} + 4(2) = -4 + 8 = 4\end{align*}, then (2, 4) is the extreme point. It is a maximum point since \begin{align*}a=-1<0\end{align*} and the parabola opens down. Finally, the graph can be obtained by sketching a parabola through the points determined above. From graph, the range of the function is \begin{align*}y \le 4\end{align*}.

#### Example 5

Sketch the graph of \begin{align*}y = -3(x - 2)^2 + 1\end{align*}.

The equation \begin{align*}y = -3(x - 2)^2 +1\end{align*} is already in vertex form, so graphing is relatively easy:

Recall the when the equation is written in vertex form like this, the vertex is the point (h,k):

**vertex form:** \begin{align*}y=a(x-h)^2+k\end{align*}

Our equation: \begin{align*}y=-3(x-2)^2+1\end{align*}

Examining our equation, we can see the vertex of the parabola is at (2, 1).

To find another point on the parabola solve for an x value.

Since the vertex is at *x* = 2, let's try one unit to the right: *x* = 3.

\begin{align*}-3(3 - 2)^2 + 1 = -2\end{align*}

\begin{align*}\therefore\end{align*} There is a point on the parabola at (3, -2)

Since a parabola has an axis of symmetry that passes through its vertex, we can reflect the point (3, -2) across the axis of symmetry to get another point, (1, -2) also on the parabola.

The graph of \begin{align*}y=-3(x - 2)^2 + 1\end{align*} is shown below, using vertex (2, 1) and points (3, -2) and (1, -2).

### Review

- What is the U-Shaped graph of a quadratic function called?
- Which direction does a parabola open if the leading coefficient (
*a*) is positive? - For \begin{align*}y^2 = x\end{align*} If the coefficient of
*y*is positive, which way does the parabola open? - What is the name of the lowest point of a parabola that opens up and the highest point of a parabola that opens down.
- What is the name of the line passing through the vertex that divides the parabola into two symmetric parts?
- Sketch the graph of \begin{align*}y = x^2 + 3\end{align*}
- Sketch the graph of \begin{align*}y = -x^2 +4x - 4\end{align*}
- Sketch the graph of \begin{align*}y = 2x^2 +8x\end{align*}
- Consider the following quadratic function: \begin{align*}y = -x^2 - 2x + 1\end{align*} a) Which direction does it open? b) What is the vertex? c) Is it stretched in any way?
- Consider the quadratic functions: \begin{align*}y = 2x^2\end{align*} \begin{align*}y = 4x^2\end{align*} \begin{align*}y = 6x^2\end{align*} Which quadratic function would you expect to have the narrowest parabola? Explain your answer.

Sketch the graph of each function:

- \begin{align*}y = -x^2\end{align*}
- \begin{align*}y = 3x^2 + 6x +1\end{align*}
- \begin{align*}y = \frac{1}{2} x^2 + 2x +4\end{align*}
- \begin{align*}y = (x - 3)^2 + 4\end{align*}
- \begin{align*}y = -x^2 -8x -17\end{align*}

The quadratic function \begin{align*}y = -0.05x^2 + 1.5x\end{align*} can be used to represent the path of a football kicked 30 yards down the field. The variable x represents the distance, in yards, the ball has traveled down the field. The height, in yards, of the football in the air is represented by the variable (y).

Use the quadratic function to calculate the height of the ball as it travels down the field. Round your answers to the nearest hundredth of a yard.

Distance Down the Field (yds) | Height in the Air (yds) |
---|---|

0.0 | |

5.0 | |

10.0 | |

15.0 | |

20.0 | |

25.0 | |

30.0 |

- What is the maximum height of the football during the kick?
- How far down the field has the football traveled when it reaches its maximum height?
- Use the information in the table to graph the path of the football kick.
- If you were shown only the graph of this quadratic function, how could you determine the maximum height of the football during the kick and how far down the field the football has traveled when it reaches its maximum height?

### Review (Answers)

To see the Review answers, open this PDF file and look for section 2.2.