If the graph of a function is symmetric, its definite integral over a symmetric interval can be simplified, and in the odd case it can be written down with no computation at all.
| Formula | Name | Test |
|---|---|---|
| Odd Function Rule | ||
| Even Function Rule | ||
| Standard Odd Functions | Symmetric about the origin | |
| Standard Even Functions | Symmetric about the -axis | |
| (odd)(even) is odd; (odd)(odd) is even | Products | Same sign rules as multiplication |
The Symmetry Theorem
Suppose that is continuous on the symmetric interval .
- If is an odd function, then .
- If is an even function, then .
Both statements are visually obvious. For an odd function, the piece of the region to the left of the -axis is the mirror image of the piece on the right, rotated 180 degrees about the origin; whatever net area one contributes, the other contributes with the opposite sign, so they cancel. For an even function, the two halves are reflections in the -axis and contribute equally, so the whole is twice either half.


Proof of the Symmetry Theorem.
Proof
We can write
\int_{-a}^{a}f(x)\,dx=\int_{-a}^{0}f(x)\,dx+\int_{0}^{a}f(x)\,dx. \tag{i}For the first integral on the right-hand side, let . Then ; we have when , and when . Therefore
\int_{-a}^{0}f(x)\,dx=-\int_{a}^{0}f(-u)\,du. \tag{ii}(a) The odd case. If is an odd function, then and the right-hand side of Equation (ii) can be written as
\begin{aligned} -\int_{a}^{0}f(-u)\,du &=\int_{a}^{0}f(u)\,du\\ &=-\int_{0}^{a}f(u)\,du. \end{aligned}For the last equation, we used the fact that . Because the variable of integration in a definite integral is a dummy variable, we can write instead of :
So we have shown
\int_{-a}^{0}f(x)\,dx=-\int_{0}^{a}f(x)\,dx. \tag{iii}Substituting (iii) into (i) gives
\begin{aligned} \int_{-a}^{a}f(x)\,dx &=-\int_{0}^{a}f(x)\,dx+\int_{0}^{a}f(x)\,dx\\ &=0. \end{aligned}(b) The even case. If is even, then
\begin{aligned} \int_{-a}^{a}f(x)\,dx &=\int_{-a}^{0}f(x)\,dx+\int_{0}^{a}f(x)\,dx &&{\small(\text{Eq. (i)})}\\ &=-\int_{a}^{0}f(-u)\,du+\int_{0}^{a}f(x)\,dx &&{\small(\text{let }u=-x)}\\ &=-\int_{a}^{0}f(u)\,du+\int_{0}^{a}f(x)\,dx &&{\small(f\text{ is even})}\\ &=\int_{0}^{a}f(u)\,du+\int_{0}^{a}f(x)\,dx &&{\small\left(\int_{0}^{a}f=-\int_{a}^{0}f\right)}\\ &=\int_{0}^{a}f(x)\,dx+\int_{0}^{a}f(x)\,dx &&{\small(u\text{ is a dummy variable})}\\ &=2\int_{0}^{a}f(x)\,dx. \end{aligned}
Applying the Rules
For example, because is an odd function,
we know immediately that
This is worth appreciating: the function has no elementary antiderivative, so no amount of algebra would evaluate this integral. Symmetry answers it in one line.
Evaluate .
Solution
Every term has an odd power of , so the whole integrand is odd:
The interval is symmetric about the origin, so
Evaluate .
Solution
All powers are even and the constant is even, so the integrand is even. By the Even Function Rule,
\begin{aligned} \int_{-1}^{1}\left(x^{4}+3x^{2}+2\right)dx &=2\int_{0}^{1}\left(x^{4}+3x^{2}+2\right)dx\\ &=2\left[\frac{x^{5}}{5}+x^{3}+2x\right]_{0}^{1}\\ &=2\left(\frac{1}{5}+1+2\right)=\frac{32}{5}. \end{aligned}The saving here is modest, but the rule also removes a common source of sign errors: substituting a negative lower limit into odd powers.
A warning. Both rules require the interval to be symmetric about the origin. Nothing at all follows about of an odd function, and nothing follows for either.
Exercises
Classify each function as even, odd, or neither:
(a)
(b)
(c)
(d)
Answer
(a) odd (b) odd (c) odd (d) neither
Solution
(a) is odd and is even; odd times even is odd.
(b) is even and is odd; even times odd is odd.
(c) The numerator is odd and the denominator is even, so the quotient is odd: .
(d) equals neither nor , so is neither. (It does split into an even part and an odd part .)
Evaluate without antidifferentiating:
(a)
(b)
(c)
Answer
All three equal .
Solution
Each integrand is odd and each interval is symmetric about the origin.
(a) Odd numerator over even denominator.
(b) Even times odd.
(c) is odd and is even, since .
None of these has an antiderivative that is pleasant to find, which is exactly why the symmetry rule is worth checking first.
Evaluate using the Even Function Rule.
Answer
Solution
The integrand is even, so
Evaluate in terms of .
Answer
Solution
Split the integrand into its odd part and its even part . The odd part contributes 0, so
\begin{aligned} \int_{-a}^{a}\left(x^{3}+2x^{2}-5x+4\right)dx &= 2\int_{0}^{a}\left(2x^{2}+4\right)dx\\ &= 2\left[\frac{2x^{3}}{3}+4x\right]_{0}^{a} = \frac{4a^{3}}{3}+8a. \end{aligned}This split-into-parts technique works for any polynomial: keep the even-degree terms, discard the odd-degree ones.
Evaluate .
Answer
Solution
Since , the function is even (in contrast to , which is odd). Therefore
On we could replace by because there. Note how the absolute value converts an odd function into an even one, changing the answer from 0 to .
Suppose is even and . Find and .
Answer
and respectively.
Solution
By the Even Function Rule, . Then additivity gives
which is just the statement that the two halves contribute equally.
If instead were odd with , the answers would be 0 and .
Prove that if is odd and continuous, then is an even function.
Answer
Substituting in produces .
Solution
Compute and substitute , so ; when , , and when , :
\begin{aligned} F(-x) &= \int_{0}^{-x}f(t)\,dt = \int_{0}^{x}f(-u)(-du)\\ &= \int_{0}^{x}\left[-f(u)\right](-du) = \int_{0}^{x}f(u)\,du = F(x), \end{aligned}where the third equality used oddness, , and the two minus signs cancelled.
An alternative one-line argument: F'(x)=f(x) is odd, and the antiderivative of an odd function is even provided it vanishes at 0, which does.
Evaluate .
Answer
Solution
The term is odd, since an odd power of an odd function is odd, so it contributes 0. The term is even, so
\begin{aligned} \int_{-\pi}^{\pi}\left(\sin^{3}x+\cos^{2}x\right)dx &= 0+2\int_{0}^{\pi}\cos^{2}x\,dx\\ &= 2\int_{0}^{\pi}\frac{1+\cos2x}{2}\,dx\\ &= \left[x+\frac{\sin2x}{2}\right]_{0}^{\pi}=\pi. \end{aligned}
A student claims that because the integrand is odd. Is the claim correct?
Answer
No. The integrand is odd, but it is not continuous on , so the theorem does not apply and the integral does not exist.
Solution
The function is indeed odd, but it has a vertical asymptote at , which lies inside the interval of integration. The symmetry theorem assumes is continuous on , and that hypothesis fails.
Splitting at the origin gives and , neither of which is a finite number, so the proposed "cancellation" is a cancellation of infinities and carries no meaning.
This is the same trap as the invalid evaluation of in Section 7.3: symmetry never rescues an integrand with an interior asymptote.
Show that every function defined on can be written as the sum of an even function and an odd function, and use the decomposition to explain why only the even part matters for .
Answer
; the odd part integrates to zero.
Solution
Define
Then , so is even, and , so is odd, and clearly .
Now integrate over the symmetric interval. By the Odd Function Rule the second piece vanishes, so
In words: on a symmetric interval, an integral can only "see" the even part of the integrand. For , for example, the even part is , and indeed .