Optimization
A common real-world application of derivative tests is optimization, which means finding the maximum or minimum value of a quantity while meeting certain constraints.
Example 1: General strategy
The following example will be used to show the step-by-step process:
Let for .
Find the value of that maximizes the product of and .
Solution
Step 1: Identify the objective function + constraint equation
The objective function is the quantity to maximize or minimize. We want to maximize the product, :
The constraint equation is the rule that limits your variables. Here, the constraint is given as a function of :
Step 2: Rewrite the objective function in terms of a single variable.
Substitute the constraint into the objective function.
Step 3: Find critical points:
To find where the product is maximized, find the critical points by taking the derivative and setting it equal to zero (). Differentiating,
Then solving for the critical points:
Since the problem states , our only critical point is .
Step 4: Justify extrema of the objective function
Use either the 1st or 2nd derivative test to classify the critical point as extrema. Here, we’ll use the 2nd derivative to check that yields a maximum. Differentiating again,
Evaluating,
Because , the function is concave down at this point, which proves that produces a relative maximum.
Even though the two are different, time can still occasionally act as the independent variable. If a problem asks you to find the exact moment a function is maximized or minimized (rather than finding a rate of change), it is an optimization problem.
Because these time-based contexts usually happen over a specific, closed interval of time, you must use the Extreme value theorem (EVT) and compare the critical points with the endpoints of the interval to find the absolute maximum or minimum.
Example 2: Closed interval optimization
The rate at which a processing plant refines oil is modeled by the function barrels per hour, where is measured in hours for . At what time is the refinery processing oil at the absolute slowest rate?
Solution
The keyword “absolute” signals use of the EVT, while “slowest” frames it as an optimization problem to find the minimum of the function.
1. Identify the objective function + constraint:
We want to minimize the refining rate, .
There is no constraint equation since the function is already in terms of a single variable, .
2. Find the critical points:
Differentiating, . Set equal to :
3. Identify extrema with the EVT:
Test the candidates (critical points and endpoints) into the original function .
Therefore absolute minimum value of the rate, barrel per hour, over the specified time interval occurs at hours.
Example 3: Motion
A particle moves along the -axis so that its velocity at time is given by for . At what time does the particle achieve its maximum acceleration, and what is the maximum acceleration?
Solution
1. Identify the objective function + constraint:
The question asks for maximum acceleration, meaning we want to find the maximum of the acceleration function. Differentiating velocity,
There is no constraint equation since the function is already in terms of a single variable, .
2. Find the critical points:
Differentiate acceleration:
Set it equal to :
3. Justify extrema:
Now, check that yields a maximum using the 2nd derivative test. Differentiating again,
Because for all , then is concave down at the critical point of , proving a relative maximum.
Since is the only critical point on the domain , this relative maximum is automatically the absolute maximum. The maximum acceleration occurs at .
Lastly, to find the maximum acceleration, find :
The following examples will be explained further in the quiz questions. As a translation guide:
-
“At what time is the particle furthest to the right/left?”
- Optimize position .
-
“Find the maximum speed.”
- Maximize , meaning the largest magnitude regardless of sign.
-
“At what time is the particle’s velocity decreasing (or increasing) the fastest?”
- Optimize acceleration .