Question
Mathematics Question on Applications of Derivatives
Find the absolute maximum and minimum values of the function f given by f(x)=cos2x+sinx,x∈[0,π]
Answer
f(x)=cos2x+sinx
f′(x)=2cosx(−sinx)+cosx
=−2sinxcosx+cosx
Now,f(x)=0
⇒2sinx\,cosx=cosx$$⇒cosx(2sinx-1)
⇒sinx=21orcosx=0
⇒x=6π,or2πasx∈[0,π]
Now, evaluating the value of f at critical points x=2π and x=6π and at the end points of the interval [0,π] (i.e., at x=0 and x=π), we have:
f(6π)=cos26π+sin6π
=(23)2+21=45
f(0)=cos20+sin0=1+0=1
f(π)=cos2π+sinπ=(−1)2+0=1
f(2π)=cos22π+sin2π=0+1=1
Hence, the absolute maximum value of f is 45 is occurring at x=6π and the absolute minimum value of f is 1 occurring at x=0,π/2,and π.