a) $p^2-8>0$
b) $p=\sqrt 2$
c) $p=-\sqrt 2$
d) $p=0$
My attempt
$$\frac{\sec x +\csc x}{2} \ge \sqrt {\sec x \csc x}$$
$$\frac{\sin x +\cos x}{\sin x \cos x }\ge 2\sqrt {\frac{1}{\sin x \cos x}}$$
$$\sin x +\cos x \ge 2\sqrt {\sin x \cos x}$$
$$(\sqrt {\sin x}-\sqrt {\cos x})^2\ge 0$$
$$\sin x \ge \cos x$$
I realise that some of that squaring might have removed or added some roots, but I don’t know what else to do
From this result, the interval for $x$ is $[\frac{\pi}{4}, \pi]\cup [\frac{5\pi}{4}, \frac{3\pi}{2}]$
Don’t know what do next. Can I get some insight?
Another attempt
$$\sin x +\cos x =p \sin x \cos x$$ $$1+2\sin x\cos x =\frac 14 p^2 4\sin^2x \cos ^2x$$
$$1+\sin 2x =\frac 14 p\sin^2 2x$$
$$p\sin^22x-4\sin 2x -4=0$$
