We saw in Module 1: Functions and Graphs that an even function is a function in which f(−x)=f(x) 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(−x)=−f(x) 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 [−a,a], evaluate to zero because the areas above and below the x-axis are equal.
Integrals of Even and Odd Functions
For continuous even functions such that f(−x)=f(x),
∫a−af(x)dx=2∫a0f(x)dx.
For continuous odd functions such that f(−x)=−f(x),
∫a−af(x)dx=0.
It may be useful to recall how to quickly determine whether a function is even, odd or neither.
Recall: How to determine whether a function is even, odd or neither
Determine whether each of the following functions is even, odd, or neither.
f(x)=−5x4+7x2−2
f(x)=2x5−4x+5
f(x)=3xx2+1
To determine whether a function is even or odd, we evaluate f(−x) and compare it to f(x) and −f(x).
f(−x)=−5(−x)4+7(−x)2−2=−5x4+7x2−2=f(x). Therefore, f is even.
f(−x)=2(−x)5−4(−x)+5=−2x5+4x+5. Now, f(−x)≠f(x). Furthermore, noting that −f(x)=−2x5+4x−5, we see that f(−x)≠−f(x). Therefore, f is neither even nor odd.
f(−x)=3(−x)((−x)2+1)=−3x(x2+1)=−[3x(x2+1)]=−f(x). Therefore, f is odd.
Example: Integrating an Even Function
Integrate the even function ∫2−2(3x8−2)dx and verify that the integration formula for even functions holds.
Show Solution
The symmetry appears in the graphs in Figure 3. 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
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.
∫20(3x8−2)dx=(x93−2x)|20=5123−4=5003
Since 2⋅5003=10003, we have verified the formula for even functions in this particular example.
Figure 3. 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.
Watch the following video to see the worked solution to Example: Integrating an Even Function.
Closed Captioning and Transcript Information for Video
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
Evaluate the definite integral of the odd function −5sinx over the interval [−π,π].
Show Solution
The graph is shown in Figure 4. We can see the symmetry about the origin by the positive area above the x-axis over [−π,0], and the negative area below the x-axis over [0,π]. We have
Figure 4. The graph shows areas between a curve and the x-axis for an odd function.
Watch the following video to see the worked solution to Example: Integrating an Odd Function.
Closed Captioning and Transcript Information for Video
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.