<s>[INST] Solve $\frac{1}{x}<\frac{x}{2}<\frac{2}{x}$. First I consider the case $\frac{1}{x}<\frac{x}{2}$, manipulating to $\frac{(x-\sqrt{2})(x+\sqrt{2})}{2x}<0\Leftrightarrow x < -\sqrt{2}.$ Did this by subtracting $\frac{x}{2}$ from both sides and writing everything with a common denominator.
Second case to consider is $\frac{x}{2}<\frac{2}{x}\Leftrightarrow\frac{(x-2)(x+2)}{2x}<0\Leftrightarrow x<-2.$
Since both of these inequalities have to be satisfied simultaneously, one can combine them to get $x<-2.$ Correct answer is $x\in(\sqrt{2},2)$
 [/INST] First, notice that $1/x < 2/x$ implies $1/x$ is positive, hence $x$ is positive. Now you know you can multiply the inequalities by $x$ without reversing the inequality signs.  So you get $2<x^2$ and $x^2<4$.  And so on...
</s>