Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Evaluation of Definite Integrals, Lecture notes of Calculus

Definite Integrals Involving Trigonometric Functions , Real Improper Integrals

Typology: Lecture notes

2020/2021

Uploaded on 05/24/2021

ammla
ammla 🇺🇸

4.5

(37)

275 documents

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
SECTION 6.2 257
§6.2 Evaluation of Definite Integrals
We have used definite integrals to evaluate contour integrals. It may come as a
surprise to learn that contour integrals and residues can be used to evaluate certain
classes of definite integrals that might otherwise prove intractable.
Definite Integrals Involving Trigonometric Functions
Contour integrals and residues can be useful in the evaluation of definite integrals
of the form
Zb
a
P(cos θ, sin θ)
Q(cos θ, sin θ) (6.4)
where P(cos θ, sin θ) and Q(cos θ, sin θ) are polynomials in cos θand sin θ, provided
Qis never equal to zero.
Example 6.6 Evaluate Z2π
0
1
2cos θ.
Solution We transform the definite integral to the complex plane by setting
z=eθi and dz =ieθi =iz .Asθtraces out the values 0 through 2π,ztraces
out the circle C:|z|= 1 once counterclockwise (Figure 6.5). We replace cos θwith
cos θ=(eθi +eθi)/2=(z+z1)/2,
Z2π
0
1
2cos θ =Z
C
1
2z+z1
2
dz
iz =2iZ
C
1
z24z+1dz.
The (real) definite integral has been replaced by a (complex) contour integral. Be-
cause z24z+ 1 = 0 when z=(4±16 4)/2=2±3, the integrand
1
z24z+1 =1
(z23)(z2+3)
has simple poles at z=2±3, only one of which is interior to C. Since
Res 1
z24z+1,23= lim
z23
z2+3
(z23)(z2+3) =1
23,
Cauchy’s residue theorem gives
Z2π
0
1
2cos θ =2i2πi 1
23=2π
3.
Im
Re
z
z
C
i
1
2-3
,
Im
Re
z
z
C
D
C
D
2-3
,
2+3
,
i
1
Figure 6.5 Figure 6.6
This method can be applied to evaluate integrals over intervals other than
[0,2π], but residue theory may not be applicable.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Evaluation of Definite Integrals and more Lecture notes Calculus in PDF only on Docsity!

§6.2 Evaluation of Definite Integrals

We have used definite integrals to evaluate contour integrals. It may come as a surprise to learn that contour integrals and residues can be used to evaluate certain classes of definite integrals that might otherwise prove intractable. Definite Integrals Involving Trigonometric Functions Contour integrals and residues can be useful in the evaluation of definite integrals of the form ∫ (^) b

a

P (cos θ, sin θ) Q(cos θ, sin θ) dθ^ (6.4) where P (cos θ, sin θ) and Q(cos θ, sin θ) are polynomials in cos θ and sin θ, provided Q is never equal to zero.

Example 6.6 Evaluate

∫ (^2) π

0

2 − cos θ

dθ.

Solution We transform the definite integral to the complex plane by setting z = eθi^ and dz = ieθidθ = iz dθ. As θ traces out the values 0 through 2π, z traces out the circle C : |z| = 1 once counterclockwise (Figure 6.5). We replace cos θ with cos θ = (eθi^ + e−θi)/2 = (z + z−^1 )/2, ∫ (^2) π

0

2 − cos θ

dθ =

C

( (^) z+z− 1 2

) dz iz

= 2i

C

z^2 − 4 z + 1

dz.

