Let $f: \Bbb R \to \Bbb R$ be a function such that $f'(x)$ exists and is continuous over $\Bbb R$. Moreover, let there be a $T > 0$ such that $f(x + T) = f(x)$ for all $x \in \Bbb R$ and let $f(x) + f'(x)\ge 0$ for all $x \in \Bbb R$.
Show that $f(x) \ge 0$ for all $x \in \Bbb R$.
My attempt: $f(x) \ge 0 \iff f(x) \ge f'(x) - f'(x) \iff f(x) + f'(x) \ge f'(x)$.
Thus, it is enoguh to show that $0 \ge f'(x)$.
$\iff 0 \ge \lim_{h\to0}\frac{f(x + h) - f(x)}{h}$
I do not know how to proceed from here. I know that $f'$ also has a periodicity of T but I do not know how to use that here.
Am I on the right track? How can I use the periodicity of $f$ to solve the problem?


suppose $f(x)$ is negative for all values of $x$. Periodicity tells us that there must be solutions to $f'(x)=0$ and for such $x$ we would then have $f(x)+f'(x)=f(x)<0$.
Suppose that $f(x)$ is negative for some values of $x$ but not all. Let $a,b$ be zeroes of $f(x)$ such that $a<x<b\implies f(x)<0$. Specifically, let $x_0$ be some value for which $f(x_0)<0$ and let $a$ be the greatest upper bound of $\{x\,:\,x<x_0\,\;\&\,\;f(x)≥0\}$ and $b$ defined similarly on the other side. Since $f(a)=0=f(b)$ there is some $c$ with $a<c<b$ and $f'(c)=0$. But for that value we must have $$f(c)+f'(c)=f(c)<0$$ contrary to assumption.