Skip to main content
\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)
Mathematics LibreTexts

3.2: Quadratic Functions

Satellite dishes.

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

Curved antennas, such as the ones shown in Figure 3.2.1, 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 in Figure 3.2.2.

Figure 3.2.2: Graph of a parabola showing where the \(x\) and \(y\) intercepts, vertex, and axis of symmetry are.

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 \(y=0\).

Example 3.2.1: Identifying the Characteristics of a Parabola

Determine the vertex, axis of symmetry, zeros, and y-intercept of the parabola shown in Figure 3.2.3.

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

Figure 3.2.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 \(x=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.

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)=ax^2+bx+c\]

where \(a\), \(b\), and \(c\) are real numbers and \(a{\neq}0\). If \(a>0\), the parabola opens upward. If \(a<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=−\dfrac{b}{2a}\). If we use the quadratic formula, \(x=\dfrac{−b{\pm}\sqrt{b2−4ac}}{2a}\), to solve \(ax^2+bx+c=0\) for the x-intercepts, or zeros, we find the value of \(x\) halfway between them is always \(x=−\dfrac{b}{2a}\), the equation for the axis of symmetry.

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

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 3.2.4: 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

\(f(x)=a(x−h)^2+k\)

where \((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>0\), the parabola opens upward and the vertex is a minimum. If \(a<0\), the parabola opens downward, and the vertex is a maximum. Figure 3.2.5 represents the graph of the quadratic function written in standard form as \(y=−3(x+2)^2+4\). Since \(x–h=x+2\) in this example, \(h=–2\). In this form, \(a=−3\), \(h=−2\), and \(k=4\). Because \(a<0\), the parabola opens downward. The vertex is at \((−2, 4)\).

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 3.2.5: 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\).

The standard form is useful for determining how the graph is transformed from the graph of \(y=x^2\). Figure 3.2.6 is the graph of this basic function.

Graph of y=x^2.

Figure 3.2.6: Graph of \(y=x^2\).

If \(k>0\), the graph shifts upward, whereas if \(k<0\), the graph shifts downward. In Figure 3.2.5, \(k>0\), so the graph is shifted 4 units upward. If \(h>0\), the graph shifts toward the right and if \(h<0\), the graph shifts to the left. In Figure 3.2.6, \(h<0\), so the graph is shifted 2 units to the left. The magnitude of a indicates the stretch of the graph. If \(|a|>1\), 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 \(|a|<1\), 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 3.2.5, \(|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(x−h)^2+k=ax^2+bx+c \\ ax^2−2ahx+(ah^2+k)=ax^2+bx+c\]

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

\[–2ah=b \text{, so } h=−\dfrac{b}{2a}.\]

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

\[\begin{align} ah^2+k&=c \\ k&=c−ah^2 \\ &=c−a−\Big(\dfrac{b}{2a}\Big)^2 \\ &=c−\dfrac{b^2}{4a}  \end{align}\]

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

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 \(f(x)=ax^2+bx+c\) where \(a\), \(b\), and \(c\) are real numbers and \(a{\neq}0\).

The standard form of a quadratic function is \(f(x)=a(x−h)^2+k\).

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

\[h=–b2a,\;k=f(h)=f(−b2a)\].

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

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

Write an equation for the quadratic function \(g\) in Figure 3.2.7 as a transformation of \(f(x)=x^2\), and then expand the formula, and simplify terms to write the equation in general form.

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

Solution

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

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

\[\begin{align} −1&=a(0+2)^2−3 \\ 2&=4a \\ a&=\dfrac{1}{2}  \end{align}\]

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

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

\[\begin{align} g(x)&=\dfrac{1}{2}(x+2)^2−3 \\ &=\dfrac{1}{2}(x+2)(x+2)−3 \\  &=\dfrac{1}{2}(x^2+4x+4)−3 \\ &=\dfrac{1}{2}x^2+2x+2−3 \\ &=\dfrac{1}{2}x^2+2x−1 \end{align}\]

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=\dfrac{1}{2}(x+2)^2−3\). Next, select TBLSET, then use \(TblStart=–6\) and \(ΔTbl = 2\), and select TABLE. See Table 3.2.1.

\(x\)

-6 -4 -2 0 2
\(y\) -5 -1 -3 -1 5

Table 3.2.1

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

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

