Let $\displaystyle \lim_{x\to c}~f(x)=\lim_{x\to c}~g(x)=0$ and $g'(c)\neq0$, Edit: Assume also that $c$ lies in the open interval $S$, and that $f(x)$ and $g(x)$ is continuous on $S$, Then consider $\displaystyle \lim_{x\to c}\frac{f(x)}{g(x)}$, $$=\lim_{x\to c}\frac{f(x)-0}{g(x)-0}$$ $$=\lim_{x\to c}\frac{f(x)-f(c)}{g(x)-g(c)}$$ $$=\lim_{x\to c}\frac{\left[\frac{f(x)-f(c)}{x-c}\right]}{\left[\frac{g(x)-g(c)}{x-c}\right]}$$ $$=\frac{\lim_{x\to c}\left[\frac{f(x)-f(c)}{x-c}\right]}{\lim_{x\to c}\left[\frac{g(x)-g(c)}{x-c}\right]}$$ $$=\frac{f'(c)}{g'(c)}$$ $$=\lim_{x\to c}\frac{f'(x)}{g'(x)}$$hence, when $\displaystyle \lim_{x\to c}\frac{f(x)}{g(x)}=\frac{0}{0}$, then $\displaystyle \lim_{x\to c}\frac{f(x)}{g(x)}=\lim_{x\to c}\frac{f'(x)}{g'(x)}=L$
Is this correct, or have I missed anything? Also, can someone aid me in proving the $\frac{\infty}{\infty}$ case? Any responses are appreciated.