Top Banner Ad

AAS203A — Unit 4: omplex Variable

Table of Contents (19 sections)

AAS203A · Differential Calculus and Numerical Methods · Unit 4

omplex Variable

Unit Scope & Exam Weightage: This unit studies when a complex function f(z)=u+ivf(z)=u+iv has a genuine derivative, and how the Cauchy–Riemann equations and harmonic functions build analytic functions. For civil engineers these are the mathematical model of two-dimensional seepage flow through soils and potential flow around bridge piers and hydraulic structures, where uu is the velocity potential and vv the stream function. The attached PYQs contain 7 clusters (six 7-mark and one 2-mark), dominated by analyticity tests and Milne–Thomson construction.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 Analytic Function 4 (2024-25 ×3, 2023-24 ×1) 7m ×4 Survival Mode
2 Harmonic Function 3 (2023-24 ×2, 2024-25 ×1) 7m ×2 + 2m High-Yield
3 Differentiation Functions of Complex Variables integrated in #1 — Foundation
4 Limit Continuity and Differentiability integrated in #1 — Core Theory
5 Cauchy-Riemann Equations (Cartesian and Polar Form) integrated in #1, #2 — Core Tool
6 Milne-Thomson Method for constructing the Analytic Function integrated in #2 — Construction Tool
7 Applications :Two-dimensional seepage flow through soils 0 direct — CE Context
8 Potential flow around bridge piers and hydraulic structures 0 direct — CE Context

2-Hour Last-Night Survival Checklist:

  1. CR equations (Cartesian): ux=vyu_x=v_y, uy=−vxu_y=-v_x. Necessary for analyticity; sufficient only when the four partial derivatives are continuous in a neighbourhood.
  2. CR equations (Polar): ur=1rvθu_r=\frac1r v_\theta, vr=−1ruθv_r=-\frac1r u_\theta. Use them for functions written in r,θr,\theta.
  3. Not analytic ≠ CR fails: check whether f(z)/zf(z)/z has a path-independent limit at the point. If two paths give different limits, the derivative does not exist.
  4. Harmonic conjugate: if uu is given, vx=−uyv_x=-u_y, vy=uxv_y=u_x; integrate vxv_x in xx and fix the arbitrary function using vyv_y.
  5. Milne–Thomson shortcut: for vv given, f′(z)=vy+ivxf'(z)=v_y+i v_x evaluated at (x,y)=(z,0)(x,y)=(z,0); integrate in zz.

1. Limit, Continuity, Differentiability and Analytic Functions

Function of a complex variable: f(z)=u(x,y)+iv(x,y)f(z)=u(x,y)+iv(x,y) with z=x+iyz=x+iy. It has a limit LL as z→z0z\to z_0 if f(z)f(z) approaches LL along every path. It is continuous if that limit equals f(z0)f(z_0). It is differentiable at z0z_0 if

f′(z0)=lim⁡Δz→0f(z0+Δz)−f(z0)Δzf'(z_0)=\lim_{\Delta z\to0}\frac{f(z_0+\Delta z)-f(z_0)}{\Delta z}

exists uniquely. It is analytic at z0z_0 if it is differentiable at every point of some neighbourhood of z0z_0.

1.1 Derivation of Cauchy–Riemann Equations (Cartesian)

Let Δz=Δx+iΔy\Delta z=\Delta x+i\Delta y.

  • Along the real direction (Δy=0\Delta y=0): f′=lim⁡Δx→0u(x+Δx,y)−uΔx+iv(x+Δx,y)−vΔx=ux+ivxf'=\displaystyle\lim_{\Delta x\to0}\frac{u(x+\Delta x,y)-u}{\Delta x}+i\frac{v(x+\Delta x,y)-v}{\Delta x}=u_x+iv_x.
  • Along the imaginary direction (Δx=0\Delta x=0, Δz=iΔy\Delta z=i\Delta y): f′=lim⁡Δy→0u(x,y+Δy)−uiΔy+iv(x,y+Δy)−viΔy=−iuy+vyf'=\displaystyle\lim_{\Delta y\to0}\frac{u(x,y+\Delta y)-u}{i\Delta y}+i\frac{v(x,y+\Delta y)-v}{i\Delta y}=-iu_y+v_y.
  • Equating the two: ux+ivx=vy−iuyu_x+iv_x=v_y-iu_y, so
