Optimization is the process of finding the largest or smallest possible value of a quantity, such as maximum area, minimum cost, or shortest time. In calculus, many real-world optimization problems become functions whose peaks or valleys can be located using derivatives. A clear strategy matters because the hardest part is often turning words into a correct mathematical model.
Once the model is built, calculus gives a reliable way to test possible answers.
A typical optimization problem starts by naming the quantity to optimize and writing it as a function. Then constraints are used to reduce the function to one variable, and the domain is identified from the physical situation. Critical points are found by solving f'(x) = 0 or checking where f'(x) is undefined, then endpoints and other candidates are compared.
The final answer must be verified in context, including correct units and a check that it satisfies all constraints.
Key Facts
- Optimization goal: maximize or minimize a target quantity such as area, volume, cost, distance, or time.
- Use the constraint to rewrite the objective function in one variable before differentiating.
- Critical points occur where f'(x) = 0 or f'(x) does not exist, as long as x is in the domain.
- Closed interval test: evaluate f(x) at all critical points and endpoints, then compare values.
- Second derivative test: if f'(c) = 0 and f''(c) > 0, then f has a local minimum at c; if f''(c) < 0, then f has a local maximum at c.
- Always state the final result in context with units, such as maximum area = 200 m^2 or minimum cost = $540.
Vocabulary
- Objective function
- The function that represents the quantity you want to maximize or minimize.
- Constraint
- An equation, inequality, or condition that limits the possible values in the problem.
- Domain
- The set of input values that make sense mathematically and physically for the situation.
- Critical point
- A point in the domain where the derivative is zero or undefined and an extreme value may occur.
- Endpoint
- A boundary value of the domain that must be checked when looking for an absolute maximum or minimum.
Common Mistakes to Avoid
- Optimizing the wrong quantity: students sometimes differentiate the constraint instead of the objective function, which finds changes in the limitation rather than the desired maximum or minimum.
- Forgetting to use the constraint: leaving the objective function in two variables prevents standard single-variable derivative methods from working.
- Ignoring the domain: answers such as negative lengths or times may solve an equation but do not make sense in the real-world problem.
- Assuming f'(x) = 0 is automatically the answer: a critical point is only a candidate, so endpoints, undefined derivative points, and the original context must also be checked.
Practice Questions
- 1 A rectangle has perimeter 40 cm. Write the area as a function of one variable and find the dimensions that give the maximum area.
- 2 A farmer has 120 m of fencing to make three sides of a rectangular pen against a straight wall. Find the dimensions that maximize the area.
- 3 Explain why an optimization solution must check both the derivative condition and the physical domain of the problem.