Integrating Even and Odd Functions

We saw in Functions and Graphs that an even function is a function in which \(f \left(\right. − x \left.\right) = f \left(\right. x \left.\right)\) for all x in the domain—that is, the graph of the curve is unchanged when x is replaced with −x. The graphs of even functions are symmetric about the y-axis. An odd function is one in which \(f \left(\right. − x \left.\right) = − f \left(\right. x \left.\right)\) for all x in the domain, and the graph of the function is symmetric about the origin.

Integrals of even functions, when the limits of integration are from −a to a, involve two equal areas, because they are symmetric about the y-axis. Integrals of odd functions, when the limits of integration are similarly \(\left[\right. − a , a \left]\right. ,\) evaluate to zero because the areas above and below the x-axis are equal.

Rule: Integrals of Even and Odd Functions

For continuous even functions such that \(f \left(\right. − x \left.\right) = f \left(\right. x \left.\right) ,\)

\[\int_{− a}^{a} f \left(\right. x \left.\right) d x = 2 \int_{0}^{a} f \left(\right. x \left.\right) d x .\]

For continuous odd functions such that \(f \left(\right. − x \left.\right) = − f \left(\right. x \left.\right) ,\)

\[\int_{− a}^{a} f \left(\right. x \left.\right) d x = 0 .\]

Example 5.28

Integrating an Even Function

Integrate the even function \(\int_{−2}^{2} \left(\right. 3 x^{8} - 2 \left.\right) d x\) and verify that the integration formula for even functions holds.

Solution

The symmetry appears in the graphs in Figure 5.35. Graph (a) shows the region below the curve and above the x-axis. We have to zoom in to this graph by a huge amount to see the region. Graph (b) shows the region above the curve and below the x-axis. The signed area of this region is negative. Both views illustrate the symmetry about the y-axis of an even function. We have

\[\begin{aligned} \int_{−2}^{2} \left(\right. 3 x^{8} - 2 \left.\right) d x & = \left(\right. \frac{x^{9}}{3} - 2 x \left.\right) \left|\right._{−2}^{2} \\ \\ \\ & = \left[\right. \frac{\left(\right. 2 \left.\right)^{9}}{3} - 2 \left(\right. 2 \left.\right) \left]\right. - \left[\right. \frac{\left(\right. −2 \left.\right)^{9}}{3} - 2 \left(\right. −2 \left.\right) \left]\right. \\ & = \left(\right. \frac{512}{3} - 4 \left.\right) - \left(\right. - \frac{512}{3} + 4 \left.\right) \\ & = \frac{1000}{3} . \end{aligned}\]

To verify the integration formula for even functions, we can calculate the integral from 0 to 2 and double it, then check to make sure we get the same answer.

\[\begin{aligned} \int_{0}^{2} \left(\right. 3 x^{8} - 2 \left.\right) d x & = \left(\right. \frac{x^{9}}{3} - 2 x \left.\right) \left|\right._{0}^{2} \\ \\ & = \frac{512}{3} - 4 \\ & = \frac{500}{3} \end{aligned}\]

Since \(2 \cdot \frac{500}{3} = \frac{1000}{3} ,\) we have verified the formula for even functions in this particular example.

Two graphs of the same function f(x) = 3x^8 – 2, side by side. It is symmetric about the y axis, has x-intercepts at (-1,0) and (1,0), and has a y-intercept at (0,-2). The function decreases rapidly as x increases until about -.5, where it levels off at -2. Then, at about .5, it increases rapidly as a mirror image. The first graph is zoomed-out and shows the positive area between the curve and the x axis over [-2,-1] and [1,2]. The second is zoomed-in and shows the negative area between the curve and the x-axis over [-1,1].
Figure 5.35 Graph (a) shows the positive area between the curve and the x-axis, whereas graph (b) shows the negative area between the curve and the x-axis. Both views show the symmetry about the y-axis.

Example 5.29

Integrating an Odd Function

Evaluate the definite integral of the odd function \(−5 \text{sin} x\) over the interval \(\left[\right. − \pi , \pi \left]\right. .\)

Solution

The graph is shown in Figure 5.36. We can see the symmetry about the origin by the positive area above the x-axis over \(\left[\right. − \pi , 0 \left]\right. ,\) and the negative area below the x-axis over \(\left[\right. 0 , \pi \left]\right. .\) We have

\[\begin{aligned} \int_{− \pi}^{\pi} −5 \text{sin} x d x & = −5 \left(\right. − \text{cos} x \left.\right) \left|\right._{− \pi}^{\pi} \\ \\ \\ & = 5 \text{cos} x \left|\right._{− \pi}^{\pi} \\ & = \left[\right. 5 \text{cos} \pi \left]\right. - \left[\right. 5 \text{cos} \left(\right. − \pi \left.\right) \left]\right. \\ & = −5 - \left(\right. −5 \left.\right) \\ & = 0 . \end{aligned}\]
A graph of the given function f(x) = -5 sin(x). The area under the function but above the x axis is shaded over [-pi, 0], and the area above the function and under the x axis is shaded over [0, pi].
Figure 5.36 The graph shows areas between a curve and the x-axis for an odd function.

Checkpoint 5.24

Integrate the function \(\int_{−2}^{2} x^{4} d x .\)

This lesson is part of:

Integration

View Full Tutorial

Track Your Learning Progress

Sign in to unlock unlimited practice exams, tutorial practice quizzes, personalized weak area practice, AI study assistance with Lexi, and detailed performance analytics.