Solution 1.

See text and/or instructor's solution manual.

Answer.   [Graphics:../Images/IntegralsTrigModHome_gr_3.gif].  

Solution.  The integrand is  [Graphics:../Images/IntegralsTrigModHome_gr_4.gif],  construct the complex function [Graphics:../Images/IntegralsTrigModHome_gr_5.gif]

using the substitutions  [Graphics:../Images/IntegralsTrigModHome_gr_6.gif]  and  [Graphics:../Images/IntegralsTrigModHome_gr_7.gif].

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

The complex integrand is  [Graphics:../Images/IntegralsTrigModHome_gr_9.gif],  and we have  

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

Factoring the denominator, we obtain

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

Hence  [Graphics:../Images/IntegralsTrigModHome_gr_12.gif],  has simple zeros at  [Graphics:../Images/IntegralsTrigModHome_gr_13.gif]   and   [Graphics:../Images/IntegralsTrigModHome_gr_14.gif]  lies inside  [Graphics:../Images/IntegralsTrigModHome_gr_15.gif].

Thus  [Graphics:../Images/IntegralsTrigModHome_gr_16.gif],  has simple poles at  [Graphics:../Images/IntegralsTrigModHome_gr_17.gif]   and   [Graphics:../Images/IntegralsTrigModHome_gr_18.gif]  lies inside  [Graphics:../Images/IntegralsTrigModHome_gr_19.gif].

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

                              The point  [Graphics:../Images/IntegralsTrigModHome_gr_21.gif] lies inside  [Graphics:../Images/IntegralsTrigModHome_gr_22.gif].

Using Theorem 8.1 (Cauchy's Residue Theorem), the value of the integral is computed   

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

Here the denominator of  f(z) has a factor of the form  [Graphics:../Images/IntegralsTrigModHome_gr_24.gif],  and by Theorem 8.2  [Graphics:../Images/IntegralsTrigModHome_gr_25.gif].  

In this exercise, the limit can be calculated as follows:    

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

We are done.   

Aside.  We can let Mathematica double check our work.

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

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


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

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


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

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

And we can let Maple check our work too.

     > residue( -2*I/(3*z^2+10*z+3), z=-1/3 );

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

     > 2*Pi*I*residue(-2*I/(3*z^2+10*z+3),z=-1/3);

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

 

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

          The area under the curve  [Graphics:../Images/IntegralsTrigModHome_gr_36.gif]  is  [Graphics:../Images/IntegralsTrigModHome_gr_37.gif].  

 

We are really done.

Aside.  Both [Graphics:../Images/IntegralsTrigModHome_gr_38.gif] and [Graphics:../Images/IntegralsTrigModHome_gr_39.gif] are capable of finding the definite integral.

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

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

 

          > int(1/(3*cos(t)+5),t=0..2*Pi);  

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

 

 

We are really really done.

Caveat.  Both [Graphics:../Images/IntegralsTrigModHome_gr_43.gif] and [Graphics:../Images/IntegralsTrigModHome_gr_44.gif] can find functions for the indefinite integral.  These functions are discontinuous

and will produce erroneous computations for the value of the definite integral when using the Fundamental Theorem of Calculus.

Different versions of Mathematica will find the following indefinite integrals:  

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

Maple will find the following indefinite integral:  

          > int(1/(3*cos(t)+5),t);   

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

The failed attempts to find the definite integral using  [Graphics:../Images/IntegralsTrigModHome_gr_47.gif] are summarized:

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

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

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

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

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

Warning.  The above answers are wrong because the indefinite integrals are discontinuous.

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

The indefinite integral  [Graphics:../Images/IntegralsTrigModHome_gr_54.gif]  is discontinuous at the endpoints  [Graphics:../Images/IntegralsTrigModHome_gr_55.gif].
Thus the calculation  [Graphics:../Images/IntegralsTrigModHome_gr_56.gif]  is not defined.  
However   [Graphics:../Images/IntegralsTrigModHome_gr_57.gif]  is a valid calculation.  

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

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

  
  

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

The indefinite integral  [Graphics:../Images/IntegralsTrigModHome_gr_61.gif]  is discontinuous at the point  [Graphics:../Images/IntegralsTrigModHome_gr_62.gif].
Thus the calculation  [Graphics:../Images/IntegralsTrigModHome_gr_63.gif]  is a wrong answer.  
However   [Graphics:../Images/IntegralsTrigModHome_gr_64.gif]  is a valid calculation.  

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

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

Question.  The definite integral subroutines in Mathematica and Maple were able to compute the definite integral correctly,

but using the formula  [Graphics:../Images/IntegralsTrigModHome_gr_67.gif]  for the indefinite integral required the additional use of one sided limits.

How do you think the software was able to detect this situation and come up with the proper answer?  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This solution is complements of the authors.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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