The (real) definite integral has been replaced by a (complex) contour integral. Be- cause z^2 − 4 z + 1 = 0 when z = (4 ±

3, the integrand 1 z^2 − 4 z + 1 =^

(z − 2 −

3)(z − 2 +

has simple poles at z = 2 ±

3, only one of which is interior to C. Since

Res

[

z^2 − 4 z + 1

]

= lim z→ 2 −√ 3

z − 2 +

(z − 2 −

3)(z − 2 +

Cauchy’s residue theorem gives ∫ (^2) π

0

2 − cos θ dθ^ = 2i

[

2 πi

)]

2 π √ 3

Im

Re

z

z

C

i

2-^ , 3 1

Im

Re

z

z

C

D C

D

2-^ , 3

2+^ , 3

i

1

Figure 6.5 Figure 6. This method can be applied to evaluate integrals over intervals other than [0, 2 π], but residue theory may not be applicable.

Example 6.7 Evaluate

∫ (^) π/ 2

0

2 − cos θ dθ. Solution The transformation z = eθi^ transforms the real integral into the contour integral of Example 6.6 over the quarter circle in Figure 6.6. This time we use the partial fraction decomposition of the integrand to write ∫ (^) π/ 2

0

2 − cos θ

dθ = 2i

C

z^2 − 4 z + 1

dz = 2i

C

2 √ 3 z − 2 −

− 1 2 √ 3 z − 2 +

dz.

In the domain D of Figure 6.6, the integrand has an antiderivative, and hence ∫ (^) π/ 2

0

2 − cos θ dθ^ =^

√i 3

logφ(z − 2 −

  1. − logφ(z − 2 +

}i

1

where we choose branches of the logarithm functions with branch cuts φ = −π/2. Then ∫ (^) π/ 2

0

2 − cos θ

dθ = √i 3

[

log−π/ 2 (i − 2 −

  1. − log−π/ 2 (i − 2 +

− log−π/ 2 (− 1 −

    • log−π/ 2 (−1 +

]

= √i 3

{[

ln

3)^2 + 1 + i

π − Tan−^1

))]

[

ln

3)^2 + 1 + i

π − Tan−^1

))]

− [ln (1 +

    • πi] + ln (

= √i 3

{[

ln

3 − ln

3 − ln (1 +

    • ln (

]

  • i

[

−π + Tan−^1

− Tan−^1

)]}

We can bring the inverse tangents together using the following identity. When AB > 0,

Tan−^1 A − Tan−^1 B = Tan−^1

A − B

1 + AB

The result is ∫ (^) π/ 2

0

2 − cos θ dθ^ =^

i 2

ln

[

3 − 1)^2

3 + 1)^2

]

− √^1

^ −π^ + Tan

− 1

∣∣^1

1 + z^4

|z^4 | − 1 =^

R^4 − 1.

Hence, by property 4.21, ∣∣ ∣∣

Γ

1 + z^4 dz

R^4 − 1 (πR). It is clear that the limit of this expression is zero as R → ∞, and therefore

√^ π 2

= (^) Rlim→∞

(∫ R

−R

1 + x^4

dx +

Γ

1 + z^4

dz

−∞

1 + x^4

dx.•

This example has illustrated that the contour integral of 1/(1+z^4 ) around the curve C of Figure 6.7 can be used to evaluate the improper integral of 1/(1 + x^4 ) from negative infinity to infinity. The real difficulty in such problems is the choice of contour and the choice of integrand. We now do two more examples to illustrate some of these difficulties.

Example 6.9 Evaluate

0

cos x x^2 + 1

dx.

Solution We might consider the contour integral ∫ ∨ © C

cos z z^2 + 1 dz around the contour in Figure 6.7. Certainly along the straight line portion of C the integrand reduces to cos x/(x^2 + 1), but if we set z = x + yi along Γ, then on the semicircle ∣∣ ∣∣^ cos^ z z^2 + 1

∣∣^ e

(x+yi)i (^) + e−(x+yi)i 2(z^2 + 1)

∣∣^ e

−y+xi (^) + ey−xi 2(z^2 + 1)

which becomes infinite as |z| → ∞. We shall not therefore be able to show that the contour integral along Γ approaches zero as |z| → ∞ as in Example 6.8. This means that the choice of cos z/(z^2 + 1) was perhaps not a convenient one. Consider instead ∫ ∨ © C

ezi z^2 + 1

dz

where C is again the contour in Figure 6.7. Since the integrand has simple poles at z = ±i, only z = i being interior to C, ∫ ∨ © C

ezi z^2 + 1

dz = 2πi Res

[

ezi z^2 + 1

, i

]

= 2πi (^) zlim→i

[

(z − i)ezi (z − i)(z + i)

]

= 2πi e

i(i) 2 i

= π e

Thus, π e =

∫ R

−R

exi x^2 + 1 dx^ +

Γ

ezi z^2 + 1 dz

=

∫ R

−R

cos x x^2 + 1

dx + i

∫ R

−R

sin x x^2 + 1

dx +

Γ

ezi z^2 + 1

dz

∫ R

−R

cos x x^2 + 1

dx +

Γ

ezi z^2 + 1

dz (since sin x/(x^2 + 1) is an odd function).

If we set z = x + yi = Reθi^ on Γ, then on this semicircle, ∣∣ ∣∣^ e

zi z^2 + 1

∣∣ ≤ |e

(x+yi)i| |z^2 | − 1

(by inequality 1.39)

= e

−y R^2 − 1 ≤ 1 R^2 − 1

(since y ≥ 0).

Hence, by inequality 4.21, ∣∣ ∣∣

Γ

ezi z^2 + 1

dz

R^2 − 1

(πR).

Since the limit of this expression is zero as R → ∞, it follows that

π e =^ Rlim→∞

(∫ R

−R

cos x x^2 + 1 dx^ +

Γ

ezi z^2 + 1 dz

−∞

cos x x^2 + 1 dx^ = 2

0

cos x x^2 + 1 dx. Finally, ∫ (^) ∞

0

cos x x^2 + 1

dx = π 2 e

This example illustrated that we do not always replace x’s by z’s to obtain the appropriate contour integral. The following example indicates that the choice of contour may not always be obvious.

Example 6.10 Evaluate

0

1 + x^3

dx.

Solution Based on Example 6.8 we should perhaps consider ∫ ∨ © C

1 + z^3 dz where C is some appropriate contour. Clearly a part of C should be the positive real axis and possibly a circular arc of radius R > 1. But we cannot take a semicircle as in Example 6. since 1/(1 + z^3 ) has a singularity at z = − 1 on the negative real axis. What we should like to do then is choose some other line eminating from the origin say z = reφi, 0 < φ < π, which

Im

Re

z

R z

e i

p /3 G

G

G

C

2

1

3

f

leads to a simple solution (Figure 6.8). The Figure 6. integrand has simple poles at z = eπi/^3 , − 1 , e^5 πi/^3. Suppose for the moment we stipulate that φ be in the interval π/ 3 < φ < π, but, for the moment, leave it otherwise arbitrary. Cauchy’s residue theorem and L’Hˆopital’s rule give ∫ ∨ © C

1 + z^3 dz^ = 2πi^ Res

[

1 + z^3 , e

πi/ 3

]

= 2πi lim z→eπi/^3

z − eπi/^3 1 + z^3

EXERCISES 6.

In Exercises 1–17 use a contour integral to evaluate the definite integral.

∫ (^2) π

0

3 − sin θ

dθ 2.

∫ (^2) π

0

3 + 2 cos θ

∫ (^2) π

0

6 + 5 sin θ dθ^ 4.

∫ (^2) π

0

sin θ + 2 cos θ + 4 dθ

∫ (^2) π

0

4 cos^2 θ + 3

dθ 6.

∫ (^2) π

0

sin 2θ 2 + cos θ

∫ (^2) π

0

sin^2 θ 5 + 4 cos θ

dθ 8.

∫ (^2) π

0

cos θ 3 + cos θ

∫ (^) π

0

3 + 2 cos θ dθ^ 10.

∫ (^) π/ 2

0

6 + 5 sin θ dθ

∫ (^) π/ 2

0

3 − sin θ dθ^ 12.

−π/ 2

5 + 2 cos θ dθ

0

3 + 2 sin θ

dθ 14.

0

4 + 3 cos θ

−π

4 + cos θ

dθ 16.

∫ (^) π/ 2

−π

5 + 2 sin θ

∫ (^) π/ 2

0

cos θ 3 + cos θ

In Exercises 18–23 use a contour integral to evaluate the improper integral.

0

2 + x^2

dx 19.

−∞

x^2 (x^2 + 1)(x^2 + 4)

dx

−∞

3 + x^6 dx^ 21.

0

x 1 + x^3 dx

−∞

sin x x^2 + 2x + 2

dx 23.

0

x^2 cos x (x^2 + 9)^2

dx

  1. Show that

∫ (^2) π

0

cos^2 n^ θ dθ =

(2n)!π 22 n−^1 (n!)^2.

  1. (a) Use the substitution u = 1/x to show that

I =

0

1 + x^2 1 + x^4 dx^ =

1

1 + u^2 1 + u^4 du, and hence

I =

−∞

1 + x^2 1 + x^4 dx. (b) Now use contour integration to calculate I.

  1. Use contour integrals to prove the result of Exercise 3 in Section 4.8.
  1. Example 6.8 and Exercises 18–21 are examples of improper integrals of the form ∫ (^) ∞

−∞

P (x) Q(x) dx where P (x) and Q(x) are polynomials (of degrees m and n), and Q(x) 6 = 0 for all real x. Show that when n ≥ m + 2, ∫ (^) ∞

−∞

P (x) Q(x) dx^ = 2πi

sum of the residues of P (z)/Q(z) at its poles in the half-plane Im z > 0

With this result, it is no longer necessary to introduce the contour of Figure 6.7. The fact that n ≥ m + 2 guarantees that the contour integral along Γ vanishes as R → ∞. Use Exercise 27 to evaluate the improper integral in Exercises 28–29.

−∞

(x^2 + 4x + 5)^2 dx^ 29.

−∞

x^2 + 3 (x^2 + 1)(x^2 − x + 1) dx

  1. Example 6.9 and Exercises 22 and 23 are examples of improper integrals of the form ∫ (^) ∞

−∞

P (x) cos ax Q(x)

dx or

−∞

P (x) sin ax Q(x)

dx

where P (x) and Q(x) are polynomials (of degrees m and n), a > 0 is real, and Q(x) 6 = 0 for any real x. (a) Use the figure to the right to verify that sin θ ≥

2 θ π ,^0 ≤^ θ^ ≤^ π/^2 , called Jordan’s inequality. Prove that for ∫ a > 0, π 0

e−aR^ sin^ θ^ dθ ≤ π aR

(1 − e−aR). (b) Show that when n ≥ m + 1, and a > 0,

1^ y

p /2 p

y =sin q

q ∫ (^) ∞

−∞

P (x) cos ax Q(x)

dx = − 2 π Im

sum of the residues of P (z)eazi/Q(z) at its poles in the half-plane Im z > 0

and ∫ (^) ∞

−∞

P (x) sin ax Q(x)

dx = 2π Re

sum of the residues of P (z)eazi/Q(z) at its poles in the half-plane Im z > 0

Hint: Use the contour in Figure 6.7, and show that R can be chosen sufficiently large that on Γ, ∣∣ ∣∣^ P^ (z)e

azi Q(z)

∣∣ ≤ (|am|R

m (^) + · · · + |a 0 |)e−aR sin θ |bn|Rn^ − · · · − |b 0 | , where P (z) = amzm^ + · · · + a 0 and Q(z) = bnzn^ + · · · + b 0. Now use the result in part (a). In Exercises 31–35 use the result in Exercise 30 to evaluate the improper integral.

0

x sin 2x x^2 + 5

dx 32.

−∞

x^2 cos 3x x^4 + 4

dx

0

sin^2 x x^2 + 1

dx 34.

−∞

cos x (x + a)^2 + b^2

dx