We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Precalculus I

Quadratic Functions

LEARNING OBJECTIVES

By the end of this lesson, you will be able to:
  • Recognize characteristics of parabolas.
  • Understand how the graph of a parabola is related to its quadratic function.
  • Determine a quadratic function’s minimum or maximum value.
  • Solve problems involving a quadratic function’s minimum or maximum value.
Satellite dishes. Figure 1. An array of satellite dishes. (credit: Matthew Colvin de Valle, Flickr)

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.

In this section, we will investigate quadratic functions, which frequently model problems involving area and projectile motion. Working with quadratic functions can be less complex than working with higher degree functions, so they provide a good opportunity for a detailed study of function behavior.

Recognize 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. These features are illustrated in Figure 2.

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

The y-intercept is the point at which the parabola crosses the y-axis. 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 = 0.

Example 1: Identifying the Characteristics of a Parabola

Determine the vertex, axis of symmetry, zeros, and y-intercept of the parabola shown in Figure 3.
Graph of a parabola with a vertex at (3, 1) and a y-intercept at (0, 7). Figure 3

Solution

The vertex is the turning point of the graph. We can see that the vertex is at (3, 1). Because this parabola opens upward, the axis of symmetry is the vertical line that intersects the parabola at the vertex. So the axis of symmetry is = 3. This parabola does not cross the x-axis, so it has no zeros. It crosses the y-axis at (0, 7) so this is the y-intercept.

 Understand how the graph of a parabola is related to its quadratic function

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 ab, and c 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=-\frac{b}{2a}[/latex]. If we use the quadratic formula, [latex]x=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}[/latex], to solve [latex]a{x}^{2}+bx+c=0[/latex] for the x-intercepts, or zeros, we find the value of x halfway between them is always [latex]x=-\frac{b}{2a}[/latex], the equation for the axis of symmetry.

