I modified the equation into $2\sin^2 x + 2(1 - \sin^2 x)^2$
let $\sin^2x$ as $p$.
so, $f(p) = 2p + 2(1 - p)^2$
max and min at $p = \pm \frac 12$
$f(-\frac 12)$ and $f(\frac 12)$ give the same value is $\frac 32$
also $-1 \leq p \leq 1$ so, $p(-1)$ and $p(1)$ give the same value is $2$
so max is $2$ and min is $\frac 32$
My question is
should we always check and included $\sin x = -1$ or $\sin x = 1$ for trigonometry equation similar to this (lets say theres no certain boundary) ?
at slope $= 0$, there's only $1$ value, so it means on the graph has only 1 peak that is maxima or minima because this function is quadratic equation?
so $\frac 32$ is global minima? and $2$ is global maxima?
You also could linearise the function first, doing some trigonometry: \begin{align} 2\sin^2x+2\cos^4x&=1-\cos 2x+\frac12(2\cos^2 x)^2=1-\cos 2x+\frac12+\cos 2x+\frac12\cos^22x \\ &=\frac32+\frac{1+\cos4 x}4=\frac{7+\cos 4x}4. \end{align} Now it is obvious this expression has a global minimum when $\cos 4x=-1$ and a global maximum when $\cos 4x=1$.