Find the set of all values of the parameter $a$ for which the function, $$f(x)=\sin\left(2x\right)-8\left(a+1\right)\sin\left(x\right)+\left(4a^2+8a-14\right)x$$ increases for all $x\in\Bbb{R}$ and has no critical points for all $x\in\Bbb{R}$.
Obviously, the first thing I did was to find the derivative of this function and simplify it a bit and I got:
$$f'(x)=4\left(\;\cos^2x-2\left(a+1\right)\cos x+\left(a^2+2a-4\right)\;\right)$$ But now how do I proceed further, had it been a simple quadratic in $x$. I would've calculated $D<0$ but this is a quadratic in $\cos x$. Can I do the same here? Why or why not? How should I go ahead?
Not just this, there are many instances where the quadratic is not in x, but in expressions like $e^{x}$. Is there any general approach to solving these quadratics for things like no solutions etc-
$$f'(x)=4(\cos^{2}x-2\left(a+1\right)\cos x+\left(a^{2}+2a-4\right))$$ We need to find a for which f(x) is increasing, which means f'(x)>0.
Now,
$$4(\cos^{2}x-2\left(a+1\right)\cos x+\left(a^{2}+2a-4\right))>0$$
$$\cos^{2}x-2\left(a+1\right)\cos x+\left(a^{2}+2a-4\right)>0$$
$$(\cos^{2}x-2\left(a+1\right)\cos x+a^{2}+2a+1)>5$$
$$((\cos x -(a+1))^2>5$$
$\cos x -(a+1)>√5$ or $\cos x-(a+1)<-√5$
$$a<\cos x-1-√5$$ or $$a>\cos x-1+√5$$
Hence, $a<-2-√5$ or $a>√5$.