Let $f$ be a periodic function. Prove that there exists a function $F$ such that $F'(x)=f(x)$ and $F$ is periodic.
Let $T\in\mathbb{R}$ be the period of $f$ (so $f(x)=f(x+T) \forall x\in\mathbb{R}$) I know that $\int_x^{x+T}f(t)dt=I$ for some constant $I\in \mathbb{R}$. If $I=0$ then we can take $F(x)=\int_0^xf(t)dt$ and then $\forall x\in\mathbb{R}:F(x+T)-F(x)=I=0 \implies F(x+T)=F(x)$ so $F$ is periodic.
But what if $I\neq0$?
I found that for $g(x)=f(x)+\frac{I}{T}$ I can get that $G(x)=\int_0^xg(t)dt$ that $G$ is periodic but $G'\neq f$. Anyone got any idea? Or a counterexample?
What you want to prove is false. Take $f(x)=1$. Then $f$ is periodic. But every primitive of $f$ is strictly increasing and therefore not periodic.