Graphs of Quadratic Functions

Learning Outcomes

  • Recognize characteristics of parabolas.
  • Understand how the graph of a parabola is related to its quadratic function.

Curved antennas, such as the ones shown in the photo, are commonly used to focus microwaves and radio waves to transmit television and telephone signals, as well as satellite and spacecraft communication. The cross-section of the antenna is in the shape of a parabola, which can be described by a quadratic function.

Satellite dishes.

An array of satellite dishes. (credit: Matthew Colvin de Valle, Flickr)

Characteristics of Parabolas

The graph of a quadratic function is a U-shaped curve called a parabola. One important feature of the graph 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. The graph is also symmetric with a vertical line drawn through the vertex, called the axis of symmetry.

Graph of a parabola showing where the x and y intercepts, vertex, and axis of symmetry are.

The [latex]y[/latex]-intercept is the point at which the parabola crosses the [latex]y[/latex]-axis. The [latex]x[/latex]-intercepts are the points at which the parabola crosses the [latex]x[/latex]-axis. If they exist, the [latex]x[/latex]-intercepts represent the zeros, or roots, of the quadratic function, the values of [latex]x[/latex] at which [latex]y=0[/latex].

Example: Identifying the Characteristics of a Parabola

Determine the vertex, axis of symmetry, zeros, and y-intercept of the parabola shown below.

Graph of a parabola with a vertex at (3, 1) and a y-intercept at (0, 7).

Equations of Quadratic Functions

The general form of a quadratic function presents the function in the form

[latex]f\left(x\right)=a{x}^{2}+bx+c[/latex]

where [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex] are real numbers and [latex]a\ne 0[/latex]. If [latex]a>0[/latex], the parabola opens upward. If [latex]a<0[/latex], the parabola opens downward. We can use the general form of a parabola to find the equation for the axis of symmetry.

The axis of symmetry is defined by [latex]x=-\dfrac{b}{2a}[/latex]. If we use the quadratic formula, [latex]x=\dfrac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}[/latex], to solve [latex]a{x}^{2}+bx+c=0[/latex] for the [latex]x[/latex]-intercepts, or zeros, we find the value of [latex]x[/latex] halfway between them is always [latex]x=-\dfrac{b}{2a}[/latex], the equation for the axis of symmetry.

The figure below shows the graph of the quadratic function written in general form as [latex]y={x}^{2}+4x+3[/latex]. In this form, [latex]a=1,\text{ }b=4[/latex], and [latex]c=3[/latex]. Because [latex]a>0[/latex], the parabola opens upward. The axis of symmetry is [latex]x=-\dfrac{4}{2\left(1\right)}=-2[/latex]. This also makes sense because we can see from the graph that the vertical line [latex]x=-2[/latex] divides the graph in half. The vertex always occurs along the axis of symmetry. For a parabola that opens upward, the vertex occurs at the lowest point on the graph, in this instance, [latex]\left(-2,-1\right)[/latex]. The [latex]x[/latex]-intercepts, those points where the parabola crosses the [latex]x[/latex]-axis, occur at [latex]\left(-3,0\right)[/latex] and [latex]\left(-1,0\right)[/latex].

Graph of a parabola showing where the x and y intercepts, vertex, and axis of symmetry are for the function y=x^2+4x+3.

The standard form of a quadratic function presents the function in the form

[latex]f\left(x\right)=a{\left(x-h\right)}^{2}+k[/latex]

where [latex]\left(h,\text{ }k\right)[/latex] is the vertex. Because the vertex appears in the standard form of the quadratic function, this form is also known as the vertex form of a quadratic function.

Given a quadratic function in general form, find the vertex of the parabola.

One reason we may want to identify the vertex of the parabola is that this point will inform us where the maximum or minimum value of the output occurs, [latex]k[/latex], and where it occurs, [latex]h[/latex]. If we are given the general form of a quadratic function:

[latex]f(x)=ax^2+bx+c[/latex]

We can define the vertex, [latex](h,k)[/latex], by doing the following:

  • Identify [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex].
  • Find [latex]h[/latex], the [latex]x[/latex]-coordinate of the vertex, by substituting [latex]a[/latex] and [latex]b[/latex] into [latex]h=-\dfrac{b}{2a}[/latex].
  • Find [latex]k[/latex], the [latex]y[/latex]-coordinate of the vertex, by evaluating [latex]k=f\left(h\right)=f\left(-\dfrac{b}{2a}\right)[/latex]

