Example 8.21.  Evaluate  [Graphics:Images/IntegralsIndentedContourMod_gr_79.gif]  by using a computer algebra system.  

[Graphics:Images/IntegralsIndentedContourMod_gr_80.gif]

Explore Solution 8.21.

Enter the function and  [Graphics:../Images/IntegralsIndentedContourMod_gr_92.gif]  and locate the singularities.

[Graphics:../Images/IntegralsIndentedContourMod_gr_93.gif]


[Graphics:../Images/IntegralsIndentedContourMod_gr_94.gif]

 

 

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_95.gif]




[Graphics:../Images/IntegralsIndentedContourMod_gr_96.gif]

[Graphics:../Images/IntegralsIndentedContourMod_gr_97.gif]

 

 

 

 

Warning. The following computation will not produce the correct answer.

[Graphics:../Images/IntegralsIndentedContourMod_gr_98.gif]



[Graphics:../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_100.gif]




[Graphics:../Images/IntegralsIndentedContourMod_gr_101.gif]

[Graphics:../Images/IntegralsIndentedContourMod_gr_102.gif]

[Graphics:../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 .

[Graphics:../Images/IntegralsIndentedContourMod_gr_104.gif]



[Graphics:../Images/IntegralsIndentedContourMod_gr_105.gif]

Which is also the correct answer.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) 2006 John H. Mathews, Russell W. Howell