Menu Close

Analytic functions: UPSC Maths Optional PYQ Solutions (2010–2026)

All 17 questions UPSC has asked on analytic functions in the Mathematics Optional (Paper II, Complex Analysis) from 2010 to 2026, 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):

2026 · 1d 2024 · 1b 2024 · 1d 2023 · 1d 2023 · 3b 2022 · 1b 2020 · 4a 2019 · 1d 2018 · 1c 2017 · 3b 2016 · 1d 2015 · 1d 2014 · 1c 2012 · 1c 2011 · 1c 2010 · 1e 2010 · 4a

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

Show that the function f(z)=|xy| is not analytic at the origin, although Cauchy-Riemann equations are satisfied at that point.

2026 · Paper II · Q1d · 10 marks

Solution

Here u(x,y)=|xy|u(x,y)=\sqrt{|xy|} and v(x,y)=0v(x,y)=0.

C–R equations hold at the origin. u(x,0)=0u(x,0)=0 and u(0,y)=0u(0,y)=0, so ux(0,0)=limh→0u(h,0)−u(0,0)h=0,uy(0,0)=0,u_x(0,0)=\lim_{h\to0}\frac{u(h,0)-u(0,0)}{h}=0,\qquad u_y(0,0)=0, and vx=vy=0v_x=v_y=0. Thus ux=vyu_x=v_y and uy=−vxu_y=-v_x at (0,0)(0,0).

ff is not differentiable at the origin. Consider f(z)−f(0)z=|xy|x+iy.\frac{f(z)-f(0)}{z}=\frac{\sqrt{|xy|}}{x+iy}.

  • Along the real axis (y=0y=0) this is 00.
  • Along the line y=xy=x with x>0x>0 it is |x|x(1+i)=11+i\dfrac{|x|}{x(1+i)}=\dfrac{1}{1+i}.

The limit as z→0z\to0 depends on the direction, so f′(0)f'(0) does not exist. A function is analytic at a point only if it is differentiable in a neighbourhood of it, so ff is not analytic at the origin, even though the C–R equations are satisfied there. ◼\blacksquare

(The C–R equations are necessary, but on their own not sufficient: here the partial derivatives are not continuous at 0.)

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

↑ Back to the question list

If w=f(z) is an analytic function of z, then show that (∂2∂x2+∂2∂y2)log|f′(z)|=0.

2024 · Paper II · Q1b · 10 marks

Solution

We assume f′(z)≠0f'(z)\ne0 in the region (otherwise log|f′(z)|\log|f'(z)| is not defined).

Method: ∇2=4∂2∂z∂z‾\nabla^2=4\dfrac{\partial^2}{\partial z\,\partial\bar z}. With z=x+iyz=x+iy, z‾=x−iy\bar z=x-iy, we have ∂2∂x2+∂2∂y2=4∂2∂z∂z‾\dfrac{\partial^2}{\partial x^2}+\dfrac{\partial^2}{\partial y^2}=4\dfrac{\partial^2}{\partial z\,\partial\bar z}.

