I am practising finding limits. However, I can't seem to figure out this one.
$$f(x) = \frac{x^3 + 4x - 5}{x^2-1}\text{ as $x$ goes to $1$}$$
I understand I have to rewrite the fraction somehow for the denominator not to equal 0, but I don't know where to start.
Using the Euclidean division of $x^3+4x-5$ by $x-1$ we get
$$f(x) = \frac{x^3 + 4x - 5}{x^2-1}=\frac{(x-1)(x^2+x+5)}{(x-1)(x+1)}$$