I am learning control theory for school and I came across the basic transfer elements such as the integrator. We learned that the integrator has the transfer function F(s) = 1/s or if you use only the frequency F(ω)= 1/ω, so if the frequency doubles, the transfer function drops to a half and so on, as in this example:
Example of the transfor function of an integrator: Inductor
I have also researched and people wrote, that the amplitude decreases with a higher frequency: https://electronics.stackexchange.com/a/270517/311486
How can I adjust the size of an integrated signal?
Also, I plotted the functions, where it seems like for every period, the function with the higher freqency (green) fits two times into the function with the lower frequency (red):
Visualisation of sine of a frequency and double the frequency
So, I also tried to replicate these observations by calculating by myself, but I get the result that for double the frequency, the integral does not change. I would have expected the integral to become half of the integral of lower frequency, because I am still integrating over the same amount of time.
But when I calculate for $$2\pi f= 1$$ I get:
$$\int_{0}^{2\pi} \lvert sin(t) \rvert dt$$ $$= 2 \int_{0}^{\pi} \lvert sin(t) \rvert dt$$ $$= 2*(-cos(\pi)+cos(0))$$ $$= 4$$
and for $$2\pi f= 2$$ the same:
$$\int_{0}^{2\pi} \lvert sin(2t) \rvert dt$$ $$= 4 \int_{0}^{\pi/2} \lvert sin(t) \rvert dt$$ $$= 4*1/2*(-cos(\pi/2*2)+cos(0)$$ $$= 2*(-cos(\pi)+cos(0))$$ $$= 4$$
Does somebody maybe know, whether I made a mistake in my calculation, or if the integral actually behaves different from what I described? Thanks a lot for any ideas and help, please be welcome to leave a comment so that I can provide additional information!