Figure 4 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=-\frac{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 x-intercepts, those points where the parabola crosses the x-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. Figure 4

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.

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

As with the general form, if [latex]a>0[/latex], the parabola opens upward and the vertex is a minimum. If [latex]a<0[/latex], the parabola opens downward, and the vertex is a maximum. Figure 5 is the graph of the quadratic function written in standard form as [latex]y=-3{\left(x+2\right)}^{2}+4[/latex]. Since [latex]x-h=x+2[/latex] in this example, [latex]h=-2[/latex]. In this form, [latex]a=-3,\text{ }h=-2[/latex], and [latex]k=4[/latex]. Because [latex]a<0[/latex], the parabola opens downward. The vertex is at [latex]\left(-2,\text{ 4}\right)[/latex].

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

If [latex]k>0[/latex], the graph shifts upward, whereas if [latex]k<0[/latex], the graph shifts downward. In Figure 5, [latex]k>0[/latex], so the graph is shifted 4 units upward. If [latex]h>0[/latex], the graph shifts toward the right and if [latex]h<0[/latex], the graph shifts to the left. In Figure 5, [latex]h<0[/latex], so the graph is shifted 2 units to the left. The magnitude of a indicates the stretch of the graph. If [latex]|a|>1[/latex], the point associated with a particular x-value shifts farther from the x-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 x-value shifts closer to the x-axis, so the graph appears to become wider, but in fact there is a vertical compression. In Figure 5, [latex]|a|>1[/latex], so the graph becomes narrower.

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{cases}a{\left(x-h\right)}^{2}+k=a{x}^{2}+bx+c\hfill \\ a{x}^{2}-2ahx+\left(a{h}^{2}+k\right)=a{x}^{2}+bx+c\hfill \end{cases}[/latex]

For the linear terms to be equal, the coefficients must be equal.

[latex]-2ah=b,\text{ so }h=-\frac{b}{2a}[/latex].

This is the axis of symmetry we defined earlier. Setting the constant terms equal:

[latex]\begin{cases}a{h}^{2}+k=c\hfill \\ \text{ }k=c-a{h}^{2}\hfill \\ \text{ }=c-a-{\left(\frac{b}{2a}\right)}^{2}\hfill \\ \text{ }=c-\frac{{b}^{2}}{4a}\hfill \end{cases}[/latex]

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

A General Note: Forms of Quadratic Functions

A quadratic function is a function of degree two. The graph of a quadratic function is a parabola. The general form of a quadratic function is [latex]f\left(x\right)=a{x}^{2}+bx+c[/latex] where a, b, and c are real numbers and [latex]a\ne 0[/latex].

The standard form of a quadratic function is [latex]f\left(x\right)=a{\left(x-h\right)}^{2}+k[/latex].

The vertex [latex]\left(h,k\right)[/latex] is located at

[latex]h=-\frac{b}{2a},\text{ }k=f\left(h\right)=f\left(\frac{-b}{2a}\right)[/latex].

How To: Given a graph of a quadratic function, write the equation of the function in general form.

  1. Identify the horizontal shift of the parabola; this value is h. Identify the vertical shift of the parabola; this value is k.
  2. Substitute the values of the horizontal and vertical shift for h and k. in the function [latex]f\left(x\right)=a{\left(x-h\right)}^{2}+k[/latex].
  3. Substitute the values of any point, other than the vertex, on the graph of the parabola for x and [latex]f\left(x\right)[/latex].
  4. Solve for the stretch factor, |a|.
  5. If the parabola opens up, [latex]a>0[/latex]. If the parabola opens down, [latex]a<0[/latex] since this means the graph was reflected about the x-axis.
  6. Expand and simplify to write in general form.

Example 2: Writing the Equation of a Quadratic Function from the Graph

Write an equation for the quadratic function g in the graph below as a transformation of [latex]f\left(x\right)={x}^{2}[/latex], and then expand the formula, and simplify terms to write the equation in general form.

Graph of a parabola with its vertex at (-2, -3). Figure 7

Solution

We can see the graph of g is the graph of [latex]f\left(x\right)={x}^{2}[/latex] shifted to the left 2 and down 3, giving a formula in the form [latex]g\left(x\right)=a{\left(x+2\right)}^{2}-3[/latex].

Substituting the coordinates of a point on the curve, such as [latex]\left(0,-1\right)[/latex], we can solve for the stretch factor.

[latex]\begin{cases}-1=a{\left(0+2\right)}^{2}-3\hfill \\ \text{ }2=4a\hfill \\ \text{ }a=\frac{1}{2}\hfill \end{cases}[/latex]

In standard form, the algebraic model for this graph is [latex]\left(g\right)x=\frac{1}{2}{\left(x+2\right)}^{2}-3[/latex].

To write this in general polynomial form, we can expand the formula and simplify terms.

[latex]\begin{cases}g\left(x\right)=\frac{1}{2}{\left(x+2\right)}^{2}-3\hfill \\ \text{ }=\frac{1}{2}\left(x+2\right)\left(x+2\right)-3\hfill \\ \text{ }=\frac{1}{2}\left({x}^{2}+4x+4\right)-3\hfill \\ \text{ }=\frac{1}{2}{x}^{2}+2x+2 - 3\hfill \\ \text{ }=\frac{1}{2}{x}^{2}+2x - 1\hfill \end{cases}[/latex]

Notice that the horizontal and vertical shifts of the basic graph of the quadratic function determine the location of the vertex of the parabola; the vertex is unaffected by stretches and compressions.

Analysis of the Solution

We can check our work using the table feature on a graphing utility. First enter [latex]\text{Y1}=\frac{1}{2}{\left(x+2\right)}^{2}-3[/latex]. Next, select [latex]\text{TBLSET,}[/latex] then use [latex]\text{TblStart}=-6[/latex] and [latex]\Delta \text{Tbl = 2,}[/latex] and select [latex]\text{TABLE}\text{.}[/latex]

x –6 –4 –2 0 2
y 5 –1 –3 –1 5

The ordered pairs in the table correspond to points on the graph.

Try It 1

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. Figure 8. (credit: modification of work by Dan Meyer)
Solution

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

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

Example 3: 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).

Solution

The horizontal coordinate of the vertex will be at

[latex]\begin{cases}h=-\frac{b}{2a}\hfill \\ \text{ }=-\frac{-6}{2\left(2\right)}\hfill \\ \text{ }=\frac{6}{4}\hfill \\ \text{ }=\frac{3}{2}\hfill \end{cases}[/latex]

The vertical coordinate of the vertex will be at

[latex]\begin{cases}k=f\left(h\right)\hfill \\ \text{ }=f\left(\frac{3}{2}\right)\hfill \\ \text{ }=2{\left(\frac{3}{2}\right)}^{2}-6\left(\frac{3}{2}\right)+7\hfill \\ \text{ }=\frac{5}{2}\hfill \end{cases}[/latex]

Rewriting into standard form, the stretch factor will be the same as the [latex]a[/latex] in the original quadratic.

[latex]\begin{cases}f\left(x\right)=a{x}^{2}+bx+c\hfill \\ f\left(x\right)=2{x}^{2}-6x+7\hfill \end{cases}[/latex]

Using the vertex to determine the shifts,

[latex]f\left(x\right)=2{\left(x-\frac{3}{2}\right)}^{2}+\frac{5}{2}[/latex]

Analysis of the Solution

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, (k), and where it occurs, (x).

Try It 2

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

Solution

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 point, the range is restricted. Since the vertex of a parabola will be either a maximum or a minimum, the range will consist of all y-values greater than or equal to the y-coordinate at the turning point or less than or equal to the y-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 a 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 a 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 a value is [latex]f\left(x\right)\ge k[/latex]; the range of a quadratic function written in standard form with a negative a value is [latex]f\left(x\right)\le k[/latex].

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

  1. Identify the domain of any quadratic function as all real numbers.
  2. Determine whether a is positive or negative. If a is positive, the parabola has a minimum. If a is negative, the parabola has a maximum.
  3. Determine the maximum or minimum value of the parabola, k.
  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 4: 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].