Figure 3.2.8: 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)

Solution

The path passes through the origin and has vertex at \((−4, 7)\), so \((h)x=–\dfrac{7}{16}(x+4)^2+7\). To make the shot, \(h(−7.5)\) would need to be about 4 but \(h(–7.5){\approx}1.64\); he doesn’t make it.

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

  1. Identify \(a\), \(b\), and \(c\).
  2. Find \(h\), the x-coordinate of the vertex, by substituting \(a\) and \(b\) into \(h=–\dfrac{b}{2a}\).
  3. Find \(k\), the y-coordinate of the vertex, by evaluating \(k=f(h)=f\Big(−\dfrac{b}{2a}\Big)\).

Example 3.2.3: Finding the Vertex of a Quadratic Function

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

Solution

The horizontal coordinate of the vertex will be at

\[\begin{align} h&=–\dfrac{b}{2a} \\ &=-\dfrac{-6}{2(2)} \\ &=\dfrac{6}{4} \\ &=\dfrac{3}{2}\end{align}\]

The vertical coordinate of the vertex will be at

\[\begin{align} k&=f(h) \\ &=f\Big(\dfrac{3}{2}\Big)  \\ &=2\Big(\dfrac{3}{2}\Big)^2−6\Big(\dfrac{3}{2}\Big)+7 \\ &=\dfrac{5}{2} \end{align}\]

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

\[f(x)=ax^2+bx+c \\ f(x)=2x^2−6x+7\]

Using the vertex to determine the shifts,

\[f(x)=2\Big(x–\dfrac{3}{2}\Big)^2+\dfrac{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)\),and where it occurs, \((x)\).

3.2.1: Given the equation \(g(x)=13+x^2−6x\), write the equation in general form and then in standard form.

Solution

\(g(x)=x^2−6x+13\) in general form; \(g(x)=(x−3)^2+4\) 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 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.

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 \(f(x)=ax^2+bx+c\) with a positive \(a\) value is \(f(x){\geq}f\Big(−\dfrac{b}{2a}\Big)\), or \(\left\Big[f(−\dfrac{b}{2a}),\infty\right\Big)\); the range of a quadratic function written in general form with a negative a value is \(f(x){\leq}f\Big(−\dfrac{b}{2a}\Big)\), or \(\left\Big(−\infty,f(−b2a)\right\Big]\).

The range of a quadratic function written in standard form \(f(x)=a(x−h)^2+k\) with a positive a value is \(f(x){\geq}k;\) the range of a quadratic function written in standard form with a negative a value is \(f(x){\geq}k\).

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 \(f(x){\geq}k\), or \(\left[k,\infty\right)\). If the parabola has a maximum, the range is given by \(f(x){\leq}k\), or \(\left(−\infty,k\right]\).

Example 3.2.4: Finding the Domain and Range of a Quadratic Function

Find the domain and range of \(f(x)=−5x^2+9x−1\).

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.

\[\begin{align} h&=−\dfrac{b}{2a} \\ &=−\dfrac{9}{2(-5)} \\ &=\dfrac{9}{10} \end{align}\]

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

\[\begin{align} f(\dfrac{9}{10})&=5(\dfrac{9}{10})^2+9(\dfrac{9}{10})-1 \\&= \dfrac{61}{20}\end{align}\]

The range is \(f(x){\leq}\dfrac{61}{20}\), or \(\left(−\infty,\dfrac{61}{20}\right]\).

3.2.2:  Find the domain and range of \(f(x)=2\Big(x−\dfrac{4}{7}\Big)^2+\dfrac{8}{11}\).

Solution

The domain is all real numbers. The range is \(f(x){\geq}\dfrac{8}{11}\), or \(\left[\dfrac{8}{11},\infty\right)\).

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 Figure 3.2.9.

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 3.2.9: Minimum and maximum of two quadratic functions.

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 3.2.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

Let’s use a diagram such as Figure 3.2.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.

Diagram of the garden and the backyard.

Figure 3.2.10: Diagram of the garden and the backyard.

a. We know we have only 80 feet of fence available, and \(L+W+L=80\), or more simply, \(2L+W=80\). This allows us to represent the width, \(W\), in terms of \(L\).

