I'm stuck on this quadratic problem: $$\sin^4 x + 2(1 + k)\sin^2 x- k - 2 = 0$$ $$k = ?$$ I substituted $t = \sin^2(x)$ this gave me $t^2 + 2(1 + k)t - k - 2 = 0$ and than I figured out that the discriminant is $k^2 + 3k + 3 \ge 0$ which is true for $k \in \mathbb{R}$. The other thing I figured out is that $t \in [0, 1]$ and this is where I don't know how to continue. The answer is supposed to be $k \in [-2, 1]$.
Edit: Forgot to mention that I'm interested in real number solutions only.
Express the equation as
$$k = \frac{2-2\sin^2 x - \sin^4 x }{2 \sin^2 x -1} = \frac14 \left( \cos 2x - \frac3{\cos 2x}-6\right) $$ For $x$ in the real domain, $k$ has the range $k\notin (-2,-1)$.