Solution

As with any quadratic function, the domain is all real numbers.

Because a is negative, the parabola opens downward and has a maximum value. We need to determine the maximum value. We can begin by finding the x-value of the vertex.

[latex]\begin{cases}h=-\frac{b}{2a}\hfill \\ \text{ }=-\frac{9}{2\left(-5\right)}\hfill \\ \text{ }=\frac{9}{10}\hfill \end{cases}[/latex]

The maximum value is given by [latex]f\left(h\right)[/latex].

[latex]\begin{cases}f\left(\frac{9}{10}\right)=5{\left(\frac{9}{10}\right)}^{2}+9\left(\frac{9}{10}\right)-1\hfill \\ \text{ }=\frac{61}{20}\hfill \end{cases}[/latex]

The range is [latex]f\left(x\right)\le \frac{61}{20}[/latex], or [latex]\left(-\infty ,\frac{61}{20}\right][/latex].

Try It 3

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

Solution

 Determine a quadratic function’s minimum or maximum value

There are many real-world scenarios that involve finding the maximum or minimum value of a quadratic function, such as applications involving area and revenue.

Two graphs where the first graph shows the maximum value for f(x)=(x-2)^2+1 which occurs at (2, 1) and the second graph shows the minimum value for g(x)=-(x+3)^2+4 which occurs at (-3, 4). Figure 9

Example 5: Finding the Maximum Value of a Quadratic Function

A backyard farmer wants to enclose a rectangular space for a new garden within her fenced backyard. She has purchased 80 feet of wire fencing to enclose three sides, and she will use a section of the backyard fence as the fourth side.

  1. Find a formula for the area enclosed by the fence if the sides of fencing perpendicular to the existing fence have length L.
  2. What dimensions should she make her garden to maximize the enclosed area?

Solution

Diagram of the garden and the backyard. Figure 10

Let’s use a diagram such as the one in Figure 10 to record the given information. It is also helpful to introduce a temporary variable, W, to represent the width of the garden and the length of the fence section parallel to the backyard fence.

  1. We know we have only 80 feet of fence available, and [latex]L+W+L=80[/latex], or more simply, [latex]2L+W=80[/latex]. This allows us to represent the width, W, in terms of L.
    [latex]W=80 - 2L[/latex]

    Now we are ready to write an equation for the area the fence encloses. We know the area of a rectangle is length multiplied by width, so

    [latex]\begin{cases}\text{ }A=LW=L\left(80 - 2L\right)\hfill \\ A\left(L\right)=80L - 2{L}^{2}\hfill \end{cases}[/latex]

    This formula represents the area of the fence in terms of the variable length L. The function, written in general form, is

    [latex]A\left(L\right)=-2{L}^{2}+80L[/latex].
  2. The quadratic has a negative leading coefficient, so the graph will open downward, and the vertex will be the maximum value for the area. In finding the vertex, we must be careful because the equation is not written in standard polynomial form with decreasing powers. This is why we rewrote the function in general form above. Since a is the coefficient of the squared term, [latex]a=-2,b=80[/latex], and [latex]c=0[/latex].

To find the vertex:

[latex]\begin{cases}h=-\frac{80}{2\left(-2\right)}\hfill & \hfill & \hfill & \hfill & k=A\left(20\right)\hfill \\ \text{ }=20\hfill & \hfill & \text{and}\hfill & \hfill & \text{ }=80\left(20\right)-2{\left(20\right)}^{2}\hfill \\ \hfill & \hfill & \hfill & \hfill & \text{ }=800\hfill \end{cases}[/latex]

The maximum value of the function is an area of 800 square feet, which occurs when [latex]L=20[/latex] feet. When the shorter sides are 20 feet, there is 40 feet of fencing left for the longer side. To maximize the area, she should enclose the garden so the two shorter sides have length 20 feet and the longer side parallel to the existing fence has length 40 feet.

Analysis of the Solution

This problem also could be solved by graphing the quadratic function. We can see where the maximum area occurs on a graph of the quadratic function in Figure 11.
Graph of the parabolic function A(L)=-2L^2+80L, which the x-axis is labeled Length (L) and the y-axis is labeled Area (A). The vertex is at (20, 800). Figure 11

How To: Given an application involving revenue, use a quadratic equation to find the maximum.

  1. Write a quadratic equation for revenue.
  2. Find the vertex of the quadratic equation.
  3. Determine the y-value of the vertex.

Example 6: Finding Maximum Revenue

