The function is .
.
Consider .
The function is .
Substitute .
.
The integrand is an odd function.
If is an odd function, then
.
.
Consider .
The function is .
Substitute .
.
.
The integrand is an even function.
If is an even function, then
.
.
.
.
.
.