- Suppose that on some interval the function $f$ satisfies $f'=cf$ for some number $c$.
(a) Assuming that $f$ is never $0$, use Problem 20(b) to prove that $|f(x)|=le^{cx}$ for some number $l>0$. It follows that $f(x)=ke^{cx}$ for some $k$.
(b) Show that this result holds without the added assumption that $f$ is never $0$. Hint: show that $f$ can't be $0$ at the endpoint of an open interval on which it is nowhere $0$.
I am interested specifically in the solution to part $(b)$.
A question about this problem has been asked before. However, I am not fully satisfied with the accepted answer where it pertains to item $(b)$. Though I understand the reasoning in that answer, I felt that the final part was left a bit vague
we can continue the same argument by replacing $a$ with $(a+p)$ (or $(a-p)$) and thereby extend the region where $f$ does not vanish. Using the same argument repeatedly we can show that $f$ does not vanish at any point in $I$.
How exactly do we use the same argument repeatedly (ie, I would like to see what that looks like formally)?
I think I reached a similar point in my own attempt at a proof, and that is why I am asking this question. Here is my attempt
Our only assumption is that $$f'=cf\tag{1}$$ on some interval.
Let $[a,b]$ be the interval. $(1)$ implies that $f$ is differentiable and hence continuous on $[a,b]$.
First, there is a trivial case: $f(x)=0=0\cdot e^{cx}$.
Now let's consider the case where $f\neq 0$ at some point $x_1$. Suppose $f(x_1)>0$. Then, by continuity, there is an interval $(m,n)$ around $x_1$ such that $f(x)>0$ for $x\in (m,n)$.
By part $(a)$, $f(x)=ke^{cx}$ for $k>0$ on $(m,n)$.
Suppose $f(n)\leq0$.
But $\lim\limits_{x\to n^-} ke^{cx}=ke^{cn}>0\neq f(n)$. Thus $f$ is discontinuous at $n$, which contradicts our assumptions.
Therefore, $f(n)>0$.
Analogously, we can show that $f(m)>0$.
So, if the above is correct (is it?), I am at a similar point to the linked answer. I need to extend my argument such that $m$ and $n$ move outwards to encompass all of $[a,b]$.
How do I finish this proof?
Edit: I had forgotten to check the solution manual, but I just did and it is also kind of terse.
It uses the same argument I used above, but leaves the part I am asking about as a hint. It says
On an interval where $f$ is non-zero it has the form $f(x)=ke^{cx}$. But this can't approach $0$ at the endpoint of the interval; so $f$ couldn't be $0$ at the endpoints. This proves that if $f$ is non-zero at one point $x_0$, then it is nowhere $0$ (consider $\sup\{x>x_0:f(x)\neq 0\}$ and $\inf\{x<x_0:f(x)\neq 0\}$