ux=vyuy=−vx\boxed{u_x=v_y}\qquad\boxed{u_y=-v_x}

Conversely, if ux,uy,vx,vyu_x,u_y,v_x,v_y are continuous near z0z_0 and CR hold, then ff is differentiable there.

1.2 Polar Form

With x=rcos⁡θx=r\cos\theta, y=rsin⁡θy=r\sin\theta:

ur=1rvθvr=−1ruθ\boxed{u_r=\frac{1}{r}v_\theta}\qquad\boxed{v_r=-\frac{1}{r}u_\theta}

Also f′(z)=e−iθ(ur+ivr)f'(z)=e^{-i\theta}(u_r+iv_r).

Examiner Tip: CR equations at a single point do not guarantee analyticity. Say “CR hold at the origin but the partial derivatives are not continuous there / the derivative limit is path-dependent”, as required by the PYQs.

After-Topic PYQs:

  • 2024-25 (7m): "If f(z)={x3y5(x+iy)x6+y10z≠00z=0f(z) = \begin{cases} \frac{x^3 y^5 (x + iy)}{x^6 + y^{10}} & z \neq 0 \\ 0 & z = 0 \end{cases}, show that f(z)f(z) is not analytic at z=0z = 0 even if Cauchy-Riemann equations are satisfied at origin."
  • 2024-25 (7m): "Show that f(z)=z∣z∣f(z) = z|z| is nowhere analytic."
  • 2023-24 (7m): "Define analytic function and show that f(z)=z∣z∣f(z) = z |z| is not analytic anywhere."

2. Harmonic Functions and Milne–Thomson Method

Harmonic function: a function ϕ(x,y)\phi(x,y) with continuous second partial derivatives satisfying Laplace’s equation

∇2ϕ=ϕxx+ϕyy=0.\nabla^2\phi=\phi_{xx}+\phi_{yy}=0.

If f=u+ivf=u+iv is analytic, then both uu and vv are harmonic, and vv is called the harmonic conjugate of uu.

2.1 Finding the Harmonic Conjugate

Given uu: use vx=−uyv_x=-u_y and vy=uxv_y=u_x. Integrate vxv_x with respect to xx, obtaining v=∫(−uy)dx+ψ(y)v=\int(-u_y)dx+\psi(y), then compare vyv_y with uxu_x to find ψ(y)\psi(y).

2.2 Milne–Thomson Method

Given the harmonic part vv (imaginary part),

f′(z)=ux+ivx=vy+ivx.f'(z)=u_x+iv_x=v_y+iv_x.

Evaluate vx,vyv_x,v_y at (x,y)=(z,0)(x,y)=(z,0) and integrate with respect to zz. If uu is given instead, use f′(z)=ux−iuyf'(z)=u_x-iu_y at (z,0)(z,0).

Examiner Tip: An arbitrary real constant may be added to the harmonic conjugate without affecting f′f'; use the given normalisation point (for example f(π/2)f(\pi/2)) to fix it.

After-Topic PYQs:

  • 2024-25 (7m): "If f(z)=u+ivf(z) = u + iv is analytic, and u−v=ey−cos⁡x+sin⁡xcosh⁡y−cos⁡xu - v = \frac{e^y - \cos x + \sin x}{\cosh y - \cos x}, find f(z)f(z) such that f(π2)=3−i2f(\frac{\pi}{2}) = \frac{3 - i}{2}."
  • 2023-24 (7m): "Show that the function u=12log⁡(x2+y2)u = \frac{1}{2} \log (x^2 + y^2) is harmonic. Find its harmonic conjugate."
  • 2023-24 (7m): "Show that ex(xcos⁡y−ysin⁡y)e^x (x \cos y - y \sin y) is a harmonic function. Find the analytic function for which ex(xcos⁡y−ysin⁡y)e^x (x \cos y - y \sin y) is imaginary part."
  • 2024-25 (2m): "Show that the following function is harmonic: h(x,y)=x2+xy−y2h(x, y) = x^2 + xy - y^2"

3. Civil-Engineering Applications

3.1 Two-Dimensional Seepage Flow Through Soils

