$$\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}}$$

# 3.2 Quadratic Functions

In this section, we will explore the family of 2nd degree polynomials, the quadratic functions.  While they share many characteristics of polynomials in general, the calculations involved in working with quadratics is typically a little simpler, which makes them a good place to start our exploration of short run behavior.  In addition, quadratics commonly arise from problems involving area and projectile motion, providing some interesting applications.

Example 1

A backyard farmer wants to enclose a rectangular space for a new garden.  She has purchased 80 feet of wire fencing to enclose 3 sides, and will put the 4th side against the backyard fence.  Find a formula for the area enclosed by the fence if the sides of fencing perpendicular to the existing fence have length L.

SOLUTION

In a scenario like this involving geometry, it is often helpful to draw a picture.  It might also be helpful to introduce a temporary variable, W, to represent the side of fencing parallel to the 4th side or backyard fence.

Since we know we only have 80 feet of fence available, we know that , or more simply, .  This allows us to represent the width, W, in terms of L

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

This formula represents the area of the fence in terms of the variable length L.

### Short run Behavior: Vertex

We now explore the interesting features of the graphs of quadratics. In addition to intercepts, quadratics have an interesting feature where they change direction, called the vertex. You probably noticed that all quadratics are related to transformations of the basic quadratic function.

Example 2

Write an equation for the quadratic graphed below as a transformation of , then expand the formula and simplify terms to write the equation in standard polynomial form.

SOLUTION

We can see the graph is the basic quadratic shifted to the left 2 and down 3, giving a formula in the form .  By plugging in a point that falls on the grid, such as (0,-1), we can solve for the stretch factor:

Written as a transformation, the equation for this formula is .  To write this in standard polynomial form, we can expand the formula and simplify terms:

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

Try it Now

1. A coordinate grid has been superimposed over the quadratic path of a basketball[1].  Find an equation for the path of the ball.  Does he make the basket?

Forms of Quadratic Functions

• The standard form of a quadratic function is
• The transformation form of a quadratic function is
• The vertex of the quadratic function is located at (h, k), where h and k are the numbers in the transformation form of the function.  Because the vertex appears in the transformation form, it is often called the vertex form.

In the previous example, we saw that it is possible to rewrite a quadratic function given in transformation form and rewrite it in standard form by expanding the formula.  It would be useful to reverse this process, since the transformation form reveals the vertex.

Expanding out the general transformation form of a quadratic gives:

This should be equal to the standard form of the quadratic:

The second degree terms are already equal.  For the linear terms to be equal, the coefficients must be equal:

, so

This provides us a method to determine the horizontal shift of the quadratic from the standard form.  We could likewise set the constant terms equal to find:

, so

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

Finding the Vertex of a Quadratic

For a quadratic given in standard form, the vertex (h, k) is located at:

,

Example 3

Find the vertex of the quadratic .  Rewrite the quadratic into transformation form (vertex form).

SOLUTION

The horizontal coordinate of the vertex will be at

The vertical coordinate of the vertex will be at

Rewriting into transformation form, the stretch factor will be the same as the a in the original quadratic.  Using the vertex to determine the shifts,

Try it Now

2. Given the equation  write the equation in standard form and then in transformation/vertex form.

In addition to enabling us to more easily graph a quadratic written in standard form, finding the vertex serves another important purpose – it allows us to determine the maximum or minimum value of the function, depending on which way the graph opens.

Example 4

Returning to our backyard farmer from the beginning of the section, what dimensions should she make her garden to maximize the enclosed area?

SOLUTION

Earlier we determined the area she could enclose with 80 feet of fencing on three sides was given by the equation .  Notice that quadratic has been vertically reflected, since the coefficient on the squared term is negative, so the graph will open downwards, and the vertex will be a maximum value for the area.

In finding the vertex, we take care since the equation is not written in standard polynomial form with decreasing powers.  But we know that a is the coefficient on the squared term, so a = -2, b = 80, and c = 0.

Finding the vertex:

,

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, that leaves 40 feet of fencing 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.

Example 5

A local newspaper currently has 84,000 subscribers, at a quarterly charge of $30. Market research has suggested that if they raised 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?

