Solve $$ \sin^2x \tan x + \cot x \cos^2 x - \sin2x = 1 + \tan x + \cot x $$
I converted the whole equation in $\sin x$ and $\cos x$ and after rearranging a bit I got $$ (\sin x + \cos x)(1-\sin x \cos x) - 2 \sin^2x \cos ^2x = \sin x \cos x +1 $$
I supposed $\sin x+\cos x $ to be equal to $ t$ and hence, $\sin x\cos x $ will be equal to $ \frac{(t^2-1)}2 $.
Substituting the above values, I got the following equation
$$t^4+t^3-t^2-t+2=0$$
I am unable to find roots of this equation and have got no other way to proceed.