Menu Close

Cauchy’s theorem and integral formula: UPSC Maths Optional PYQ Solutions (2008–2024)

All 8 questions UPSC has asked on cauchy’s theorem and integral formula in the Mathematics Optional (Paper II, Complex Analysis) from 2008 to 2024, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Complex Analysis topic-wise PYQs page.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the answer was worked out again independently with computer algebra (SymPy).
  • ✓ Proof checked step by step for “prove that” questions, every step was checked against the definitions.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2024 · 2c 2020 · 1d 2019 · 3c 2012 · 2c 2011 · 2c 2010 · 4a 2008 · 4a 2008 · 4b

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Find the function which is analytic inside and on the circle C:z=eiθ, 0≤θ≤2π and has the value (a2−1)cosθ+i(a2+1)sinθa4−2a2cos2θ+1, on the circumference of C, where a2>1.

2024 · Paper II · Q2c · 20 marks

Solution

Spot the denominator. On the circle z=eiθz=e^{i\theta}, |a2−z2|2=(a2−e2iθ)(a2−e−2iθ)=a4−2a2cos2θ+1.\left|a^2-z^2\right|^2=(a^2-e^{2i\theta})(a^2-e^{-2i\theta})=a^4-2a^2\cos2\theta+1 . This suggests a function with denominator a2−z2a^2-z^2.

Try f(z)=za2−z2f(z)=\dfrac{z}{a^2-z^2}. Multiply top and bottom by a2−z2¯=a2−z‾2\overline{a^2-z^2}=a^2-\bar z^2, and use zz‾=1z\bar z=1 on the circle: f(z)=z(a2−z‾2)|a2−z2|2=a2z−z‾a4−2a2cos2θ+1.f(z)=\frac{z(a^2-\bar z^2)}{|a^2-z^2|^2}=\frac{a^2z-\bar z}{a^4-2a^2\cos2\theta+1}. With z=eiθz=e^{i\theta}: a2eiθ−e−iθ=(a2−1)cosθ+i(a2+1)sinθa^2e^{i\theta}-e^{-i\theta}=(a^2-1)\cos\theta+i(a^2+1)\sin\theta. This is exactly the given boundary value.

Analytic inside and on CC. The only singularities of ff are at z=±az=\pm a, and |a|>1|a|>1 since a2>1a^2>1. So ff is analytic on |z|≤1|z|\le1.

Uniqueness. If gg were another such function, f−gf-g would be analytic on |z|≤1|z|\le1 and zero on |z|=1|z|=1; by the maximum modulus principle (or Cauchy’s integral formula) f−g≡0f-g\equiv0. Hence the required function is f(z)=za2−z2.f(z)=\frac{z}{a^2-z^2}.

✓ Checked by computer We checked by computer: on |z|=1|z|=1, za2−z2\frac{z}{a^2-z^2} equals the given boundary value (tested for several aa and θ\theta).

↑ Back to the question list

Evaluate the integral ∫C(z2+3z)dz counterclockwise from (2,0) to (0,2) along the curve C, where C is the circle |z|=2.

2020 · Paper II · Q1d · 10 marks

Solution

z2+3zz^2+3z is entire, with antiderivative F(z)=z33+3z22F(z)=\dfrac{z^3}{3}+\dfrac{3z^2}{2}. So the integral depends only on the end points z=2z=2 and z=2iz=2i: ∫C(z2+3z)dz=F(2i)−F(2).\int_C(z^2+3z)\,dz=F(2i)-F(2). F(2i)=−8i3+3(−4)2=−6−8i3,F(2)=83+6.F(2i)=\frac{-8i}{3}+\frac{3(-4)}{2}=-6-\frac{8i}{3},\qquad F(2)=\frac83+6 . ∫C(z2+3z)dz=−6−8i3−83−6=−443−83i.\int_C(z^2+3z)\,dz=-6-\frac{8i}{3}-\frac83-6=-\frac{44}{3}-\frac{8}{3}i .

(Directly: z=2eitz=2e^{it}, 0≤t≤π20\le t\le\frac{\pi}{2}, gives the same value.)

✓ Checked by computer We checked by computer: integrating along the quarter circle gives −443−83i-\frac{44}{3}-\frac{8}{3}i.

