I want to evaluate the following function:
$$x\left|{\log{\left(x+1\right)}}\right|$$
for $x\rightarrow(-1)^+$.
This is what I'm doing. Since $\left|{\log{\left(x+1\right)}}\right|$ is a negative quantity that approaches $-\infty$ for $x\rightarrow(-1)^+$ we have that:
$$x\left|{\log{\left(x+1\right)}}\right|=-x\log{\left(x+1\right)}$$
Now we have that $x+1\rightarrow0$ for $x\rightarrow(-1)^+$ therefore $\log{\left({x+1}\right)}\sim x+1$
This should mean that
$$f(x)\sim -x\left({x+1}\right)\sim -(-1)(x+1)=x+1\rightarrow0^-$$
However my texbook reports that the limit is actually $-\infty$. Any hints on what I did wrong?
The following does not hold : $\log x \sim x$ as $x \to 0$.
Now, the limit should be :
$$\lim_{x \to -1^+} x|\log(x+1)| = \lim_{x \to -1^+} -|\log(x+1)| = - \infty$$
since $\log(x+1)$ tends to $-\infty$ for $(x+1) \to 0$.