What a periodic function needs to satisfy so its integral will be a periodic function?

51 Views Asked by At

I have a periodic function $g(x)$. I want to know what else $g(x)$ has to satisfy so its undefined integral will be a periodic function.

Thanks!

PS: I noticed that if $g(x)=f(x)+a$ where $a$ is a constant the integral will not be periodic.