UPSC 2026 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
Use the method of contour integration to prove
∫02πa+bcosθsin2θdθ=b22π{a−a2−b2},if a>b>0.
Technique
A rational function of sinθ,cosθ integrated over a full period [0,2π] is the standard signature for the unit-circle substitution z=eiθ: the integral becomes a contour integral of a rational function of z round ∣z∣=1, and the residue theorem finishes it. Two things carry the marks here. First, sin2θ contributes z2 to the denominator while the factor a+bcosθ1 contributes a z to the numerator and dθ contributes another z to the denominator — the net singularity at the origin is a double pole, not a simple or a triple one, and the residue there must be computed by differentiation. Second, of the two roots of bz2+2az+b=0 exactly one lies inside ∣z∣=1, and the hypothesis a>b>0 is precisely what guarantees this.
Figure to draw (small, 4 cm, and it earns its space): the unit circle ∣z∣=1 with a counter-clockwise arrow; a marked point at the origin labelled ”z=0, pole of order 2”; a point on the negative real axis inside the circle labelled α=b−a+a2−b2, and a point on the negative real axis outside labelled β=b−a−a2−b2, with the annotation αβ=1. That one figure states the pole inventory, the orientation, and the inside/outside decision — the three things Step 4 has to justify.
Solution
Throughout, a>b>0 are real and a2−b2 denotes the positive square root; note 0<a2−b2<a.
Step 1 — The integral is proper (one line, but it is a hypothesis check).
For all real θ, cosθ≥−1, so
a+bcosθ≥a−b>0.
Hence the denominator never vanishes, the integrand is continuous on [0,2π], and I=∫02πa+bcosθsin2θdθ is an ordinary Riemann integral. (This is the first place a>b is used.)
Step 2 — Substitute z=eiθ and convert to a contour integral.
Let z=eiθ, θ:0→2π. Then z traverses the unit circle C:∣z∣=1once, counter-clockwise (positive orientation), and
The order of the pole at z=0 — do the bookkeeping out loud. Three factors contribute powers of z at the origin: sin2θ gives z−2, the substitution dθ=dz/(iz) gives z−1, and a+bcosθ1=bz2+2az+b2z gives z+1. Net: z−2. Concretely, in g the numerator satisfies (z2−1)2z=0=1=0 and the factor bz2+2az+b takes the value b=0 at z=0; hence
z=0 is a pole of g of order exactly 2.
(Trap: dropping the numerator z of (2.2) leaves z3 downstairs and a spurious third-order pole; writing sin2θ=1−cos2θ and reducing carelessly can instead leave a simple pole. Either error changes the residue at 0 and silently destroys the answer, so the cancellation above is written out rather than done mentally.)
Step 4 — The other poles: locate them and decide inside/outside.
bz2+2az+b=0⟹z=2b−2a±4a2−4b2=b−a±a2−b2.
Write
α=b−a+a2−b2,β=b−a−a2−b2.
Because a>b>0 we have a2−b2>0, so α,β are real and distinct; both are negative, and
αβ=bb=1,α+β=−b2a(4.1)
(product and sum of the roots of bz2+2az+b=0).
Which one is inside C? With d=a2−b2∈(0,a) we have ∣α∣=ba−d, and
∣α∣<1⟺a−d<b⟺a−b<d.
Both sides are positive (a−b>0 by hypothesis, d>0), so we may square:
(a−b)2<d2=a2−b2=(a−b)(a+b)⟺a−b<a+b⟺0<2b,
which is true. Hence
∣α∣<1.(4.2)
By (4.1), ∣β∣=∣α∣1>1, so β lies outsideC. In particular no pole lies onC, so the residue theorem applies. (This is the second, decisive use of a>b: if a=b then d=0 and α=β=−1 sits on the contour.)
So inside C the function g has exactly two poles: a double pole at z=0 and a simple pole at z=α (simple because α=β and α=0, the latter since d<a).
Factorising the quadratic,
g(z)=bz2(z−α)(z−β)(z2−1)2.(4.3)
Step 5 — Residue at the double pole z=0.
For a pole of order 2, Resz=0g=(2−1)!1z→0limdzd[z2g(z)]. Here
Step 7 — Apply Cauchy’s Residue Theorem and assemble.
g is analytic on and inside C except at z=0 and z=α, both interior (Step 4), and has no singularity on C. By Cauchy’s residue theorem, for the positively oriented C,
which agrees with the direct evaluation ∫02πasin2θdθ=a1⋅π=aπ. ✓ The apparent 1/b2 blow-up of the stated formula is therefore removable, not a defect.
Answer
∫02πa+bcosθsin2θdθ=b22π{a−a2−b2}(a>b>0),
obtained from I=2i∮∣z∣=1z2(bz2+2az+b)(z2−1)2dz with Resz=0=−b22a (double pole) and Resz=α=b22a2−b2, α=b−a+a2−b2 being the only root of bz2+2az+b inside ∣z∣=1.