Example: Finding the Vertex of a Quadratic Function

Find the vertex of the quadratic function [latex]f\left(x\right)=2{x}^{2}-6x+7[/latex]. Rewrite the quadratic in standard form (vertex form).

Try It

Given the equation [latex]g\left(x\right)=13+{x}^{2}-6x[/latex], write the equation in general form and then in standard form.

Finding the Domain and Range of a Quadratic Function

Any number can be the input value of a quadratic function. Therefore the domain of any quadratic function is all real numbers. Because parabolas have a maximum or a minimum at the vertex, the range is restricted. Since the vertex of a parabola will be either a maximum or a minimum, the range will consist of all [latex]y[/latex]-values greater than or equal to the [latex]y[/latex]-coordinate of the vertex or less than or equal to the [latex]y[/latex]-coordinate at the turning point, depending on whether the parabola opens up or down.

A General Note: Domain and Range of a Quadratic Function

The domain of any quadratic function is all real numbers.

The range of a quadratic function written in general form [latex]f\left(x\right)=a{x}^{2}+bx+c[/latex] with a positive [latex]a[/latex] value is [latex]f\left(x\right)\ge f\left(-\frac{b}{2a}\right)[/latex], or [latex]\left[f\left(-\frac{b}{2a}\right),\infty \right)[/latex]; the range of a quadratic function written in general form with a negative [latex]a[/latex] value is [latex]f\left(x\right)\le f\left(-\frac{b}{2a}\right)[/latex], or [latex]\left(-\infty ,f\left(-\frac{b}{2a}\right)\right][/latex].

The range of a quadratic function written in standard form [latex]f\left(x\right)=a{\left(x-h\right)}^{2}+k[/latex] with a positive [latex]a[/latex] value is [latex]f\left(x\right)\ge k[/latex]; the range of a quadratic function written in standard form with a negative [latex]a[/latex] value is [latex]f\left(x\right)\le k[/latex].

How To: Given a quadratic function, find the domain and range.

  1. The domain of any quadratic function as all real numbers.
  2. Determine whether [latex]a[/latex] is positive or negative. If [latex]a[/latex] is positive, the parabola has a minimum. If [latex]a[/latex] is negative, the parabola has a maximum.
  3. Determine the maximum or minimum value of the parabola, [latex]k[/latex].
  4. If the parabola has a minimum, the range is given by [latex]f\left(x\right)\ge k[/latex], or [latex]\left[k,\infty \right)[/latex]. If the parabola has a maximum, the range is given by [latex]f\left(x\right)\le k[/latex], or [latex]\left(-\infty ,k\right][/latex].

Example: Finding the Domain and Range of a Quadratic Function

Find the domain and range of [latex]f\left(x\right)=-5{x}^{2}+9x - 1[/latex].

Try It

Find the domain and range of [latex]f\left(x\right)=2{\left(x-\dfrac{4}{7}\right)}^{2}+\dfrac{8}{11}[/latex].

Transformations of Quadratic Functions

The standard form of a quadratic function presents the function in the form

[latex]f\left(x\right)=a{\left(x-h\right)}^{2}+k[/latex]

where [latex]\left(h,k\right)[/latex] is the vertex. Because the vertex appears in the standard form of the quadratic function, this form is also known as the vertex form of a quadratic function.

The standard form is useful for determining how the graph is transformed from the graph of [latex]y={x}^{2}[/latex]. The figure below is the graph of this basic function.

Graph of y=x^2.

 

Shift Up and Down by Changing the Value of [latex]k[/latex]

You can represent a vertical (up, down) shift of the graph of [latex]f(x)=x^2[/latex] by adding or subtracting a constant, [latex]k[/latex].

[latex]f(x)=x^2 + k[/latex]

If [latex]k>0[/latex], the graph shifts upward, whereas if [latex]k<0[/latex], the graph shifts downward.

Example

Determine the equation for the graph of [latex]f(x)=x^2[/latex] that has been shifted up 4 units. Also, determine the equation for the graph of [latex]f(x)=x^2[/latex] that has been shifted down 4 units.

 Shift left and right by changing the value of [latex]h[/latex]

