Jump to content

Science:Math Exam Resources/Courses/MATH101 B/April 2024/Question 18/Solution 1

From UBC Wiki

We wish to optimize F(T)=14TT+4(1+e(t4)2+cos(πt))dt. Ultimately, we wish to solve F(T)=0 and then verify that the solution is indeed a local maximum. A first attempt might be to try integrating the above expression in order to obtain another expression for F(T), but note the presence of e(t4)2 in the integrand. The function xex2 notoriously does not have a closed form antiderivative, so we should try to obtain F(T) without integrating. The fundamental theorem of calculus does precisely this, but we have to apply it carefully, since the independent variable T appears in both integral bounds. A trick that can help here is to rewrite the integral as follows: TT+4P(t)dt=TcP(t)dt+cT+4P(t)dt=cTP(t)dt+cT+4P(t)dt, where c is an real number in the domain of P. We see then that F(T)=P(T+4)P(T)=14(1+eT2+cos(π(T+4))1e(T4)2cos(πT))=14(eT2e(T4)2+cos(πT+4π)cos(πT)). Since cos is a periodic function with period 2π, cos(πT+4π)=cos(πT), and F(T)=14(eT2e(T4)2). We can now solve F(T)=0: 14(eT2e(T4)2)=0eT2=e(T4)2T2=(T4)2T=2. Therefore T=2 is a critical point of F. Now let us check that it is indeed a local maximum by computing F(2) with the chain rule: F(T)=14(eT2(2T)e(T4)2(2(T4))). We can compute F(4)=e4e4<0, which verifies that T=4 is indeed a maximum. Since the function F is differentiable and has no other critical points, it follows that T=4 is a global maximum.

Thus the 4-month period that maximizes the average population is from T=2 to T=6.