We've updated our

TEXT

### Learning Outcomes

• Find the maximum of a quadratic function that models area, and revenue.
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. In this lesson, we will explore a way to maximize the area of a fenced enclosure, as well as how selling price can affect the number of units sold. In graph (a) below, the parabola has a minimum value at $(2,1)$, and the parabola in graph (b) has a maximum at $(-3,4)$. These values can take on meaning in applications such as the examples we will work through next.

### Example: 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?

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

1. We know we have only 80 feet of fence available, and $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 $A=LW=L\left(80 - 2L\right)=80L - 2{L}^{2}$. This formula represents the area of the fence in terms of the variable length $L$. The function, written in general form, is$A\left(L\right)=-2{L}^{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 $a$ is the coefficient of the squared term, $a=-2,b=80$, and $c=0$.
To find the vertex:

$h=-\dfrac{80}{2\left(-2\right)}=20$

and

\begin{align}k&=A\left(20\right) \\&=80\left(20\right)-2{\left(20\right)}^{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 of the Solution

This problem also could be solved by graphing the quadratic function. We can see where the maximum area occurs on a graph of the quadratic function below.

The problem we solved above is called a constrained optimization problem. We can optimize our desired outcome given a constraint, which in this case was a limited amount of fencing materials. Try it yourself in the next problem.

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

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

### Example: 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?

Answer: 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\text{ and }p=30 \\ &84,000=-2500\left(30\right)+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\left(-2,500p+159,000\right) \\ &\text{Revenue}=-2,500{p}^{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\left(-2,500\right)} \\ &=31.8 \end{align} The model tells us that the maximum revenue will occur if the newspaper charges31.80 for a subscription. To find what the maximum revenue is, we evaluate the revenue function.

\begin{align}\text{maximum revenue}&=-2,500{\left(31.8\right)}^{2}+159,000\left(31.8\right) \\ &=\2,528,100\hfill \end{align}

#### Analysis of the Solution

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

In the example above, we knew the number of subscribers to a newspaper and used that information to find the optimal price for each subscription. What if the price of subscriptions is affected by competition?

### Try it

Previously, we found a quadratic function that modeled revenue as a function of price.

$\text{Revenue}-2,500{p}^{2}+159,000p$

We found that selling the paper at $\31.80$ per subscription would maximize revenue.  What if your closest competitor sells their paper for $\25.00$ per subscription? What is the maximum revenue you can make you sell your paper for the same?

Answer: Evaluating the function for $p=25$ gives $\2,412,500$.