↑ Back to the question list

Evaluate the integral ∫cRe(z2)dz from 0 to 2+4i along the curve C where C is a parabola y=x2.

2019 · Paper II · Q3c · 10 marks

Solution

Re(z2)\operatorname{Re}(z^2) is not analytic, so the path matters. On the parabola y=x2y=x^2, 0≤x≤20\le x\le2 (from 00 to 2+4i2+4i): z=x+ix2,dz=(1+2ix)dx,Re(z2)=x2−y2=x2−x4.z=x+ix^2,\qquad dz=(1+2ix)\,dx,\qquad\operatorname{Re}(z^2)=x^2-y^2=x^2-x^4 . So ∫CRe(z2)dz=∫02(x2−x4)(1+2ix)dx=∫02(x2−x4)dx+2i∫02(x3−x5)dx.\int_C\operatorname{Re}(z^2)\,dz=\int_0^2(x^2-x^4)(1+2ix)\,dx=\int_0^2(x^2-x^4)\,dx+2i\int_0^2(x^3-x^5)\,dx . ∫02(x2−x4)dx=83−325=−5615,∫02(x3−x5)dx=4−323=−203.\int_0^2(x^2-x^4)\,dx=\frac83-\frac{32}{5}=-\frac{56}{15},\qquad\int_0^2(x^3-x^5)\,dx=4-\frac{32}{3}=-\frac{20}{3}. Hence ∫CRe(z2)dz=−5615−403i.\int_C\operatorname{Re}(z^2)\,dz=-\frac{56}{15}-\frac{40}{3}i .

✓ Checked by computer We checked by computer: the integral is −5615−403i-\frac{56}{15}-\frac{40}{3}i.

↑ Back to the question list

Use Cauchy integral formula to evaluate ∫ce3z(z+1)4dz, where c is the circle |z|=2.

2012 · Paper II · Q2c · 15 marks

Solution

