Find minimum value of $f(x)=\sec^2 x+\csc ^2x$
We have $$f(x)=2+\tan^2 x+\cot ^2 x$$
Method $1.$ we have $$\frac{\tan^2 x+\cot^2 x}{2} \ge 1$$ $\implies$
$$f(x) \ge 4$$
Method $2.$
We have $$\frac{2+\tan^2 x+\cot^2 x}{3} \ge 2^{\frac{1}{3}}$$ $\implies$
$$f(x) \ge 3(2^{\frac{1}{3}})-2$$
But whats wrong in method $2$?
AM=GM holds only in case all terms are equals but $\tan x=\cot x=2$ is impossible.