For example, let $f(x) = \sin\left(\frac{1}{x}\right)$ and $g(x) = \frac{1}{x}$.
As $x$ approaches $0$, $f(x)$ oscillates between $-1$ and $1$, so it does not have a limit as $x$ approaches $0$. However, $g(x)$ approaches $0$ as $x$ approaches $0$, so $\lim
Show more…