Quadratic Functions

Learning Objectives

In this section, you will:

  • 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 (Figure), 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).

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 ofxxat whichy=0.y=0.

Identifying the Characteristics of a Parabola

Determine the vertex, axis of symmetry, zeros, andy-y-intercept of the parabola shown in (Figure).

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

Figure 3.

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)=ax2+bx+c

wherea,b,a,b,andccare real numbers anda≠0.a≠0.Ifa>0,a>0,the parabola opens upward. Ifa<0,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 byx=βˆ’b2a.x=βˆ’b2a.If we use the quadratic formula,x=βˆ’b±√b2βˆ’4ac2a,x=βˆ’b±√b2βˆ’4ac2a,to solveax2+bx+c=0ax2+bx+c=0for thex-x-intercepts, or zeros, we find the value ofxxhalfway between them is alwaysx=βˆ’b2a,x=βˆ’b2a,the equation for the axis of symmetry.

(Figure) represents the graph of the quadratic function written in general form asy=x2+4x+3.y=x2+4x+3.In this form,a=1,b=4,a=1,b=4,andc=3.c=3.Becausea>0,a>0,the parabola opens upward. The axis of symmetry isx=βˆ’42(1)=βˆ’2.x=βˆ’42(1)=βˆ’2.This also makes sense because we can see from the graph that the vertical linex=βˆ’2x=βˆ’2divides 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).Thex-x-intercepts, those points where the parabola crosses thex-x-axis, occur at(βˆ’3,0)(βˆ’3,0)and(βˆ’1,0).(βˆ’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 4.

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

f(x)=a(xβˆ’h)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, ifa>0,a>0,the parabola opens upward and the vertex is a minimum. Ifa<0,a<0,the parabola opens downward, and the vertex is a maximum. (Figure) represents the graph of the quadratic function written in standard form asy=βˆ’3(x+2)2+4.y=βˆ’3(x+2)2+4.Sincex–h=x+2x–h=x+2in this example,h=–2.h=–2.In this form,a=βˆ’3,h=βˆ’2,a=βˆ’3,h=βˆ’2,andk=4.k=4.Becausea<0,a<0,the parabola opens downward. The vertex is at(βˆ’2, 4).(βˆ’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 5.

The standard form is useful for determining how the graph is transformed from the graph ofy=x2.y=x2.(Figure) is the graph of this basic function.

Graph of y=x^2.

Figure 6.

Ifk>0,k>0,the graph shifts upward, whereas ifk<0,k<0,the graph shifts downward. In (Figure),k>0,k>0,so the graph is shifted 4 units upward. Ifh>0,the graph shifts toward the right and ifh<0,the graph shifts to the left. In (Figure),h<0,so the graph is shifted 2 units to the left. The magnitude ofaindicates the stretch of the graph. If|a|>1, the point associated with a particularx-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 particularx-value shifts closer to the x-axis, so the graph appears to become wider, but in fact there is a vertical compression. In (Figure),|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=ax2+bx+cax2βˆ’2ahx+(ah2+k)=ax2+bx+c

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

–2ah=b, so h=βˆ’b2a

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

ah2+k=ck=cβˆ’ah2=cβˆ’aβˆ’(b2a)2=cβˆ’b24a

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

Forms of Quadratic Functions

A quadratic function is a polynomial function of degree two. The graph of a quadratic function is a parabola.

The general form of a quadratic function isf(x)=ax2+bx+cwherea,b,andcare real numbers anda≠0.

The standard form of a quadratic function isf(x)=a(xβˆ’h)2+kwhereaβ‰ 0.

The vertex(h,k)is located at

h=–b2a, k=f(h)=f(βˆ’b2a)

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 ish.Identify the vertical shift of the parabola; this value isk.
  2. Substitute the values of the horizontal and vertical shift forhandk.in the functionf(x)=a(x–h)2+k.
  3. Substitute the values of any point, other than the vertex, on the graph of the parabola forxandf(x).
  4. Solve for the stretch factor,|a|.
  5. Expand and simplify to write in general form.

Writing the Equation of a Quadratic Function from the Graph

Write an equation for the quadratic functiongin (Figure) as a transformation off(x)=x2,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.

Analysis

We can check our work using the table feature on a graphing utility. First enterY1=12(x+2)2βˆ’3.Next, selectTBLSET,then useTblStart=–6andΞ”Tbl = 2,and selectTABLE.See (Figure).

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

A coordinate grid has been superimposed over the quadratic path of a basketball in (Figure). 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)

How To

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

  1. Identifya,b,andc.
  2. Findh,the x-coordinate of the vertex, by substitutingaandbintoh=–b2a.
  3. Findk,the y-coordinate of the vertex, by evaluatingk=f(h)=f(βˆ’b2a).

Finding the Vertex of a Quadratic Function

Find the vertex of the quadratic functionf(x)=2x2–6x+7.Rewrite the quadratic in standard form (vertex form).

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.

Try It

Given the equationg(x)=13+x2βˆ’6x, write the equation in general form and then in standard form.

Finding the Domain and Range of a Quadratic Function

Any number can be the input value of a quadratic function. Therefore, the domain of any quadratic function is all real numbers. Because parabolas have a maximum or a minimum 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.

Domain and Range of a Quadratic Function

The domain of any quadratic function is all real numbers unless the context of the function presents some restrictions.

The range of a quadratic function written in general formf(x)=ax2+bx+cwith a positiveavalue isf(x)β‰₯f(βˆ’b2a),or[f(βˆ’b2a),∞);the range of a quadratic function written in general form with a negativeavalue isf(x)≀f(βˆ’b2a),or(βˆ’βˆž,f(βˆ’b2a)].

The range of a quadratic function written in standard formf(x)=a(xβˆ’h)2+kwith a positiveavalue isf(x)β‰₯k;the range of a quadratic function written in standard form with a negativeavalue isf(x)≀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 whetherais positive or negative. Ifais positive, the parabola has a minimum. Ifais 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 byf(x)β‰₯k,or[k,∞).If the parabola has a maximum, the range is given byf(x)≀k,or(βˆ’βˆž,k].

Finding the Domain and Range of a Quadratic Function

Find the domain and range off(x)=βˆ’5x2+9xβˆ’1.

Try It

Find the domain and range off(x)=2(xβˆ’47)2+811.

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

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.

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.

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

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

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 a revenue function.
  2. Find the vertex of the quadratic equation.
  3. Determine the y-value of the vertex.

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?

Analysis

This could also be solved by graphing the quadratic as in (Figure). 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 they-intercept of a quadratic by evaluating the function at an input of zero, and we find thex-intercepts at locations where the output is zero. Notice in (Figure) that the number ofx-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 functionf(x),find they- and x-intercepts.

  1. Evaluatef(0)to find the y-intercept.
  2. Solve the quadratic equationf(x)=0to find the x-intercepts.

Finding the y– and x-Intercepts of a Parabola

Find the y– and x-intercepts of the quadraticf(x)=3x2+5xβˆ’2.

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(13,0)and(βˆ’2,0).See (Figure)

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

Figure 14.

Rewriting Quadratics in Standard Form

In (Figure), 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 thex-intercepts by rewriting in standard form.

  1. Substituteaandbintoh=βˆ’b2a.
  2. Substitutex=hinto the general form of the quadratic function to findk.
  3. Rewrite the quadratic in standard form usinghandk.
  4. Solve for when the output of the function will be zero to find thex-intercepts.

Finding the x-Intercepts of a Parabola

Find thex-intercepts of the quadratic functionf(x)=2x2+4xβˆ’4.

Analysis

We could have achieved the same results using the quadratic formula. Identifya=2,b=4andc=βˆ’4.

x=βˆ’b±√b2βˆ’4ac2a=βˆ’4±√42βˆ’4(2)(βˆ’4)2(2)=βˆ’4±√484=βˆ’4±√3(16)4=βˆ’1±√3

So the x-intercepts occur at(βˆ’1βˆ’βˆš3,0)and(βˆ’1+√3,0).

Try It

In a Try It, we found the standard and general form for the functiong(x)=13+x2βˆ’6x.Now find the y– and x-intercepts (if any).

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 equationH(t)=βˆ’16t2+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?

Try It

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 equationH(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?

Key Equations

general form of a quadratic function f(x)=ax2+bx+c
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, orx-intercepts, are the points at which the parabola crosses thex-axis. They-intercept is the point at which the parabola crosses they-axis. See (Figure), (Figure), and (Figure).
  • 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. See (Figure).
  • The vertex can be found from an equation representing a quadratic function. See (Figure).
  • The domain of a quadratic function is all real numbers. The range varies with the function. See (Figure).
  • A quadratic function’s minimum or maximum value is given by they-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. See (Figure) and (Figure).
  • The vertex and the intercepts can be identified and interpreted to solve real-world problems. See (Figure).

Section Exercises

Verbal

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

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

Explain why the condition ofa≠0is imposed in the definition of the quadratic 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?

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)=x2βˆ’x

f(x)=x2+5xβˆ’2

h(x)=2x2+8xβˆ’10

k(x)=3x2βˆ’6xβˆ’9

f(x)=2x2βˆ’6x

f(x)=3x2βˆ’5xβˆ’1

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

f(x)=βˆ’x2+4x+3

f(x)=4x2+xβˆ’1

h(t)=βˆ’4t2+6tβˆ’1

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

f(x)=βˆ’13x2βˆ’2x+3

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

f(x)=(xβˆ’3)2+2

f(x)=βˆ’2(x+3)2βˆ’6

f(x)=x2+6x+4

f(x)=2x2βˆ’4x+2

k(x)=3x2βˆ’6xβˆ’9

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)

