In my book I found this following inequality : $$\frac{2x}{x-1}>x$$
In my book, they solved this in a very hard way which I don't understand properly. But I tried to do this in another way. I divided each side by $x$ and then solved. But I didn't get the full answer, only half part of it. So why can't I divided both sides by $x$ and then solve? Is there any other not so difficult way to solve this?
You can not divide by $x$ because $x$ can be positive or $x$ can be negative.
It's $$\frac{2x}{x-1}-x>0$$ or $$\frac{x(3-x)}{x-1}>0,$$ which gives the answer: $$(-\infty,0)\cup(1,3).$$ I used the intervals method.
We need to draw the $x$ axis and to put there points $0$, $1$ and $3$.
Now, on $(3,+\infty)$ the expression $\frac{x(3-x)}{x-1}$ is negative and if we pass a point $3$ then the sign changes.
Thus, the sign on $(1,3)$ is $+$.
If we pass a point $1$ then the sign changes again.
Thus, the sign on $(0,1)$ is $-$.
And if we pass a point $0$ then the sign still changes.
Thus, the sign on $(-\infty,0)$ is $+$.
Now, we can write the answer.