Lesson 7 of 8 · 18 min
Optimising a given model
Find the maximum or minimum of a given model, justify it with the second derivative, check the endpoints of the domain, and answer in context.
What you will be able to do
- Find the value of the variable that maximises or minimises a given model, and the optimal value itself.
- Justify that an optimum is a maximum or minimum using the second derivative test.
- Find global maxima and minima on a closed interval by comparing stationary points with the endpoints.
- Interpret an optimum in context, with units.
When does a medicine reach its highest concentration in the blood? How many items should a business make to earn the most profit? When is a reservoir at its lowest? Each question asks for the maximum or minimum of a function, and calculus finds it.
A model for the concentration of a drug hours after a dose (here stands for ). Change and . The peak is always at , and the point of inflection, where the concentration falls fastest, is always at .
Optimising a given function
State the domain
Which values of the variable make sense?
Differentiate and solve f′(x) = 0
Keep only the solutions inside the domain.
Justify the nature
Use the second derivative test (or a sign table) to show each point is a maximum or a minimum.
Check the endpoints
On a closed interval, evaluate the function at the endpoints too. The global optimum is the largest or smallest of all these values.
Answer in context
Give the optimal value and the value of the variable that produces it, with units.
Worked example
Peak concentration of a medicine
The concentration of a medicine in a patient's blood hours after an injection is modelled by mg/L, for .
Determine the maximum concentration and when it occurs, justifying that it is a maximum. Give the concentration exactly and to one decimal place.
Step 1: Differentiate with the product rule
Step 2: Solve C′(t) = 0
Since , , so .
Step 3: Find the second derivative
Step 4: Apply the second derivative test
, so gives a maximum.
Step 5: Find the maximum concentration
mg/L
Try it yourself first, then check the working one step at a time.
Answer
The concentration is greatest 2 hours after the injection, when it is mg/L. Since , this is a maximum.
Method
Differentiate with the product rule and factor out the exponential.
Solve using .
Justify with the second derivative test.
Substitute into for the maximum value, and give units.
Watch out for
Trying to solve . It has no solution, so only the other factor matters.
Giving only when the question asks for the maximum concentration too.
The weekly profit of a small bakery is modelled by hundred dollars, where is the number of hundreds of loaves baked, . How many hundred loaves maximise the profit?
Local is not always global. A local maximum is only higher than the points near it. On a closed interval , the function may climb higher at an endpoint. The global maximum is the largest value of on the whole interval, and the global minimum is the smallest.
On , the local maximum is not the global maximum: the endpoint is higher.
Worked example
Global maximum and minimum on an interval
Determine the global maximum and global minimum values of for .
Step 1: Find the stationary points
, so or . Both are in the interval.
Step 2: Classify them
. , a local maximum; , a local minimum.
Step 3: Evaluate at the stationary points and the endpoints
On a closed interval, the global extremes are among the stationary points and the endpoints.
Step 4: Choose the largest and smallest
The largest value is (at ) and the smallest is (at ).
Try it yourself first, then check the working one step at a time.
Answer
The global maximum is , at the endpoint . The global minimum is , at the local minimum . The local maximum is not the global maximum.
Method
Find the stationary points inside the interval.
Evaluate at them and at both endpoints.
The largest value is the global maximum; the smallest is the global minimum.
Watch out for
Reporting the local maximum as the greatest value without checking the endpoints.
Use the function on from the graph above. What is the global minimum value of on this interval?
Common mistake
Answering the wrong question
"When is the concentration greatest?" wants a time. "What is the greatest concentration?" wants a concentration. Read the question again before you write the final sentence, and give units.
Exam tip
Exact or approximate
In Paper 1, leave answers such as exact unless asked to round. In Paper 2 you may find the maximum with the calculator's graph tools, but a full answer still shows the derivative, the equation , and the justification.
Summary
Solve in the domain, then justify each point with the second derivative test.
On a closed interval, compare the stationary values with the values at the endpoints: the largest is the global maximum and the smallest is the global minimum.
For , the maximum is at .
Answer the question asked (when, or how much), in context, with units.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.