Solve the inequality: $$\dfrac{x-1}{x^2-4x+3}<1.$$
I cancelled the $x-1$ from the numerator and the denominator and I obtained: $$\frac{x-4}{x-3}.$$ Thus, the answer that I got was $$x \in(3,4).$$ But according to WolframAlpha answer should be $$x \in(4,\infty)\cup(1,3)\cup(-\infty,1).$$
What is the best method to solve this inequality and where have I gone wrong?
It's $$\frac{1}{x-3}<1$$ and $x\neq1$ or $$1-\frac{1}{x-3}>0$$ or $$\frac{x-4}{x-3}>0,$$ which by the intervals method gives $x<3$ or $x>4$ and with $x\neq1$ we got the answer: $$(-\infty,1)\cup(1,3)\cup(4,+\infty)$$