← 2017 Paper 2

UPSC 2017 Maths Optional Paper 2 Q2b — Step-by-Step Solution

15 marks · Section A

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

Question

Using contour integral method, prove that 0xsinmxa2+x2dx=π2ema\displaystyle\int_0^\infty \frac{x\sin mx}{a^2+x^2}\,dx=\frac{\pi}{2}e^{-ma}.

Throughout take m>0m>0 and a>0a>0 (the standard assumptions for which the stated value holds).

Technique

Upper-half-plane semicircle; replace sinmx\sin mx by Imeimx\operatorname{Im}e^{imx}; Jordan’s lemma for the arc (needs m>0m>0); simple-pole residue at z=iaz=ia; take imaginary part and halve (evenness).

Solution

Step 1 — Symmetrize and pass to a complex exponential

The integrand xsinmxa2+x2\dfrac{x\sin mx}{a^2+x^2} is even (odd ×\times odd), so

I=0xsinmxa2+x2dx=12xsinmxa2+x2dx.I=\int_0^\infty\frac{x\sin mx}{a^2+x^2}\,dx=\frac12\int_{-\infty}^{\infty}\frac{x\sin mx}{a^2+x^2}\,dx.

Write sinmx=Imeimx\sin mx=\operatorname{Im}e^{imx} and consider

J=xeimxa2+x2dx,so thatxsinmxa2+x2dx=ImJ,I=12ImJ.J=\int_{-\infty}^{\infty}\frac{x\,e^{imx}}{a^2+x^2}\,dx,\qquad \text{so that}\quad \int_{-\infty}^\infty\frac{x\sin mx}{a^2+x^2}\,dx=\operatorname{Im}J,\quad I=\tfrac12\operatorname{Im}J.

We choose eimxe^{imx} (not sin\sin directly) because eimze^{imz} decays in the upper half-plane when m>0m>0, enabling Jordan’s lemma.

Step 2 — Contour and poles

Let ϕ(z)=zeimza2+z2=zeimz(zia)(z+ia)\phi(z)=\dfrac{z\,e^{imz}}{a^2+z^2}=\dfrac{z\,e^{imz}}{(z-ia)(z+ia)} and integrate over CR=[R,R]ΓRC_R=[-R,R]\cup\Gamma_R, where ΓR\Gamma_R is the upper semicircle z=R|z|=R, Imz0\operatorname{Im}z\ge0. The simple poles are z=±iaz=\pm ia; only z=iaz=ia lies inside CRC_R (for R>aR>a).

Step 3 — Jordan’s lemma kills the arc

Write ϕ(z)=za2+z2eimz\phi(z)=\dfrac{z}{a^2+z^2}\,e^{imz}. On ΓR\Gamma_R,

za2+z2RR2a2R0,\left|\frac{z}{a^2+z^2}\right|\le\frac{R}{R^2-a^2}\xrightarrow[R\to\infty]{}0,

so g(z):=za2+z20g(z):=\dfrac{z}{a^2+z^2}\to0 uniformly on ΓR\Gamma_R as RR\to\infty. By Jordan’s lemma (valid since m>0m>0 and g0g\to0 on the arc),

ΓRg(z)eimzdzR0.\int_{\Gamma_R}g(z)e^{imz}\,dz\xrightarrow[R\to\infty]{}0.

Step 4 — Residue at z=iaz=ia

For the simple pole z=iaz=ia,

Resz=iaϕ=zeimzz+iaz=ia=iaeim(ia)ia+ia=iaema2ia=ema2.\operatorname*{Res}_{z=ia}\phi=\frac{z\,e^{imz}}{z+ia}\Bigg|_{z=ia}=\frac{ia\,e^{im(ia)}}{ia+ia}=\frac{ia\,e^{-ma}}{2ia}=\frac{e^{-ma}}{2}.

(Used eim(ia)=emae^{im(ia)}=e^{-ma}.)

Step 5 — Residue theorem and limit

For R>aR>a, the residue theorem gives

CRϕdz=2πiResz=iaϕ=2πiema2=πiema.\oint_{C_R}\phi\,dz=2\pi i\operatorname*{Res}_{z=ia}\phi=2\pi i\cdot\frac{e^{-ma}}{2}=\pi i\,e^{-ma}.

Letting RR\to\infty (the arc vanishes, Step 3):

J=xeimxa2+x2dx=πiema.J=\int_{-\infty}^{\infty}\frac{x\,e^{imx}}{a^2+x^2}\,dx=\pi i\,e^{-ma}.

Take the imaginary part:

xsinmxa2+x2dx=Im(πiema)=πema.\int_{-\infty}^{\infty}\frac{x\sin mx}{a^2+x^2}\,dx=\operatorname{Im}\big(\pi i\,e^{-ma}\big)=\pi e^{-ma}.

(As a bonus, ReJ=xcosmxa2+x2dx=0\operatorname{Re}J=\int\frac{x\cos mx}{a^2+x^2}dx=0, consistent with that integrand being odd.) Finally halve:

I=12πema=  π2ema.  I=\frac12\cdot\pi e^{-ma}=\boxed{\;\frac{\pi}{2}\,e^{-ma}.\;}

\blacksquare

Verification

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.