# Graphs of Quadratic Functions

## Parts of a Parabola

The graph of a quadratic function is a parabola, and its parts provide valuable information about the function.### Learning Objectives

Describe the parts and features of parabolas### Key Takeaways

#### Key Points

- The graph of a quadratic function is a U-shaped curve called a parabola.
- The sign on the coefficient $a$of the quadratic function affects whether the graph opens up or down. If$a<0$, the graph makes a frown (opens down) and if$a>0$then the graph makes a smile (opens up).
- The extreme point ( maximum or minimum ) of a parabola is called the vertex, and the axis of symmetry is a vertical line that passes through the vertex.
- The
*x*-intercepts are the points at which the parabola crosses the*x*-axis. If they exist, the*x*-intercepts represent the zeros, or roots, of the quadratic function.

#### Key Terms

**vertex**: The point at which a parabola changes direction, corresponding to the minimum or maximum value of the quadratic function.**axis of symmetry**: A vertical line drawn through the vertex of a parabola around which the parabola is symmetric.**zeros**: In a given function, the values of$x$at which$y=0$, also called roots.

$\displaystyle f(x)=ax^{2}+bx+c$

.where

$a$

, $b$

, and $c$

are constants, and $a\neq 0$

.The graph of a quadratic function is a U-shaped curve called a parabola. This shape is shown below.

In graphs of quadratic functions, the sign on the coefficient

$a$

affects whether the graph opens up or down. If $a<0$

, the graph makes a frown (opens down) and if $a>0$

then the graph makes a smile (opens up). This is shown below.### Features of Parabolas

Parabolas have several recognizable features that characterize their shape and placement on the Cartesian plane.### Vertex

One important feature of the parabola is that it has an extreme point, called the vertex. If the parabola opens up, the vertex represents the lowest point on the graph, or the minimum value of the quadratic function. If the parabola opens down, the vertex represents the highest point on the graph, or the maximum value. In either case, the vertex is a turning point on the graph.### Axis of Symmetry

Parabolas also have an axis of symmetry, which is parallel to the y-axis. The axis of symmetry is a vertical line drawn through the vertex.### $y$-intercept

The *y*-intercept is the point at which the parabola crosses the

*y*-axis. There cannot be more than one such point, for the graph of a quadratic function. If there were, the curve would not be a function, as there would be two

$y$

values for one $x$

value, at zero.### $x$-intercepts

The *x*-intercepts are the points at which the parabola crosses the

*x*-axis. If they exist, the

*x*-intercepts represent the zeros, or roots, of the quadratic function, the values of

$x$

at which $y=0$

. There may be zero, one, or two $x$

-intercepts. The number of $x$

-intercepts varies depending upon the location of the graph (see the diagram below).$x$

-intercepts of the parabola.
Notice that, for parabolas with two $x$

-intercepts, the vertex always falls between the roots. Due to the fact that parabolas are symmetric, the $x$

-coordinate of the vertex is exactly in the middle of the $x$

-coordinates of the two roots.## A Graphical Interpretation of Quadratic Solutions

The roots of a quadratic function can be found algebraically or graphically.### Learning Objectives

Describe the solutions to a quadratic equation as the points where the parabola crosses the x-axis### Key Takeaways

#### Key Points

- The roots of a quadratic function can be found algebraically with the quadratic formula, and graphically by making observations about its parabola.
- The solutions, or roots, of a given quadratic equation are the same as the zeros, or $x$-intercepts, of the graph of the corresponding quadratic function.

#### Key Terms

**zeros**: In a given function, the values of$x$at which$y = 0$, also called roots.

$(x=\frac{-b \pm \sqrt {b^2-4ac}}{2a})$

. The roots of a quadratic function can also be found graphically by making observations about its graph. These are two different methods that can be used to reach the same values, and we will now see how they are related.Consider the quadratic function that is graphed below. Let's solve for its roots both graphically and algebraically.

Notice that the parabola intersects the

$x$

-axis at two points: $(-1, 0)$

and $(2, 0)$

. Recall that the $x$

-intercepts of a parabola indicate the roots, or zeros, of the quadratic function. Therefore, there are roots at $x = -1$

and $x = 2$

.Now, let's solve for the roots of

$f(x) = x^2 - x- 2$

algebraically with the quadratic formula.Recall that the quadratic equation sets the quadratic expression equal to zero instead of

$f(x)$

:$0 = x^2 - x - 2$

Now the quadratic formula can be applied to find the

$x$

-values for which this statement is true. For the given equation, we have the following coefficients: $a = 1$

, $b = -1$

, and $c = -2$

.Substitute these values in the quadratic formula:

$x = \dfrac{-(-1) \pm \sqrt {(-1)^2-4(1)(-2)}}{2(1)}$

Simplifying, we have:

$x = \dfrac{1 \pm \sqrt {9}}{2} \\$

and

$x = \dfrac{1 \pm 3}{2}$

We now have two possible values for x:

$\frac{1+3}{2}$

and $\frac{1-3}{2}$

.These reduce to

$x = 2$

and $x = - 1$

, respectively. Notice that these are the same values that when found when we solved for roots graphically.### Example

Find the roots of the quadratic function$f(x) = x^2 - 4x + 4$

. Solve graphically and algebraically.Looking at the graph of the function, we notice that it does not intersect the

$x$

-axis. Therefore, it has *no real roots*.

We can verify this algebraically. First, identify the values for the coefficients:

$a = 1$

, $b = - 4$

, and $c = 5$

.Substituting these into the quadratic formula, we have:

$x=\dfrac{-(-4) \pm \sqrt {(-4)^2-4(1)(5)}}{2(1)}$

Simplifying, we have:

$x=\dfrac{4 \pm \sqrt {16-20}}{2} \\
x=\dfrac{4 \pm \sqrt {-4}}{2}$