The unit price of an item affects its supply and demand. That is, if the unit price goes up, the demand for the item will usually decrease. For example, a local newspaper currently has 84,000 subscribers at a quarterly charge of $30. Market research has suggested that if the owners raise the price to $32, they would lose 5,000 subscribers. Assuming that subscriptions are linearly related to the price, what price should the newspaper charge for a quarterly subscription to maximize their revenue?

Solution

Revenue is the amount of money a company brings in. In this case, the revenue can be found by multiplying the price per subscription times the number of subscribers, or quantity. We can introduce variables, p for price per subscription and Q for quantity, giving us the equation [latex]\text{Revenue}=pQ[/latex].

Because the number of subscribers changes with the price, we need to find a relationship between the variables. We know that currently [latex]p=30[/latex] and [latex]Q=84,000[/latex]. We also know that if the price rises to $32, the newspaper would lose 5,000 subscribers, giving a second pair of values, [latex]p=32[/latex] and [latex]Q=79,000[/latex]. From this we can find a linear equation relating the two quantities. The slope will be

[latex]\begin{cases}m=\frac{79,000 - 84,000}{32 - 30}\hfill \\ \text{ }=\frac{-5,000}{2}\hfill \\ \text{ }=-2,500\hfill \end{cases}[/latex]

This tells us the paper will lose 2,500 subscribers for each dollar they raise the price. We can then solve for the y-intercept.

[latex]\begin{cases}\text{ }Q=-2500p+b\hfill & \text{Substitute in the point }Q=84,000\text{ and }p=30\hfill \\ 84,000=-2500\left(30\right)+b\hfill & \text{Solve for }b\hfill \\ \text{ }b=159,000\hfill & \hfill \end{cases}[/latex]

This gives us the linear equation [latex]Q=-2,500p+159,000[/latex] relating cost and subscribers. We now return to our revenue equation.

[latex]\begin{cases}\text{Revenue}=pQ\hfill \\ \text{Revenue}=p\left(-2,500p+159,000\right)\hfill \\ \text{Revenue}=-2,500{p}^{2}+159,000p\hfill \end{cases}[/latex]

We now have a quadratic function for revenue as a function of the subscription charge. To find the price that will maximize revenue for the newspaper, we can find the vertex.

[latex]\begin{cases}h=-\frac{159,000}{2\left(-2,500\right)}\hfill \\ \text{ }=31.8\hfill \end{cases}[/latex]

The model tells us that the maximum revenue will occur if the newspaper charges $31.80 for a subscription. To find what the maximum revenue is, we evaluate the revenue function.

[latex]\begin{cases}\text{maximum revenue}=-2,500{\left(31.8\right)}^{2}+159,000\left(31.8\right)\hfill \\ \text{ }=2,528,100\hfill \end{cases}[/latex]

Analysis of the Solution

This could also be solved by graphing the quadratic. We can see the maximum revenue on a graph of the quadratic function.
Graph of the parabolic function which the x-axis is labeled Price (p) and the y-axis is labeled Revenue ($). The vertex is at (31.80, 258100). Figure 12

Finding the x- and y-Intercepts of a Quadratic Function

Much as we did in the application problems above, we also need to find intercepts of quadratic equations for graphing parabolas. Recall that we find the y-intercept of a quadratic by evaluating the function at an input of zero, and we find the x-intercepts at locations where the output is zero. Notice that the number of x-intercepts can vary depending upon the location of the graph.
Three graphs where the first graph shows a parabola with no x-intercept, the second is a parabola with one –intercept, and the third parabola is of two x-intercepts. Figure 13. Number of x-intercepts of a parabola

How To: Given a quadratic function [latex]f\left(x\right)[/latex], find the y- and x-intercepts.

  1. Evaluate [latex]f\left(0\right)[/latex] to find the y-intercept.
  2. Solve the quadratic equation [latex]f\left(x\right)=0[/latex] to find the x-intercepts.

Example 7: Finding the y- and x-Intercepts of a Parabola

Find the y- and x-intercepts of the quadratic [latex]f\left(x\right)=3{x}^{2}+5x - 2[/latex].

Solution

We find the y-intercept by evaluating [latex]f\left(0\right)[/latex].

[latex]\begin{cases}f\left(0\right)=3{\left(0\right)}^{2}+5\left(0\right)-2\hfill \\ \text{ }=-2\hfill \end{cases}[/latex]

So the y-intercept is at [latex]\left(0,-2\right)[/latex].

For the x-intercepts, we find all solutions of [latex]f\left(x\right)=0[/latex].

[latex]0=3{x}^{2}+5x - 2[/latex]

In this case, the quadratic can be factored easily, providing the simplest method for solution.

[latex]0=\left(3x - 1\right)\left(x+2\right)[/latex]
[latex]\begin{cases}0=3x - 1\hfill & \hfill & \hfill & \hfill & 0=x+2\hfill \\ x=\frac{1}{3}\hfill & \hfill & \text{or}\hfill & \hfill & x=-2\hfill \end{cases}[/latex]

