The question states find the maximum and minimum values of $1/(\cos x + \sin x)$ and I turned it into $1/(\sqrt{2} \sin(x+\pi/4))$ and my answers are $1/\sqrt{2}$ for the maximum and $-1/\sqrt{2}$ minimum but the answer is $1/\sqrt{2}$ for the minimum and $-1/\sqrt{2}$ for the maximum.
Why are those the answers?
Thanks