5

According to l'Hôpital's rule, given functions $f,g$ which are differentiable around $a\in \mathbb R$, such that --

  1. $\lim_{x\to a} f(x)=\lim_{x\to a}g(x)=0$
  2. $g'(x)\neq 0$ on some deleted neighborhood of $a$.
  3. $\lim_{x\to a} {\frac {f'(x)}{g'(x)} }$ exists (widely).

Then $\ \ \lim_{x\to a} {\frac {f(x)}{g(x)} } = \lim_{x\to a} {\frac {f'(x)}{g'(x)} }$.

Condition 2 is necessary for the proof, but I can't find a counterexample for the theorem without it. Could you give an example of differentiable functions $f,g$ aroud $a$, such that conditions 1,3 hold, but

$\ \ \lim_{x\to a} {\frac {f(x)}{g(x)} } \neq \lim_{x\to a} {\frac {f'(x)}{g'(x)} }$?

John B
  • 16,854

2 Answers2

4

Condition (2) is present not simply to ensure existence of $\lim f'(x)/g'(x).$

One can construct counterexamples where condition (2) is violated but $f'(x)$ and $g'(x)$ share a common factor -- such that $\lim f'(x)/g'(x)$ exists but $\lim f(x)/g(x)$ fails to exist.

Stolz produced such a counterexample for the case where $f(x), g(x) \to \infty$ as $x \to a = \infty$. Specifically,

$$f(x) = \int_0^x \cos^2(t) \, dt \\ g(x) = f(x)\exp ( \sin x).$$

RRL
  • 90,707
1

If condition 2 wasn't satisfied, then $\lim_{x\to a}\frac {f'(x)}{g'(x)}$ couldn't be well-defined in an interval $(a-\epsilon, a+\epsilon)$ for $\epsilon \in \mathbb R$ such that $\exists y \in (a-\epsilon, a+\epsilon)$ : $g'(y)=0$.

Giulio
  • 1,592