I'm trying to compute the following limit and would greatly appreciate your feedback:
$$\lim_{x \to 1}\frac{\log(x)}{x^2+x-2}$$
Given that $\log(x)$ can be replaced with $\log(x+1)$ because of the identity
$$\log(x) + \log(1) = \log(x) + 0$$
Then using the series:
$$\log(x+1) = x + o(x^n)$$
Then dividing by $x^2+x-2$, I get:
$$\frac{x}{x^2+x-2} = \frac{x + o(x^n)}{(x-1)(x+2)}$$
when $x = 1$
$$\frac{x + o(x^n)}{(x-1)(x+2)} = \frac{1}{0} = 0$$
hence
$$\lim_{x \to 1}\frac{\log(x)}{x^2+x-2} \implies 0$$