I am trying to evaluate limit $$\lim \limits_{x \to -1^+} (x+1)^{\frac{1}{x+1}}$$ The answer is $0$ but I am not able to get it.
My working:
$$\lim \limits_{x \to -1^+} e^{\frac{ln(x+1)}{x+1}}$$ $$e^{\lim \limits_{x \to -1^+} (\frac{ln(x+1)}{x+1})}$$
$$\Rightarrow \lim \limits_{x \to -1^+} \frac{ln(x+1)}{x+1}$$
Using L'hopital rule:
$$\lim \limits_{x \to -1^+} \frac{1}{x+1}$$
Substituting $-1^+$ into the equation
$$\frac{1}{-1+1} = \infty$$ $$\therefore e^\infty = \infty$$
Am I doing something wrong?
You correctly reduce to evaluating $$ \lim_{x\to -1^+}\frac{\ln(x+1)}{x+1} $$ You cannot apply l'Hôpital here, because the hypotheses are not satisfied. This limit is $-\infty$, because the numerator has limit $-\infty$ and the denominator has limit $0$, but taking positive values.
So your limit is $e^{-\infty}=0$.
You should have realized that something went wrong: for $-1<x<0$, you have $$ \ln(x+1)<0,\qquad x+1>0 $$ so the limit above can't be $\infty$, because the function only takes on negative values in a right neighborhood of $-1$.