← 2023 Paper 2
UPSC 2023 Maths Optional Paper 2 Q3b — Step-by-Step Solution
15 marks · Section A
Harmonic functions and harmonic conjugate · Complex Analysis · asked 7× in 13 yrs · Read the full method →
Question
Prove that u(x,y)=ex(xcosy−ysiny) is harmonic. Find its conjugate harmonic function v(x,y) and express the corresponding analytic function f(z) in terms of z.
Technique
Verify Laplace; integrate one CR equation, then differentiate to pin down the integration “constant” (function of x).
Solution
Part 1 — Harmonic check
Step 1 — First partials.
ux=ex(xcosy−ysiny)+excosy=ex[(x+1)cosy−ysiny],
uy=ex(−xsiny−siny−ycosy)=−ex[(x+1)siny+ycosy].
Step 2 — Second partials.
uxx=ex[(x+1)cosy−ysiny]+excosy=ex[(x+2)cosy−ysiny].
uyy=∂y∂{−ex[(x+1)siny+ycosy]}=−ex[(x+1)cosy+cosy−ysiny]=−ex[(x+2)cosy−ysiny].
Step 3 — Verify Laplace.
uxx+uyy=ex[(x+2)cosy−ysiny]−ex[(x+2)cosy−ysiny]=0.
So u is harmonic on R2.
Part 2 — Find the harmonic conjugate v
The Cauchy–Riemann equations give vy=ux and vx=−uy.
Step 4 — Integrate vy=ux w.r.t. y.
v=∫ex[(x+1)cosy−ysiny]dy=ex∫(x+1)cosydy−ex∫ysinydy.
The first is (x+1)siny. For the second, ∫ysinydy=−ycosy+siny, so −∫ysinydy=ycosy−siny. Combining,
v=ex[(x+1)siny+ycosy−siny]+g(x)=ex[xsiny+ycosy]+g(x).
Step 5 — Determine g(x) from vx=−uy.
vx=ex[xsiny+ycosy]+exsiny+g′(x)=ex[(x+1)siny+ycosy]+g′(x).
But −uy=ex[(x+1)siny+ycosy]. Equating, g′(x)=0, so g(x)=C (constant). Take C=0 (constants in v shift f by an imaginary constant; conventional to set C=0):
v(x,y)=ex(xsiny+ycosy).
Part 3 — Express f(z) in terms of z
f(z)=u+iv=ex[(xcosy−ysiny)+i(xsiny+ycosy)].
Group:
xcosy+ixsiny=x(cosy+isiny)=xeiy,
−ysiny+iycosy=iy(cosy+isiny)=iyeiy.
Therefore
f(z)=ex(xeiy+iyeiy)=exeiy(x+iy)=ex+iy(x+iy)=zez.
Answer
f(z)=zez.