Optimization Problems
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn how to use derivatives to solve real-world optimization problems: finding the best, biggest, smallest, cheapest, or most efficient value of something.
The Concept
Section titled “The Concept”Optimization is the practical payoff of everything you’ve learned about derivatives. The process:
- Read the problem and identify what you’re maximizing or minimizing
- Draw a picture if possible
- Write the quantity to optimize as a function of one variable (use constraints to eliminate extras)
- Find the domain (what values make physical sense)
- Take the derivative, set it to zero, find critical points
- Test critical points (and endpoints if on a closed interval)
- Answer the question in context
Worked Example
Section titled “Worked Example”Example 1: Fence against a wall
You have 400 feet of fencing to enclose a rectangular pen against a straight wall. The wall forms one side, so you only need fence for three sides. What dimensions maximize the area?
Let x = width (perpendicular to wall), y = length (along wall).
Constraint: 2x + y = 400, so y = 400 - 2x.
Area as a function of x:
Domain: x must be between 0 and 200 (if x = 200, there’s no length left).
Take the derivative and set it to zero:
Then y = 400 - 2(100) = 200.
Maximum area is 100 times 200 = 20,000 square feet. The second derivative A” = -4 is negative, confirming this is a maximum.
Example 2: Open-top box
A box with a square base and no top must hold 500 cm³. What dimensions minimize the surface area?
Let x = side of the square base, h = height. Volume constraint: x²h = 500, so h = 500/x².
Surface area (base + four sides, no top):
Take the derivative:
Set to zero:
Then h = 500/100 = 5 cm. The box is 10 cm by 10 cm by 5 cm tall.
Example 3: Maximum profit
A company’s profit function is P(x) = -0.01x² + 50x - 200, where x is units produced.
P”(x) = -0.02, which is negative, so x = 2500 is a maximum. Maximum profit is P(2500) = -0.01(6250000) + 125000 - 200 = 62,300.
Real-World Application
Section titled “Real-World Application”Optimization is everywhere:
- Manufacturing: minimize material cost for a container that holds a required volume
- Business: find the price point that maximizes revenue (price times quantity, where quantity depends on price)
- Engineering: design the lightest beam that can support a given load
- Logistics: find the route that minimizes fuel cost
- Game design: balance resource costs so the game economy feels fair