← 2022 Paper 2

UPSC 2022 Maths Optional Paper 2 Q2c — Step-by-Step Solution

20 marks · Section A

Contour integration of real integrals using residues · Complex Analysis · asked 9× in 13 yrs · Read the full method →

Question

Evaluate cosxdx(x2+a2)(x2+b2)\displaystyle\int_{-\infty}^\infty\dfrac{\cos x\,dx}{(x^2+a^2)(x^2+b^2)}, a>b>0a>b>0, using calculus of residues.

Technique

Standard contour integration: replace cosx\cos x with Re(eix)\text{Re}(e^{ix}); close in upper half-plane (Jordan’s lemma kills semicircle); residues at the two simple poles z=ia,ibz=ia, ib.

Solution

Strategy. Consider eixdx(x2+a2)(x2+b2)\displaystyle\int_{-\infty}^\infty\dfrac{e^{ix}\,dx}{(x^2+a^2)(x^2+b^2)} and take real part. Close the contour in the upper half-plane.

Step 1 — Set up the contour

Let f(z)=eiz(z2+a2)(z2+b2)f(z)=\dfrac{e^{iz}}{(z^2+a^2)(z^2+b^2)}. Poles: z=±iaz=\pm ia and z=±ibz=\pm ib.

In the upper half-plane: poles at z=iaz=ia and z=ibz=ib (both above real axis since a,b>0a,b>0).

Contour CRC_R: real axis [R,R][-R,R] plus upper semicircle of radius RR.

By Jordan’s lemma, the semicircle contribution vanishes as RR\to\infty (the eize^{iz} decays in the upper half-plane for z>0\Im z>0).

Step 2 — Residue at z=iaz=ia

z=iaz=ia is a simple pole. Residue:

Resz=iaf=limzia(zia)eiz(zia)(z+ia)(z2+b2)=eiia(2ia)(a2+b2)=ea2ia(b2a2).\text{Res}_{z=ia}f=\lim_{z\to ia}(z-ia)\cdot\dfrac{e^{iz}}{(z-ia)(z+ia)(z^2+b^2)}=\dfrac{e^{i\cdot ia}}{(2ia)(-a^2+b^2)}=\dfrac{e^{-a}}{2ia(b^2-a^2)}.

(Note: (z2+a2)=(zia)(z+ia)(z^2+a^2)=(z-ia)(z+ia).)

Since b<ab<a: b2a2<0b^2-a^2<0, so Resiaf=ea2ia(b2a2)=ea2ia(a2b2)\text{Res}_{ia}f=\dfrac{e^{-a}}{2ia(b^2-a^2)}=\dfrac{-e^{-a}}{2ia(a^2-b^2)}.

Step 3 — Residue at z=ibz=ib

Resz=ibf=eiib(z2+a2)(2ib)z=ib=eb(b2+a2)(2ib)=eb2ib(a2b2).\text{Res}_{z=ib}f=\dfrac{e^{i\cdot ib}}{(z^2+a^2)(2ib)}\bigg|_{z=ib}=\dfrac{e^{-b}}{(-b^2+a^2)(2ib)}=\dfrac{e^{-b}}{2ib(a^2-b^2)}.

Step 4 — Apply residue theorem

f(x)dx=2πi ⁣[Resiaf+Resibf]\int_{-\infty}^\infty f(x)\,dx=2\pi i\!\left[\text{Res}_{ia}f+\text{Res}_{ib}f\right] =2πi ⁣[ea2ia(a2b2)+eb2ib(a2b2)]=2\pi i\!\left[\dfrac{-e^{-a}}{2ia(a^2-b^2)}+\dfrac{e^{-b}}{2ib(a^2-b^2)}\right] =2πi2i(a2b2) ⁣[eaa+ebb]=\dfrac{2\pi i}{2i(a^2-b^2)}\!\left[\dfrac{-e^{-a}}{a}+\dfrac{e^{-b}}{b}\right] =πa2b2 ⁣[ebbeaa].=\dfrac{\pi}{a^2-b^2}\!\left[\dfrac{e^{-b}}{b}-\dfrac{e^{-a}}{a}\right].

Step 5 — Take real part

The original integral cosx/()\int\cos x/(\cdots) is the real part. The expression above is already real (no ii), so:

Answer

  cosxdx(x2+a2)(x2+b2)=πa2b2 ⁣[ebbeaa].  \boxed{\;\int_{-\infty}^\infty\dfrac{\cos x\,dx}{(x^2+a^2)(x^2+b^2)}=\dfrac{\pi}{a^2-b^2}\!\left[\dfrac{e^{-b}}{b}-\dfrac{e^{-a}}{a}\right].\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.