So the x-intercepts are at [latex]\left(\frac{1}{3},0\right)[/latex] and [latex]\left(-2,0\right)[/latex].

Analysis of the Solution

By graphing the function, we can confirm that the graph crosses the y-axis at [latex]\left(0,-2\right)[/latex]. We can also confirm that the graph crosses the x-axis at [latex]\left(\frac{1}{3},0\right)[/latex] and [latex]\left(-2,0\right)[/latex].
Graph of a parabola which has the following intercepts (-2, 0), (1/3, 0), and (0, -2). Figure 14

 Solve problems involving a quadratic function’s minimum or maximum value

In Example 7, the quadratic was easily solved by factoring. However, there are many quadratics that cannot be factored. We can solve these quadratics by first rewriting them in standard form.

How To: Given a quadratic function, find the x-intercepts by rewriting in standard form.

  1. Substitute a and b into [latex]h=-\frac{b}{2a}[/latex].
  2. Substitute xh into the general form of the quadratic function to find k.
  3. Rewrite the quadratic in standard form using h and k.
  4. Solve for when the output of the function will be zero to find the x-intercepts.

Example 8: Finding the x-Intercepts of a Parabola

Find the x-intercepts of the quadratic function [latex]f\left(x\right)=2{x}^{2}+4x - 4[/latex].

Solution

We begin by solving for when the output will be zero.

[latex]0=2{x}^{2}+4x - 4[/latex]

Because the quadratic is not easily factorable in this case, we solve for the intercepts by first rewriting the quadratic in standard form.

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

We know that = 2. Then we solve for h and k.

[latex]\begin{cases}h=-\frac{b}{2a}\hfill & \hfill & \hfill & k=f\left(-1\right)\hfill \\ \text{ }=-\frac{4}{2\left(2\right)}\hfill & \hfill & \hfill & \text{ }=2{\left(-1\right)}^{2}+4\left(-1\right)-4\hfill \\ \text{ }=-1\hfill & \hfill & \hfill & \text{ }=-6\hfill \end{cases}[/latex]

So now we can rewrite in standard form.

[latex]f\left(x\right)=2{\left(x+1\right)}^{2}-6[/latex]

We can now solve for when the output will be zero.

[latex]\begin{cases}0=2{\left(x+1\right)}^{2}-6\hfill \\ 6=2{\left(x+1\right)}^{2}\hfill \\ 3={\left(x+1\right)}^{2}\hfill \\ x+1=\pm \sqrt{3}\hfill \\ x=-1\pm \sqrt{3}\hfill \end{cases}[/latex]

The graph has x-intercepts at [latex]\left(-1-\sqrt{3},0\right)[/latex] and [latex]\left(-1+\sqrt{3},0\right)[/latex].

Analysis of the Solution

Graph of a parabola which has the following x-intercepts (-2.732, 0) and (0.732, 0). Figure 15

We can check our work by graphing the given function on a graphing utility and observing the x-intercepts.

Try It 4

In Try It 2, we found the standard and general form for the function [latex]g\left(x\right)=13+{x}^{2}-6x[/latex]. Now find the y- and x-intercepts (if any).

Solution

Example 9: Solving a Quadratic Equation with the Quadratic Formula

Solve [latex]{x}^{2}+x+2=0[/latex].

Solution

Let’s begin by writing the quadratic formula: [latex]x=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}[/latex].

When applying the quadratic formula, we identify the coefficients ab, and c. For the equation [latex]{x}^{2}+x+2=0[/latex], we have a = 1, b = 1, and c = 2. Substituting these values into the formula we have:

[latex]\begin{cases}x=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}\hfill \\ \text{ }=\frac{-1\pm \sqrt{{1}^{2}-4\cdot 1\cdot \left(2\right)}}{2\cdot 1}\hfill \\ \text{ }=\frac{-1\pm \sqrt{1 - 8}}{2}\hfill \\ \text{ }=\frac{-1\pm \sqrt{-7}}{2}\hfill \\ \text{ }=\frac{-1\pm i\sqrt{7}}{2}\hfill \end{cases}[/latex]

The solutions to the equation are [latex]x=\frac{-1+i\sqrt{7}}{2}[/latex] and [latex]x=\frac{-1-i\sqrt{7}}{2}[/latex] or [latex]x=\frac{-1}{2}+\frac{i\sqrt{7}}{2}[/latex] and [latex]x=\frac{-1}{2}-\frac{i\sqrt{7}}{2}[/latex].

Example 10: Applying the Vertex and x-Intercepts of a Parabola

A ball is thrown upward from the top of a 40 foot high building at a speed of 80 feet per second. The ball’s height above ground can be modeled by the equation [latex]H\left(t\right)=-16{t}^{2}+80t+40[/latex].

a. When does the ball reach the maximum height?

b. What is the maximum height of the ball?

c. When does the ball hit the ground?

Solution

