Let $f:\mathbb R \to \mathbb R$ be a real-valued differentiable function. Suppose that $f'(x)>0$ for every $x$ such that $f(x)=0$. Does it follow that the number of zeroes of $f$ is at most one?
This sounds quite reasonable to me: it seems intuitive that if $x_1, x_2$ are two different zeroes of $f$, then a third zero with negative derivative should lie between them. I can't seem to adapt this argument to a solid proof though.
Is there any way to prove (or disprove!) this fact in a quick fashion?
Assume $a < b$ and $f(a) = f(b) = 0.$ By the existence of the derivative at $a$ and its positivity, there is a small neighborhood $(a, a + \delta)$ on which $f(x) > 0.$
Define the set $C$ as the set of all $a < x < b$ such that $f(x) > 0.$ $C$ is not empty. On the other hand, there is a small neighborhood $(b - \varepsilon, b)$ on which $f(x) < 0.$ Therefore $\sup C \neq b.$
Note supremum is the same as the least upper bound. Original Latex has, among "log-like functions," $\sup$ but does not have LUB for least upper bound. I could make one with operatorname, $\operatorname{lub}$
Let $c = \sup C.$ We know $c < b.$ By continuity, $f(c) = 0.$ However, $f'(c) \leq 0$ since there are points $x$ with $f(x) > 0$ arbitrarily close to $c$ but $x<c.$
In case anyone is wondering why $f$ is positive immediately to the right of $a,$ we are told that there is some $f'(a) = A > 0.$ The limit that defines the derivative has $$ A = \lim_{t \rightarrow 0} \frac{f(a+t) - f(a)}{(a+t - a)} = \lim_{t \rightarrow 0} \frac{f(a+t) }{t}. $$ Since $A > 0$ is the limit, there is some $\delta > 0$ such that $$ 0 < t < \delta \Longrightarrow \; \; \; \; \; \; \frac{f(a+t) }{t} > \frac{A}{2}, $$ or $$ 0 < t < \delta \Longrightarrow \; \; \; \; \; \; f(a+t) > \left( \frac{A}{2} \right) \; t > 0. $$