← 2020 Paper 2

UPSC 2020 Maths Optional Paper 2 Q4a — Step-by-Step Solution

15 marks · Section A

Cauchy-Riemann equations (necessary and sufficient) · Complex Analysis · asked 5× in 13 yrs · Read the full method →

Question

If v(r,θ)=(r1r)sinθv(r,\theta)=\left(r-\frac1r\right)\sin\theta, r0r\ne0, then find an analytic function f(z)=u(r,θ)+iv(r,θ)f(z)=u(r,\theta)+iv(r,\theta).

Technique

Polar Cauchy–Riemann equations ur=1rvθ, uθ=rvru_r=\tfrac1r v_\theta,\ u_\theta=-r v_r; integrate to get uu; recombine via e±iθe^{\pm i\theta} to identify f(z)f(z) in closed form.

Solution

We are given the imaginary part vv in polar coordinates and must reconstruct uu (its harmonic conjugate) and hence ff. Use the polar Cauchy–Riemann equations: for f=u+ivf=u+iv analytic,

ur=1rvθ,1ruθ=vr  (i.e. uθ=rvr).u_r=\frac1r\,v_\theta,\qquad \frac1r\,u_\theta=-v_r\ \ \Big(\text{i.e. } u_\theta=-r\,v_r\Big).

Step 1 — Partial derivatives of vv

v=(r1r)sinθ.v=\Big(r-\tfrac1r\Big)\sin\theta. vr=(1+1r2)sinθ,vθ=(r1r)cosθ.v_r=\Big(1+\tfrac1{r^2}\Big)\sin\theta,\qquad v_\theta=\Big(r-\tfrac1r\Big)\cos\theta.

Step 2 — Recover uru_r and uθu_\theta from CR

ur=1rvθ=1r(r1r)cosθ=(11r2)cosθ.u_r=\frac1r v_\theta=\frac1r\Big(r-\tfrac1r\Big)\cos\theta=\Big(1-\tfrac1{r^2}\Big)\cos\theta. uθ=rvr=r(1+1r2)sinθ=(r+1r)sinθ.u_\theta=-r\,v_r=-r\Big(1+\tfrac1{r^2}\Big)\sin\theta=-\Big(r+\tfrac1r\Big)\sin\theta.

Step 3 — Integrate to find uu

Integrate uru_r with respect to rr (holding θ\theta fixed):

u=(11r2)cosθdr=(r+1r)cosθ+φ(θ),u=\int\Big(1-\tfrac1{r^2}\Big)\cos\theta\,dr=\Big(r+\tfrac1r\Big)\cos\theta+\varphi(\theta),

where φ(θ)\varphi(\theta) is an arbitrary function of θ\theta. Differentiate w.r.t. θ\theta and match the known uθu_\theta:

uθ=(r+1r)sinθ+φ(θ)=!(r+1r)sinθ.u_\theta=-\Big(r+\tfrac1r\Big)\sin\theta+\varphi'(\theta)\stackrel{!}{=}-\Big(r+\tfrac1r\Big)\sin\theta.

Hence φ(θ)=0\varphi'(\theta)=0, so φ=C\varphi=C (a real constant). Therefore

u(r,θ)=(r+1r)cosθ+C.u(r,\theta)=\Big(r+\tfrac1r\Big)\cos\theta+C.

Step 4 — Assemble f=u+ivf=u+iv and express in zz

f=(r+1r)cosθ+i(r1r)sinθ+C.f=\Big(r+\tfrac1r\Big)\cos\theta + i\Big(r-\tfrac1r\Big)\sin\theta + C.

Group terms using cosθ+isinθ=eiθ\cos\theta+i\sin\theta=e^{i\theta} and cosθisinθ=eiθ\cos\theta-i\sin\theta=e^{-i\theta}:

f=r(cosθ+isinθ)+1r(cosθisinθ)+C=reiθ+1reiθ+C.f=r(\cos\theta+i\sin\theta)+\frac1r(\cos\theta-i\sin\theta)+C =r e^{i\theta}+\frac1r e^{-i\theta}+C.

Since z=reiθz=re^{i\theta} and 1z=1reiθ\dfrac1z=\dfrac1r e^{-i\theta},

  f(z)=z+1z+C(CR arbitrary).  \boxed{\;f(z)=z+\frac1z+C\quad(C\in\mathbb{R}\text{ arbitrary}).\;}

Verification

Write z=reiθz=re^{i\theta}. Then

z+1z=reiθ+1reiθ=(r+1r)cosθ+i(r1r)sinθ.z+\frac1z=re^{i\theta}+\frac1r e^{-i\theta} =\Big(r+\tfrac1r\Big)\cos\theta+i\Big(r-\tfrac1r\Big)\sin\theta.

The imaginary part is exactly (r1r)sinθ=v\big(r-\tfrac1r\big)\sin\theta=v ✓. The function z+1/zz+1/z is analytic on C{0}\mathbb{C}\setminus\{0\} (i.e. r0r\ne0, as required). u=(r+1r)cosθu=\big(r+\tfrac1r\big)\cos\theta is harmonic and is the conjugate of vv (SymPy confirms uθ=rvru_\theta=-rv_r and ur=1rvθu_r=\tfrac1r v_\theta). \blacksquare

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.