a. The ball reaches the maximum height at the vertex of the parabola.
[latex]\begin{cases} h=-\frac{80}{2\left(-16\right)} \text{ }=\frac{80}{32}\hfill \\ \text{ }=\frac{5}{2}\hfill \\ \text{ }=2.5\hfill \end{cases}[/latex]

The ball reaches a maximum height after 2.5 seconds.

b. To find the maximum height, find the coordinate of the vertex of the parabola.
[latex]\begin{cases}k=H\left(-\frac{b}{2a}\right)\hfill \\ \text{ }=H\left(2.5\right)\hfill \\ \text{ }=-16{\left(2.5\right)}^{2}+80\left(2.5\right)+40\hfill \\ \text{ }=140\hfill \end{cases}[/latex]

The ball reaches a maximum height of 140 feet.

c. To find when the ball hits the ground, we need to determine when the height is zero, [latex]H\left(t\right)=0[/latex]. We use the quadratic formula.
[latex]\begin{cases} t=\frac{-80\pm \sqrt{{80}^{2}-4\left(-16\right)\left(40\right)}}{2\left(-16\right)}\hfill \\ \text{ }=\frac{-80\pm \sqrt{8960}}{-32}\hfill \end{cases}[/latex]
Because the square root does not simplify nicely, we can use a calculator to approximate the values of the solutions.
[latex]\begin{cases}t=\frac{-80-\sqrt{8960}}{-32}\approx 5.458\hfill & \text{or}\hfill & t=\frac{-80+\sqrt{8960}}{-32}\approx -0.458\hfill \end{cases}[/latex]
The second answer is outside the reasonable domain of our model, so we conclude the ball will hit the ground after about 5.458 seconds.
Graph of a negative parabola where x goes from -1 to 6. Figure 16

Try It 5

A rock is thrown upward from the top of a 112-foot high cliff overlooking the ocean at a speed of 96 feet per second. The rock’s height above ocean can be modeled by the equation [latex]H\left(t\right)=-16{t}^{2}+96t+112[/latex].

a. When does the rock reach the maximum height?

b. What is the maximum height of the rock?

c. When does the rock hit the ocean?

Solution
 

Key Equations

