I am wondering about:
$$ \lim_{x \rightarrow -1} \frac{x+1}{ \sqrt{x+5}-2 } $$
which seems to be an asymptotic function with each side of its corresponding graph approaching negative or positive infinity at the value of -1.
Solved by WolframAlpha, the expected result was calculated: Click to see result.
So, I was just learning for a math exam and using the website KhanAcademy to refresh my math skills, where above term was to be solved, and indeed a two-sided limit should be found, which apparently seems to be 4.
This was done by first rationalizing the term in this manner, which results in: $$ \lim_{x \rightarrow -1}( \sqrt{x+5}+2)\text{ for }x \neq -1 $$
Substituting x for -1 in this simplified term doesn't result in getting $\frac{0}{0}$ but 4, which apparently means that 4 is the both-sided limit (even though the root of 4 has 2 as well as -2 as the possible solution, making 0 another viable limit?). I can't proof which one of those two approaches contains an error and therefore wanted to ask here, I hope someone can clarify this matter :)
Best regards