When doing integrals I frequently miss the fact that the integrand is either even or odd which can save me time, one thing I have difficulty with is identifying if the integrand is even or odd when its not a simple integrand like cos or sin.
Are there some easy ways to identify complex integrands (granted complexity is relative to skill level) to know if they are even or odd because I really suck at it.
As an example is $x^{2n} e^{-x^2}$ for $n=1,2,3...$ even or odd?
Is there simple rules that i can identify quickly when looking at integrands?
If $f(x) = f(-x)$, then it is even. If $f(x) = -f(-x)$, then it is odd.
At the given example, $f(x) = x^{2n}e^{-x^{2}}$. Then we have: \begin{align*} f(-x) = (-x)^{2n}e^{-(-x)^{2}} = (-1)^{2n}x^{2n}e^{-x^{2}} = x^{2n}e^{-x^{2}} = f(x) \end{align*}
Thus we conclude that $f$ is even.
But it can happen that $f$ is neither even nor odd.
Take $f(x) = x + x^{2}$, for example.
Then $f(-x) = -x + x^{2}$ which is different from $f(x)$ as well as $-f(x)$. Hence it is not even nor odd.
Interestingly, the product of even functions is even, the product of odd functions is even and the product of odd and even functions is odd. Can you prove why this works? Similarly, the sum of even functions is even and the sum of odd functions is odd. Can you also prove why this works?
Hopefully this helps!