For example, on the interval $-\pi\le x\le \pi$ consider $$\int_{x=-\pi}^{\pi}\Big(\left(e^{3ix}-e^{-3ix}\right)-\left(e^{ix}-e^{-ix}\right)\Big)dx$$
One answer states that:
$$\int_{x=-\pi}^{\pi}\Big(\left(e^{3ix}-e^{-3ix}\right)-\left(e^{ix}-e^{-ix}\right)\Big)dx=0\tag{1}$$ The equality follows as the complex exponentials are integrated over $3$ and $1$ full period, respectively, and thus average out to zero.
I'm confused by what the author means by 'integrated over $3$ full periods'. It was my understanding that one full period is $2\pi$. So $3$ full periods must be $6\pi$ so the limits should be $-3\pi\le x\le 3\pi$.
Could someone please explain how I can effectively 'see' that this integral is zero, without going through the calculation?
Using Euler's formula I write $$e^{3ix}=\cos(3x)+i\sin(3x)$$ in order to better understand what the author is talking about, but I'm still confused.
Does anyone have any idea what the author means by this part:
and thus average out to zero
After an online search I found that another answer gave the following reasoning from this website:
For an odd function $$f(x)=-f(-x):\int_a^af(x)dx=0$$
Now I have no idea whatsoever what this is supposed to mean.
If someone could shed some light on why equation $(1)$ is zero it would be greatly appreciated.
Thank you.
Your internet research brought you on the right track. Yet the formula is somewhat different.
Recall a function $f$ is odd iff \begin{align*} f(x)=-f(-x)\tag{1} \end{align*}
On the other hand we know the integration rules \begin{align*} \int_a^b f(x)\,dx&=-\int_b^a f(x)\,dx\tag{2}\\ \int_{a}^b f(x)\,dx&=\int_{a}^c f(x)\,dx+\int_{c}^bf(x)\,dx\tag{3}\\ \int_{a}^b f(x)\,dx&=-\int_{-a}^{-b}f(-x)\,dx\tag{4} \end{align*}
The last rule (4) is due to substitution \begin{align*} x&\rightarrow -x\\ dx&\rightarrow -dx \end{align*}
$$ $$