(h,k)=(βˆ’2,βˆ’1),(x,y)=(βˆ’4,3)

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

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

(h,k)=(βˆ’5,3),(x,y)=(2,9)

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

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

(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

f(x)=x2βˆ’6xβˆ’1

f(x)=x2βˆ’5xβˆ’6

f(x)=x2βˆ’7x+3

f(x)=βˆ’2x2+5xβˆ’8

f(x)=4x2βˆ’12xβˆ’3

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

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

Graph of a positive parabola with a vertex at (2, -3) and y-intercept at (0, 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).

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

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

x –2 –1 0 1 2
y 1 0 1 4 9
 
x –2 –1 0 1 2
y –2 1 2 1 –2

x –2 –1 0 1 2
y –8 –3 0 1 0
x –2 –1 0 1 2
y 8 2 0 2 8

Technology

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

Graph on the same set of axes the functionsf(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 axesf(x)=x2,f(x)=x2+2 andf(x)=x2,f(x)=x2+5andf(x)=x2βˆ’3. What appears to be the effect of adding a constant?

Graph on the same set of axesf(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 functionh(x)=βˆ’32(80)2x2+xwherexis the horizontal distance traveled andh(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.

A suspension bridge can be modeled by the quadratic functionh(x)=.0001x2withβˆ’2000≀x≀2000where|x|is the number of feet from the center andh(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.

Vertex(βˆ’1,2)opens down.

Vertex(βˆ’5,11),opens down.

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 off(x)=2x2.Vertex is on they-axis.

Contains(βˆ’1,4)and has the shape off(x)=2x2.Vertex is on they-axis.

Contains(2,3)and has the shape off(x)=3x2.Vertex is on they-axis.

Contains(1,βˆ’3)and has the shape off(x)=βˆ’x2.Vertex is on they-axis.

Contains(4,3)and has the shape off(x)=5x2.Vertex is on they-axis.

Contains(1,βˆ’6)has the shape off(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.

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.

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?

Suppose that the price per unit in dollars of a cell phone production is modeled byp=$45βˆ’0.0125x,wherexis in thousands of phones produced, and the revenue represented by thousands of dollars isR=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 byh(t)=βˆ’4.9t2+229t+234.Find the maximum height the rocket attains.

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 byh(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?

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, that opens up or down, around which the parabola is symmetric; it is defined byx=βˆ’b2a.
general form of a quadratic function
the function that describes a parabola, written in the formf(x)=ax2+bx+c, wherea,b,andcare real numbers anda≠0.
roots
in a given function, the values ofxat whichy=0, also called zeros
standard form of a quadratic function
the function that describes a parabola, written in the formf(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 ofxat whichy=0, also called roots