1690 CHAPTER 53. RESIDUES

Res(

f ,−2+√

3)=

limz→−2+

√3

(z−(−2+

√3)) z2 +1

z(4z+ z2 +1)=−2

3

√3.

It follows ∫π

0

cosθ

2+ cosθdθ =

12i

∫γ

z2 +1z(4z+ z2 +1)

dz

=12i

2πi(

1− 23

√3)

= π

(1− 2

3

√3).

Other rational functions of the trig functions will work out by this method also.Sometimes you have to be clever about which version of an analytic function that re-

duces to a real function you should use. The following is such an example.

Example 53.2.9 The integral here is ∫∞

0

lnx1+ x4 dx.

The same curve used in the integral involving sinxx earlier will create problems with the

log since the usual version of the log is not defined on the negative real axis. This doesnot need to be of concern however. Simply use another branch of the logarithm. Leave outthe ray from 0 along the negative y axis and use Theorem 52.2.3 to define L(z) on this set.Thus L(z) = ln |z|+ iarg1 (z) where arg1 (z) will be the angle, θ , between −π

2 and 3π

2 suchthat z = |z|eiθ . Now the only singularities contained in this curve are

12

√2+

12

i√

2,−12

√2+

12

i√

2

and the integrand, f has simple poles at these points. Thus using the same procedure as inthe other examples,

Res(

f ,12

√2+

12

i√

2)=

132

√2π− 1

32i√

and

Res(

f ,−12

√2+

12

i√

2)=

332

√2π +

332

i√

2π.

Consider the integral along the small semicircle of radius r. This reduces to∫ 0

π

ln |r|+ it

1+(reit)4

(rieit)dt

1690 CHAPTER 53. RESIDUESRes (/,-2+ v3) =lim (-- (243) Goo =-F3.wo-24+ V3 4z+2° +1)It follows™ cos@ | o+l0 2+cos0 2i Jy z(42+27 +1)1 2= —2mi| 1—-=V3t xi( v3)2Other rational functions of the trig functions will work out by this method also.Sometimes you have to be clever about which version of an analytic function that re-duces to a real function you should use. The following is such an example.~° Inx[ lad dx.The same curve used in the integral involving sinx earlier will create problems with thelog since the usual version of the log is not defined on the negative real axis. This doesnot need to be of concern however. Simply use another branch of the logarithm. Leave outthe ray from 0 along the negative y axis and use Theorem 52.2.3 to define L(z) on this set.Thus L(z) = In|z|-+iarg, (z) where arg, (z) will be the angle, 6, between —% and 2% suchthat z = |z|e’®. Now the only singularities contained in this curve are124 siV2,-=V2+ xiv22 2°° 2 2and the integrand, f has simple poles at these points. Thus using the same procedure as inthe other examples,Example 53.2.9 The integral here is1 1Res ( f,<V2+ <iv2] =2 2| Ag divin32 32.and ' 'Res ,—Vv2+=iV2 =2 23 3.39 V2 + syiv 2a.Consider the integral along the small semicircle of radius r. This reduces to0] it| Anil pit (rie) dtm 1+(re‘)