I need to find the left and right side limit of the function stated below, but I'm having a hard time simplifying the equation. The question is:
$$f:\mathbb R \to \mathbb R$$$$f(x)=\begin{cases} \displaystyle \frac{\sqrt{|1+x|}-1}{x} &\text{if}\, x \ne 0\\ 0 &\text{if}\, x = 0\end{cases}$$
$$\lim_{x \rightarrow 0^+} \frac{\sqrt{(|1+x|)}-1}{x} = \lim_{x \rightarrow 0^+} \frac{-\sqrt{(1+x)}-1}{x}$$
Please guide me on how to proceed further, as I'm kind of lost.
Check your signs. Since $x + 1 > 0$ near $0$, both sided limits are given by
$$ \lim_{x\to 0} \frac{\sqrt{1+x}-1}{x} = \lim_{x\to 0} \frac{(1+x)-1}{x(\sqrt{1+x}+1)} = \lim_{x\to 0}\frac{1}{\sqrt{1+x}+1} = \frac{1}{2} $$