You can represent a horizontal (left, right) shift of the graph of [latex]f(x)=x^2[/latex] by adding or subtracting a constant, [latex]h[/latex], to the variable [latex]x[/latex], before squaring.

[latex]f(x)=(x-h)^2 [/latex]

If [latex]h>0[/latex], the graph shifts toward the right and if [latex]h<0[/latex], the graph shifts to the left.

Example

Determine the equation for the graph of [latex]f(x)=x^2[/latex] that has been shifted right 2 units. Also, determine the equation for the graph of [latex]f(x)=x^2[/latex] that has been shifted left 2 units.

Stretch or compress by changing the value of [latex]a[/latex].

You can represent a stretch or compression (narrowing, widening) of the graph of [latex]f(x)=x^2[/latex] by multiplying the squared variable by a constant, [latex]a[/latex].

[latex]f(x)=ax^2 [/latex]

The magnitude of [latex]a[/latex] indicates the stretch of the graph. If [latex]|a|>1[/latex], the point associated with a particular [latex]x[/latex]-value shifts farther from the [latex]x[/latex]axis, so the graph appears to become narrower, and there is a vertical stretch. But if [latex]|a|<1[/latex], the point associated with a particular [latex]x[/latex]-value shifts closer to the [latex]x[/latex]axis, so the graph appears to become wider, but in fact there is a vertical compression.

Example

Determine the equation for the graph of [latex]f(x)=x^2[/latex] that has been compressed vertically by a factor of [latex]\frac{1}{2}[/latex]. Also, determine the equation for the graph of [latex]f(x)=x^2[/latex] that has been vertically stretched by a factor of 3.

The standard form and the general form are equivalent methods of describing the same function. We can see this by expanding out the general form and setting it equal to the standard form.

[latex]\begin{align}&a{\left(x-h\right)}^{2}+k=a{x}^{2}+bx+c\\ &a{x}^{2}-2ahx+\left(a{h}^{2}+k\right)=a{x}^{2}+bx+c \end{align}[/latex]
For the two sides to be equal, the corresponding coefficients must be equal. In particular, the coefficients of [latex]x[/latex] must be equal.
[latex]-2ah=b,\text{ so }h=-\dfrac{b}{2a}[/latex].

This is the [latex]x[/latex] coordinate of the vertexr and [latex]x=-\dfrac{b}{2a}[/latex] is the axis of symmetry we defined earlier. Setting the constant terms equal gives us:

[latex]\begin{align}a{h}^{2}+k&=c \\[2mm] k&=c-a{h}^{2} \\ &=c-a-{\left(\dfrac{b}{2a}\right)}^{2} \\ &=c-\dfrac{{b}^{2}}{4a} \end{align}[/latex]

In practice, though, it is usually easier to remember that [latex]h[/latex] is the output value of the function when the input is [latex]h[/latex], so [latex]f\left(h\right)=f\left(-\dfrac{b}{2a}\right)=k[/latex].

Try It

A coordinate grid has been superimposed over the quadratic path of a basketball in the picture below. Find an equation for the path of the ball. Does the shooter make the basket?

Stop motioned picture of a boy throwing a basketball into a hoop to show the parabolic curve it makes.

(credit: modification of work by Dan Meyer)

Key Concepts

  • A polynomial function of degree two is called a quadratic function.
  • The graph of a quadratic function is a parabola. A parabola is a U-shaped curve that can open either up or down.
  • The axis of symmetry is the vertical line passing through the vertex.
  • Quadratic functions are often written in general form. Standard or vertex form is useful to easily identify the vertex of a parabola. Either form can be written from a graph.
  • The vertex can be found from an equation representing a quadratic function.
  • The domain of a quadratic function is all real numbers. The range varies with the function.

Glossary

axis of symmetry
a vertical line drawn through the vertex of a parabola around which the parabola is symmetric; it is defined by [latex]x=-\dfrac{b}{2a}[/latex].
general form of a quadratic function
the function that describes a parabola, written in the form [latex]f\left(x\right)=a{x}^{2}+bx+c[/latex], where [latex]a[/latex], [latex]b[/latex], and [latex]c[/latex] are real numbers and [latex]a\ne 0[/latex].
standard form of a quadratic function
the function that describes a parabola, written in the form [latex]f\left(x\right)=a{\left(x-h\right)}^{2}+k[/latex], where [latex]\left(h,\text{ }k\right)[/latex] is the vertex.