Revenue is the amount of money a company brings in.  In this case, the revenue can be found by multiplying the charge per subscription times the number of subscribers.  We can introduce variables, C for charge per subscription and S for the number subscribers, giving us the equation

Revenue = CS

Since the number of subscribers changes with the price, we need to find a relationship between the variables.  We know that currently S = 84,000 and C = 30, and that if they raise the price to $32 they would lose 5,000 subscribers, giving a second pair of values, C = 32 and S = 79,000. From this we can find a linear equation relating the two quantities. Treating C as the input and S as the output, the equation will have form . The slope will be This tells us the paper will lose 2,500 subscribers for each dollar they raise the price. We can then solve for the vertical intercept Plug in the point S = 85,000 and C = 30 Solve for b This gives us the linear equation relating cost and subscribers. We now return to our revenue equation. Substituting the equation for S from above Expanding We now have a quadratic equation 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: 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 can evaluate the revenue equation:

Maximum Revenue = $2,528,100 ### Short run Behavior: Intercepts As with any function, we can find the vertical intercepts of a quadratic by evaluating the function at an input of zero, and we can find the horizontal intercepts by solving for when the output will be zero. Notice that depending upon the location of the graph, we might have zero, one, or two horizontal intercepts.  zero horizontal intercepts one horizontal intercept two horizontal intercepts Example 6 Find the vertical and horizontal intercepts of the quadratic SOLUTION We can find the vertical intercept by evaluating the function at an input of zero: Vertical intercept at (0,-2) For the horizontal intercepts, we solve for when the output will be zero In this case, the quadratic can be factored easily, providing the simplest method for solution or Horizontal intercepts at and (-2,0) Notice that in the standard form of a quadratic, the constant term c reveals the vertical intercept of the graph. Example 7 Find the horizontal intercepts of the quadratic SOLUTION Again we will solve for when the output will be zero Since the quadratic is not easily factorable in this case, we solve for the intercepts by first rewriting the quadratic into transformation form. Now we can solve for when the output will be zero The graph has horizontal intercepts at and Try it Now 3. In Try it Now problem 2 we found the standard & transformation form for the function . Now find the Vertical & Horizontal intercepts (if any). This process is done commonly enough that sometimes people find it easier to solve the problem once in general and remember the formula for the result, rather than repeating the process each time. Based on our previous work we showed that any quadratic in standard form can be written into transformation form as: Solving for the horizontal intercepts using this general equation gives: start to solve for x by moving the constants to the other side divide both sides by a find a common denominator to combine fractions combine the fractions on the left side of the equation take the square root of both sides subtract b/2a from both sides combining the fractions Notice that this can yield two different answers for x Quadratic Formula For a quadratic function given in standard form , the quadratic formula gives the horizontal intercepts of the graph of this function. Example 8 A ball is thrown upwards 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 1. What is the maximum height of the ball? 2. When does the ball hit the ground? SOLUTION To find the maximum height of the ball, we would need to know the vertex of the quadratic. , The ball reaches a maximum height of 140 feet after 2.5 seconds. To find when the ball hits the ground, we need to determine when the height is zero – when H(t) = 0. While we could do this using the transformation form of the quadratic, we can also use the quadratic formula: Since the square root does not simplify nicely, we can use a calculator to approximate the values of the solutions: or 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. Try it Now 4. For these two equations determine if the vertex will be a maximum value or a minimum value. a. b. ### Important Topics of this Section • Quadratic functions • Standard form • Transformation form/Vertex form • Vertex as a maximum / Vertex as a minimum • Short run behavior • Vertex / Horizontal & Vertical intercepts • Quadratic formula Try it Now Answers 1. The path passes through the origin with vertex at (-4, 7). . To make the shot, h(-7.5) would need to be about 4. ; he doesn’t make it. 2. in Standard form; in Transformation form 3. Vertical intercept at (0, 13), NO horizontal intercepts. 4. a. Vertex is a minimum value b. Vertex is a maximum value [1] From http://blog.mrmeyer.com/?p=4778, © Dan Meyer, CC-BY ### Section 3.2 Exercises Write an equation for the quadratic function graphed. 1. 2. 3. 4. 5. 6. For each of the follow quadratic functions, find a) the vertex, b) the vertical intercept, and c) the horizontal intercepts. 7. 8. 9. 10. 11. 12. Rewrite the quadratic function into vertex form. 13. 14. 15. 16. 17. Find the values of b and c so has vertex 18. Find the values of b and c so has vertex Write an equation for a quadratic with the given features 1. x-intercepts (-3, 0) and (1, 0), and ­­y intercept (0, 2) 2. x-intercepts (2, 0) and (-5, 0), and ­­y intercept (0, 3) 3. x-intercepts (2, 0) and (5, 0), and ­­y intercept (0, 6) 4. x-intercepts (1, 0) and (3, 0), and ­­y intercept (0, 4) 5. Vertex at (4, 0), and y intercept (0, -4) 6. Vertex at (5, 6), and y intercept (0, -1) 7. Vertex at (-3, 2), and passing through (3, -2) 8. Vertex at (1, -3), and passing through (-2, 3) 9. A rocket is launched in the air. Its height, in meters above sea level, as a function of time, in seconds, is given by . 1. From what height was the rocket launched? 2. How high above sea level does the rocket reach its peak? 3. Assuming the rocket will splash down in the ocean, at what time does splashdown occur? 10. 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 11. From what height was the ball thrown? 12. How high above ground does the ball reach its peak? 13. When does the ball hit the ground? 14. The height of a ball thrown in the air is given by , where x is the horizontal distance in feet from the point at which the ball is thrown. 15. How high is the ball when it was thrown? 16. What is the maximum height of the ball? 17. How far from the thrower does the ball strike the ground? 18. A javelin is thrown in the air. Its height is given by , where x is the horizontal distance in feet from the point at which the javelin is thrown. 19. How high is the javelin when it was thrown? 20. What is the maximum height of the javelin? 21. How far from the thrower does the javelin strike the ground? 1. A box with a square base and no top is to be made from a square piece of cardboard by cutting 6 in. squares out of each corner and folding up the sides. The box needs to hold 1000 in3. How big a piece of cardboard is needed? 2. A box with a square base and no top is to be made from a square piece of cardboard by cutting 4 in. squares out of each corner and folding up the sides. The box needs to hold 2700 in3. How big a piece of cardboard is needed? 3. A farmer wishes to enclose two pens with fencing, as shown. If the farmer has 500 feet of fencing to work with, what dimensions will maximize the area enclosed? 1. A farmer wishes to enclose three pens with fencing, as shown. If the farmer has 700 feet of fencing to work with, what dimensions will maximize the area enclosed? 2. You have a wire that is 56 cm long. You wish to cut it into two pieces. One piece will be bent into the shape of a square. The other piece will be bent into the shape of a circle. Let A represent the total area enclosed by the square and the circle. What is the circumference of the circle when A is a minimum? 3. You have a wire that is 71 cm long. You wish to cut it into two pieces. One piece will be bent into the shape of a right triangle with legs of equal length. The other piece will be bent into the shape of a circle. Let A represent the total area enclosed by the triangle and the circle. What is the circumference of the circle when A is a minimum? 4. 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?
5. 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?
6. A hot air balloon takes off from the edge of a mountain lake. Impose a coordinate system as pictured and assume that the path of the balloon follows the graph of . The land rises at a constant incline from the lake at the rate of 2 vertical feet for each 20 horizontal feet. [UW]
1. What is the maximum height of the balloon above water level?
2. What is the maximum height of the balloon above ground level?
3. Where does the balloon land on the ground?
4. Where is the balloon 50 feet above the ground?
7. A hot air balloon takes off from the edge of a plateau. Impose a coordinate system as pictured below and assume that the path the balloon follows is the graph of the quadratic function . The land drops at a constant incline from the plateau at the rate of 1 vertical foot for each 5 horizontal feet. [UW]
1. What is the maximum height of the balloon above plateau level?
2. What is the maximum height of the balloon above ground level?
3. Where does the balloon land on the ground?
4. Where is the balloon 50 feet above the ground?

### Contributors

• David Lippman (Pierce College)
• Melonie Rasmussen (Pierce College)