Welcome to the World of Optimization!
Have you ever wondered how a company decides the perfect size for a soda can to save money on aluminum, or how a farmer figures out the best way to fence in a field to give their cows the most grass? That is exactly what Optimization is all about! In this chapter, we take everything we’ve learned about derivatives and use it to find the "best" (the maximum or the minimum) solutions to real-world problems.
Don't worry if word problems feel intimidating. We are going to break these down into a simple, step-by-step recipe that works every time.
What is Optimization?
In Unit 5, we have already learned how to find the absolute extrema (the highest and lowest points) of a function. Optimization is simply applying those calculus skills to a specific scenario. When we "optimize," we are either:
- Maximizing something (like area, volume, or profit).
- Minimizing something (like cost, distance, or time).
Quick Review: Remember from Topic 5.2 and 5.5 that absolute extrema usually occur at critical points (where the derivative is zero or undefined) or at the endpoints of the interval.
Topic 5.10: Introduction to Optimization Problems
Before we start crunching numbers, we need to understand the two main "players" in every optimization story:
- The Objective Function: This is the star of the show. It is the formula for the quantity you want to maximize or minimize (e.g., \( V = l \cdot w \cdot h \) if you want to maximize volume).
- The Constraint: This is the "limitation" or the rule you must follow. It usually involves a fixed number (e.g., "You only have \( 40 \) feet of fencing").
Analogy: Imagine you are at a candy store. Your Objective is to get the maximum amount of chocolate. Your Constraint is that you only have \( \$5 \). The math helps you find the perfect balance!
Key Terms to Know:
Critical Points: Values of the independent variable where the derivative of the objective function is \( 0 \) or undefined. These are our "candidates" for the max or min.
Feasible Domain: The set of all possible values that make sense in the context of the problem. For example, the length of a box cannot be negative, so \( l > 0 \).
Topic 5.11: Solving Optimization Problems
To solve these problems successfully on the AP Exam, follow these steps. You can remember them with the mnemonic: I D.R.E.A.M.
- Identify: Read the problem and identify what needs to be optimized.
- Draw: Sketch a picture and label the variables.
- Relate: Write the Objective Function and the Constraint equation.
- Eliminate: Use the constraint to solve for one variable and substitute it into the objective function so it only has one variable.
- Analyze: Find the derivative, set it to \( 0 \), and find the critical points.
- Make sure: Verify your answer using the Candidates Test (Topic 5.5) or the Second Derivative Test (Topic 5.7).
Step-by-Step Example: The Classic Fence Problem
A farmer has \( 100 \) meters of fencing and wants to enclose a rectangular field next to a straight river (no fence is needed along the river). What dimensions provide the maximum area?
1. Identify: Maximize Area (\( A \)).
2. Draw: Picture a rectangle with two sides of length \( x \) and one side of length \( y \) (the fourth side is the river).
3. Relate:
Objective: \( A = x \cdot y \)
Constraint: \( 2x + y = 100 \)
4. Eliminate: Solve the constraint for \( y \): \( y = 100 - 2x \). Substitute into the objective: \( A(x) = x(100 - 2x) = 100x - 2x^2 \).
5. Analyze: Find the derivative: \( A'(x) = 100 - 4x \). Set to zero: \( 100 - 4x = 0 \implies x = 25 \).
6. Make Sure: Since \( A''(x) = -4 \) (which is negative), the graph is concave down, meaning \( x = 25 \) is a maximum! If \( x = 25 \), then \( y = 100 - 2(25) = 50 \). The dimensions are \( 25 \)m by \( 50 \)m.
Key Takeaway: Always check that your answer makes sense in the real world. A length of \( -5 \) is a hint that something went wrong!
AP Exam Tips and Calculator Usage
The AP Calculus AB exam often includes optimization in both the Multiple-Choice and Free-Response sections. Here is what you need to know:
Calculator vs. Non-Calculator
If the question is in Section I Part B or Section II Part A, you are REQUIRED to use your graphing calculator. According to the syllabus, you must use it to:
- Find the zeros of a derivative (solve \( f'(x) = 0 \)).
- Calculate the numerical derivative at a point.
- Graph the function to see where the max/min occurs.
Important: On Free-Response questions, you must write the "setup." For example, write \( A'(x) = 0 \), then state your calculator's result. Don't just write the answer!
Common Mistakes to Avoid
- Forgetting the Endpoints: If your domain is closed (like \( [0, 50] \)), you must check the endpoints using the Candidates Test.
- Answering the Wrong Question: If the question asks for the maximum area, don't just give the x-value. Plug it back in to find the actual area!
- Notation Errors: Use correct notation like \( \frac{dA}{dx} \) or \( f'(x) \).
Quick Summary Checklist
• Did I find the objective function? (The thing to be maximized/minimized)
• Did I use the constraint to get the objective function down to one variable?
• Did I find the critical points by setting the derivative to zero?
• Did I justify that my answer is a maximum or minimum (using the First or Second Derivative Test)?
• Did I include units (like \( cm^2 \) or \( feet \)) if required?
Did you know? Optimization is used in aerospace engineering to calculate the "Minimum Fuel Trajectory" for rockets. Calculus literally helps us reach the stars!
Justification Tip: When justifying a local extremum on the FRQ, always say: "Since \( f'(x) \) changes from positive to negative at \( x = c \), \( f(x) \) has a relative maximum at \( x = c \)."