The only singularity of e3z(z+1)4\dfrac{e^{3z}}{(z+1)^4} is z=−1z=-1, which lies inside |z|=2|z|=2. By the Cauchy integral formula for derivatives, ∮Cf(z)(z−a)n+1dz=2πin!f(n)(a),\oint_C\frac{f(z)}{(z-a)^{n+1}}\,dz=\frac{2\pi i}{n!}f^{(n)}(a), with f(z)=e3zf(z)=e^{3z}, a=−1a=-1, n=3n=3. Since f‴(z)=27e3zf'''(z)=27e^{3z}, ∮|z|=2e3z(z+1)4dz=2πi3!⋅27e−3=9πie−3.\oint_{|z|=2}\frac{e^{3z}}{(z+1)^4}\,dz=\frac{2\pi i}{3!}\cdot27e^{-3}=9\pi i\,e^{-3}.

✓ Checked by computer We checked by computer: the value is 9πie−39\pi i\,e^{-3}.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

If the function f(z) is analytic and one valued in |z−a|<R, prove that for 0<r<R, f′(a)=1πr∫02πP(θ)e−iθdθ, where P(θ) is the real part of f(a+reiθ).

2011 · Paper II · Q2c · 15 marks

Solution

Taylor series. Since ff is analytic in |z−a|<R|z-a|<R, for 0<r<R0<r<R f(a+reiθ)=∑n=0∞cnrneinθ,cn=f(n)(a)n!,f(a+re^{i\theta})=\sum_{n=0}^{\infty}c_nr^ne^{in\theta},\qquad c_n=\frac{f^{(n)}(a)}{n!}, and the series converges uniformly in θ\theta (it is a power series on the circle |z−a|=r|z-a|=r inside its disc of convergence).

Real part. P(θ)=Ref=12(f+f‾)P(\theta)=\operatorname{Re}f=\frac12\left(f+\bar f\right), so P(θ)=12∑n=0∞(cnrneinθ+c‾nrne−inθ).P(\theta)=\frac12\sum_{n=0}^{\infty}\left(c_nr^ne^{in\theta}+\bar c_nr^ne^{-in\theta}\right).

Integrate against e−iθe^{-i\theta}. Using ∫02πeikθdθ=2π\int_0^{2\pi}e^{ik\theta}\,d\theta=2\pi if k=0k=0 and 00 otherwise (term-by-term integration is allowed by uniform convergence):

  • in the first sum, ei(n−1)θe^{i(n-1)\theta} has non-zero integral only for n=1n=1, giving 12c1r⋅2π\frac12c_1r\cdot2\pi;
  • in the second sum, e−i(n+1)θe^{-i(n+1)\theta} never has n+1=0n+1=0, so every term integrates to 00.

Hence ∫02πP(θ)e−iθdθ=πrc1=πrf′(a),\int_0^{2\pi}P(\theta)e^{-i\theta}\,d\theta=\pi r\,c_1=\pi r\,f'(a), that is, f′(a)=1πr∫02πP(θ)e−iθdθ.◼f'(a)=\frac{1}{\pi r}\int_0^{2\pi}P(\theta)e^{-i\theta}\,d\theta. \qquad\blacksquare

(So the derivative of ff at the centre can be recovered from the real part of ff on the circle alone.)

✓ Proof checked step by step Proof checked step by step.

↑ Back to the question list

(i) Evaluate the line integral ∫cf(z)dz where f(z)=z2, c is the boundary of the triangle with vertices A(0,0), B(1,0), C(1,2) in that order. (ii) Find the image of the finite vertical strip R:x=5 to x=9, −π≤y≤π of z-plane under exponential function.

2010 · Paper II · Q4a · 15 marks

Solution

(i) f(z)=z2f(z)=z^2 is entire and has the antiderivative z33\frac{z^3}{3}, so its integral round any closed path is 0 (Cauchy’s theorem). Side by side:

  • ABAB: z=xz=x, 0→10\to1: ∫01x2dx=13\int_0^1x^2\,dx=\dfrac13.
  • BCBC: from 11 to 1+2i1+2i: [z33]11+2i=(1+2i)3−13=−12−2i3\left[\dfrac{z^3}{3}\right]_1^{1+2i}=\dfrac{(1+2i)^3-1}{3}=\dfrac{-12-2i}{3}.
  • CACA: from 1+2i1+2i to 00: [z33]1+2i0=−(1+2i)33=11+2i3\left[\dfrac{z^3}{3}\right]_{1+2i}^{0}=-\dfrac{(1+2i)^3}{3}=\dfrac{11+2i}{3}.

(Here (1+2i)3=−11−2i(1+2i)^3=-11-2i.) Total: 1−12−2i+11+2i3=0\dfrac{1-12-2i+11+2i}{3}=0. So ∮Cz2dz=0\displaystyle\oint_Cz^2\,dz=0.

(ii) Let w=ez=exeiyw=e^z=e^x e^{iy}. Then |w|=ex,argw=y.|w|=e^x,\qquad\arg w=y . For 5≤x≤95\le x\le9, |w||w| runs from e5e^5 to e9e^9; for −π≤y≤π-\pi\le y\le\pi, argw\arg w runs once around the circle. Each vertical segment x=cx=c maps onto the full circle |w|=ec|w|=e^c, and the edges y=±πy=\pm\pi both map onto the segment −e9≤w≤−e5-e^9\le w\le-e^5 of the negative real axis. So the image is the closed annulus e5≤|w|≤e9.e^5\le|w|\le e^9 .

✓ Checked by computer We checked by computer: the three side integrals add up to 0.

↑ Back to the question list

Evaluate ∫C[ezz2(z2+2z+2)+log(z−6)+1(z−4)2]dz where C is the circle |z|=3. State the theorems you use in evaluating above integral.

2008 · Paper II · Q4a · 15 marks

Solution

Split the integral into three parts.

∮Clog(z−6)dz=0\oint_C\log(z-6)\,dz=0. log(z−6)\log(z-6) has its branch point at z=6z=6; taking the branch cut along [6,∞)[6,\infty), it is analytic in a domain containing |z|≤3|z|\le3. By the Cauchy–Goursat theorem its integral round CC is 0.

∮Cdz(z−4)2=0\oint_C\dfrac{dz}{(z-4)^2}=0. The only singularity, z=4z=4, is outside |z|=3|z|=3; again by Cauchy–Goursat the integral is 0.

The first term (residue theorem). g(z)=ezz2(z2+2z+2)g(z)=\dfrac{e^z}{z^2(z^2+2z+2)} has a double pole at 00 and simple poles at z=−1±iz=-1\pm i (roots of z2+2z+2z^2+2z+2), all inside |z|=3|z|=3 since |−1±i|=2|-1\pm i|=\sqrt2.

  • At z=0z=0: Res=ddz[ezz2+2z+2]z=0=[ez(z2+2z+2)−ez(2z+2)(z2+2z+2)2]0=2−24=0\operatorname{Res}=\dfrac{d}{dz}\left[\dfrac{e^z}{z^2+2z+2}\right]_{z=0}=\left[\dfrac{e^z(z^2+2z+2)-e^z(2z+2)}{(z^2+2z+2)^2}\right]_{0}=\dfrac{2-2}{4}=0.
  • At z=−1+iz=-1+i: Res=ezz2(2z+2)\operatorname{Res}=\dfrac{e^z}{z^2(2z+2)}; here z2=−2iz^2=-2i, 2z+2=2i2z+2=2i, so Res=e−1+i4\operatorname{Res}=\dfrac{e^{-1+i}}{4}.
  • At z=−1−iz=-1-i: z2=2iz^2=2i, 2z+2=−2i2z+2=-2i, so Res=e−1−i4\operatorname{Res}=\dfrac{e^{-1-i}}{4}.

Sum of residues: e−14(ei+e−i)=cos12e\dfrac{e^{-1}}{4}\left(e^{i}+e^{-i}\right)=\dfrac{\cos1}{2e}. By the residue theorem, ∮Cg(z)dz=2πi⋅cos12e=πicos1e.\oint_Cg(z)\,dz=2\pi i\cdot\frac{\cos1}{2e}=\frac{\pi i\cos1}{e}.

Answer: ∮C[ezz2(z2+2z+2)+log(z−6)+1(z−4)2]dz=πicos1e≈0.624i.\oint_C\left[\frac{e^z}{z^2(z^2+2z+2)}+\log(z-6)+\frac{1}{(z-4)^2}\right]dz=\frac{\pi i\cos1}{e}\approx0.624\,i .

✓ Checked by computer We checked by computer: residues 00, e−1+i4\frac{e^{-1+i}}{4}, e−1−i4\frac{e^{-1-i}}{4}, and the integral πicos1e≈0.6244i\frac{\pi i\cos1}{e}\approx0.6244i.

↑ Back to the question list

Let f(z) be an entire function satisfying |f(z)|≤k|z|2 for some positive constant k and all z. Show that f(z)=az2 for some constant a.

2008 · Paper II · Q4b · 15 marks

Solution

Cauchy’s estimate. For an entire ff and any R>0R>0, |f(n)(0)|≤n!M(R)Rn|f^{(n)}(0)|\le\dfrac{n!\,M(R)}{R^n}, where M(R)=max|z|=R|f(z)|≤kR2M(R)=\max_{|z|=R}|f(z)|\le kR^2. So |f(n)(0)|≤n!kR2Rn=n!kR2−n.|f^{(n)}(0)|\le\frac{n!\,kR^2}{R^n}=n!\,k\,R^{2-n}. For n≥3n\ge3, letting R→∞R\to\infty gives f(n)(0)=0f^{(n)}(0)=0.

So ff is a polynomial of degree at most 2. The Taylor series of an entire function converges everywhere, so f(z)=a0+a1z+a2z2.f(z)=a_0+a_1z+a_2z^2 .

The lower coefficients vanish.

  • |f(0)|≤k⋅0=0|f(0)|\le k\cdot0=0, so a0=f(0)=0a_0=f(0)=0.
  • Then f(z)z=a1+a2z\dfrac{f(z)}{z}=a_1+a_2z, and |f(z)z|≤k|z|→0\left|\dfrac{f(z)}{z}\right|\le k|z|\to0 as z→0z\to0, so a1=0a_1=0.

Hence f(z)=az2f(z)=az^2 with a=a2a=a_2 (and |a|≤k|a|\le k). ◼\blacksquare

✓ Proof checked step by step Proof checked step by step.

↑ Back to the question list

More on Complex Analysis

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper II, 2008–2024. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted