- Topic
- Optimization
- Difficulty
- Challenging
- Suggested time
- 7 min
- Marks
- 4
Optimization practice question 16
A bird feeds in patches of berries. After minutes in a patch it has gained units of energy, given below, so the patch gives up food more and more slowly. Flying to the next patch takes 6 minutes, with no food on the way. How long should the bird stay in each patch to make its long-run rate of energy gain, energy per minute of feeding and flying together, as large as possible?
Give the time in minutes.
The rate counts the whole cycle, feeding and flying. If the bird stays minutes in a patch, how much energy does one cycle bring, and how long does the cycle last?
One cycle is minutes feeding plus 6 minutes flying, and it yields . So the rate to maximise is for .
Expand the denominator to before using the quotient rule; most of the numerator cancels.
An exact expression, or a decimal to two decimal places.
Theory UBC Math 100 §8CLP-1 §3.5Key results
Worked solution
Strategy
The bird should maximise energy per minute of the whole cycle, travel included. Write that rate as a function of the time spent in a patch, differentiate with the quotient rule, and check the sign of R′ on either side.
Working
Energy from one patch over the length of one cycle.
Quotient rule; the 9t terms cancel in the numerator.
Only the positive root is a time.
The rate rises and then falls, so this is the global maximum for t > 0.
The best long-run rate, in units of energy per minute, for reference.
Answer
The answer is 3 root 2 minutes, about 4.24 minutes.
Check
Staying 4 or 4.5 minutes gives a long-run rate of 24/7 ≈ 3.4286 units a minute either way, just under the 3.4315 at 3√2 ≈ 4.24.
Where this goes wrong
Leaving the 6 minutes of flight out of the rate: f(t) only rises and f(t)/t only falls, so neither has a best stay, and the travel time is what makes a longer stay worthwhile. Or stopping at t² = 18 and answering 18 instead of 3√2.
Leans on
The quotient rule, from Differentiation rules
Saved in this browser only.