general form of a quadratic function [latex]f\left(x\right)=a{x}^{2}+bx+c[/latex]
the quadratic formula [latex]x=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}[/latex]
standard form of a quadratic function [latex]f\left(x\right)=a{\left(x-h\right)}^{2}+k[/latex]

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. The zeros, or x-intercepts, are the points at which the parabola crosses the x-axis. The y-intercept is the point at which the parabola crosses the y-axis.
  • 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.
  • A quadratic function’s minimum or maximum value is given by the y-value of the vertex.
  • The minimum or maximum value of a quadratic function can be used to determine the range of the function and to solve many kinds of real-world problems, including problems involving area and revenue.
  • Some quadratic equations must be solved by using the quadratic formula.
  • The vertex and the intercepts can be identified and interpreted to solve real-world problems.

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=-\frac{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 ab, and c 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.
vertex
the point at which a parabola changes direction, corresponding to the minimum or maximum value of the quadratic function
vertex form of a quadratic function
another name for the standard form of a quadratic function
zeros
in a given function, the values of x at which y = 0, also called roots

Section Exercises

1. Explain the advantage of writing a quadratic function in standard form. 2. How can the vertex of a parabola be used in solving real world problems? 3. Explain why the condition of [latex]a\ne 0[/latex] is imposed in the definition of the quadratic function. 4. What is another name for the standard form of a quadratic function? 5. What two algebraic methods can be used to find the horizontal intercepts of a quadratic function? For the following exercises, rewrite the quadratic functions in standard form and give the vertex. 6. [latex]f\left(x\right)={x}^{2}-12x+32[/latex] 7. [latex]g\left(x\right)={x}^{2}+2x - 3[/latex] 8. [latex]f\left(x\right)={x}^{2}-x[/latex] 9. [latex]f\left(x\right)={x}^{2}+5x - 2[/latex] 10. [latex]h\left(x\right)=2{x}^{2}+8x - 10[/latex] 11. [latex]k\left(x\right)=3{x}^{2}-6x - 9[/latex] 12. [latex]f\left(x\right)=2{x}^{2}-6x[/latex] 13. [latex]f\left(x\right)=3{x}^{2}-5x - 1[/latex] For the following exercises, determine whether there is a minimum or maximum value to each quadratic function. Find the value and the axis of symmetry. 14. [latex]y\left(x\right)=2{x}^{2}+10x+12[/latex] 15. [latex]f\left(x\right)=2{x}^{2}-10x+4[/latex] 16. [latex]f\left(x\right)=-{x}^{2}+4x+3[/latex] 17. [latex]f\left(x\right)=4{x}^{2}+x - 1[/latex] 18. [latex]h\left(t\right)=-4{t}^{2}+6t - 1[/latex] 19. [latex]f\left(x\right)=\frac{1}{2}{x}^{2}+3x+1[/latex] 20. [latex]f\left(x\right)=-\frac{1}{3}{x}^{2}-2x+3[/latex] For the following exercises, determine the domain and range of the quadratic function. 21. [latex]f\left(x\right)={\left(x - 3\right)}^{2}+2[/latex] 22. [latex]f\left(x\right)=-2{\left(x+3\right)}^{2}-6[/latex] 23. [latex]f\left(x\right)={x}^{2}+6x+4[/latex] 24. [latex]f\left(x\right)=2{x}^{2}-4x+2[/latex] 25. [latex]k\left(x\right)=3{x}^{2}-6x - 9[/latex] For the following exercises, solve the equations over the complex numbers. 26. [latex]{x}^{2}=-25[/latex] 27. [latex]{x}^{2}=-8[/latex] 28. [latex]{x}^{2}+36=0[/latex] 29. [latex]{x}^{2}+27=0[/latex] 30. [latex]{x}^{2}+2x+5=0[/latex] 31. [latex]{x}^{2}-4x+5=0[/latex] 32. [latex]{x}^{2}+8x+25=0[/latex] 33. [latex]{x}^{2}-4x+13=0[/latex] 34. [latex]{x}^{2}+6x+25=0[/latex] 35. [latex]{x}^{2}-10x+26=0[/latex] 36. [latex]{x}^{2}-6x+10=0[/latex] 37. [latex]x\left(x - 4\right)=20[/latex] 38. [latex]x\left(x - 2\right)=10[/latex] 39. [latex]2{x}^{2}+2x+5=0[/latex] 40. [latex]5{x}^{2}-8x+5=0[/latex] 41. [latex]5{x}^{2}+6x+2=0[/latex] 42. [latex]2{x}^{2}-6x+5=0[/latex] 43. [latex]{x}^{2}+x+2=0[/latex] 44. [latex]{x}^{2}-2x+4=0[/latex] For the following exercises, use the vertex (h, k) and a point on the graph (x, y) to find the general form of the equation of the quadratic function. 45. [latex]\left(h,k\right)=\left(2,0\right),\left(x,y\right)=\left(4,4\right)[/latex] 46. [latex]\left(h,k\right)=\left(-2,-1\right),\left(x,y\right)=\left(-4,3\right)[/latex] 47. [latex]\left(h,k\right)=\left(0,1\right),\left(x,y\right)=\left(2,5\right)[/latex] 48. [latex]\left(h,k\right)=\left(2,3\right),\left(x,y\right)=\left(5,12\right)[/latex] 49. [latex]\left(h,k\right)=\left(-5,3\right),\left(x,y\right)=\left(2,9\right)[/latex] 50. [latex]\left(h,k\right)=\left(3,2\right),\left(x,y\right)=\left(10,1\right)[/latex] 51. [latex]\left(h,k\right)=\left(0,1\right),\left(x,y\right)=\left(1,0\right)[/latex] 52. [latex]\left(h,k\right)=\left(1,0\right),\left(x,y\right)=\left(0,1\right)[/latex] For the following exercises, sketch a graph of the quadratic function and give the vertex, axis of symmetry, and intercepts. 53. [latex]f\left(x\right)={x}^{2}-2x[/latex] 54. [latex]f\left(x\right)={x}^{2}-6x - 1[/latex] 55. [latex]f\left(x\right)={x}^{2}-5x - 6[/latex] 56. [latex]f\left(x\right)={x}^{2}-7x+3[/latex] 57. [latex]f\left(x\right)=-2{x}^{2}+5x - 8[/latex] 58. [latex]f\left(x\right)=4{x}^{2}-12x - 3[/latex] For the following exercises, write the equation for the graphed function. 59. Graph of a positive parabola with a vertex at (2, -3) and y-intercept at (0, 1). 60. Graph of a positive parabola with a vertex at (-1, 2) and y-intercept at (0, 3) 61. Graph of a negative parabola with a vertex at (2, 7). 62. Graph of a negative parabola with a vertex at (-1, 2). 63. Graph of a positive parabola with a vertex at (3, -1) and y-intercept at (0, 3.5). 64. Graph of a negative parabola with a vertex at (-2, 3). For the following exercises, use the table of values that represent points on the graph of a quadratic function. By determining the vertex and axis of symmetry, find the general form of the equation of the quadratic function. 65.
x –2 –1 0 1 2
y 5 2 1 2 5
66.
x –2 –1 0 1 2
y 1 0 1 4 9
67.
x –2 –1 0 1 2
y –2 1 2 1 –2
68.
x –2 –1 0 1 2
y –8 –3 0 1 0
69.
x –2 –1 0 1 2
y 8 2 0 2 8
For the following exercises, use a calculator to find the answer. 70. Graph on the same set of axes the functions [latex]f\left(x\right)={x}^{2},f\left(x\right)=2{x}^{2},\text{ and }f\left(x\right)=\frac{1}{3}{x}^{2}[/latex]. What appears to be the effect of changing the coefficient? 71. Graph on the same set of axes [latex]f\left(x\right)={x}^{2},f\left(x\right)={x}^{2}+2[/latex] and [latex]f\left(x\right)={x}^{2},f\left(x\right)={x}^{2}+5[/latex] and [latex]f\left(x\right)={x}^{2}-3[/latex]. What appears to be the effect of adding a constant? 72. Graph on the same set of axes [latex]f\left(x\right)={x}^{2},f\left(x\right)={\left(x - 2\right)}^{2},f{\left(x - 3\right)}^{2},\text{ and }f\left(x\right)={\left(x+4\right)}^{2}[/latex]. What appears to be the effect of adding or subtracting those numbers? 73. The path of an object projected at a 45 degree angle with initial velocity of 80 feet per second is given by the function [latex]h\left(x\right)=\frac{-32}{{\left(80\right)}^{2}}{x}^{2}+x[/latex] where x is the horizontal distance traveled and [latex]h\left(x\right)[/latex] is the height in feet. Use the TRACE feature of your calculator to determine the height of the object when it has traveled 100 feet away horizontally. 74. A suspension bridge can be modeled by the quadratic function [latex]h\left(x\right)=.0001{x}^{2}[/latex] with [latex]-2000\le x\le 2000[/latex] where |x| is the number of feet from the center and [latex]h\left(x\right)[/latex] is height in feet. Use the TRACE feature of your calculator to estimate how far from the center does the bridge have a height of 100 feet. For the following exercises, use the vertex of the graph of the quadratic function and the direction the graph opens to find the domain and range of the function. 75. Vertex [latex]\left(1,-2\right)[/latex], opens up. 76. Vertex [latex]\left(-1,2\right)[/latex] opens down. 77. Vertex [latex]\left(-5,11\right)[/latex], opens down. 78. Vertex [latex]\left(-100,100\right)[/latex], opens up. For the following exercises, write the equation of the quadratic function that contains the given point and has the same shape as the given function. 79. Contains (1, 1) and has shape of [latex]f\left(x\right)=2{x}^{2}[/latex]. Vertex is on the y-axis. 80. Contains (-1, 4) and has the shape of [latex]f\left(x\right)=2{x}^{2}[/latex]. Vertex is on the y-axis. 81. Contains (2, 3) and has the shape of [latex]f\left(x\right)=3{x}^{2}[/latex]. Vertex is on the y-axis. 82. Contains (1, –3) and has the shape of [latex]f\left(x\right)=-{x}^{2}[/latex]. Vertex is on the y-axis. 83. Contains (4, 3) and has the shape of [latex]f\left(x\right)=5{x}^{2}[/latex]. Vertex is on the y-axis. 84. Contains (1, –6) has the shape of [latex]f\left(x\right)=3{x}^{2}[/latex]. Vertex has x-coordinate of –1. 85. Find the dimensions of the rectangular corral producing the greatest enclosed area given 200 feet of fencing. 86. Find the dimensions of the rectangular corral split into 2 pens of the same size producing the greatest possible enclosed area given 300 feet of fencing. 87. Find the dimensions of the rectangular corral producing the greatest enclosed area split into 3 pens of the same size given 500 feet of fencing. 88. Among all of the pairs of numbers whose sum is 6, find the pair with the largest product. What is the product? 89. Among all of the pairs of numbers whose difference is 12, find the pair with the smallest product. What is the product? 90. Suppose that the price per unit in dollars of a cell phone production is modeled by [latex]p=$45 - 0.0125x[/latex], where x is in thousands of phones produced, and the revenue represented by thousands of dollars is [latex]R=x\cdot p[/latex]. Find the production level that will maximize revenue. 91. A rocket is launched in the air. Its height, in meters above sea level, as a function of time, in seconds, is given by [latex]h\left(t\right)=-4.9{t}^{2}+229t+234[/latex]. Find the maximum height the rocket attains. 92. A ball is thrown in the air from the top of a building. Its height, in meters above ground, as a function of time, in seconds, is given by [latex]h\left(t\right)=-4.9{t}^{2}+24t+8[/latex]. How long does it take to reach maximum height? 93. A soccer stadium holds 62,000 spectators. With a ticket price of $11, the average attendance has been 26,000. When the price dropped to $9, the average attendance rose to 31,000. Assuming that attendance is linearly related to ticket price, what ticket price would maximize revenue? 94. A farmer finds that if she plants 75 trees per acre, each tree will yield 20 bushels of fruit. She estimates that for each additional tree planted per acre, the yield of each tree will decrease by 3 bushels. How many trees should she plant per acre to maximize her harvest?

Licenses & Attributions

CC licensed content, Specific attribution