For steady seepage through a homogeneous isotropic soil, the velocity potential ϕ\phi satisfies ∇2ϕ=0\nabla^2\phi=0. The complex potential w(z)=ϕ+iψw(z)=\phi+i\psi is analytic; ϕ\phi gives equipotential lines and ψ\psi gives streamlines. Because both satisfy Laplace’s equation, the CR equations guarantee that equipotentials and flow lines intersect at right angles — the basis of flow-net construction below a dam or around a sheet pile.

3.2 Potential Flow Around Bridge Piers and Hydraulic Structures

For ideal irrotational flow past a circular pier of radius aa, the complex potential

w(z)=U(z+a2z)w(z)=U\left(z+\frac{a^2}{z}\right)

gives velocity dw/dz=U(1−a2/z2)dw/dz=U(1-a^2/z^2). It is analytic outside the pier (∣z∣>a|z|>a), and the circle ∣z∣=a|z|=a is a streamline. This predicts the pressure distribution and the stagnation points at z=±az=\pm a.

Examiner Tip: In an application question, state that analyticity of w(z)w(z) is what makes ϕ\phi and ψ\psi harmonic conjugates; then say which curve is the physical boundary.


4. Solved Exam-Ready Questions

Solved Q1 (2024-25 — 7 Marks | Constructing ff from u−vu-v)

Q: If f(z)=u+ivf(z) = u + iv is analytic, and u−v=ey−cos⁡x+sin⁡xcosh⁡y−cos⁡xu - v = \frac{e^y - \cos x + \sin x}{\cosh y - \cos x}, find f(z)f(z) such that f(π2)=3−i2f(\frac{\pi}{2}) = \frac{3 - i}{2}.

Solution:

  • Note (1+i)f=(u−v)+i(u+v)(1+i)f=(u-v)+i(u+v), so ℜ[(1+i)f]=u−v\Re[(1+i)f]=u-v.
  • Write the given real part:
u−v=(cosh⁡y−cos⁡x)+sinh⁡y+sin⁡xcosh⁡y−cos⁡x=1+sin⁡xcosh⁡y−cos⁡x+sinh⁡ycosh⁡y−cos⁡x.u-v=\frac{(\cosh y-\cos x)+\sinh y+\sin x}{\cosh y-\cos x}=1+\frac{\sin x}{\cosh y-\cos x}+\frac{\sinh y}{\cosh y-\cos x}.
  • Standard identities: ℜcot⁡z2=sin⁡xcosh⁡y−cos⁡x\Re\cot\frac z2=\dfrac{\sin x}{\cosh y-\cos x} and ℑcot⁡z2=−sinh⁡ycosh⁡y−cos⁡x\Im\cot\frac z2=-\dfrac{\sinh y}{\cosh y-\cos x}, so ℜ ⁣[icot⁡z2]=sinh⁡ycosh⁡y−cos⁡x\Re\!\left[i\cot\frac z2\right]=\dfrac{\sinh y}{\cosh y-\cos x}.
  • Hence (1+i)f=1+(1+i)cot⁡z2+iC(1+i)f=1+(1+i)\cot\frac z2+iC, giving
f(z)=1−i2+cot⁡z2+C(1+i)2.f(z)=\frac{1-i}{2}+\cot\frac z2+\frac{C(1+i)}{2}.
  • Use f(π/2)=3−i2f(\pi/2)=\frac{3-i}{2}: cot⁡(π/4)=1\cot(\pi/4)=1, so 1+1−i2+C(1+i)2=3−i2⇒C=01+\frac{1-i}{2}+\frac{C(1+i)}{2}=\frac{3-i}{2}\Rightarrow C=0.
  • Answer: f(z)=cot⁡z2+1−i2\boxed{f(z)=\cot\frac z2+\dfrac{1-i}{2}}.

Solved Q2 (2024-25 — 7 Marks | CR Hold but Not Analytic)

