L'Hospital's rule: let $f$, and $g$ be real functions differentiable on $(a,b)$ except possibly at a point $x_0\in (a,b)$. If $\lim_{x\rightarrow x_0}f(x)=\lim_{x\rightarrow x_0}g(x)=0$, if $g'(x)\neq 0$ for all $x\in (a,b)$ (except possibly at $x_0$), and if $\lim_{x\rightarrow x_0}f'(x)/g'(x)$ exists, then $$\lim_{x\rightarrow x_0}\frac{f(x)}{g(x)}=\lim_{x\rightarrow x_0}\frac{f'(x)}{g'(x)}$$
The proof (second answer in the link) uses linear approximations. Letting $$\eta (h)= \frac{f(x+h)-f(x)}{h}-f'(x)$$ we have that $\lim_{h\rightarrow 0}\eta(h)=0$, and one can write $f(x+h)=f(x)+f'(x)+\eta(h)$. Defining $\zeta(h)$ similarly for $g$, we have $$\frac{f(x+h)}{g(x+h)}=\frac{f(x)+f'(x)+\eta(h)}{g(x)+g'(x)+\zeta(h)}$$
Taking the limit as $x\rightarrow x_0$ gives $$\frac{f(x_0+h)}{g(x_0+h)}=\frac{hf'(x_0)+\eta(h)}{hg'(x_0)+\zeta(h)}$$
and the result follows by taking the limit as $h\rightarrow 0$.
There are two obvious problems with the proof.
- First of all $\eta$ and $\zeta$ are functions of two variables ($x$ and $h$), maybe this could be resolved by letting $\eta(h)=\frac{f(x_0+h)}{h}-f'(x_0)$, but this lead us to the second problem:
- How do we know any of the quotients are well-defined? It might be the case that $g(x_0+h)=0$, for example.
Can these two issues be resolved as to make the proof rigorous?