Loading…
Using calculus to find maximum and minimum values in real-world situations
Learn step-by-step with practice exercises built right in.
Optimization means finding the best solution to a problem - usually the maximum or minimum value of some quantity.
💡 Key Idea: Use calculus to find where the derivative equals zero, then verify it's actually a max or min!
Step 1: Read carefully and identify what to maximize or minimize
Step 2: Draw a diagram (if applicable)
Find two positive numbers whose sum is 20 and whose product is as large as possible.
Step 1: Identify
Maximize: Product of two numbers
Step 2: Assign variables
Let the numbers be and
| Section | Format | Questions | Time | Weight | Calculator |
|---|---|---|---|---|---|
| Multiple Choice (No Calculator) | MCQ | 30 | 60 min | 33.3% | 🚫 |
| Multiple Choice (Calculator) | MCQ | 15 | 45 min | 16.7% | ✅ |
| Free Response (Calculator) | FRQ | 2 | 30 min | 16.7% | ✅ |
| Free Response (No Calculator) | FRQ | 4 | 60 min | 33.3% | 🚫 |
Avoid these 4 frequent errors
See how this math is used in the real world
A stone is dropped into a still pond, creating a circular ripple. The radius of the ripple is increasing at a rate of cm/s. How fast is the area of the circle increasing when the radius is cm?
Review key concepts with our flashcard system
Explore more AP Calculus AB topics
Step 3: Assign variables to all quantities
Step 4: Write the primary equation - the function to optimize
Step 5: Find constraint equations (relationships between variables)
Step 6: Reduce to one variable using constraints
Step 7: Find the derivative and critical points
Step 8: Verify it's a max/min (Second Derivative Test or endpoints)
Step 9: Answer the question (often needs more than just the critical point!)
Problem: A farmer has 100 meters of fence to enclose a rectangular garden. What dimensions give the maximum area?
Step 1: Identify
Maximize: Area
Step 2: Draw
x
┌───┐
y │ │ y
└───┘
x
Step 3: Assign variables
Let = width, = length
Step 4: Primary equation
Area:
This is what we want to maximize.
Step 5: Constraint
Perimeter:
Step 6: Reduce to one variable
From constraint: , so
Substitute into area:
Now is a function of only!
Step 7: Find critical points
Set equal to zero:
meters
Step 8: Verify maximum
(concave down)
Since , this is a maximum ✓
Also check endpoints: or gives (no area)
Step 9: Answer the question
meters (width)
meters (length)
Answer: The garden should be a 25 × 25 meter square with maximum area of 625 square meters.
Problem: A box with a square base and open top must have a volume of 32 cubic feet. Find the dimensions that minimize the amount of material used.
Step 1: Identify
Minimize: Surface area (amount of material)
Step 2: Draw
┌─── x ───┐
│ │
h │ │
│ │
└─────────┘
x
Square base: , height:
Step 3: Variables
= side length of base = height
Step 4: Primary equation
Surface area (no top!):
(base plus four sides each)
Step 5: Constraint
Volume:
Step 6: Reduce to one variable
From constraint:
Substitute:
Step 7: Find critical points
Set equal to zero:
feet
Step 8: Verify minimum
✓
Positive → minimum ✓
Step 9: Find all dimensions
feet (base side length)
feet (height)
Answer: Base is 4 × 4 feet, height is 2 feet. Minimum surface area is 48 square feet.
Given perimeter, maximize area (or vice versa)
Key: Use constraint to eliminate one variable
Minimize surface area for given volume
Key: Remember which surfaces are included!
Minimize distance from a point to a curve
Key: Can minimize distance² to avoid square roots
Maximize revenue, profit; minimize cost
Key:
Often use Pythagorean Theorem as constraint
Key: Draw the triangle and label everything
Always check the domain!
Pay attention to units and include them in your answer!
Sometimes the question asks for:
You MUST express the function in terms of a single variable before differentiating!
Use ALL given information to create constraint equations.
Use Second Derivative Test or check endpoints to confirm!
Make sure your answer makes physical sense (positive lengths, etc.)
If the problem asks for dimensions, give ALL dimensions, not just .
If the constraint is hard to solve, use implicit differentiation (in related rates style).
To minimize distance , minimize instead (same critical points, easier derivative).
Often the optimal solution has symmetric dimensions (like a square instead of rectangle).
If the domain is a closed interval :
Step 3: Primary equation
Product:
Step 4: Constraint
Sum is 20:
Step 5: Reduce to one variable
From constraint:
Substitute:
Step 6: Find domain
Since both numbers must be positive: and
So
Step 7: Find critical points
Set equal to zero:
Step 8: Verify maximum
(concave down)
This is a maximum ✓
Check endpoints:
Maximum is clearly at ✓
Step 9: Find both numbers
Answer: The two numbers are 10 and 10 with maximum product 100.
A rectangular poster is to have 50 square inches of printed material with 2-inch margins on top and bottom and 1-inch margins on each side. What dimensions minimize the total area of the poster?
Step 1: Draw a diagram
┌─────────────────┐
│ 1" 1" │ ← 2" margin top
│ ┌───────────┐ │
│ │ printed │ │
│ │ area │ │
│ └───────────┘ │
│ │ ← 2" margin bottom
└─────────────────┘
Step 2: Assign variables
Let = width of printed area
Let = height of printed area
Step 3: Constraint
Printed area:
Step 4: Primary equation (total area)
Total width:
Total height:
Total area:
Step 5: Reduce to one variable
From constraint:
Substitute:
Step 6: Find critical points
Set equal to zero:
(positive solution)
Step 7: Verify minimum
✓
Minimum confirmed ✓
Step 8: Find dimensions
Printed width: inches
Printed height: inches
Total poster dimensions:
Total width: inches
Total height: inches
Answer: The poster should be 7 inches wide by 14 inches tall.
A cylindrical can is to hold 1000 cubic centimeters of juice. Find the dimensions that will minimize the cost of metal to make the can.
Step 1: Draw
┌───────┐
│ │
h │ │ ← height
│ │
└───────┘
r (radius)
Step 2: Identify
Minimize: Surface area (amount of metal)
Step 3: Assign variables
= radius of base
= height
Step 4: Constraint
Volume:
Step 5: Primary equation
Surface area (top + bottom + side):
Step 6: Reduce to one variable
From constraint:
Substitute:
Step 7: Find critical points
Set equal to zero:
cm
Step 8: Verify minimum
Since , we have for all ✓
This is a minimum ✓
Step 9: Find height
Computing: cm
Note: (interesting!)
Answer:
The optimal can has height equal to the diameter!
A farmer has 200 feet of fencing to enclose a rectangular field along a river (one side doesn't need fencing). Find the maximum area.
Step 1: Set up variables: Let x = width (perpendicular to river) Let y = length (parallel to river)
Step 2: Write constraint equation: Fencing needed: 2x + y = 200 So y = 200 - 2x
Step 3: Write function to maximize: Area A = x·y = x(200 - 2x) = 200x - 2x²
Step 4: Find domain: 0 < x < 100 (since y must be positive)
Step 5: Find critical points: A'(x) = 200 - 4x = 0 x = 50
Step 6: Verify maximum: A''(x) = -4 < 0 (concave down, so maximum)
Step 7: Find dimensions: x = 50 feet y = 200 - 2(50) = 100 feet Maximum area = 50(100) = 5000 ft²
Answer: Maximum area is 5000 ft² with dimensions 50 × 100 feet
Find the point on the parabola y = x² closest to the point (0, 3).
Step 1: Set up distance function: Point on parabola: (x, x²) Distance to (0, 3): D = √[(x - 0)² + (x² - 3)²]
Step 2: Minimize D² instead (easier): D² = x² + (x² - 3)² D² = x² + x⁴ - 6x² + 9 D² = x⁴ - 5x² + 9
Step 3: Find critical points: d/dx[D²] = 4x³ - 10x = 2x(2x² - 5) = 0 x = 0 or x² = 5/2 x = 0, ±√(5/2) = ±√10/2
Step 4: Test which gives minimum: At x = 0: D² = 9 At x = ±√10/2: D² = (5/2)² - 5(5/2) + 9 = 25/4 - 25/2 + 9 = 25/4 - 50/4 + 36/4 = 11/4
Step 5: Compare values: 11/4 = 2.75 < 9 Minimum at x = ±√10/2
Step 6: Find points: x = √10/2 ≈ 1.58, y = 5/2 = 2.5 → (√10/2, 5/2) x = -√10/2, y = 5/2 → (-√10/2, 5/2)
Answer: Two closest points: (±√10/2, 5/2) at distance √(11/4) = √11/2