Example
8.21. Evaluate
by
using a computer algebra system.
![[Graphics:Images/IntegralsIndentedContourMod_gr_80.gif]](../Images/IntegralsIndentedContourMod_gr_80.gif)
Explore Solution 8.21.
Enter the function and
and
locate the singularities.
![]()
Warning. The indefinite integral of f[x] is g[x], but it cannot be used in any meaningful way to solve the problem at hand.
![[Graphics:../Images/IntegralsIndentedContourMod_gr_96.gif]](../Images/IntegralsIndentedContourMod_gr_96.gif)
![[Graphics:../Images/IntegralsIndentedContourMod_gr_97.gif]](../Images/IntegralsIndentedContourMod_gr_97.gif)
Warning. The following computation will not produce the correct answer.
![[Graphics:../Images/IntegralsIndentedContourMod_gr_99.gif]](../Images/IntegralsIndentedContourMod_gr_99.gif)
Correction. The
indefinite integral of g[x] can be written in an algebraic
form that will produce the correct answer for real functions.
![[Graphics:../Images/IntegralsIndentedContourMod_gr_101.gif]](../Images/IntegralsIndentedContourMod_gr_101.gif)
![[Graphics:../Images/IntegralsIndentedContourMod_gr_102.gif]](../Images/IntegralsIndentedContourMod_gr_102.gif)
![[Graphics:../Images/IntegralsIndentedContourMod_gr_103.gif]](../Images/IntegralsIndentedContourMod_gr_103.gif)
Which is also the correct answer.
Aside. We can use Mathematica's built in "PrincipalValue" option to evaluate this definite integral .
![]()
Which is also the correct answer.