Notice that we have

$\sqrt{-4}$

in the formula, which is not a real number. Therefore, there are *no real roots*for the given quadratic function. We have arrived at the same conclusion that we reached graphically.

## Graphing Quadratic Equations in Vertex Form

The vertex form of a quadratic function lets its vertex be found easily.### Learning Objectives

Explain the meanings of the constants$a$

, $h$

, and $k$

for a quadratic equation in vertex form### Key Takeaways

#### Key Points

- An important form of a quadratic function is vertex form: $f(x) = a(x-h)^2 + k$
- When written in vertex form, it is easy to see the vertex of the parabola at $(h, k)$.
- It is easy to convert from vertex form to standard form.
- It is more difficult, but still possible, to convert from standard form to vertex form. The process involves a technique called completing the square.

#### Key Terms

**constant**: An identifier that is bound to an invariant value.**vertex**: A point on the curve with a local minimum or maximum of curvature.**quadratic**: A polynomial of degree two.

$f(x)=a{ x }^{ 2 }+bx+c$

Another common form is called vertex form, because when a quadratic is written in this form, it is very easy to tell where its vertex is located. The vertex form is given by:

$f(x)=a(x-h)^2+k$

The vertex is

$(h,k).$

Note that if the form were $f(x)=a(x+h)^2+k$

, the vertex would be $(-h,k).$

The coefficient $a$

as before controls whether the parabola opens upward or downward, as well as the speed of increase or decrease of the parabola.### Converting From Vertex Form to Standard Form

If you want to convert a quadratic in vertex form to one in standard form, simply multiply out the square and combine like terms. For example, the quadratic$y=(x-2)^2+1$

Can be rewritten as follows:

$\begin{align} y&=(x-2)(x-2)+1 \\ &=x^2-2x-2x+4+1 \\ &=x^2-4x+5 \end{align}$

### Converting From Standard Form to Vertex Form

It is more difficult to convert from standard form to vertex form. The process is called "completing the square."### Conversion When $a=1$

Consider the following example: suppose you want to write $y=x^2+4x+6$

in vertex form. Note that the coefficient on $x^2$

(the one we call $a$

) is $1$

. When this is the case, we look at the coefficient on $x$

(the one we call $b$

) and take half of it. Then we square that number. Thus for this example, we divide $4$

by $2$

to obtain $2$

and then square it to obtain $4$

.We then both add and subtract this number as follows:

$y=(x^2+4x+4)+6-4$

Note that we both added and subtracted 4, so we didn't actually change our function. Now the expression in the parentheses is a square; we can write

$y=(x+2)^2+2.$

Our equation is now in vertex form and we can see that the vertex is $(-2,2).$

### Conversion When $a \neq 1$

It is slightly more complicated to convert standard form to vertex form when the coefficient $a$

is not equal to $1$

. We can still use the technique, but must be careful to first factor out the $a$

as in the following example:Consider

$y=2x^2+12x+5.$

We factor out the coefficient $2$

from the first two terms, writing this as:$y=2(x^2+6x) + 5$

We then complete the square within the parentheses. Note that half of

$6$

is $3$

and $3^2=9$

. So we add and subtract $9$

within the parentheses, obtaining:$y=2(x^2+6x+9-9)+5$

We can then finish the calculation as follows:

$\begin{align} y&=2((x+3)^2-9)+5 \\ &=2(x+3)^2-18+5 \\ &=(x+3)^2-13 \end{align}$

So the vertex of this parabola is

$(-3,-13).$

## Graphing Quadratic Equations In Standard Form

A quadratic function is a polynomial function of the form$y=ax^2+bx+c$

.### Learning Objectives

Explain the meanings of the constants$a$

, $b$

, and $c$

for a quadratic equation in standard form### Key Takeaways

#### Key Points

- The graph of a quadratic function is a parabola whose axis of symmetry is parallel to the $y$-axis.
- The coefficients $a, b,$and$c$in the equation$y=ax^2+bx+c$control various facets of what the parabola looks like when graphed.

#### Key Terms

**vertex**: The maximum or minimum of a quadratic function.**parabola**: The shape formed by the graph of a quadratic function.**quadratic**: A polynomial of degree two.

$f(x)=a{ x }^{ 2 }+bx+x$

is in

*standard form*.

Regardless of the format, the graph of a quadratic function is a parabola.

### Coefficients and Graphs of Quadratic Function

Each coefficient in a quadratic function in standard form has an impact on the shape and placement of the function's graph.### Coefficient of $x^2$, $a$

The coefficient $a$

controls the speed of increase (or decrease) of the quadratic function from the vertex. A larger, positive $a$

makes the function increase faster and the graph appear thinner.Whether the parabola opens upward or downward is also controlled by

$a$

. If the coefficient $a>0$

, the parabola opens upward, and if the coefficient $a<0$

, the parabola opens downward.### The Axis of Symmetry

The coefficients$b$

and $a$

together control the axis of symmetry of the parabola and the $x$

-coordinate of the vertex. The axis of symmetry for a parabola is given by:$x=-\dfrac{b}{2a}$

For example, consider the parabola

$y=2x^2-4x+4$

shown below. Because $a=2$

and $b=-4,$

the axis of symmetry is:$x=-\frac{-4}{2\cdot 2} = 1$

The vertex also has

$x$

coordinate $1$

.### The $y$-intercept of the Parabola

The coefficient $c$

controls the height of the parabola. More specifically, it is the point where the parabola intercepts the y-axis. The point $(0,c)$

is the $y$

intercept of the parabola. Note that the parabola above has $c=4$

and it intercepts the $y$

-axis at the point $(0,4).$

### Licenses and Attributions

#### More Study Resources for You

Show More