← 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 10× in 14 yrs · Read the full method →

Question

Evaluate ∫−∞∞cos⁡x dx(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 cos⁡x\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 ∫−∞∞eix dx(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 R→∞R\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=lim⁡z→ia(z−ia)⋅eiz(z−ia)(z+ia)(z2+b2)=ei⋅ia(2ia)(−a2+b2)=e−a2ia(b2−a2).\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)=(z−ia)(z+ia)(z^2+a^2)=(z-ia)(z+ia).)

Since b<ab<a: b2−a2<0b^2-a^2<0, so Resiaf=e−a2ia(b2−a2)=−e−a2ia(a2−b2)\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=ei⋅ib(z2+a2)(2ib)∣z=ib=e−b(−b2+a2)(2ib)=e−b2ib(a2−b2).\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 ⁣[−e−a2ia(a2−b2)+e−b2ib(a2−b2)]=2\pi i\!\left[\dfrac{-e^{-a}}{2ia(a^2-b^2)}+\dfrac{e^{-b}}{2ib(a^2-b^2)}\right] =2πi2i(a2−b2) ⁣[−e−aa+e−bb]=\dfrac{2\pi i}{2i(a^2-b^2)}\!\left[\dfrac{-e^{-a}}{a}+\dfrac{e^{-b}}{b}\right] =πa2−b2 ⁣[e−bb−e−aa].=\dfrac{\pi}{a^2-b^2}\!\left[\dfrac{e^{-b}}{b}-\dfrac{e^{-a}}{a}\right].

Step 5 — Take real part

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

Answer

  ∫−∞∞cos⁡x dx(x2+a2)(x2+b2)=πa2−b2 ⁣[e−bb−e−aa].  \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 — 14 years, mapped. Get the take-away PDF free.