We're looking at the limit of a function $f(x):=\frac{g(x)}{h(x)}$ for $x \rightarrow x_0$. Since L'hospital's Rule demands that the denominator function $h(x) \neq 0$ for a neighbourhood of $x_0$, I've been wondering if there's an example where this requirement isn't met and the rule thus cannot be applied successfully.
Thanks in advance!
The basic premise of limit questions is that we have a function $f(x)$ defined on some region around $x_0$ but not including $x_0$ (technically, we just need $x_0$ to be a point of accumulation of the domain of definition). Then we ask for what value (if any) $L$ would the function extended by setting $f(x_0) = L$.
So to even ask the question what is $\lim_{x\to x_0} \frac{g(x)}{h(x)}$ we need $g(x)/h(x)$ to be defined on neighborhood of $x_0$ possibly not including $x_0$. And for this, we need $h(x) \neq 0$ on that region. Similarly, to apply L'Hospital's rule we need ask what the limit $g'/h'$ is , so we need $h'(x)$ locally non-zero (it was pointed out that this is the more common explicit requirement so I include it here)