Question
Mathematics Question on Applications of Derivatives
What is the maximum value of the function sin x + cos x?
Answer
Let f(x) = sin x + cos x
=f'(x)=cos x-sinx
f'(x)=0=sinx=cos x=tanx=1=4π,45π....,
f''(x)=-sinx-cos x=-(sinx+cos x)
Now, f×(x) will be negative when (sin x + cos x) is positive i.e., when sin x and cos x are both positive. Also, we know that sin x and cos x both are positive in the first
quadrant. Then, f×(x) will be negative when x∈(0,2π).
Thus, we consider x=4π.
f×(4π)=-(sin 4π+cos 4π)=-(22)=−2<0
∴ By the second derivative test, f will be the maximum at x=π/4. and the maximum value of f is f(4π)=sin 4π.+cos 4π=21×21=22=2