Find the absolue maximum value and the absolute minimum value of the following function in the given intervals:
f(x)=sinx+cosx,xϵ[0,π]
Given function f(x)=sinx+cosx⇒f′(x)=cosx−sinx
For maxima or minima put f′(x)=0⇒cos−sinx=0⇒sin xcos x=1
⇒tan x=1⇒π4ϵ[0,π]
Now, we evaluate the value of f at critical point x=π4 and at the end points of the interval [0,π].
At x=π4f(π4)=sinπ4+cosπ4=1√2+1√2=√2At x=0,f(0)=sin0+cos0=0+1=1At x=πf(π)=sinπ+cosπ=0−1=−1
Thus, absolute maximum value is~ √2 at x=π4 and absolute minimum value is -1 at x=π