$$\lim_{x\to 1}\frac{x^3+x-2}{x^3-x^2-x+1}$$
In the above question, I tried to solve using factorization. Since putting $x$ as $1$ gives an indeterminate form, therefore, $(x-1)$ is a factor of both numerator and denominator.
After the factors cancel out and putting the limit, what I get is $0$ in the denominator. I haven't thought of the possibility of "infinite" as the answer though.
I tried L'Hospital's rule too, same result. :(
