53.2. SINGULARITIES AND THE LAURENT SERIES 1689

Similarly we may find the other residue in the same way

Res(

f ,−12

√2+

12

i√

2)

= limz→− 1

2√

2+ 12 i√

2

(z−(−1

2

√2+

12

i√

2))

11+ z4

= −18

i√

2+18

√2.

Therefore, ∫Γr

11+ z4 dz = 2πi

(−1

8i√

2+18

√2+(−1

8

√2− 1

8i√

2))

=12

π√

2.

Thus, taking the limit we obtain 12 π√

2 =∫

−∞

11+x4 dx.

Obviously many different variations of this are possible. The main idea being that theintegral over the semicircle converges to zero as r→ ∞.

Sometimes we don’t blow up the curves and take limits. Sometimes the problem ofinterest reduces directly to a complex integral over a closed curve. Here is an example ofthis.

Example 53.2.8 The integral is ∫π

0

cosθ

2+ cosθdθ

This integrand is even and so it equals

12

∫π

−π

cosθ

2+ cosθdθ .

For z on the unit circle, z = eiθ , z = 1z and therefore, cosθ = 1

2

(z+ 1

z

). Thus dz = ieiθ dθ

and so dθ = dziz . Note this is proceeding formally to get a complex integral which reduces

to the one of interest. It follows that a complex integral which reduces to the one desired is

12i

∫γ

12

(z+ 1

z

)2+ 1

2

(z+ 1

z

) dzz

=12i

∫γ

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

dz

where γ is the unit circle. Now the integrand has poles of order 1 at those points wherez(4z+ z2 +1

)= 0. These points are

0,−2+√

3,−2−√

3.

Only the first two are inside the unit circle. It is also clear the function has simple poles atthese points. Therefore,

Res( f ,0) = limz→0

z(

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

)= 1.

53.2. SINGULARITIES AND THE LAURENT SERIES 1689Similarly we may find the other residue in the same wayRes (r-v24 5iv2)1 1 1lim zZ— (~3v2+ 32) )tt al 2 2 1+z1 1—giv2+ gv?Therefore,| a) 2ni Lia 4 + V24yy = i{—<i =r.1+2°° 8 81= —nv2.gtv2Thus, taking the limit we obtain 5aV/2 = fe pad.Obviously many different variations of this are possible. The main idea being that theintegral over the semicircle converges to zero as r — ©,Sometimes we don’t blow up the curves and take limits. Sometimes the problem ofinterest reduces directly to a complex integral over a closed curve. Here is an example ofthis.3v2-5iv2))Example 53.2.8 The integral is= cos@0 2+coséThis integrand is even and so it equals1 (7 cosd2)-n2+cos0For z on the unit circle, z= e’, Z= i and therefore, cos 0 = 5 (z+ +) . Thus dz = ie’’d@and so d@ = a, Note this is proceeding formally to get a complex integral which reducesto the one of interest. It follows that a complex integral which reduces to the one desired isLp Berd det 2+l a,QiJy2+5(z+4) 2 2 Jyz(4e+2°+1)where y is the unit circle. Now the integrand has poles of order | at those points wherez(4z¢+z° +1) =0. These points are0,-2+ V3, -2- V3.Only the first two are inside the unit circle. It is also clear the function has simple poles atthese points. Therefore,2. z+lRes (f,0) = limz( —** — ) = 1.es(f,0) tims (ay)