Assignment 4 Corrections
Assignment 4 Corrections
Assignment 4 Corrections
eix
sin(x)
Ans 10(d) Note that f (x) = 2 = Im . To solve such integrals, we consider the function g(z) =
x +4 x2 + 4
eiz
and integrate it over a contour in the complex plane.
z2 + 4
The singularities of g(z) are z = 2i and z = −2i.
Since the singularities z = 2i is in the upper half-plane and z = −2i is in the lower half-plane, we close the contour
in the upper half-plane and apply the residue theorem.
2
e2i e− 2
Since both singularities are simple poles, the residues at z = 2i is Res(g, 2i) = = .
4i 4i
By the residue theorem, the integral over the contour is 2πi times the sum of the residues inside the contour. Since
e− 2 πe−2
there is only one pole inside the contour, the integral is 2πi × = .
Z ∞ Z ∞ 4i 2
ix −2
sin(x)dx e dx πe
Therefore, 2 + 4)
= Im 2 + 4)
= .
−∞ (x −∞ (x 2
sin3 (x)
Ans 10(e) We consider the function f (x) = . To solve such integrals, we take the substitution z = eiθ ,
cos(x)
1
which gives us sin θ = 2i (eiθ − e−iθ ) = 2i
1
(z − z1 ), cos θ = 12 (eiθ + e−iθ ) = 21 (z + z1 ) and dθ = dz
iz . Finally z = e
iθ
with
limits of integration 0 ≤ θ ≤ 2π gives us |z| = 1.
2π 1 1 3
sin3 (x) 2i (z − z) (z 2 − 1)3
Z I I
dz
dθ = 1 1 . = dz
0 cos(x) |z|=1 2 (z + z)
iz |z|=1 4z 3 (z 2 + 1)
2 3
(z − 1)
The singularities of f (z) = are z = 0, ±i. However, only the singularity at z = 0 lies inside the contour
4z 3 (z 2 + 1)
|z| = 1. Also it is a pole of order 3.
′′
1
The residue at z = 0 can be found using the formula Res(f, 0) = limz→0 z 3 f (z) = 1.
2!
By the residue theorem, the integral over the contour is 2πi times the sum of the residues inside the contour. Since
there is only one
Z 2πpole inside the contour, the integral is 2πi × 1.
sin3 (x)dx
Therefore, = 2πi.
0 cos(x)