What is the largest value of $k$ such that the equation $$x^2+4(\sin^{2}{x}\tan^{2}{x}+\cos^{2}{x}\cot^{2}{x}+k^2-x\sec{x}\csc{x})=0$$ has real roots?
I tried to find out the roots in terms of $k$. But I couldn't.
How do we approach this problem without finding the roots actually?
$$x^2- (4\sec{x}\csc{x})x +4(\sin^{2}{x}\tan^{2}{x}+\cos^{2}{x}\cot^{2}{x}+k^2)=0$$ Look for the discriminant, for real roots $D\ge 0 $ $$16\sec^2 x\csc^2 x-16(\sin^2 x\tan^2 x+\cos^2 x\cot^2 x+k^2)\ge 0$$ $$\frac{1}{\sin^2 x\cos^2 x}-\frac{\sin^4 x}{\cos^2 x}-\frac{\cos^4 x}{\sin^2 x}-k^2\ge 0$$ $$\frac{1-\sin^6 x-\cos^6 x}{\sin^2 x\cos^2 x}\ge k^2$$ $$\frac{\sin^2 x+\cos^2 x-\sin^6 x-\cos^6 x}{\sin^2 x\cos^2 x}\ge k^2 $$ $$\frac{\sin^2 x(1-\sin^4 x)+\cos^2 x(1-\cos^4 x)}{\sin^2 x\cos^2 x}\ge k^2$$ $$\frac{\sin^2 x(1-\sin^2 x)(1+\sin^2 x)+\cos^2 x(1-\cos^2 x)(1+\cos^2 x)}{\sin^2 x\cos^2 x}\ge k^2$$ $$\frac{\sin^2 x\cos^2 x(1+\sin^2 x +1+\cos^2 x)}{\sin^2 x\cos^2 x}\ge k^2$$ $3\ge k^2$ $\implies -\sqrt3\le k\le \sqrt3\;$ So maximum value of $k$ is $\sqrt3$