\[W=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

\[\begin{align} A&=LW=L(80−2L) \\ A(L)&=80L−2L^2 \end{align}\]

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

\[A(L)=−2L^2+80L\].

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, \(a=−2\), \(b=80\), and \(c=0\).

To find the vertex:

\[\begin{align} h&=−\dfrac{80}{2(−2)} & k&=A(20)  \\ &=20 &\text{and}&  &=80(20)−2(20)^2 \\ &&&=800  \end{align}\]

The maximum value of the function is an area of 800 square feet, which occurs when \(L=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 a graph of the quadratic function in Figure 3.2.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 3.2.11: Graph of the parabolic function \(A(L)=-2L^2+80L\)

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 3.2.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 \(\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=30\) and \(Q=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=32\) and \(Q=79,000\). From this we can find a linear equation relating the two quantities. The slope will be

\[\begin{align} m&=\dfrac{79,000−84,000}{32−30} \\ &=−\dfrac{5,000}{2} \\ &=−2,500 \end{align}\]

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.

    \[\begin{align} Q&=−2500p+b &\text{Substitute in the point $Q=84,000$ and $p=30$} \\ 84,000&=−2500(30)+b &\text{Solve for $b$} \\ b&=159,000  \end{align}\]

This gives us the linear equation \(Q=−2,500p+159,000\) relating cost and subscribers. We now return to our revenue equation.

\[\begin{align} \text{Revenue}&=pQ \\ \text{Revenue}&=p(−2,500p+159,000) \\ \text{Revenue}&=−2,500p^2+159,000p \end{align}\]

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.

\[\begin{align} h&=−\dfrac{159,000}{2(−2,500)} \\ &=31.8 \end{align}\]

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.

\[\begin{align} \text{maximum revenue}&=−2,500(31.8)^2+159,000(31.8) \\  &=2,528,100 \end{align}\]

Analysis

This could also be solved by graphing the quadratic as in Figure 3.2.12. 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 3.2.12 Graph of the parabolic 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 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 in Figure 3.2.13 that the number of x-intercepts can vary depending upon the location of the graph.

<div data-mt-source="1"><p style="text-align: center;"><img class="internal" alt="" data-cke-saved-src="http://mathwiki.ucdavis.edu/@api/deki/files/1183/CNX_Precalc_Figure_03_02_013.jpg" src="http://mathwiki.ucdavis.edu/@api/deki/files/1183/CNX_Precalc_Figure_03_02_013.jpg" height="211" width="649"><br></p></div>

Figure 3.2.13: Number of x-intercepts of a parabola

Given a quadratic function \(f(x)\), find the y- and x-intercepts.

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

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

Find the y- and x-intercepts of the quadratic \(f(x)=3x^2+5x−2\).

Solution

We find the y-intercept by evaluating \(f(0)\).

\[\begin{align} f(0)&=3(0)2+5(0)−2 \\  &=−2 \end{align}\]

So the y-intercept is at \((0,−2)\).

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

\[0=3x^2+5x−2\]

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

\[0=(3x−1)(x+2)\]

\[\begin{align} 0&=3x−1 & 0&=x+2 \\ x&=13 &\text{or} x&=−2 \end{align}\]

So the x-intercepts are at \((13,0)\) and \((−2,0)\).

Analysis

By graphing the function, we can confirm that the graph crosses the y-axis at \((0,−2)\). We can also confirm that the graph crosses the x-axis at \(\Big(\dfrac{1}{3},0\Big)\) and \((−2,0)\). See Figure 3.2.14

Graph of a parabola which has the following intercepts (-2, 0), (1/3, 0), and (0, -2).

Figure 3.2.14: Graph of a parabola

Rewriting Quadratics in Standard Form

In Example 3.2.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.

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

  1. Substitute a and \(b\) into \(h=−b2a\).
  2. Substitute \(x=h\) 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 3.2.8: Finding the x-Intercepts of a Parabola

Find the x-intercepts of the quadratic function \(f(x)=2x^2+4x−4\).

Solution

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

\[0=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(x−h)^2+k\]

We know that \(a=2\). Then we solve for \(h\) and \(k\).

\[\begin{align} h&=−\dfrac{b}{2a} & k&=f(−1)  \\   &=−\dfrac{4}{2(2)} &  &=2(−1)^2+4(−1)−4 \\  &=−1  & &=−6  \end{align}\]

So now we can rewrite in standard form.

\[f(x)=2(x+1)^2−6\]

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

\[\begin{align} 0&=2(x+1)^2−6 \\ 6&=2(x+1)^2 \\ 3&=(x+1)^2 \\ x+1&={pm}\sqrt{3} \\ x&=−1{\pm}\sqrt{3}  \end{align}\]

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

Analysis

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

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

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

3.2.3: In Try It 3.2.1, we found the standard and general form for the function \(g(x)=13+x^2−6x\). Now find the y- and x-intercepts (if any).

Solution

y-intercept at \((0, 13)\), No x-intercepts

Example 3.2.9: Solving a Quadratic Equation with the Quadratic Formula

Solve \(x^2+x+2=0\).

Solution

Let’s begin by writing the quadratic formula: \(x=\dfrac{−b{\pm}\sqrt{b2−4ac}}{2a}\).

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

\[\begin{align} x&=\dfrac{−b{\pm}\sqrt{b2−4ac}}{2a} \\  &=\dfrac{−1{\pm}\sqrt{12−4⋅1⋅(2)}}{2⋅1} \\ &=\dfrac{−1{\pm}\sqrt{1−8}}{2} \\ &=\dfrac{−1{\pm}\sqrt{−7}}{2} \\ &=\dfrac{−1{\pm}i\sqrt{7}}{2} \end{align}\]

The solutions to the equation are \(x=\dfrac{−1+i\sqrt{7}}{2}\) and \(x=\dfrac{−1-i\sqrt{7}}{2}\) or \(x=−\dfrac{1}{2}+\dfrac{i\sqrt{7}}{2}\) and \(x=\dfrac{-1}{2}−\dfrac{i\sqrt{7}}{2}\).

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

When does the ball reach the maximum height?
What is the maximum height of the ball?
When does the ball hit the ground?

The ball reaches the maximum height at the vertex of the parabola.
\(h=−802(−16)\)  =8032  =52  =2.5

The ball reaches a maximum height after 2.5 seconds.

To find the maximum height, find the y-coordinate of the vertex of the parabola.
\(k=H(−b2a)\)  =H(2.5)  =−16(2.5)2+80(2.5)+40  =140

The ball reaches a maximum height of 140 feet.

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

We use the quadratic formula.

\(t=−80±√802−4(−16)(40)2(−16)\) =−80±√8960−32

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

\(t=−80−√8960−32≈5\).458ort=−80+√8960−32≈−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 Figure

[Graph of a negative parabola where \(x\) goes from -1 to 6.]

3.2.4: 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 \(H(t)=−16t2+96t+112\).

  1. When does the rock reach the maximum height?
  2. What is the maximum height of the rock?
  3. When does the rock hit the ocean?

Solution

a. 3 seconds b. 256 feet c. 7 seconds

Key Equations

  • general form of a quadratic function: \(f(x)=ax^2+bx+c\)
  • the quadratic formula: \(x=\dfrac{−b{\pm}\sqrt{b2−4ac}}{2a}\)
  • standard form of a quadratic function: \(f(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 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.

Section Exercises

Verbal

Explain the advantage of writing a quadratic function in standard form.

When written in that form, the vertex can be easily identified.

How can the vertex of a parabola be used in solving real world problems?

Explain why the condition of a≠0 is imposed in the definition of the quadratic function.

If \(a=0\) then the function becomes a linear function.

What is another name for the standard form of a quadratic function?

What two algebraic methods can be used to find the horizontal intercepts of a quadratic function?

If possible, we can use factoring. Otherwise, we can use the quadratic formula.

Algebraic

For the following exercises, rewrite the quadratic functions in standard form and give the vertex.

\(f(x)=x2−12x+32\)

\(g(x)=x2+2x−3\)

\(f(x)=(x+1)2−2\), Vertex (−1,−4)

\(f(x)=x2−x\)

\(f(x)=x2+5x−2\)

\(f(x)=(x+52)2−334\), Vertex (−52,−334)

\(h(x)=2x2+8x−10\)

\(k(x)=3x2−6x−9\)

\(f(x)=3(x−1)2−12\), Vertex (1,−12)

\(f(x)=2x2−6x\)

\(f(x)=3x2−5x−1\)

\(f(x)=3(x−56)2−3712\), Vertex (56,−3712)

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.

\(y(x)=2x2+10x+12\)

\(f(x)=2x2−10x+4\)

Minimum is −172 and occurs at 52. Axis of symmetry is \(x=52\).

\(f(x)=−x2+4x+3\)

\(f(x)=4x2+x−1\)

Minimum is −1716 and occurs at −18. Axis of symmetry is \(x=−18\).

\(h(t)=−4t2+6t−1\)

\(f(x)=12x2+3x+1\)

Minimum is −72 and occurs at −3. Axis of symmetry is \(x=−3\).

\(f(x)=−13x2−2x+3\)

For the following exercises, determine the domain and range of the quadratic function.

\(f(x)=(x−3)2+2\)

Domain is (−∞,∞). Range is [2,∞).

\(f(x)=−2(x+3)2−6\)

\(f(x)=x2+6x+4\)

Domain is (−∞,∞). Range is [−5,∞).

\(f(x)=2x2−4x+2\)

\(k(x)=3x2−6x−9\)

Domain is (−∞,∞). Range is [−12,∞).

For the following exercises, solve the equations over the complex numbers.

x2=−25

x2=−8

{2i√2,−2i√2}

x2+36=0

x2+27=0

{3i√3,−3i√3}

x2+2x+5=0

x2−4x+5=0

{2+i,2−i}

x2+8x+25=0

x2−4x+13=0

{2+3i,2−3i}

x2+6x+25=0

x2−10x+26=0

{5+i,5−i}

x2−6x+10=0

\(x(x−4)=20\)

{2+2√6, 2−2√6}

\(x(x−2)=10\)

2x2+2x+5=0

{−12+32i, −12−32i}

5x2−8x+5=0

5x2+6x+2=0

{−35+15i, −35−15i}

2x2−6x+5=0

x2+x+2=0

{−12+12i√7, −12−12i√7}

x2−2x+4=0

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.

(h,k)=(2,0),(x,y)=(4,4)

\(f(x)=x2−4x+4\)

(h,k)=(−2,−1),(x,y)=(−4,3)

(h,k)=(0,1),(x,y)=(2,5)

\(f(x)=x2+1\)

(h,k)=(2,3),(x,y)=(5,12)

(h,k)=(−5,3),(x,y)=(2,9)

\(f(x)=649x2+6049x+29749\)

(h,k)=(3,2),(x,y)=(10,1)

(h,k)=(0,1),(x,y)=(1,0)

\(f(x)=−x2+1\)

(h,k)=(1,0),(x,y)=(0,1)

Graphical

For the following exercises, sketch a graph of the quadratic function and give the vertex, axis of symmetry, and intercepts.

\(f(x)=x2−2x\)

[Graph of \(f(x)\) = x^2-2x]

Vertex(1, −1), Axis of symmetry is \(x=1\). Intercepts are (0,0), (2,0).

\(f(x)=x2−6x−1\)

\(f(x)=x2−5x−6\)

[Graph of \(f(x)x^2-5x-6]\)

Vertex (52,−494), Axis of symmetry is (0,−6),(−1,0),(6,0).

\(f(x)=x2−7x+3\)

\(f(x)=−2x2+5x−8\)

[Graph of \(f(x)=-2x^2+5x-8]\)

Vertex (54, −398), Axis of symmetry is \(x=54\). Intercepts are (0, −8).

\(f(x)=4x2−12x−3\)

[Graph of \(f(x)=4x^2-12x-3]\)

For the following exercises, write the equation for the graphed function.

[Graph of a positive parabola with a vertex at (2, -3) and y-intercept at (0, 1).]

\(f(x)=x2−4x+1\)

[Graph of a positive parabola with a vertex at (-1, 2) and y-intercept at (0, 3)]
[Graph of a negative parabola with a vertex at (2, 7).]

\(f(x)=−2x2+8x−1\)

[Graph of a negative parabola with a vertex at (-1, 2).]
[Graph of a positive parabola with a vertex at (3, -1) and y-intercept at (0, 3.5).]

\(f(x)=12x2−3x+72\)

[Graph of a negative parabola with a vertex at (-2, 3).]

Numeric

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.


\(x\) –2 –1 0 1 2
\(y\) 5 2 1 2 5

\(f(x)=x2+1\)

\(x\) –2 –1 0 1 2
\(y\) 1 0 1 4 9


\(x\) –2 –1 0 1 2
\(y\) –2 1 2 1 –2

\(f(x)=2−x2\)

\(x\) –2 –1 0 1 2
\(y\) –8 –3 0 1 0

\(x\) –2 –1 0 1 2
\(y\) 8 2 0 2 8

\(f(x)=2x2\)

Technology

For the following exercises, use a calculator to find the answer.

Graph on the same set of axes the functions \(f(x)=x2\),f(x)=2x2, and \(f(x)=13x2\).

What appears to be the effect of changing the coefficient?

Graph on the same set of axes \(f(x)=x2\),f(x)=x2+2 and \(f(x)=x2\),f(x)=x2+5 and \(f(x)=x2−3\). What appears to be the effect of adding a constant?

The graph is shifted up or down (a vertical shift).

Graph on the same set of axes \(f(x)=x2\),f(x)=(x−2)2,f(x−3)2, and \(f(x)=(x+4)2\).

What appears to be the effect of adding or subtracting those numbers?

The path of an object projected at a 45 degree angle with initial velocity of 80 feet per second is given by the function \(h(x)=−32(80)2x2+x\) where \(x\) is the horizontal distance traveled and \(h(x)\) 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.

50 feet

A suspension bridge can be modeled by the quadratic function \(h(x)=\).0001x2 with −2000≤x≤2000 where |x| is the number of feet from the center and \(h(x)\) 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.

Extensions

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.

Vertex (1,−2), opens up.

Domain is (−∞,∞). Range is [−2,∞).

Vertex (−1,2) opens down.

Vertex (−5,11), opens down.

Domain is (−∞,∞) Range is (−∞,11].

Vertex (−100,100), 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.

Contains \((1,1)\) and has shape of \(f(x)=2x2\). Vertex is on the y-axis.

\(f(x)=2x2−1\)

Contains (−1,4) and has the shape of \(f(x)=2x2\). Vertex is on the y-axis.

Contains \((2,3)\) and has the shape of \(f(x)=3x2\). Vertex is on the y-axis.

\(f(x)=3x2−9\)

Contains (1,−3) and has the shape of \(f(x)=−x2\). Vertex is on the y-axis.

Contains \((4,3)\) and has the shape of \(f(x)=5x2\). Vertex is on the y-axis.

\(f(x)=5x2−77\)

Contains (1,−6) has the shape of \(f(x)=3x2\). Vertex has x-coordinate of −1.

Real-World Applications

Find the dimensions of the rectangular corral producing the greatest enclosed area given 200 feet of fencing.

50 feet by 50 feet. Maximize \(f(x)=−x2+100x\).

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.

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.

125 feet by 62.5 feet. Maximize \(f(x)=−2x2+250x\).

Among all of the pairs of numbers whose sum is 6, find the pair with the largest product. What is the product?

Among all of the pairs of numbers whose difference is 12, find the pair with the smallest product. What is the product?

6 and −6; product is –36; maximize \(f(x)=x2+12x\).

Suppose that the price per unit in dollars of a cell phone production is modeled by \(p=$45−0\).0125x, where \(x\) is in thousands of phones produced, and the revenue represented by thousands of dollars is \(R=x⋅p\). Find the production level that will 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 by \(h(t)=−4\).9t2+229t+234. Find the maximum height the rocket attains.

2909.56 meters

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 \(h(t)=−4\).9t2+24t+8. How long does it take to reach maximum height?

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?

$10.70

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?

Glossary

axis of symmetry
a vertical line drawn through the vertex of a parabola around which the parabola is symmetric; it is defined by \(x=−b2a\).

general form of a quadratic function
the function that describes a parabola, written in the form \(f(x)=ax2+bx+c\), where a,b, and \(c\) are real numbers and a≠0.

standard form of a quadratic function
the function that describes a parabola, written in the form \(f(x)=a(x−h)2+k\), where (h, k) 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

Contributors

  • The OpenStax College name, OpenStax College logo, OpenStax College book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the creative commons license and may not be reproduced without the prior and express written consent of Rice University. For questions regarding this license, please contact partners@openstaxcollege.org. "Download for free at http://cnx.org/contents/fd53eae1-fa2...49835c3c@5.191."