Integrals: the basics

Definite integrals of even and odd functions

The definite integral from −a-a to aa equals twice the integral from 00 to aa if f(x)f(x) is even, and 00 if f(x)f(x) is odd.

∫−aaf(x) dx={2∫0af(x) dx(even)0(odd)\int_{-a}^{a} f(x)\,dx=\begin{cases} 2\int_{0}^{a} f(x)\,dx & (\text{even}) \\ 0 & (\text{odd}) \end{cases}

A function with f(−x)=f(x)f(-x)=f(x) is even, and one with f(−x)=−f(x)f(-x)=-f(x) is odd. x2x^2, x4x^4 and constants are even; xx, x3x^3 and x5x^5 are odd.

∫−aaxeven dx=2∫0axeven dx,∫−aaxodd dx=0\begin{gathered} \int_{-a}^{a} x^{\text{even}}\,dx=2\int_{0}^{a} x^{\text{even}}\,dx, \\[4pt] \int_{-a}^{a} x^{\text{odd}}\,dx=0 \end{gathered}

The graph of an even function is symmetric about the yy-axis, so the two halves have equal area; the graph of an odd function is symmetric about the origin, so the two halves cancel. For example, ∫−11x4 dx=2∫01x4 dx=25\int_{-1}^{1} x^4\,dx=2\int_{0}^{1} x^4\,dx=\frac{2}{5}.

Examples

  1. 01Which one is an odd function?\displaystyle A2\displaystyle 2Bx2\displaystyle x^{2}Cx5\displaystyle x^{5}Dx2+1\displaystyle x^{2}+1AnswerHide
    Answerx5\displaystyle x^{5}

    Steps

    1. (−x)5\displaystyle (-x)^{5}=−x5\displaystyle = -x^{5}
    2. An even power keeps its sign
    3. (−x)2\displaystyle (-x)^{2}=x2\displaystyle = x^{2}
  2. 02If f(x) is odd, what goes in □?∫−aaf(x) dx=□\displaystyle \int_{-a}^{a} f(x)\,dx = \squareAnswerHide
    Answer0\displaystyle 0

    Steps

    1. ∫−10x3 dx\displaystyle \int_{-1}^{0} x^{3}\,dx=−14\displaystyle = -\frac{1}{4}∫01x3 dx\displaystyle \int_{0}^{1} x^{3}\,dx=14\displaystyle = \frac{1}{4}
    2. Adding them cancels
    3. ∫−11x3 dx\displaystyle \int_{-1}^{1} x^{3}\,dx=0\displaystyle = 0
  3. 03What is f(-x)?f(x)=x2\displaystyle f(x)=x^{2}AnswerHide
    Answerx2\displaystyle x^{2}

    Steps

    1. (−x)2\displaystyle (-x)^{2}=(−1)2x2\displaystyle = (-1)^{2}x^{2}=x2\displaystyle = x^{2}
  4. 04x4x^{4} is an even function. What is the value of this definite integral?∫−11x4 dx\displaystyle \int_{-1}^{1} x^{4}\,dxAnswerHide
    Answer25\displaystyle \frac{2}{5}

    Steps

    1. ∫01x4 dx\displaystyle \int_{0}^{1} x^{4}\,dx=15\displaystyle = \frac{1}{5}
    2. Even, so twice one side
    3. ∫−11x4 dx\displaystyle \int_{-1}^{1} x^{4}\,dx=2⋅15=25\displaystyle = 2 \cdot \frac{1}{5} = \frac{2}{5}
  5. 05What is the value of this definite integral?∫−33x5 dx\displaystyle \int_{-3}^{3} x^{5}\,dxAnswerHide
    Answer0\displaystyle 0

    Steps

    1. ∫−30x5 dx\displaystyle \int_{-3}^{0} x^{5}\,dx=−2432\displaystyle = -\frac{243}{2}∫03x5 dx\displaystyle \int_{0}^{3} x^{5}\,dx=2432\displaystyle = \frac{243}{2}
    2. Adding them cancels
    3. ∫−33x5 dx\displaystyle \int_{-3}^{3} x^{5}\,dx=0\displaystyle = 0
  6. 06What is f(-x)?f(x)=x5\displaystyle f(x)=x^{5}AnswerHide
    Answer−x5\displaystyle -x^{5}

    Steps

    1. (−x)5\displaystyle (-x)^{5}=(−1)5x5\displaystyle = (-1)^{5}x^{5}=−x5\displaystyle = -x^{5}

FAQ

Q1What if the function is neither even nor odd, like x5+5x^5+5?AnswerHide
A
Split it term by term. In ∫−22(x5+5) dx\int_{-2}^{2}(x^5+5)\,dx, the odd part x5x^5 gives 00, and the constant 55 is even, so the result is 2∫025 dx=202\int_{0}^{2}5\,dx=20.
Q2Does this work if the interval is not from −a-a to aa?AnswerHide
A
No. It holds only on an interval [−a, a][-a,\ a] that is symmetric about 00.

Published 2026-10-14 · Updated 2026-10-14