Q: If f(z)={x3y5(x+iy)x6+y10z≠00z=0f(z) = \begin{cases} \frac{x^3 y^5 (x + iy)}{x^6 + y^{10}} & z \neq 0 \\ 0 & z = 0 \end{cases}, show that f(z)f(z) is not analytic at z=0z = 0 even if Cauchy-Riemann equations are satisfied at origin.

Solution:

  • For z≠0z\ne0: u=x4y5x6+y10u=\dfrac{x^4y^5}{x^6+y^{10}}, v=x3y6x6+y10v=\dfrac{x^3y^6}{x^6+y^{10}}; at the origin u=v=0u=v=0.
  • At (0,0)(0,0):
ux=lim⁡h→0u(h,0)−0h=0,uy=lim⁡k→0u(0,k)k=0,vx=0,vy=0.u_x=\lim_{h\to0}\frac{u(h,0)-0}{h}=0,\quad u_y=\lim_{k\to0}\frac{u(0,k)}{k}=0,\quad v_x=0,\quad v_y=0.

So ux=vyu_x=v_y and uy=−vxu_y=-v_x — CR equations hold.

  • Differentiability requires lim⁡z→0f(z)z\lim_{z\to0}\frac{f(z)}{z} to exist. Here
f(z)z=x3y5x6+y10.\frac{f(z)}{z}=\frac{x^3y^5}{x^6+y^{10}}.
  • Along y=kx3/5y=kx^{3/5}: numerator =k5x6=k^5x^6, denominator =(1+k10)x6=(1+k^{10})x^6, so the limit is k51+k10\dfrac{k^5}{1+k^{10}}, which depends on kk.
  • Therefore the derivative does not exist at 0; ff is not differentiable and hence not analytic there.
  • Answer: CR hold at the origin, but f′(0)f'(0) does not exist because the limit is path-dependent.

Solved Q3 (2024-25 — 7 Marks | z∣z∣z|z|)

Q: Show that f(z)=z∣z∣f(z) = z|z| is nowhere analytic.

Solution:

  • f=(x+iy)x2+y2f=(x+iy)\sqrt{x^2+y^2}, so u=xru=xr, v=yrv=yr, r=x2+y2r=\sqrt{x^2+y^2}.
  • For (x,y)≠(0,0)(x,y)\ne(0,0):
ux=r+x2r,uy=xyr,vx=xyr,vy=r+y2r.u_x=r+\frac{x^2}{r},\quad u_y=\frac{xy}{r},\quad v_x=\frac{xy}{r},\quad v_y=r+\frac{y^2}{r}.
  • CR require ux=vy⇒x2=y2u_x=v_y\Rightarrow x^2=y^2 and uy=−vx⇒xy=0u_y=-v_x\Rightarrow xy=0. Together these force x=y=0x=y=0.
  • At the origin, f′(0)=lim⁡z→0z∣z∣z=lim⁡∣z∣=0f'(0)=\lim_{z\to0}\frac{z|z|}{z}=\lim|z|=0, so it is differentiable only at that single point.
  • Analyticity needs differentiability throughout a neighbourhood; no such neighbourhood exists.
  • Answer: f(z)=z∣z∣f(z)=z|z| is differentiable only at z=0z=0 and is nowhere analytic.

Solved Q4 (2023-24 — 7 Marks | Definition + z∣z∣z|z|)

Q: Define analytic function and show that f(z)=z∣z∣f(z) = z |z| is not analytic anywhere.

Solution: Analytic function: ff is analytic at z0z_0 if it is differentiable at every point of some neighbourhood of z0z_0 (see Section 1). The verification for z∣z∣z|z| is identical to Solved Q3: CR equations force x=y=0x=y=0, and differentiability occurs only at the origin, never on a neighbourhood. Answer: not analytic anywhere.


Solved Q5 (2023-24 — 7 Marks | Harmonic Conjugate)

Q: Show that the function u=12log⁡(x2+y2)u = \frac{1}{2} \log (x^2 + y^2) is harmonic. Find its harmonic conjugate.

Solution:

  • ux=xx2+y2u_x=\dfrac{x}{x^2+y^2}, uxx=y2−x2(x2+y2)2u_{xx}=\dfrac{y^2-x^2}{(x^2+y^2)^2}; uy=yx2+y2u_y=\dfrac{y}{x^2+y^2}, uyy=x2−y2(x2+y2)2u_{yy}=\dfrac{x^2-y^2}{(x^2+y^2)^2}.
  • uxx+uyy=0u_{xx}+u_{yy}=0, so uu is harmonic (away from the origin).
  • CR: vx=−uy=−yx2+y2v_x=-u_y=-\dfrac{y}{x^2+y^2}, vy=ux=xx2+y2v_y=u_x=\dfrac{x}{x^2+y^2}.
  • Integrating vxv_x with respect to xx: v=−tan⁡−1(x/y)+ψ(y)v=-\tan^{-1}(x/y)+\psi(y). Comparing vyv_y gives ψ′=0\psi'=0.
  • Equivalently v=tan⁡−1(y/x)=arg⁡zv=\tan^{-1}(y/x)=\arg z (up to a constant).
  • Answer: v=arg⁡zv=\boxed{\arg z} and f(z)=log⁡zf(z)=\log z.

Solved Q6 (2023-24 — 7 Marks | Given Imaginary Part)

Q: Show that ex(xcos⁡y−ysin⁡y)e^x (x \cos y - y \sin y) is a harmonic function. Find the analytic function for which ex(xcos⁡y−ysin⁡y)e^x (x \cos y - y \sin y) is imaginary part.

Solution:

  • Let v=ex(xcos⁡y−ysin⁡y)v=e^x(x\cos y-y\sin y). vx=ex[(x+1)cos⁡y−ysin⁡y]v_x=e^x[(x+1)\cos y-y\sin y], vxx=ex[(x+2)cos⁡y−ysin⁡y]v_{xx}=e^x[(x+2)\cos y-y\sin y]. vy=−ex[(x+1)sin⁡y+ycos⁡y]v_y=-e^x[(x+1)\sin y+y\cos y], vyy=ex[−(x+2)cos⁡y+ysin⁡y]v_{yy}=e^x[-(x+2)\cos y+y\sin y]. Hence vxx+vyy=0v_{xx}+v_{yy}=0, so vv is harmonic.
  • By Milne–Thomson, f′(z)=vy+ivxf'(z)=v_y+iv_x.
f′(z)=ex{−[(x+1)sin⁡y+ycos⁡y]+i[(x+1)cos⁡y−ysin⁡y]}=i(z+1)ez.f'(z)=e^x\{-[(x+1)\sin y+y\cos y]+i[(x+1)\cos y-y\sin y]\}=i(z+1)e^z.
  • Integrate: f(z)=∫i(z+1)ez dz=izez+Cf(z)=\int i(z+1)e^z\,dz=i ze^z+C.
  • Answer: f(z)=i z ez+C\boxed{f(z)=i\,z\,e^{z}+C}, CC real.

Solved Q7 (2024-25 — 2 Marks | Harmonic Check)

Q: Show that the following function is harmonic: h(x,y)=x2+xy−y2h(x, y) = x^2 + xy - y^2

Solution: hx=2x+yh_x=2x+y, hxx=2h_{xx}=2; hy=x−2yh_y=x-2y, hyy=−2h_{yy}=-2. Thus hxx+hyy=2−2=0h_{xx}+h_{yy}=2-2=0. Answer: hh satisfies Laplace’s equation and is harmonic. Its conjugate is v=−x22+2xy+y22+Cv=-\tfrac{x^2}{2}+2xy+\tfrac{y^2}{2}+C.


5. Practice Questions (Self-Test)

  1. (2 Marks) State the Cauchy–Riemann equations in Cartesian and polar form.
  2. (2 Marks) Give an example of a function that is differentiable at one point but nowhere analytic.
  3. (7 Marks) Show that u=excos⁡yu=e^x\cos y is harmonic and find its harmonic conjugate. (Ans: v=exsin⁡yv=e^x\sin y, f=ezf=e^z.)
  4. (7 Marks) If u−v=x+yx2+y2u-v=\dfrac{x+y}{x^2+y^2}, find the analytic function f=u+ivf=u+iv using Milne–Thomson.
  5. (7 Marks) Verify CR equations for f(z)=1zf(z)=\dfrac{1}{z} and state where it is analytic.
  6. (7 Marks) For seepage below a sheet pile, explain why the complex potential w=ϕ+iψw=\phi+i\psi must be analytic and what the curves ϕ=\phi= constant and ψ=\psi= constant represent.
  7. (7 Marks) For flow past a bridge pier w(z)=U(z+a2/z)w(z)=U(z+a^2/z), find the complex velocity and locate the stagnation points.