Write log|f′(z)|=12log(f′(z)f′(z)¯)=12[logf′(z)+logf′(z)¯].\log|f'(z)|=\frac12\log\big(f'(z)\,\overline{f'(z)}\big)=\frac12\Big[\log f'(z)+\log\overline{f'(z)}\Big]. Since f′f' is analytic, logf′(z)\log f'(z) is a function of zz only, so ∂∂z‾logf′(z)=0\dfrac{\partial}{\partial\bar z}\log f'(z)=0. Likewise logf′(z)¯\log\overline{f'(z)} depends on z‾\bar z only, so ∂∂zlogf′(z)¯=0\dfrac{\partial}{\partial z}\log\overline{f'(z)}=0. Hence ∇2log|f′(z)|=4⋅12[∂2∂z∂z‾logf′(z)+∂2∂z∂z‾logf′(z)¯]=0.◼\nabla^2\log|f'(z)|=4\cdot\frac12\left[\frac{\partial^2}{\partial z\,\partial\bar z}\log f'(z)+\frac{\partial^2}{\partial z\,\partial\bar z}\log\overline{f'(z)}\right]=0. \qquad\blacksquare

(Equivalently: log|f′(z)|\log|f'(z)| is the real part of the analytic function logf′(z)\log f'(z), and the real part of an analytic function is harmonic.)

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

↑ Back to the question list

If ϕ and ψ are functions of x and y satisfying Laplace equation, then show that f(z)=p+iq, i=−1 is an analytic function, where p=∂ϕ∂y−∂ψ∂x and q=∂ϕ∂x+∂ψ∂y.

2024 · Paper II · Q1d · 10 marks

Solution

Assume ϕ,ψ\phi,\psi have continuous second partial derivatives, with ϕxx+ϕyy=0\phi_{xx}+\phi_{yy}=0 and ψxx+ψyy=0\psi_{xx}+\psi_{yy}=0. Then p,qp,q have continuous first partials, and it suffices to check the Cauchy–Riemann equations px=qyp_x=q_y, py=−qxp_y=-q_x.

  • First equation. px=ϕyx−ψxx,qy=ϕxy+ψyy.p_x=\phi_{yx}-\psi_{xx},\qquad q_y=\phi_{xy}+\psi_{yy}. Since ϕxy=ϕyx\phi_{xy}=\phi_{yx} and −ψxx=ψyy-\psi_{xx}=\psi_{yy} (ψ\psi harmonic), px=qyp_x=q_y.
  • Second equation. py+qx=(ϕyy−ψxy)+(ϕxx+ψyx)=ϕxx+ϕyy=0p_y+q_x=(\phi_{yy}-\psi_{xy})+(\phi_{xx}+\psi_{yx})=\phi_{xx}+\phi_{yy}=0 (ϕ\phi harmonic), so py=−qxp_y=-q_x.

The C–R equations hold and the partial derivatives are continuous, so f=p+iqf=p+iq is analytic. ◼\blacksquare

(Another view: F=ϕx−iϕyF=\phi_x-i\phi_y and G=ψx−iψyG=\psi_x-i\psi_y are analytic because ϕ,ψ\phi,\psi are harmonic, and f=iF−Gf=iF-G.)

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

↑ Back to the question list

State the sufficient conditions for a function f(z)=f(x+iy)=u(x,y)+iv(x,y) to be analytic in its domain. Hence, show that f(z)=logz is analytic in its domain and find dfdz.

2023 · Paper II · Q1d · 10 marks

Solution

Sufficient conditions. f=u+ivf=u+iv is analytic in a domain DD if, at every point of DD,

  • ux,uy,vx,vyu_x,u_y,v_x,v_y exist and are continuous, and
  • they satisfy the Cauchy–Riemann equations ux=vyu_x=v_y, uy=−vxu_y=-v_x.

(In polar form the C–R equations are ur=1rvθu_r=\frac1r v_\theta, vr=−1ruθv_r=-\frac1r u_\theta.)

logz\log z. Take the principal branch on the domain D=ℂ\(−∞,0]D=\mathbb C\setminus(-\infty,0]: with z=reiθz=re^{i\theta}, r>0r>0, −π<θ<π-\pi<\theta<\pi, logz=lnr+iθ,u=lnr,v=θ.\log z=\ln r+i\theta,\qquad u=\ln r,\quad v=\theta . Then ur=1r,1rvθ=1r;vr=0,−1ruθ=0.u_r=\frac1r,\quad\frac1r v_\theta=\frac1r;\qquad v_r=0,\quad-\frac1r u_\theta=0 . The C–R equations hold and all the partials are continuous in DD, so logz\log z is analytic in DD.

Derivative. In polar form f′(z)=e−iθ(ur+ivr)f'(z)=e^{-i\theta}(u_r+iv_r), so ddzlogz=e−iθ⋅1r=1reiθ=1z.\frac{d}{dz}\log z=e^{-i\theta}\cdot\frac1r=\frac{1}{re^{i\theta}}=\frac1z . (In Cartesian form: u=12ln(x2+y2)u=\tfrac12\ln(x^2+y^2), ux=vy=xx2+y2u_x=v_y=\frac{x}{x^2+y^2}, uy=−vx=yx2+y2u_y=-v_x=\frac{y}{x^2+y^2}, and f′=ux+ivx=x−iyx2+y2=1zf'=u_x+iv_x=\frac{x-iy}{x^2+y^2}=\frac1z.)

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

↑ Back to the question list

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.

2023 · Paper II · Q3b · 15 marks

Solution

Harmonic. ux=ex(xcosy−ysiny+cosy),uxx=ex(xcosy−ysiny+2cosy),u_x=e^x(x\cos y-y\sin y+\cos y),\qquad u_{xx}=e^x(x\cos y-y\sin y+2\cos y), uy=ex(−xsiny−siny−ycosy),uyy=ex(−xcosy−2cosy+ysiny).u_y=e^x(-x\sin y-\sin y-y\cos y),\qquad u_{yy}=e^x(-x\cos y-2\cos y+y\sin y). Adding, uxx+uyy=0u_{xx}+u_{yy}=0. So uu is harmonic.

Analytic function (Milne-Thomson). f′(z)=ux−iuyf'(z)=u_x-iu_y. Put x=zx=z, y=0y=0: ux(z,0)=ez(z+1),uy(z,0)=0⇒f′(z)=(z+1)ez.u_x(z,0)=e^z(z+1),\qquad u_y(z,0)=0\quad\Rightarrow\quad f'(z)=(z+1)e^z . Integrating, f(z)=zez+iCf(z)=ze^z+iC.

Conjugate. zez=(x+iy)ex(cosy+isiny)=ex(xcosy−ysiny)+iex(xsiny+ycosy)ze^z=(x+iy)e^x(\cos y+i\sin y)=e^x(x\cos y-y\sin y)+i\,e^x(x\sin y+y\cos y), so v(x,y)=ex(xsiny+ycosy)+C,f(z)=zez+iC.v(x,y)=e^x(x\sin y+y\cos y)+C,\qquad f(z)=ze^z+iC .

✓ Checked by computer We checked by computer: ∇2u=0\nabla^2u=0, and zezze^z has real part uu and imaginary part ex(xsiny+ycosy)e^x(x\sin y+y\cos y).

↑ Back to the question list

If f(z)=u+iv is an analytic function of z, and u−v=cosx+sinx−e−y2cosx−ey−e−y, then find f(z) subject to the condition f(π2)=0.

2022 · Paper II · Q1b · 10 marks

Solution

Trick. Let F=(1+i)f=(u−v)+i(u+v)F=(1+i)f=(u-v)+i(u+v). FF is analytic with real part U=u−vU=u-v, which is given. Note ey+e−y=2coshye^y+e^{-y}=2\cosh y, so U=cosx+sinx−e−y2cosx−2coshy.U=\frac{\cos x+\sin x-e^{-y}}{2\cos x-2\cosh y}.

Milne-Thomson. F′(z)=Ux(z,0)−iUy(z,0)F'(z)=U_x(z,0)-iU_y(z,0). Differentiating and putting y=0y=0 (where the denominator is 2cosx−2=−4sin2x22\cos x-2=-4\sin^2\frac x2): Ux(x,0)=12(1−cosx)=14csc2x2,Uy(x,0)=−14csc2x2.U_x(x,0)=\frac{1}{2(1-\cos x)}=\frac14\csc^2\frac x2,\qquad U_y(x,0)=-\frac14\csc^2\frac x2 . So F′(z)=1+i4csc2z2⇒F(z)=−1+i2cotz2+C.F'(z)=\frac{1+i}{4}\csc^2\frac z2\quad\Rightarrow\quad F(z)=-\frac{1+i}{2}\cot\frac z2+C .

Back to ff. f=F1+i=−12cotz2+C′f=\dfrac{F}{1+i}=-\dfrac12\cot\dfrac z2+C'. The condition f(π2)=0f\!\left(\frac{\pi}{2}\right)=0 gives −12cotπ4+C′=0-\frac12\cot\frac{\pi}{4}+C'=0, so C′=12C'=\frac12: f(z)=12(1−cotz2).f(z)=\frac12\left(1-\cot\frac z2\right).

✓ Checked by computer We checked by computer: f=12(1−cotz2)f=\frac12\left(1-\cot\frac z2\right) gives exactly the stated u−vu-v, and f(π/2)=0f(\pi/2)=0.

↑ Back to the question list

If v(r,θ)=(r−1r)sinθ, r≠0, then find an analytic function f(z)=u(r,θ)+iv(r,θ)

2020 · Paper II · Q4a · 15 marks

Solution

Use the polar C–R equations ur=1rvθu_r=\frac1r v_\theta, uθ=−rvru_\theta=-r\,v_r, with v=(r−1r)sinθv=\left(r-\frac1r\right)\sin\theta: vθ=(r−1r)cosθ,vr=(1+1r2)sinθ.v_\theta=\left(r-\frac1r\right)\cos\theta,\qquad v_r=\left(1+\frac{1}{r^2}\right)\sin\theta .

  • ur=1rvθ=(1−1r2)cosθu_r=\dfrac1r v_\theta=\left(1-\dfrac{1}{r^2}\right)\cos\theta, so u=(r+1r)cosθ+g(θ)u=\left(r+\dfrac1r\right)\cos\theta+g(\theta).
  • uθ=−rvr=−(r+1r)sinθu_\theta=-r\,v_r=-\left(r+\dfrac1r\right)\sin\theta. From the first line, uθ=−(r+1r)sinθ+g′(θ)u_\theta=-\left(r+\dfrac1r\right)\sin\theta+g'(\theta), so g′(θ)=0g'(\theta)=0 and g=Cg=C.

Hence u=(r+1r)cosθ+Cu=\left(r+\frac1r\right)\cos\theta+C and f=u+iv=(r+1r)cosθ+i(r−1r)sinθ+C=reiθ+1re−iθ+C,f=u+iv=\left(r+\frac1r\right)\cos\theta+i\left(r-\frac1r\right)\sin\theta+C=re^{i\theta}+\frac1r e^{-i\theta}+C, f(z)=z+1z+C(z≠0,C real).f(z)=z+\frac1z+C\qquad(z\ne0,\ C\text{ real}).

✓ Checked by computer We checked by computer: Im(z+1z)=(r−1r)sinθ\operatorname{Im}\left(z+\frac1z\right)=\left(r-\frac1r\right)\sin\theta.

↑ Back to the question list

Suppose f(z) is analytic function on a domain D in ℂ and satisfies the equation Imf(z)=(Ref(z))2, Z∈D. Show that f(z) is constant in D.

2019 · Paper II · Q1d · 10 marks

Solution

Let f=u+ivf=u+iv with v=u2v=u^2 in DD. The C–R equations give ux=vy=2uuy,uy=−vx=−2uux.u_x=v_y=2u\,u_y,\qquad u_y=-v_x=-2u\,u_x . Substitute the second into the first: ux=2u(−2uux)=−4u2ux⇒ux(1+4u2)=0.u_x=2u(-2u\,u_x)=-4u^2u_x\quad\Longrightarrow\quad u_x(1+4u^2)=0 . Since 1+4u2>01+4u^2>0, ux=0u_x=0. Then uy=−2uux=0u_y=-2u\,u_x=0.

So ux=uy=0u_x=u_y=0 throughout DD, and vx=2uux=0v_x=2uu_x=0, vy=2uuy=0v_y=2uu_y=0. Hence f′(z)=ux+ivx=0f'(z)=u_x+iv_x=0 in DD. A function with zero derivative on a domain (a connected open set) is constant. Therefore ff is constant in DD. ◼\blacksquare

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

↑ 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

Prove that the function : u(x,y)=(x−1)3−3xy2+3y2 is harmonic and find its harmonic conjugate and the corresponding analytic function f(z) in terms of z.

2018 · Paper II · Q1c · 10 marks

Solution

Harmonic. ux=3(x−1)2−3y2,uxx=6(x−1);uy=−6xy+6y,uyy=−6x+6.u_x=3(x-1)^2-3y^2,\quad u_{xx}=6(x-1);\qquad u_y=-6xy+6y,\quad u_{yy}=-6x+6 . uxx+uyy=6x−6−6x+6=0u_{xx}+u_{yy}=6x-6-6x+6=0. So uu is harmonic.

Analytic function (Milne-Thomson). f′(z)=ux(z,0)−iuy(z,0)=3(z−1)2−0f'(z)=u_x(z,0)-iu_y(z,0)=3(z-1)^2-0, so f(z)=(z−1)3+iC.f(z)=(z-1)^3+iC .

Harmonic conjugate. With z−1=(x−1)+iyz-1=(x-1)+iy, (z−1)3=[(x−1)3−3(x−1)y2]+i[3(x−1)2y−y3].(z-1)^3=\big[(x-1)^3-3(x-1)y^2\big]+i\big[3(x-1)^2y-y^3\big]. The real part is (x−1)3−3xy2+3y2=u(x-1)^3-3xy^2+3y^2=u, as it should be. So v(x,y)=3(x−1)2y−y3+C,f(z)=(z−1)3+iC.v(x,y)=3(x-1)^2y-y^3+C,\qquad f(z)=(z-1)^3+iC .

✓ Checked by computer We checked by computer: ∇2u=0\nabla^2u=0 and (z−1)3(z-1)^3 has real part uu.

↑ Back to the question list

Let f=u+iv be an analytic function on the unit disc D={z∈ℂ:|z|<1}. Show that ∂2u∂x2+∂2u∂y2=0=∂2v∂x2+∂2v∂y2 at all points of D.

2017 · Paper II · Q3b · 15 marks

Solution

uu and vv have continuous second partial derivatives. An analytic function is infinitely differentiable (by Cauchy’s integral formula, f′f' is again analytic). Since f′=ux+ivx=vy−iuyf'=u_x+iv_x=v_y-iu_y and f″f'' exist and are continuous, all second partials of uu and vv exist and are continuous in DD; in particular the mixed partials are equal: uxy=uyxu_{xy}=u_{yx}, vxy=vyxv_{xy}=v_{yx}.

Use the C–R equations ux=vyu_x=v_y, uy=−vxu_y=-v_x.

  • Differentiate the first with respect to xx and the second with respect to yy: uxx=vyx,uyy=−vxy⇒uxx+uyy=0.u_{xx}=v_{yx},\qquad u_{yy}=-v_{xy}\quad\Longrightarrow\quad u_{xx}+u_{yy}=0 .
  • Differentiate the first with respect to yy and the second with respect to xx: uxy=vyy,uyx=−vxx⇒vxx+vyy=0.u_{xy}=v_{yy},\qquad u_{yx}=-v_{xx}\quad\Longrightarrow\quad v_{xx}+v_{yy}=0 .

Hence ∂2u∂x2+∂2u∂y2=0=∂2v∂x2+∂2v∂y2\dfrac{\partial^2u}{\partial x^2}+\dfrac{\partial^2u}{\partial y^2}=0=\dfrac{\partial^2v}{\partial x^2}+\dfrac{\partial^2v}{\partial y^2} at every point of DD. ◼\blacksquare

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

↑ Back to the question list

Is v(x,y)=x3−3xy2+2y a harmonic function ? Prove your claim. If yes, find its conjugate harmonic function u(x,y) and hence obtain the analytic function whose real and imaginary parts are u and v respectively.

2016 · Paper II · Q1d · 10 marks

Solution

Harmonic – yes. vxx=6xv_{xx}=6x, vyy=−6xv_{yy}=-6x, so vxx+vyy=0v_{xx}+v_{yy}=0.

Conjugate uu (from the C–R equations). ux=vy=−6xy+2⇒u=−3x2y+2x+h(y),u_x=v_y=-6xy+2\quad\Rightarrow\quad u=-3x^2y+2x+h(y), uy=−vx=−(3x2−3y2)anduy=−3x2+h′(y)⇒h′(y)=3y2,h=y3+C.u_y=-v_x=-(3x^2-3y^2)\quad\text{and}\quad u_y=-3x^2+h'(y)\ \Rightarrow\ h'(y)=3y^2,\ h=y^3+C . So u(x,y)=2x−3x2y+y3+C.u(x,y)=2x-3x^2y+y^3+C .

Analytic function. Since z3=(x3−3xy2)+i(3x2y−y3)z^3=(x^3-3xy^2)+i(3x^2y-y^3), f=u+iv=iz3+2z+C.f=u+iv=iz^3+2z+C . (Check: Im(iz3)=Rez3=x3−3xy2\operatorname{Im}(iz^3)=\operatorname{Re}z^3=x^3-3xy^2 and Im(2z)=2y\operatorname{Im}(2z)=2y.)

✓ Checked by computer We checked by computer: ∇2v=0\nabla^2v=0, and iz3+2ziz^3+2z has imaginary part vv and real part 2x−3x2y+y32x-3x^2y+y^3.

↑ Back to the question list

Show that the function v(x,y)=ln(x2+y2)+x+y is harmonic. Find its conjugate harmonic function u(x,y). Also, find the corresponding analytic function f(z)=u+iv in terms of z.

2015 · Paper II · Q1d · 10 marks

Solution

Harmonic (for (x,y)≠(0,0)(x,y)\ne(0,0)). With r2=x2+y2r^2=x^2+y^2: vx=2xr2+1,vxx=2(y2−x2)r4;vy=2yr2+1,vyy=2(x2−y2)r4.v_x=\frac{2x}{r^2}+1,\quad v_{xx}=\frac{2(y^2-x^2)}{r^4};\qquad v_y=\frac{2y}{r^2}+1,\quad v_{yy}=\frac{2(x^2-y^2)}{r^4}. So vxx+vyy=0v_{xx}+v_{yy}=0.

Conjugate uu. By C–R, ux=vy=2yx2+y2+1u_x=v_y=\dfrac{2y}{x^2+y^2}+1 and uy=−vx=−2xx2+y2−1u_y=-v_x=-\dfrac{2x}{x^2+y^2}-1. Integrating the first in xx, u=2tan−1xy+x+h(y).u=2\tan^{-1}\frac{x}{y}+x+h(y). Then uy=−2xx2+y2+h′(y)u_y=-\dfrac{2x}{x^2+y^2}+h'(y), so h′(y)=−1h'(y)=-1 and h=−y+Ch=-y+C. Since tan−1xy=π2−tan−1yx\tan^{-1}\frac xy=\frac{\pi}{2}-\tan^{-1}\frac yx (for x,y>0x,y>0), u(x,y)=x−y−2tan−1yx+C′=x−y−2θ+C′,u(x,y)=x-y-2\tan^{-1}\frac{y}{x}+C'=x-y-2\theta+C', where θ=argz\theta=\arg z. (uu is single-valued only on a cut plane, e.g. with the negative real axis removed.)

Analytic function. Using logz=lnr+iθ\log z=\ln r+i\theta: f=u+iv=(x−y)+i(x+y)−2θ+2ilnr+C′=(1+i)z+2ilogz+C′.f=u+iv=(x-y)+i(x+y)-2\theta+2i\ln r+C'=(1+i)z+2i\log z+C' .

✓ Checked by computer We checked by computer: ∇2v=0\nabla^2v=0 for (x,y)≠(0,0)(x,y)\ne(0,0).

↑ Back to the question list

Prove that the function f(z)=u+iv, where f(z)=x3(1+i)−y3(1−i)x2+y2,z≠0;f(0)=0 satisfies Cauchy-Riemann equations at the origin, but the derivative of f at z=0 does not exist.

2014 · Paper II · Q1c · 10 marks

Solution

Here, for z≠0z\ne0, u=x3−y3x2+y2,v=x3+y3x2+y2,u(0,0)=v(0,0)=0.u=\frac{x^3-y^3}{x^2+y^2},\qquad v=\frac{x^3+y^3}{x^2+y^2},\qquad u(0,0)=v(0,0)=0 .

C–R at the origin. ux(0,0)=limh→0h3/h2h=1,uy(0,0)=limk→0−k3/k2k=−1,u_x(0,0)=\lim_{h\to0}\frac{h^3/h^2}{h}=1,\quad u_y(0,0)=\lim_{k\to0}\frac{-k^3/k^2}{k}=-1, vx(0,0)=limh→0h3/h2h=1,vy(0,0)=limk→0k3/k2k=1.v_x(0,0)=\lim_{h\to0}\frac{h^3/h^2}{h}=1,\quad v_y(0,0)=\lim_{k\to0}\frac{k^3/k^2}{k}=1 . So ux=vy=1u_x=v_y=1 and uy=−vx=−1u_y=-v_x=-1: the C–R equations are satisfied at 00.

f′(0)f'(0) does not exist. Look at f(z)−f(0)z\dfrac{f(z)-f(0)}{z}:

  • along y=0y=0: x3(1+i)/x2x=1+i\dfrac{x^3(1+i)/x^2}{x}=1+i;
  • along y=xy=x: f(z)=x3(1+i)−x3(1−i)2x2=ixf(z)=\dfrac{x^3(1+i)-x^3(1-i)}{2x^2}=ix and z=x(1+i)z=x(1+i), so the quotient is i1+i=1+i2\dfrac{i}{1+i}=\dfrac{1+i}{2}.

The limits differ, so the derivative of ff at z=0z=0 does not exist. ◼\blacksquare

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

↑ Back to the question list

Show that the function defined by f(z)={x3y5(x+iy)x6+y10,z≠00,z=0 is not analytic at the origin though it satisfies Cauchy-Riemann equations at the origin.

2012 · Paper II · Q1c · 12 marks

Solution

C–R at the origin. On the axes ff vanishes: f(x,0)=0f(x,0)=0 and f(0,y)=0f(0,y)=0. Hence ux(0,0)=uy(0,0)=vx(0,0)=vy(0,0)=0,u_x(0,0)=u_y(0,0)=v_x(0,0)=v_y(0,0)=0, and the C–R equations ux=vyu_x=v_y, uy=−vxu_y=-v_x hold at the origin.

Not differentiable at the origin. f(z)−f(0)z=x3y5x6+y10.\frac{f(z)-f(0)}{z}=\frac{x^3y^5}{x^6+y^{10}} .

  • Along y=0y=0 (or any straight line y=mxy=mx, where the expression is m5x8x6+m10x10→0\frac{m^5x^8}{x^6+m^{10}x^{10}}\to0), the quotient tends to 00.
  • Along the curve x3=y5x^3=y^5, i.e. x=y5/3x=y^{5/3}, it equals y10y10+y10=12\dfrac{y^{10}}{y^{10}+y^{10}}=\dfrac12.

So the limit does not exist and f′(0)f'(0) does not exist. Hence ff is not analytic at the origin, although it satisfies the C–R equations there. ◼\blacksquare

(This example shows that checking straight lines only is not enough.)

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

↑ Back to the question list

If f(z)=u+iv is an analytic function of z=x+iy and u−v=ey−cosx+sinxcoshy−cosx, find f(z) subject to the condition, f(π2)=3−i2.

2011 · Paper II · Q1c · 12 marks

Solution

Trick. F=(1+i)f=(u−v)+i(u+v)F=(1+i)f=(u-v)+i(u+v) is analytic with real part U=u−v=ey−cosx+sinxcoshy−cosx.U=u-v=\frac{e^y-\cos x+\sin x}{\cosh y-\cos x}.

Milne-Thomson. F′(z)=Ux(z,0)−iUy(z,0)F'(z)=U_x(z,0)-iU_y(z,0). At y=0y=0 the denominator is 1−cosx=2sin2x21-\cos x=2\sin^2\frac x2, and differentiating gives Ux(x,0)=1cosx−1=−12csc2x2,Uy(x,0)=11−cosx=12csc2x2.U_x(x,0)=\frac{1}{\cos x-1}=-\frac12\csc^2\frac x2,\qquad U_y(x,0)=\frac{1}{1-\cos x}=\frac12\csc^2\frac x2 . So F′(z)=−1+i2csc2z2⇒F(z)=(1+i)cotz2+C,F'(z)=-\frac{1+i}{2}\csc^2\frac z2\quad\Rightarrow\quad F(z)=(1+i)\cot\frac z2+C, using ∫csc2z2dz=−2cotz2\int\csc^2\frac z2\,dz=-2\cot\frac z2.

Back to ff. f=F1+i=cotz2+C′f=\dfrac{F}{1+i}=\cot\dfrac z2+C'. The condition gives cotπ4+C′=3−i2\cot\frac{\pi}{4}+C'=\frac{3-i}{2}, i.e. C′=1−i2C'=\frac{1-i}{2}: f(z)=cotz2+1−i2.f(z)=\cot\frac z2+\frac{1-i}{2}.

✓ Checked by computer We checked by computer: f=cotz2+1−i2f=\cot\frac z2+\frac{1-i}{2} gives exactly the stated u−vu-v, and f(π/2)=3−i2f(\pi/2)=\frac{3-i}{2}.

↑ Back to the question list

Show that u(x,y)=2x−x3+3xy2 is a harmonic function. Find a harmonic conjugate of u(x,y). Hence find the analytic function f for which u(x,y) is the real part.

2010 · Paper II · Q1e · 12 marks

Solution

Harmonic. ux=2−3x2+3y2,uxx=−6x;uy=6xy,uyy=6x.u_x=2-3x^2+3y^2,\quad u_{xx}=-6x;\qquad u_y=6xy,\quad u_{yy}=6x . uxx+uyy=0u_{xx}+u_{yy}=0.

Analytic function (Milne-Thomson). f′(z)=ux(z,0)−iuy(z,0)=2−3z2f'(z)=u_x(z,0)-iu_y(z,0)=2-3z^2, so f(z)=2z−z3+iC.f(z)=2z-z^3+iC .

Harmonic conjugate. z3=(x3−3xy2)+i(3x2y−y3)z^3=(x^3-3xy^2)+i(3x^2y-y^3), so f=2(x+iy)−z3=(2x−x3+3xy2)+i(2y−3x2y+y3).f=2(x+iy)-z^3=(2x-x^3+3xy^2)+i(2y-3x^2y+y^3). The real part is uu, and a harmonic conjugate is v(x,y)=2y−3x2y+y3.v(x,y)=2y-3x^2y+y^3 .

✓ Checked by computer We checked by computer: ∇2u=0\nabla^2u=0 and 2z−z32z-z^3 has real part uu.

↑ 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

More on Complex Analysis

Questions: UPSC Civil Services (Main) Examination, Mathematics Paper II, 2010–2026. 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