Find the extrema of $(1+\sin x)(1+\cos x)$ without using calculus.
I was able to figure out the minima by observing that each of the brackets range from $0$ to $2$. Therefore the minima has to be $0$ when either one of the brackets is zero.
However I couldnt figure out the maxima. I tried expanding it to complete the square but it didnt quite work out well.
Any hint is appreciated!
Hint: $(1+\sin x)(1+\cos x)=1+\sin x+\cos x+\frac 12\sin 2x=1+\sqrt 2\sin(x+\frac {\pi}{4})+\frac 12\sin 2x$