Could you help me with this equation?
$m\cos^3 x-\sin2x \sin x-\cos x=0$
I can solve this one with $m=1$, which is not hard. It seems to me that I need to convert $\sin 2x \sin x$ into some forms of cosine and eventually factorize it, but I can't seem to find a way.
Thank you!
\begin{align} & m \cos^3 (x) - \sin(2x) \sin (x)- \cos (x) =0 \\ \implies & m \cos^3 (x) - 2\sin(x)\cos(x)\sin(x)-\cos(x)=0 && \text{double angle formula}\\ \implies & m \cos^3 (x) - 2\cos(x)\sin ^2(x)-\cos(x)=0 && \text{grouping the sines}\\ \implies & m \cos^3 (x) - 2\cos(x)\bigl (1-\cos ^2 (x) \bigr)-\cos(x)=0 && \sin^2(x) = 1-\cos^2(x)\\ \implies & (m+2) \cos^3 (x) - 3\cos(x)=0 && \text{group like terms}\\ \implies & \cos^3 (x) - \frac{3}{m+2}\cos(x)=0 && \text{assume $m \neq -2$}\\ \implies & \cos(x) \biggl [\biggl (\cos(x)+\sqrt{\frac{3}{m+2}} \biggr)\biggl (\cos(x)-\sqrt{\frac{3}{m+2}} \biggr) \biggl]=0 && \text{factorizing}\\ \implies & \cos(x) = 0 \quad \cos(x)=\pm\sqrt{\frac{3}{m+2}} \end{align}
$\cos(x) = 0 \implies x = (2n+1) \pi$ for any $n \in \Bbb Z$
$\cos(x)=\pm\sqrt{\frac{3}{m+2}}$ has real solutions only when $m≥1$.