Maths 1: Week 09 - The Master Encyclopedia of Optimization extremes
1. The Genesis: The Search for the Peak 📜
1.1 The Logic of Efficiency
Until now, we have learned to find the “Speed” of a function. But why does speed matter? Because in the real world, we want to know when speed is Zero.
Think about it: When a ball is thrown into the air, its velocity slows down until it hits the very peak. At that exact split-second, its speed is Zero. By finding where the derivative is zero, we find the “Peaks” and “Valleys” of the world.
This is Optimization. It is how Amazon minimizes its delivery costs, how engineers maximize bridge strength, and how investors find the peak of a market trend. In the second half of this week, we introduce the opposite of moving fast: the Accumulation of area, the birth of Integration.
1.2 The Philosophical Intuition
If the Derivative is about the Moment, then Optimization is about the Best Moment. And Integration is the story of how many “Moments” were spent to create a “Whole.”
2. Axiomatic Foundations: The Critical Points 🏛️
2.1 Maxima & Minima (Extrema)
A function has an “Extremum” at if it is higher (Max) or lower (Min) than all surrounding points.
- Critical Point Criterion: To find these points, we search for where or is undefined.
- The Global vs. Local Standard:
- Local: The king of its neighborhood.
- Global: The absolute champion across the entire domain.
2.2 Fermat’s Theorem
If has a local extremum at , and exists, then . Warning: The reverse is not always true! A derivative of zero doesn’t guarantee a peak—it could be a “Saddle Point” (like a plateau where you keep going).
3. Validation Mechanics: Which Way is Up? 🛠️
3.1 The First Derivative Test (The Directional Check)
- If changes from to : You just climbed a peak. (Local MAX).
- If changes from to : You just hit the bottom. (Local MIN).
3.2 The Second Derivative Test (The Concavity Check)
- AND : The graph is “Opening Down” at a flat point. MUST be a MAX.
- AND : The graph is “Opening Up” at a flat point. MUST be a MIN.
4. Mean Value Theorem: The Speeding Ticket 🖋️
4.1 The Theory
If a function is smooth and continuous on , then there must be at least one point in between where your “Instantaneous Speed” matches your “Average Speed.”
- Physical Metaphor: If you drive 100 miles in 2 hours (average 50mph), at some point your speedometer MUST have read exactly 50mph. You can’t reach the average without hitting it at least once.
5. Introduction to Integration: Riemann Sums 📈
5.1 The Area Problem
How do you find the area of a shape with a curvy roof?
- The Strategy: Chop the area into many thin rectangles. Add up the area of the rectangles.
- The Integration Axiom: As the number of rectangles () goes to infinity, the sum becomes the perfect area under the curve.
- The Symbol: .
6. The Encyclopedia of Worked Examples (10 Case Studies) 📚
Case 1: Finding Critical Points
Problem: Find critical points of .
- Step 1: .
- Step 2: .
- Result: Critical points at and .
Case 2: Identifying Max vs Min
Problem: Is the point in Case 1 a Max or Min?
- Step 1: .
- Step 2: . Since , the graph is opening up.
- Result: is a Local Minimum.
Case 3: Maximizing Area (The Fence Problem)
Problem: You have 100m of fence to build a rectangle against a wall. Maximize the area.
- Logic: Perimeter . (Only 3 sides). .
- Area: .
- Optimize: .
- Dimensions: .
- Result: Max area .
Case 4: Calculating Increasing/Decreasing Intervals
Problem: On which interval is increasing?
- Logic: Where is ? .
- Result: .
Case 5: Root of a Derivative (Horizontal Tangent)
Problem: Does have a horizontal tangent?
- Calculation: . .
- Result: Yes, at .
Case 6: Approximating Area with 2 Rectangles (Riemann)
Problem: Estimate area under from 0 to 2 using 2 rectangles (Right Sum).
- Step 1: Width .
- Step 2: Heights at and . .
- Sum: .
- Result: 5 units.
Case 7: Finding the Points of Inflection
Problem: Where does change concavity?
- Step 1: .
- Step 2: .
- Step 3: .
- Result: Inflection point at .
Case 8: The Closed Interval Method
Problem: Find absolute max/min of on .
- Test Critical Points: at . .
- Test Endpoints: , .
- Result: Absolute Max is at (Value 4). Absolute Min is at (Value 0).
Case 9: Slope of an Integral
Problem: What is the derivative of ?
- The Fundamental Theorem: It is just the original function .
- Result: .
Case 10: Optimizing Profit
Problem: Profit . At what sales volume is profit max?
- Calculation: .
7. Fundamental “How-To” Recipes 🍳
Recipe: The Optimization Masterplan
- Objective: Find the equation for the quantity you want to Max/Min.
- Constraint: Use external info to substitute variables so you only have ONE variable ().
- Differentiate: Find the critical points.
- Confirm: Use the 2nd derivative to make sure you found a peak and not a valley.
Recipe: Sketching using Calculus
- Dots: Plot the X/Y intercepts.
- Peaks/Valleys: Plot the Critical Points ().
- Arcs: Use to decide if it bends up or down between the dots.
- Connect: You now have a perfect topological map.
8. Encyclopedia Mastery Challenge 🏆
- The Mystery Point: Can a function have and ? Sketch at . Is it a max or min?
- The MVT Proof: If you started at and ended at , why must there be a point where the slope is 1?
- The Rectangle Convergence: If we use rectangles, is the area more or less accurate than using rectangles? Why?
- The Rolle Theorem: If and the function is continuous, show that there must be a point between them where you are “not moving” ().
🚀 Master Status: You have completed the Encyclopedic Expansion of Optimization and Accumulation. You now hold the keys to finding the “Best” outcome in any system. 助