Largest and smallest values in a word problem
Quick review (2 minutes)
The big picture: You will find the largest or smallest amount in a situation.
For f(x) = a + bx + c, the vertex is at x = . If a < 0, the parabola opens down and f has a maximum value, f(). If a > 0, the parabola opens up and f has a minimum value, f(). The two models used most: area of a rectangle = width × length, and revenue = price × number sold.
Use the fence constraint to name the input. Let w be each width of the dog run. The three fenced sides total 48 feet, so the remaining length is 48 − 2w. Both dimensions must be positive: 0 < w < 24.
Use the rectangle area rule, width × length: A(w) = w(48 − 2w). Distribute to get −2 + 48w, so a = −2 and b = 48 for the vertex rule.
Apply the opening rule. Since a = −2 is negative, the vertex gives a maximum, which is the largest area the question asks for.
Use the vertex input rule: w = = = 12. Check the constraint 0 < 12 < 24; this width is allowed.
Use the length constraint again: 48 − 2(12) = 24 feet. Use the area rule: 12 × 24 = 288 square feet. State both dimensions and the area, because the input and the output answer different parts of the question.
Check the model and maximum: 12 + 12 + 24 = 48 feet of fence. Completing the square gives A(w) = −2(w − 12 + 288. A square is never negative, so −2(w − 12 is 0 or less, and the area cannot exceed 288. The allowed width 12 makes that square zero, so 288 square feet is reached.
You have 48 feet of fence to build a rectangular dog run against the side of a barn. The barn wall is one long side, so the fence covers only the other three sides. What dimensions give the largest area, and what is that area?
Width (each side sticking out from the barn): 12 feet
Length (the side across from the barn): 24 feet
Largest area: 288 square feet
Wrong: report only the vertex input. Right: give the requested dimensions or price and the largest or smallest amount, with units.
Identify what the input and output measure.
Read a and b, then calculate the vertex input.
Check that the input is allowed; for whole-number inputs compare allowed neighbors when needed.
Evaluate the function at that input.
Use the opening to name a maximum or minimum and include units.
Sketch and count every fenced segment, including dividers.
Write the total fence as the sum of those lengths.
Solve for length in terms of width and require both to be positive.
Multiply width by length to get the area quadratic.
Find its allowed vertex, then recover the other dimension and area.
Add the fence segments again to check the constraint.
Name the price input and restrict price and sales to nonnegative values.
Multiply price by the number sold to form revenue.
Expand and find the vertex input.
Check the vertex is an allowed price, then calculate sales and revenue.
Let the input count changes from the starting price.
Write the new price and new sales count using that input.
Multiply the two expressions to get revenue.
Find the vertex input and check its allowed range.
For fixed increments, compare the allowed counts on either side if the vertex count is not an integer.
Convert the chosen count back to a price, then state sales and revenue.
quadratic function
A function whose highest power of x is . Its rule can be written f(x) = a + bx + c with a not zero, and its graph is a parabola.
parabola
The U-shaped curve that a quadratic function draws. It has one turning point, and its left half is the mirror image of its right half.
vertex
The turning point of a parabola: the lowest point when it opens up, the highest point when it opens down. In vertex form it is (h, k).
axis of symmetry
The vertical line through the vertex. Fold the parabola along it and the two halves land on each other. Its equation is x = h.
vertex form
A quadratic function written as f(x) = a(x − h + k. The vertex (h, k) and the way the parabola opens can be read straight from the rule.
general form
A quadratic function written as f(x) = a + bx + c, fully multiplied out. The number c is the y-intercept, and the vertex takes one short calculation.
maximum value
The largest output a quadratic function reaches. It exists only when the parabola opens down, and it equals k, the y-value of the vertex.
minimum value
The smallest output a quadratic function reaches. It exists only when the parabola opens up, and it equals k, the y-value of the vertex.
1 In plain words
The big picture: You will find the largest or smallest amount in a situation. Build a quadratic model, then check that its vertex input is allowed. This applies the output limits from the last lesson. Next, find where a quadratic graph meets the axes.
A question about the biggest area, greatest revenue or lowest cost asks for a turning point. First express the amount as a function of one input. If it is quadratic, the vertex gives both when the largest or smallest value occurs and how large it is. The input must also fit the story.
2 Picture it
Reminder
Reminder: The vertex from general form, Which way a parabola opens, Dividing signed numbers, Distributing, Multiplying two brackets, Area and perimeter of a rectangle, Order of operations
- The vertex from general form. For f(x) = a + bx + c the vertex is at x = , and its y-value is the output there. For f(x) = − 6x + 1: x = = 3, and f(3) = 9 − 18 + 1 = −8.
- Which way a parabola opens. A negative a opens down, like a hill. A positive a opens up, like a valley. y = −2 opens down. y = 2 opens up.
- Dividing signed numbers. A negative divided by a negative is positive: −48 ÷ (−4) = 12. A positive divided by a negative is negative: 48 ÷ (−4) = −12.
- Distributing. Multiply the outside by every term inside: w(48 − 2w) = 48w − 2.
- Multiplying two brackets. Multiply each term in the first bracket by each term in the second, then add: (10 + x)(200 − 10x) = 2000 − 100x + 200x − 10.
- Area and perimeter of a rectangle. Area = width × length. Perimeter = the four sides added up. A 3 by 5 rectangle has area 15 square units and perimeter 3 + 5 + 3 + 5 = 16 units.
- Order of operations. Square first, then multiply, then add or subtract: −16(2 = −16 × 4 = −64, not (−32.
3 Why
Write the quadratic function in vertex form, f(x) = a(x − h + k. The squared piece (x − h is never negative, and it is 0 only when x = h. If a is negative, a(x − h is 0 or below, so it can only take away from k. The most f can be is k, reached at x = h. If a is positive, the piece can only add, so the least f can be is k. A quadratic shows up in these stories because each measurement is a number times the same letter plus a number, with the number on the letter not 0, as in x and 44 − 2x. Multiplying two such pieces makes a squared term that does not cancel.
4 The rule
For , the vertex is at .
If a < 0, the parabola opens down and f has a maximum value, f(). If a > 0, the parabola opens up and f has a minimum value, f(). The two models used most: area of a rectangle = width × length, and revenue = price × number sold.
The same idea, five ways
The biggest value of a quadratic is the height of its vertex when the parabola opens down. The smallest value is the height of its vertex when the parabola opens up.
The maximum value or minimum value of a quadratic function is the y-value of its vertex, and it happens at the x-value of the vertex.
- vertex at x =
- a < 0: maximum value = f()
- a > 0: minimum value = f()
- f(x) = a(x − h + k: the value is k, and it happens at x = h
The top of a hill has a location on the map and a height above the ground. The location is the input. The height is the maximum value.
The same idea, other ways
Walk along a parabola that opens down, from left to right. You go uphill, reach one highest point, then go downhill. That highest point is the vertex. Nothing on the curve is higher, so its height is the maximum value. Flip the picture for a parabola that opens up: you walk down into a valley, and the lowest point, the vertex again, gives the minimum value.
Look at the table. The input x is one side of a rectangle whose two sides add up to 6, so the other side is 6 − x and the output is the area, x(6 − x). Read the output row from left to right: it climbs to 9 in the column under 3, then falls back by the same steps. The two 8s match, and so do the two 5s. The largest output sits in the middle column, and that column is the vertex.
A cart sells burritos. Price them at almost nothing and the line goes around the block, but each sale brings in pennies. Price them sky high and each sale would bring in a lot, but nobody buys. Both ends give poor revenue. Somewhere in between, price and number sold balance, and the money taken in is as large as it can be. When each dollar added to the price loses the same number of sales, revenue is a quadratic in the price whose graph opens down, and that balance point is its vertex.
The question word picks the coordinate. Where, when, what width, what price: answer from the input at the vertex, turned into the quantity asked for when your letter stands for something else (a number of price increases becomes a price). How much, how high, how large, what revenue: answer with the output at the vertex. Many questions ask for both, so give both, each with its own unit.
| The question says | It asks for | Answer with |
|---|---|---|
| What width gives the largest area? | the input at the vertex | a length, such as feet |
| What is the largest area? | the output at the vertex | an area, such as square feet |
| What price brings in the most revenue? | the price that the input at the vertex gives | dollars per item |
| What is the most revenue? | the output at the vertex | dollars |
| When is the ball highest? | the input at the vertex | a time, such as seconds |
| How high does the ball go? | the output at the vertex | a height, such as feet |
Part 1: The quadratic is given
What it asks: Find a highest or lowest value from a supplied formula.
The plan
- Identify what the input and output measure.
- Read a and b, then calculate the vertex input.
- Check that the input is allowed; for whole-number inputs compare allowed neighbors when needed.
- Evaluate the function at that input.
- Use the opening to name a maximum or minimum and include units.
Tips and tricks
- Wrong: a downward-opening parabola gives a minimum. Right: its vertex is the maximum.
- Trick: symmetric allowed neighbors give a quick arithmetic check.
Part 2: Build an area model
What it asks: Choose dimensions when fencing limits a rectangle.
The plan
- Sketch and count every fenced segment, including dividers.
- Write the total fence as the sum of those lengths.
- Solve for length in terms of width and require both to be positive.
- Multiply width by length to get the area quadratic.
- Find its allowed vertex, then recover the other dimension and area.
- Add the fence segments again to check the constraint.
Tips and tricks
- Wrong: count a shared wall as fence or omit a divider. Right: count only the segments the fence actually covers.
- Trick: write the fence equation before expanding the area.
Part 3: Revenue from a sales rule
What it asks: Choose a price when demand is written as a function of price.
The plan
- Name the price input and restrict price and sales to nonnegative values.
- Multiply price by the number sold to form revenue.
- Expand and find the vertex input.
- Check the vertex is an allowed price, then calculate sales and revenue.
Tips and tricks
- Wrong: maximize the number sold alone. Right: maximize price times number sold.
Part 4: Revenue from price changes
What it asks: Build both price and demand from the same input.
The plan
- Let the input count changes from the starting price.
- Write the new price and new sales count using that input.
- Multiply the two expressions to get revenue.
- Find the vertex input and check its allowed range.
- For fixed increments, compare the allowed counts on either side if the vertex count is not an integer.
- Convert the chosen count back to a price, then state sales and revenue.
Tips and tricks
- Wrong: answer with the number of increases as the price. Right: put that count into the price expression.
5 How
- Use the fence constraint to name the input. Let w be each width of the dog run. The three fenced sides total 48 feet, so the remaining length is 48 − 2w. Both dimensions must be positive: 0 < w < 24.
- Use the rectangle area rule, width × length: A(w) = w(48 − 2w). Distribute to get −2 + 48w, so a = −2 and b = 48 for the vertex rule.
- Apply the opening rule. Since a = −2 is negative, the vertex gives a maximum, which is the largest area the question asks for.
- Use the vertex input rule: w = = = 12. Check the constraint 0 < 12 < 24; this width is allowed.
- Use the length constraint again: 48 − 2(12) = 24 feet. Use the area rule: 12 × 24 = 288 square feet. State both dimensions and the area, because the input and the output answer different parts of the question.
- Check the model and maximum: 12 + 12 + 24 = 48 feet of fence. Completing the square gives A(w) = −2(w − 12 + 288. A square is never negative, so −2(w − 12 is 0 or less, and the area cannot exceed 288. The allowed width 12 makes that square zero, so 288 square feet is reached.
6 Worked example
Worked example
Worked example: a dog run against a barn
You have 48 feet of fence to build a rectangular dog run against the side of a barn. The barn wall is one long side, so the fence covers only the other three sides. What dimensions give the largest area, and what is that area?
What it asks. Find the two dimensions that give the greatest fenced area.
Show the steps and the answer
The plan. Count the three fenced sides, write area as width times length, then find and check the vertex.
- Plan. Count the three fenced sides, write area as width times length, then find and check the vertex.
- Let w be the width in feet: the length of each of the two sides that stick out from the barn.You control the width. Every other measurement will be written with this one letter.
- Write the length of the side across from the barn: feet.The fence makes three pieces: w + w + length = 48. The two widths use up 2w, and what is left is the length. Test with w = 10: 10 + 10 + 28 = 48.
- Build the area function: .The area of a rectangle is width × length.
- Distribute: , which is in general form. So .General form shows a and b, the two numbers the vertex needs.
- Check the sign of a. It is , which is negative, so the parabola opens down and the vertex is its top.A top means the vertex gives the maximum value. If a were positive, the vertex would give a smallest area instead, and any largest area would have to come from the ends of the allowed widths.
- Find the input at the vertex: .This finds the one width where the area stops climbing and starts falling. A negative divided by a negative is positive.
- Find the length: feet.The question asks for dimensions, which means both sides of the rectangle.
- Put w = 12 back into the function: .The maximum value is the output at the vertex. Feet times feet gives square feet.
- Write the answer in a sentence with units.A bare 12 or 288 does not say which is the width and which is the area.
- Width (each side sticking out from the barn): 12 feet
- Length (the side across from the barn): 24 feet
- Largest area: 288 square feet
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
Rung 1: the formula is given, find the top
A ball is tossed up from a balcony. Its height in feet, t seconds after the toss, is f(t) = −16 + 64t + 6. When is the ball highest, and how high is it then?
What it asks. Find when the height is greatest and state that height.
Show the steps and the answer
The plan. Use the vertex input for time, then substitute to find height. Check that the opening is downward and the time is allowed.
- Plan. Use the vertex input for time, then substitute to find height. Check that the opening is downward and the time is allowed.
- Read .The function is already in general form, so no modeling is needed.
- Note that a is negative, so the parabola opens down and the vertex is the top.A top means the height has a maximum value.
- Find the input at the vertex: .This finds the one time at which the ball stops rising and starts falling.
- Put t = 2 back in: .The maximum value is the output at the vertex. Square first, then multiply, then add.
- Answer with units: seconds for the time, feet for the height.The two numbers measure different things.
- The ball is highest 2 seconds after the toss.
- Its height then is 70 feet.
Rung 2 of 6
Rung 2: the formula is given, find the bottom
A workshop finds that when it builds x chairs a day, each chair costs C(x) = 2 − 80x + 1100 dollars to make. How many chairs a day make the cost per chair smallest, and what is that cost?
What it asks. Find the production level with the lowest cost per item.
Show the steps and the answer
The plan. Use the vertex input for the item count, then evaluate the cost. Check an upward opening and an allowed whole-number count.
- Plan. Use the vertex input for the item count, then evaluate the cost. Check an upward opening and an allowed whole-number count.
- Read .The function is in general form. Keep the minus sign with the 80.
- Note that a is positive, so the parabola opens up and the vertex is the bottom.A bottom means the cost has a minimum value. There is no maximum value here.
- Find the input at the vertex: .This finds the number of chairs where the cost stops falling and starts rising. The opposite of −80 is 80.
- Put x = 20 back in: .The minimum value is the output at the vertex.
- Answer with units: chairs for the input, dollars per chair for the output.20 and 300 mean different things.
- Build 20 chairs a day.
- The smallest cost is $300 per chair.
Rung 3 of 6
Rung 3: build the area function, fence on all four sides
You have 60 feet of fence for a rectangular garden, fenced on all four sides. What dimensions give the largest area, and what is that area?
What it asks. Find the largest rectangle with all four sides fenced.
Show the steps and the answer
The plan. Count two widths and two lengths, solve for length, then maximize width times length.
- Plan. Count two widths and two lengths, solve for length, then maximize width times length.
- Let w be the width in feet and L the length in feet.Start with a name for each side, then get rid of one of them.
- Write the fence total: . Divide every term by 2: . So .A rectangle has two widths and two lengths. Test with w = 10: the sides are 10, 20, 10, 20, which add up to 60.
- Build the area function: . So .Area is width × length. A lone − means a = −1.
- Note that a is negative, so the parabola opens down and there is a maximum value.The vertex is the top.
- Find the input at the vertex: .This finds the width where the area peaks.
- Find the length: feet.The question asks for both dimensions.
- Put back in: square feet.The maximum value is the output at the vertex.
- Dimensions: 15 feet by 15 feet, a square
- Largest area: 225 square feet
Rung 4 of 6
Rung 4: revenue from a sales rule
A food cart sells burritos. At a price of p dollars each, it sells 300 − 20p burritos a day. What price brings in the most revenue, and how much revenue is that?
What it asks. Choose the price that gives the greatest revenue.
Show the steps and the answer
The plan. Multiply price by the sales rule. Find the vertex, then check the price, number sold and revenue.
- Plan. Multiply price by the sales rule. Find the vertex, then check the price, number sold and revenue.
- Build the revenue function: .Revenue = price × number sold. The price is p and the number sold is 300 − 20p.
- Distribute: . So .General form shows a and b.
- Note that a is negative, so the parabola opens down and there is a maximum value.The vertex is the top of the revenue curve.
- Find the input at the vertex: .This finds the one price where revenue stops rising and starts falling.
- Find the number sold at that price: burritos.You need the number sold to compute the revenue, and it confirms the price still sells something.
- Put p = 7.5 back in: .The maximum value is the output at the vertex.
- Best price: $7.50 per burrito
- Most revenue: $1,125 per day, from 150 burritos
Rung 5 of 6
Rung 5: revenue when you must build the price and the number sold
A booth sells 200 T-shirts a week at $10 each. For every $1 it raises the price, it sells 10 fewer shirts a week. What price gives the most weekly revenue, and what is that revenue?
What it asks. Choose the best price when each price increase changes demand.
Show the steps and the answer
The plan. Let the input count price increases. Build both price and sales from that input, multiply them and find the vertex.
- Plan. Let the input count price increases. Build both price and sales from that input, multiply them and find the vertex.
- Let x be the number of $1 price increases.The price and the number sold both change with the number of increases, so one letter can describe both.
- Write the price: dollars. Write the number sold: shirts.Each increase adds $1 to the price and removes 10 shirts. Test with x = 1: price $11, 190 shirts sold.
- Build the revenue function: .Revenue = price × number sold.
- Multiply each term by each term: . Add them: . So .Expanding gives general form. −100x + 200x = 100x.
- Note that a is negative, so the parabola opens down and there is a maximum value.The vertex is the top.
- Find the input at the vertex: .This finds the number of increases where revenue peaks. It is not yet the price.
- Turn x into what the question asked for: price dollars. Number sold shirts.The question asks for a price, and x counts increases.
- Compute the revenue: .The maximum value is the output at the vertex.
- Best price: $15 per shirt (5 increases of $1)
- Most revenue: $2,250 per week, from 150 shirts
Rung 6 of 6
Rung 6: a pen with a divider and a fraction for a
A farmer has 120 feet of fence for a rectangular pen with one divider across the middle, which splits it into two equal pens. The divider runs parallel to the width. What dimensions give the largest total area, and what is that area?
What it asks. Maximize area when an inside divider also uses fence.
Show the steps and the answer
The plan. Count the divider as another width. Solve the fence equation for length, then maximize width times length.
- Plan. Count the divider as another width. Solve the fence equation for length, then maximize width times length.
- Let w be the width in feet and L the length in feet.Name both sides first.
- Count the fence pieces: three pieces of length w (two ends and the divider) and two pieces of length L. So .The divider is as long as the width, and it uses fence too.
- Solve for L: , so .Subtract 3w from both sides, then divide every term by 2. Test with w = 10: L = 60 − 15 = 45, and 3(10) + 2(45) = 120.
- Build the area function: . So .Total area is width × length. The divider does not change the area.
- Note that a is negative, so the parabola opens down and there is a maximum value.The vertex is the top.
- Find the input at the vertex: .2 × = 3, so the bottom is −3. This finds the width where the area peaks.
- Find the length: feet.The question asks for both dimensions.
- Compute the area: square feet.The maximum value is the output at the vertex.
- Width: 20 feet (the divider is also 20 feet)
- Length: 30 feet
- Largest total area: 600 square feet
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write the constraint before the quadratic.
- Keep the input, the output and their units separate.
- Check allowed inputs, including whether counts must be whole numbers.
7 The trap
Wrong: report only the vertex input. Right: give the requested dimensions or price and the largest or smallest amount, with units.
Flash cards
Say the answer out loud, then flip.
A word problem asks for the largest or smallest amount, and the rule for that amount is a quadratic function. What one job does the question become?
- Find the vertex of the parabola, and check that it opens the right way for the question and that the problem allows its input.
- Its first number says where the highest or lowest point happens.
- Its second number says how big or how small the amount is there.
In f(x) = a + bx + c, how does the sign of a tell you whether you have a maximum value or a minimum value?
- If a < 0, the parabola opens down, so the vertex is the top: a maximum value.
- If a > 0, the parabola opens up, so the vertex is the bottom: a minimum value.
Think of a ball tossed straight up. You compute x = . Which question about the ball does that answer, and what step is still left?
- It answers when the ball is at the top: the input at the vertex.
- Still left: put that input back into the function.
- The output is how high the ball got: the maximum value.
Why does a squared term show up in a pen's area or a shop's revenue?
- Both measurements are written as a number times the same letter plus a number, with the number on the letter not 0.
- Area = width × length, and revenue = price × number sold.
- Multiplying two such pieces makes a squared term.