Jump to content

Science:Math Exam Resources/Courses/MATH100/December 2010/Question 01 (l)/Solution 1

From UBC Wiki

We first take the derivative to see that

f′(x)=ex(sin⁡x−cos⁡x)+ex(cos⁡x+sin⁡x)=2exsin⁡x

Setting this to zero, we see that the function is zero whenever sin⁡x=0 (the exponential function is always bigger than 0) and on our interval [π2,2π], this occurs at π and at 2π.

Checking the endpoints and values at the critical points, we have

f(π2)=eπ2(sin⁡(π2)−cos⁡(π2))=eπ2

f(π)=eπ(sin⁡(π)−cos⁡(π))=eπ

f(2π)=e2π(sin⁡(2π)−cos⁡(2π))=−e2π

Hence, our function obtains its absolute maximum at π and the value is eπ.