Optimization - Complete Interactive Lesson
Part 1: Setting Up Optimization Problems
Optimization
Part 1 of 7 — Setting Up Optimization Problems
Topic Overview
| Part | Topic |
|---|---|
| 1 | Setting up optimization problems |
| 2 | Geometric optimization |
| 3 | Applied & business optimization |
| 4 | 3D optimization (cylinders & cones) |
| 5 | Distance & mixed optimization |
| 6 | AP-style workshop |
| 7 | Comprehensive assessment |
The 5-Step Optimization Strategy
| Step | Action | Example |
|---|---|---|
| 1. Define variables | Label unknowns, draw a diagram | width, length |
| 2. Write objective | Function to max/min | |
| 3. Apply constraint | Eliminate one variable | |
| 4. Find critical points | Set and solve | |
| 5. Justify max/min | Only critical point, or Candidates Test | : to at , the only critical point |
Worked Example: Rancher Fencing
A rancher has 200 m of fencing to enclose a rectangle along a river (no fence on the river side). Find the maximum area.
Let width, length along river.
Constraint:
Objective:
for and for , and is the only critical point on , so it gives the absolute maximum. (Also everywhere: concave down on the whole domain.)
.
Key Fact: The optimal rectangle along a wall always has the side parallel to the wall equal to twice the perpendicular side.
Practice — Setting Up 🎯
Identify the setup. 🔍
Solve. ✍️
Key Takeaways — Part 1
- Define variables clearly and draw a diagram
- The objective is what you maximize/minimize
- The constraint reduces to one variable
- Justify the absolute extremum: a sign change of at the only critical point, or the Candidates Test on a closed interval
- AP Tip: Always state the domain of the objective function
Part 2: Geometric Optimization
Optimization
Part 2 of 7 — Geometric Optimization
Classic Geometry Problems
| Problem Type | Setup |
|---|---|
| Box from sheet | Cut squares of side from corners, fold up |
| Rectangle in parabola | Vertices at and |
| Closest point | Minimize |
| Inscribed shapes | Express dimensions using the curve equation |
Worked Example: Open-Top Box
An open-top box is made by cutting squares of side from the corners of a sheet and folding up.
Domain:
is the only critical point in (the other root is about ). on and on , so it gives the absolute maximum:
AP Tip: Always state the domain of the objective function. It decides which critical points count, and whether endpoints must be checked.
Worked Example: Closest Point
Find the point on closest to .
Minimize
Point:
Key Fact: Always minimize instead of — it avoids square roots and gives the same critical points.
Practice — Geometric Optimization 🎯
Identify the correct approach. 🔍
Calculate. ✍️
Key Takeaways — Part 2
- Box-cutting problems: , domain
- Minimize for closest-point problems
- Inscribed rectangle under a curve:
- Always check domain endpoints for absolute max/min
Part 3: Cost & Revenue Optimization
Optimization
Part 3 of 7 — Applied & Business Optimization
Business Terminology
| Term | Formula | Meaning |
|---|---|---|
| Revenue | Income from selling units at price | |
| Cost | Total cost to produce units | |
| Profit | Revenue minus cost | |
| Marginal cost | Cost of producing one more unit | |
| Average cost | Cost per unit |
Worked Example: Widget Company
A company sells widgets at price per widget. Cost: . Find maximum profit.
Since must be whole: .
, i.e. $928
AP Tip: On the AP exam, optimization word problems may use business language. Know the formulas for , , , and marginal quantities.
Practice — Applied Optimization 🎯
Classify the quantity. 🔍
Solve. ✍️
Key Takeaways — Part 3
- Profit ; max profit when
- Average cost ; minimize by setting
- Revenue where is the demand function
- When units must be integers, check both nearest whole numbers
Part 4: 3D Optimization (Cylinders & Cones)
Optimization
Part 4 of 7 — 3D Optimization (Cylinders & Cones)
3D Shape Formulas
| Shape | Volume | Surface Area |
|---|---|---|
| Cylinder (closed) | ||
| Cylinder (open top) | ||
| Cone | ||
| Sphere |
Worked Example: Minimize Surface Area
A closed cylinder has volume cm. Find the radius that minimizes surface area.
Constraint:
Objective:
Then .
Key Fact: The optimal closed cylinder always has (height equals diameter). For an open-top cylinder, the optimal ratio is .
Practice — 3D Optimization 🎯
Identify the setup. 🔍
Calculate. ✍️
Key Takeaways — Part 4
- 3D optimization: same 5-step process with volume/surface area formulas
- Closed cylinder: optimal when
- Open-top cylinder: optimal when
- Always express or in one variable using the constraint
Part 5: Distance & Mixed Problems
Optimization
Part 5 of 7 — Distance & Mixed Problems
Distance Optimization
When minimizing the distance from a point to a curve :
Key Fact: Always minimize — it shares the same critical points as and avoids square roots.
Worked Example: Wire-Cutting
A wire of length 20 is cut into two pieces. One is bent into a square, the other into a circle. What cut minimizes total area?
Let circumference of circle, perimeter of square.
Circle: , area
Square: side , area
Special Optimization Patterns
| Pattern | Key Idea |
|---|---|
| Max/min with absolute value | Split into cases |
| Optimization on closed interval | Check critical points AND endpoints |
| Profit with discrete units | Check both integers near the critical point |
| Constrained by two inequalities | Domain may be restricted |
Practice — Mixed Problems 🎯
Choose correctly. 🔍
Solve. ✍️
Key Takeaways — Part 5
- Minimize for closest-point problems (avoids square roots)
- Wire-cutting/splitting problems: express total in one variable
- Closed interval: always check endpoints AND critical points
- Discrete constraints: check both nearby integers
Part 6: AP-Style Workshop
Optimization
Part 6 of 7 — AP-Style Workshop
AP FRQ Optimization Patterns
| Pattern | What They Ask | Key Steps |
|---|---|---|
| Geometric | "Find dimensions that maximize/minimize..." | Draw diagram, label, constrain |
| Applied | "At what rate/quantity is profit maximized?" | , set |
| Justification | "Justify that your answer is a maximum" | Sign change of at the only critical point |
| Closed interval | "Find the absolute maximum on " | Candidates Test: critical points and endpoints |
Full Worked AP Problem
A rectangle has one side on the -axis, the upper two vertices on .
(a) Express the area in terms of .
(b) Find the value of that maximizes .
(c) Justify that your answer gives a maximum.
Solution (a): Vertices at and . Width , height .
Solution (b):
Solution (c): is positive for and negative for . So increases and then decreases, and is the only critical point on . Therefore it gives the absolute maximum.
(Equivalently: there, so it is a local maximum, and because it is the only critical point on the interval, that local maximum is the absolute maximum.)
AP Tip: The Second Derivative Test alone shows only a local maximum. For the absolute maximum, add "and it is the only critical point on the interval," or, on a closed interval, compare at the critical points and the endpoints (Candidates Test). Always state the conclusion in words.
AP-Style Practice 🎯
AP steps. 🔍
AP Problem. ✍️
Key Takeaways — Part 6
- AP FRQs require complete justification for max/min
- State the domain of the objective function
- The Second Derivative Test shows a local extremum; add "only critical point on the interval" for the absolute one
- On closed intervals, compare all candidates (critical points + endpoints)
Part 7: Comprehensive Assessment
Optimization
Part 7 of 7 — Comprehensive Assessment
Optimization Strategy Reference
| Step | Action | Check |
|---|---|---|
| 1 | Draw and label diagram | Variables defined? |
| 2 | Write objective function | What are you optimizing? |
| 3 | Apply constraint | Down to one variable? |
| 4 | Find critical points | solved? |
| 5 | Justify absolute max/min | Only critical point, or candidates? |
| 6 | Answer the question | Units included? |
Common AP Mistakes
| Mistake | Fix |
|---|---|
| Not stating the domain | Write |
| Justifying only a local max | Add "only critical point" or compare candidates |
| Wrong constraint | Re-read what's "fixed" or "given" |
| Ignoring endpoints on | Compare at all candidates |
| Not labeling units | Include m, cm, etc. |
Quiz Set 1 — Core Skills 🎯
Quiz Set 2 — Advanced Problems 🎯
Final review. 🔍
Final Challenge. ✍️
🎉 Topic Complete!
You've mastered Optimization:
| Part | Topic | Status |
|---|---|---|
| 1 | Setting up optimization problems | ✅ |
| 2 | Geometric optimization | ✅ |
| 3 | Applied & business optimization | ✅ |
| 4 | 3D optimization (cylinders & cones) | ✅ |
| 5 | Distance & mixed problems | ✅ |
| 6 | AP-style workshop | ✅ |
| 7 | Comprehensive assessment | ✅ |
Key Fact: The 5-step optimization strategy (variables → objective → constraint → critical points → verify) works for every optimization problem. On the AP exam, justify the absolute extremum: a sign change of the derivative at the only critical point, or a comparison of all candidates on a closed interval.