Skip to content

Quadratic Functions

By the end of this section, 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

Curved antennas 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.

Recognizing 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 below.

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

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

Solution. The vertex is the turning point of the graph. We can see that the vertex is at (3,1)(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 x=3x=3. This parabola does not cross the xx-axis, so it has no zeros. It crosses the yy-axis at (0,7)(0,7), so this is the yy-intercept.

Understanding how the graphs of parabolas are related to their quadratic functions

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

f(x)=ax2+bx+cf(x)=ax^2+bx+c

where aa, bb, and cc are real numbers and a0a\ne0. If a>0a>0, the parabola opens upward. If a<0a<0, 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 x=b2ax=-\tfrac{b}{2a}. If we use the quadratic formula, x=b±b24ac2ax=\tfrac{-b\pm\sqrt{b^2-4ac}}{2a}, to solve ax2+bx+c=0ax^2+bx+c=0 for the xx-intercepts, or zeros, we find the value of xx halfway between them is always x=b2ax=-\tfrac{b}{2a}, the equation for the axis of symmetry.

The graph below is the quadratic function written in general form as y=x2+4x+3y=x^2+4x+3. In this form, a=1a=1, b=4b=4, and c=3c=3. Because a>0a>0, the parabola opens upward. The axis of symmetry is x=42(1)=2x=-\tfrac{4}{2(1)}=-2. This also makes sense because we can see from the graph that the vertical line x=2x=-2 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, (2,1)(-2,-1). The xx-intercepts, those points where the parabola crosses the xx-axis, occur at (3,0)(-3,0) and (1,0)(-1,0).

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

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

where (h,k)(h,k) 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.

As with the general form, if a>0a>0, the parabola opens upward and the vertex is a minimum. If a<0a<0, the parabola opens downward, and the vertex is a maximum. The graph below is the quadratic function written in standard form as y=3(x+2)2+4y=-3(x+2)^2+4. Since xh=x+2x-h=x+2 in this example, h=2h=-2. In this form, a=3a=-3, h=2h=-2, and k=4k=4. Because a<0a<0, the parabola opens downward. The vertex is at (2,4)(-2,4).

The standard form is useful for determining how the graph is transformed from the graph of y=x2y=x^2. The graph below is that basic function.

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

a(xh)2+k=ax2+bx+cax22ahx+(ah2+k)=ax2+bx+c \begin{array}{lrcl} & a(x-h)^2+k &=& ax^2+bx+c \\[4pt] & ax^2-2ahx+(ah^2+k) &=& ax^2+bx+c \end{array}

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

2ah=b, so h=b2a-2ah=b,\ \text{so}\ h=-\tfrac{b}{2a}

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

ah2+k=ck=cah2=ca(b2a)2=cb24a \begin{array}{lrcl} & ah^2+k &=& c \\[4pt] & k &=& c-ah^2 \\[4pt] & &=& c-a\left(-\tfrac{b}{2a}\right)^2 \\[4pt] & &=& c-\tfrac{b^2}{4a} \end{array}

In practice, though, it is usually easier to remember that kk is the output value of the function when the input is hh, so f(h)=kf(h)=k.

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 f(x)=ax2+bx+cf(x)=ax^2+bx+c where aa, bb, and cc are real numbers and a0a\ne0.

The standard form of a quadratic function is f(x)=a(xh)2+kf(x)=a(x-h)^2+k.

The vertex (h,k)(h,k) is located at

h=b2a,k=f(h)=f ⁣(b2a)h=-\tfrac{b}{2a},\quad k=f(h)=f\!\left(\tfrac{-b}{2a}\right)

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 hh. Identify the vertical shift of the parabola; this value is kk.
  2. Substitute the values of the horizontal and vertical shift for hh and kk in the function f(x)=a(xh)2+kf(x)=a(x-h)^2+k.
  3. Substitute the values of any point, other than the vertex, on the graph of the parabola for xx and f(x)f(x).
  4. Solve for the stretch factor, a|a|.
  5. If the parabola opens up, a>0a>0. If the parabola opens down, a<0a<0 since this means the graph was reflected about the xx-axis.
  6. Expand and simplify to write in general form.

Example. Write an equation for the quadratic function gg shown below as a transformation of f(x)=x2f(x)=x^2, and then expand the formula, and simplify terms to write the equation in general form.

Solution. We can see the graph of gg is the graph of f(x)=x2f(x)=x^2 shifted to the left 2 and down 3, giving a formula in the form g(x)=a(x+2)23g(x)=a(x+2)^2-3.

Substituting the coordinates of a point on the curve, such as (0,1)(0,-1), we can solve for the stretch factor.

1=a(0+2)232=4aa=12 \begin{array}{lrcl} & -1 &=& a(0+2)^2-3 \\[4pt] & 2 &=& 4a \\[4pt] & a &=& \tfrac{1}{2} \end{array}

In standard form, the algebraic model for this graph is g(x)=12(x+2)23g(x)=\tfrac{1}{2}(x+2)^2-3.

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

g(x)=12(x+2)23=12(x+2)(x+2)3=12(x2+4x+4)3=12x2+2x+23=12x2+2x1 \begin{array}{lrcl} & g(x) &=& \tfrac{1}{2}(x+2)^2-3 \\[4pt] & &=& \tfrac{1}{2}(x+2)(x+2)-3 \\[4pt] & &=& \tfrac{1}{2}(x^2+4x+4)-3 \\[4pt] & &=& \tfrac{1}{2}x^2+2x+2-3 \\[4pt] & &=& \tfrac{1}{2}x^2+2x-1 \end{array}

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. We can check our work using the table feature on a graphing utility. First enter Y1=12(x+2)23\text{Y1}=\tfrac{1}{2}(x+2)^2-3. Next, select TBLSET\text{TBLSET}, then use TblStart=6\text{TblStart}=-6 and ΔTbl=2\Delta\text{Tbl}=2, and select TABLE\text{TABLE}.

xx6-64-42-20022
yy551-13-31-155

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

A coordinate grid can be superimposed over the quadratic path of a basketball, with the shooter releasing the ball at the origin. Assume the point (4,7)(-4,7) is the highest point of the basketball’s trajectory, and that the hoop sits 4 feet high at the horizontal position x=7.5x=-7.5.

Find an equation for the path of the basketball, in standard (vertex) form.

Using that equation, does the shooter make the basket?

How to: given a quadratic function in general form, find the vertex of the parabola.

  1. Identify aa, bb, and cc.
  2. Find hh, the xx-coordinate of the vertex, by substituting aa and bb into h=b2ah=-\tfrac{b}{2a}.
  3. Find kk, the yy-coordinate of the vertex, by evaluating k=f(h)=f ⁣(b2a)k=f(h)=f\!\left(-\tfrac{b}{2a}\right).

Example. Find the vertex of the quadratic function f(x)=2x26x+7f(x)=2x^2-6x+7. Rewrite the quadratic in standard form (vertex form).

Solution. The horizontal coordinate of the vertex will be at

h=b2a=62(2)=64=32 \begin{array}{lrcl} & h &=& -\tfrac{b}{2a} \\[4pt] & &=& -\tfrac{-6}{2(2)} \\[4pt] & &=& \tfrac{6}{4} \\[4pt] & &=& \tfrac{3}{2} \end{array}

The vertical coordinate of the vertex will be at

k=f(h)=f ⁣(32)=2(32)26(32)+7=52 \begin{array}{lrcl} & k &=& f(h) \\[4pt] & &=& f\!\left(\tfrac{3}{2}\right) \\[4pt] & &=& 2\left(\tfrac{3}{2}\right)^2-6\left(\tfrac{3}{2}\right)+7 \\[4pt] & &=& \tfrac{5}{2} \end{array}

Rewriting into standard form, the stretch factor will be the same as the aa in the original quadratic.

f(x)=ax2+bx+cf(x)=2x26x+7 \begin{array}{lrcl} & f(x) &=& ax^2+bx+c \\[4pt] & f(x) &=& 2x^2-6x+7 \end{array}

Using the vertex to determine the shifts,

f(x)=2(x32)2+52f(x)=2\left(x-\tfrac{3}{2}\right)^2+\tfrac{5}{2}

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

Which of these isg(x)=13+x26xg(x)=13+x^2-6xwritten in general form?

Given the equationg(x)=13+x26xg(x)=13+x^2-6x, write the equation in standard (vertex) 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 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 yy-values greater than or equal to the yy-coordinate at the turning point or less than or equal to the yy-coordinate at the turning point, depending on whether the parabola opens up or down.

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 f(x)=ax2+bx+cf(x)=ax^2+bx+c with a positive aa value is f(x)f ⁣(b2a)f(x)\ge f\!\left(-\tfrac{b}{2a}\right), or [f ⁣(b2a),)\left[f\!\left(-\tfrac{b}{2a}\right),\infty\right).

The range of a quadratic function written in general form with a negative aa value is f(x)f ⁣(b2a)f(x)\le f\!\left(-\tfrac{b}{2a}\right), or (,f ⁣(b2a)]\left(-\infty,f\!\left(-\tfrac{b}{2a}\right)\right].

The range of a quadratic function written in standard form f(x)=a(xh)2+kf(x)=a(x-h)^2+k with a positive aa value is f(x)kf(x)\ge k; the range of a quadratic function written in standard form with a negative aa value is f(x)kf(x)\le k.

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 aa is positive or negative. If aa is positive, the parabola has a minimum. If aa is negative, the parabola has a maximum.
  3. Determine the maximum or minimum value of the parabola, kk.
  4. If the parabola has a minimum, the range is given by f(x)kf(x)\ge k, or [k,)[k,\infty). If the parabola has a maximum, the range is given by f(x)kf(x)\le k, or (,k](-\infty,k].

Example. Find the domain and range of f(x)=5x2+9x1f(x)=-5x^2+9x-1.

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

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

h=b2a=92(5)=910 \begin{array}{lrcl} & h &=& -\tfrac{b}{2a} \\[4pt] & &=& -\tfrac{9}{2(-5)} \\[4pt] & &=& \tfrac{9}{10} \end{array}

The maximum value is given by f(h)f(h).

f ⁣(910)=5(910)2+9(910)1=6120 \begin{array}{lrcl} & f\!\left(\tfrac{9}{10}\right) &=& -5\left(\tfrac{9}{10}\right)^2+9\left(\tfrac{9}{10}\right)-1 \\[4pt] & &=& \tfrac{61}{20} \end{array}

The range is f(x)6120f(x)\le\tfrac{61}{20}, or (,6120]\left(-\infty,\tfrac{61}{20}\right].

Find the range off(x)=2(x47)2+811f(x)=2\left(x-\tfrac{4}{7}\right)^2+\tfrac{8}{11}.

Determining the maximum and minimum values of quadratic functions

The output of the quadratic function at the vertex is the maximum or minimum value of the function, depending on the orientation of the parabola. We can see the maximum and minimum values in the two graphs below.

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.

Example. 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 LL.
  2. What dimensions should she make her garden to maximize the enclosed area?

Solution. Let’s use a diagram such as the one below to record the given information. It is also helpful to introduce a temporary variable, WW, 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 L+W+L=80L+W+L=80, or more simply, 2L+W=802L+W=80. This allows us to represent the width, WW, in terms of LL.

    W=802LW=80-2L

    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

    A=LW=L(802L)A(L)=80L2L2 \begin{array}{rclcl} A &=& LW &=& L(80-2L) \\[4pt] A(L) &=& 80L-2L^2 && \end{array}

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

    A(L)=2L2+80LA(L)=-2L^2+80L
  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 aa is the coefficient of the squared term, a=2a=-2, b=80b=80, and c=0c=0.

    To find the vertex:

    h=802(2)=20 \begin{array}{lrcl} & h &=& -\tfrac{80}{2(-2)} \\[4pt] & &=& 20 \end{array}

    and

    k=A(20)=80(20)2(20)2=800 \begin{array}{lrcl} & k &=& A(20) \\[4pt] & &=& 80(20)-2(20)^2 \\[4pt] & &=& 800 \end{array}

    The maximum value of the function is an area of 800 square feet, which occurs when L=20L=20 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. This problem also could be solved by graphing the quadratic function. We can see where the maximum area occurs on the graph below.

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 yy-value of the vertex.

Example. 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, pp for price per subscription and QQ for quantity, giving us the equation Revenue=pQ\text{Revenue}=pQ.

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

m=79,00084,0003230=5,0002=2,500 \begin{array}{lrcl} & m &=& \tfrac{79{,}000-84{,}000}{32-30} \\[4pt] & &=& \tfrac{-5{,}000}{2} \\[4pt] & &=& -2{,}500 \end{array}

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

Substitute in the point Q=84,000 and p=30.Q=2,500p+bSolve for b.84,000=2,500(30)+bb=159,000 \begin{array}{lrcl} \text{Substitute in the point } Q=84{,}000 \text{ and } p=30. & Q &=& -2{,}500p+b \\[4pt] \text{Solve for } b. & 84{,}000 &=& -2{,}500(30)+b \\[4pt] & b &=& 159{,}000 \end{array}

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

Revenue=pQRevenue=p(2,500p+159,000)Revenue=2,500p2+159,000p \begin{array}{lrcl} & \text{Revenue} &=& pQ \\[4pt] & \text{Revenue} &=& p(-2{,}500p+159{,}000) \\[4pt] & \text{Revenue} &=& -2{,}500p^2+159{,}000p \end{array}

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.

h=159,0002(2,500)=31.8 \begin{array}{lrcl} & h &=& -\tfrac{159{,}000}{2(-2{,}500)} \\[4pt] & &=& 31.8 \end{array}

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.

maximum revenue=2,500(31.8)2+159,000(31.8)=2,528,100 \begin{array}{lrcl} & \text{maximum revenue} &=& -2{,}500(31.8)^2+159{,}000(31.8) \\[4pt] & &=& 2{,}528{,}100 \end{array}

Analysis. This could also be solved by graphing the quadratic, below. We can see the maximum revenue on the graph of the quadratic function.

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 yy-intercept of a quadratic by evaluating the function at an input of zero, and we find the xx-intercepts at locations where the output is zero. Notice below that the number of xx-intercepts can vary depending upon the location of the graph.

How to: given a quadratic function f(x)f(x), find the yy- and xx-intercepts.

  1. Evaluate f(0)f(0) to find the yy-intercept.
  2. Solve the quadratic equation f(x)=0f(x)=0 to find the xx-intercepts.

Example. Find the yy- and xx-intercepts of the quadratic f(x)=3x2+5x2f(x)=3x^2+5x-2.

Solution. We find the yy-intercept by evaluating f(0)f(0).

f(0)=3(0)2+5(0)2=2 \begin{array}{lrcl} & f(0) &=& 3(0)^2+5(0)-2 \\[4pt] & &=& -2 \end{array}

So the yy-intercept is at (0,2)(0,-2).

For the xx-intercepts, we find all solutions of f(x)=0f(x)=0.

0=3x2+5x20=3x^2+5x-2

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

0=(3x1)(x+2)0=(3x-1)(x+2)0=3x1x=13or0=x+2x=2 \begin{array}{lrcl} & 0 &=& 3x-1 \\[4pt] & x &=& \tfrac{1}{3} \end{array} \qquad\text{or}\qquad \begin{array}{lrcl} & 0 &=& x+2 \\[4pt] & x &=& -2 \end{array}

So the xx-intercepts are at (13,0)\left(\tfrac{1}{3},0\right) and (2,0)(-2,0).

Analysis. By graphing the function, we can confirm that the graph crosses the yy-axis at (0,2)(0,-2). We can also confirm that the graph crosses the xx-axis at (13,0)\left(\tfrac{1}{3},0\right) and (2,0)(-2,0). See the graph below.

Rewriting quadratics in standard form

In the example above, 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 xx-intercepts by rewriting in standard form.

  1. Substitute aa and bb into h=b2ah=-\tfrac{b}{2a}.
  2. Substitute x=hx=h into the general form of the quadratic function to find kk.
  3. Rewrite the quadratic in standard form using hh and kk.
  4. Solve for when the output of the function will be zero to find the xx-intercepts.

Example. Find the xx-intercepts of the quadratic function f(x)=2x2+4x4f(x)=2x^2+4x-4.

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

0=2x2+4x40=2x^2+4x-4

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

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

We know that a=2a=2. Then we solve for hh and kk.

h=b2a=42(2)=1k=f(1)=2(1)2+4(1)4=6 \begin{array}{lrcl} & h &=& -\tfrac{b}{2a} \\[4pt] & &=& -\tfrac{4}{2(2)} \\[4pt] & &=& -1 \end{array} \qquad\qquad \begin{array}{lrcl} & k &=& f(-1) \\[4pt] & &=& 2(-1)^2+4(-1)-4 \\[4pt] & &=& -6 \end{array}

So now we can rewrite in standard form.

f(x)=2(x+1)26f(x)=2(x+1)^2-6

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

0=2(x+1)266=2(x+1)23=(x+1)2x+1=±3x=1±3 \begin{array}{lrcl} & 0 &=& 2(x+1)^2-6 \\[4pt] & 6 &=& 2(x+1)^2 \\[4pt] & 3 &=& (x+1)^2 \\[4pt] & x+1 &=& \pm\sqrt{3} \\[4pt] & x &=& -1\pm\sqrt{3} \end{array}

The graph has xx-intercepts at (13,0)(-1-\sqrt{3},0) and (1+3,0)(-1+\sqrt{3},0).

Analysis. We can check our work by graphing the given function on a graphing utility and observing the xx-intercepts, shown below.

Earlier, we found the standard and general form for the functiong(x)=13+x26xg(x)=13+x^2-6x. Now find its y-intercept. Enter your answer as an ordered pair.

How many real x-intercepts does that same parabola,g(x)=x26x+13g(x)=x^2-6x+13, have?

Example. Solve x2+x+2=0x^2+x+2=0.

Solution. Let’s begin by writing the quadratic formula: x=b±b24ac2ax=\tfrac{-b\pm\sqrt{b^2-4ac}}{2a}.

When applying the quadratic formula, we identify the coefficients aa, bb, and cc. For the equation x2+x+2=0x^2+x+2=0, we have a=1a=1, b=1b=1, and c=2c=2. Substituting these values into the formula we have:

x=b±b24ac2a=1±1241(2)21=1±182=1±72=1±i72 \begin{array}{lrcl} & x &=& \tfrac{-b\pm\sqrt{b^2-4ac}}{2a} \\[4pt] & &=& \tfrac{-1\pm\sqrt{1^2-4\cdot1\cdot(2)}}{2\cdot1} \\[4pt] & &=& \tfrac{-1\pm\sqrt{1-8}}{2} \\[4pt] & &=& \tfrac{-1\pm\sqrt{-7}}{2} \\[4pt] & &=& \tfrac{-1\pm i\sqrt{7}}{2} \end{array}

The solutions to the equation are 1+i72\tfrac{-1+i\sqrt{7}}{2} and 1i72\tfrac{-1-i\sqrt{7}}{2}, or 12+72i-\tfrac{1}{2}+\tfrac{\sqrt{7}}{2}i and 1272i-\tfrac{1}{2}-\tfrac{\sqrt{7}}{2}i.

Example. 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 H(t)=16t2+80t+40H(t)=-16t^2+80t+40.

  1. When does the ball reach the maximum height?
  2. What is the maximum height of the ball?
  3. When does the ball hit the ground?

Solution.

  1. The ball reaches the maximum height at the vertex of the parabola.

    h=802(16)=8032=52=2.5 \begin{array}{lrcl} & h &=& -\tfrac{80}{2(-16)} \\[4pt] & &=& \tfrac{80}{32} \\[4pt] & &=& \tfrac{5}{2} \\[4pt] & &=& 2.5 \end{array}

    The ball reaches a maximum height after 2.5 seconds.

  2. To find the maximum height, find the yy-coordinate of the vertex of the parabola.

    k=H ⁣(b2a)=H(2.5)=16(2.5)2+80(2.5)+40=140 \begin{array}{lrcl} & k &=& H\!\left(-\tfrac{b}{2a}\right) \\[4pt] & &=& H(2.5) \\[4pt] & &=& -16(2.5)^2+80(2.5)+40 \\[4pt] & &=& 140 \end{array}

    The ball reaches a maximum height of 140 feet.

  3. To find when the ball hits the ground, we need to determine when the height is zero, H(t)=0H(t)=0.

    We use the quadratic formula.

    t=80±8024(16)(40)2(16)=80±8,96032 \begin{array}{lrcl} & t &=& \tfrac{-80\pm\sqrt{80^2-4(-16)(40)}}{2(-16)} \\[4pt] & &=& \tfrac{-80\pm\sqrt{8{,}960}}{-32} \end{array}

    Because the square root does not simplify nicely, we can use a calculator to approximate the values of the solutions.

    t=808,960325.458ort=80+8,960320.458 t=\tfrac{-80-\sqrt{8{,}960}}{-32}\approx5.458 \qquad\text{or}\qquad t=\tfrac{-80+\sqrt{8{,}960}}{-32}\approx-0.458

    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. See the graph below.

Source note. OpenStax’s printed Figure 16 here (module m49337) labels the vertical axis “tt” and plots the height values 5050, 100100, 150150 on it, and labels the horizontal axis “HH” and plots the time values 11 through 66 on it — the reverse of the function H(t)H(t) it illustrates — and carries a stray “(x(x from 1-1 to 6)6)” annotation left over from a different window setting. Since H(t)H(t) is height as a function of time, time belongs on the horizontal axis and height on the vertical axis. This page draws the axes the right way around, time on the horizontal axis and height on the vertical axis, and drops the stray annotation; the mathematics is unchanged.

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 the ocean can be modeled byH(t)=16t2+96t+112H(t)=-16t^2+96t+112. When does the rock reach its maximum height, in seconds?

What is the maximum height of that same rock, in feet?

When does that same rock hit the ocean, in seconds?

Key equations

general form of a quadratic functionf(x)=ax2+bx+cf(x)=ax^2+bx+c
the quadratic formulax=b±b24ac2ax=\tfrac{-b\pm\sqrt{b^2-4ac}}{2a}
standard form of a quadratic functionf(x)=a(xh)2+kf(x)=a(x-h)^2+k

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 xx-intercepts, are the points at which the parabola crosses the xx-axis. The yy-intercept is the point at which the parabola crosses the yy-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 yy-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.

Practice

Recognize characteristics of parabolas

Sketch the graph off(x)=x22xf(x)=x^2-2x.

What is the vertex of that same parabola,f(x)=x22xf(x)=x^2-2x? Enter your answer as an ordered pair.

What is the axis of symmetry of that same parabola,f(x)=x22xf(x)=x^2-2x?

What is the vertex off(x)=x25x6f(x)=x^2-5x-6? Enter your answer as an ordered pair.

What is the axis of symmetry of that same parabola,f(x)=x25x6f(x)=x^2-5x-6?

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

Rewriteg(x)=x2+2x3g(x)=x^2+2x-3in standard (vertex) form.

Rewritef(x)=3x25x1f(x)=3x^2-5x-1in standard (vertex) form.

Write the general form of the equation for the parabola graphed below.

Write the general form of the equation for the parabola graphed below.

Determine a quadratic function’s minimum or maximum value

Find the minimum value off(x)=2x210x+4f(x)=2x^2-10x+4.

What is the axis of symmetry of that same parabola,f(x)=2x210x+4f(x)=2x^2-10x+4?

Find the minimum value off(x)=4x2+x1f(x)=4x^2+x-1.

Find the range off(x)=(x3)2+2f(x)=(x-3)^2+2. Write your answer in interval notation.

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

A backyard farmer wants to enclose a rectangular corral using 200 feet of fencing on all four sides.

What side length, in feet, produces the greatest enclosed area?

Using that same 200 feet of fencing, what is the greatest enclosed area, in square feet?

A soccer stadium holds 62,000 spectators. With a ticket price of $11, average attendance has been 26,000. When the price dropped to $9, average attendance rose to 31,000. Assuming attendance is linearly related to ticket price, what ticket price would maximize revenue?

A rocket is launched in the air. Its height, in meters above sea level, as a function of time, in seconds, is given byh(t)=4.9t2+229t+234h(t)=-4.9t^2+229t+234. Find the maximum height the rocket attains, in meters, rounded to two decimal places.

Among all pairs of numbers whose difference is 12, find the pair with the smallest product. Enter both numbers, separated by a comma.

What is that smallest product?


This section is adapted from Precalculus 2e, Section 3.2: Quadratic Functions by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated every graph as an accessible inline SVG generated from its exact equation — the labeled-features schematic parabola y=x22x3y=x^2-2x-3; the vertex/no-x-intercept parabola y=23(x3)2+1y=\tfrac{2}{3}(x-3)^2+1 of Example 1; the general-form parabola y=x2+4x+3y=x^2+4x+3; the standard-form parabola y=3(x+2)2+4y=-3(x+2)^2+4; the basic parabola y=x2y=x^2; the graph-transformation parabola g(x)=12(x+2)23g(x)=\tfrac{1}{2}(x+2)^2-3; the two minimum/maximum panels f(x)=(x2)2+1f(x)=(x-2)^2+1 and g(x)=(x+3)2+4g(x)=-(x+3)^2+4; the area function A(L)=2L2+80LA(L)=-2L^2+80L; the revenue function, scaled to thousands of dollars, 2.5p2+159p-2.5p^2+159p; the three no/one/two-xx-intercept panels; the yy-/xx-intercept parabola f(x)=3x2+5x2f(x)=3x^2+5x-2; the standard-form parabola f(x)=2x2+4x4f(x)=2x^2+4x-4 with its irrational intercepts; the corrected height-vs-time parabola H(t)=16t2+80t+40H(t)=-16t^2+80t+40; and the two Practice graph-reading items f(x)=x24x+1f(x)=x^2-4x+1 and f(x)=2x2+8x1f(x)=-2x^2+8x-1; recreated the garden diagram as a labeled rectangle-in-rectangle figure; presented the table-feature check in Example 2 as a Markdown table; omitted the decorative satellite-dish photograph, which carries no mathematics, and reworded the opening sentence that pointed at it; omitted the section’s four Media links to external graphing-calculator resources; converted the basketball Try It’s photograph-with-grid-overlay into a recreated graph, stating in the question the release point, vertex, and the hoop’s location and height that the source conveyed only through the image; converted the practice problems (“Try Its”) into interactive exercises with instant feedback — a fillin plus multiple choice for the basketball path and shot outcome, a multiple choice among competing writings plus a fillin for the rewritten-in-standard-form Try It (its general-form half is a bare reordering of an already-expanded printed expression, so no answerForm token restricts term order and a retyped printed span would grade correct; a multiple choice among the general, standard, and mis-ordered forms grades the shape instead), a fillin for the domain-and-range Try It, a fillin plus multiple choice for the yy-intercept and xx-intercept count of the rewritten function, and three fillins for the falling-rock application; split each of the two “sketch a graph and give the vertex, axis of symmetry, and intercepts” Practice items into a graphing or fillin component per requested quantity; and adapted thirteen selected end-of-section exercises — two vertex/axis-of-symmetry rewrites, two graph-reading equations, two minimum-value/axis-of-symmetry evaluations, a range evaluation, and four real-world optimization problems (a four-sided corral, a ticket-revenue maximization, a rocket’s maximum height, and a smallest-product pair) — into nineteen interactive components in a closing Practice block, one group per objective. One upstream figure defect is corrected here: the pinned CNXML’s Figure 16 (module m49337) prints its vertical axis labeled “tt” carrying the height values (50, 100, 150) and its horizontal axis labeled “HH” carrying the time values (1 through 6), the reverse of the function H(t)H(t) it illustrates, alongside a stray “(x(x from 1-1 to 6)6)” annotation left over from a different window setting; this page draws the corrected axes, time on the horizontal axis and height on the vertical axis, over the function’s own domain, and carries a visible source note beside the corrected figure disclosing the correction in addition to this footer.