Problem-Solving Strategy
- Understand the problem: Read carefully, identify what to maximize/minimize
- Draw a diagram: Visualize the situation
- Assign variables: Label all quantities
- Write the objective function: Express what you're optimizing
- Write constraint equation(s): Express relationships between variables
- Reduce to one variable: Use constraints to eliminate variables
- Find critical points: Set derivative = 0
- Verify it's a max/min: Use first or second derivative test
- Answer the question: Include units
Common Formulas
Geometry
- Rectangle: A=lw, P=2l+2w
- Circle: A=πr2, C=2πr
- Box: V=lwh, S=2lw+2lh+2wh
- Cylinder: V=πr2h, S=2πr2+2πrh
- Cone: V=31πr2h
Distance
- d=(x2−x1)2+(y2−y1)2
Examples
Example 1: Fencing Problem
A farmer has 400 ft of fencing to enclose a rectangular field next to a river (no fence needed along river). Find dimensions for maximum area.
Let x = side perpendicular to river, y = side parallel to river.
Constraint: 2x+y=400, so y=400−2x
Objective: A=xy=x(400−2x)=400x−2x2
dxdA=400−4x=0
x=100 ft
y=400−200=200 ft
Check: dx2d2A=−4<0, so this is a maximum.
Maximum area = 100×200=20,000 ft²
Example 2: Box with Maximum Volume
An open-top box is made from a 12×12 inch square by cutting squares from corners. Find cut size for maximum volume.
Let x = side of cut squares
Dimensions: (12−2x)×(12−2x)×x
V=x(12−2x)2=x(144−48x+4x2)=4x3−48x2+144x
dxdV=12x2−96x+144=12(x2−8x+12)=12(x−2)(x−6)=0
x=2 or x=6
Since 0<x<6, we have x=2 inches.
V(2)=2(8)2=128 in³
Maximum volume = 128 cubic inches
Example 3: Minimum Distance
Find the point on y=x2 closest to (0,3).
Point on parabola: (x,x2)
Distance squared: D=x2+(x2−3)2
(Minimizing D2 also minimizes D)
dxdD=2x+2(x2−3)(2x)=2x+4x3−12x=4x3−10x=2x(2x2−5)
2x(2x2−5)=0
x=0 or x=±25
Compare values:
- D(0)=0+9=9
- D(±25)=25+(25−3)2=25+41=411
Closest point: (±25,25)≈(±1.58,2.5)
Example 4: Minimum Cost
A cylindrical can must hold 1000 cm³. Material costs $0.01/cm² for sides and $0.02/cm² for top and bottom. Find dimensions for minimum cost.
V=πr2h=1000,so h=πr21000
Cost=0.02(2πr2)+0.01(2πrh)
=0.04πr2+0.02πr⋅πr21000
=0.04πr2+r20
drdC=0.08πr−r220=0
r3=0.08π20=π250
r=3π250≈4.30 cm
h=π⋅(250/π)2/31000≈17.21 cm
Example 5: Minimum Travel Time
A lifeguard at point A must reach a drowning swimmer at point B. The guard runs at 8 m/s on sand and swims at 2 m/s. Find the optimal entry point.
Setup: Guard is 50m along shore and 40m inland from the point closest to swimmer, who is 60m offshore.
Let x = distance along shore to entry point.
Time=8402+x2+2602+(50−x)2
dxdT=81600+x2x−23600+(50−x)250−x=0
This gives: 8sin(θ1)=2sin(θ2) (Snell's Law!)
Solving numerically: x≈10.6 m