Skip to content
GATEiit

GATE EC, AE, ME, EE, IN + 5 more · Complex Analysis and Fourier Series

Complex Numbers, Analytic Functions and Cauchy–Riemann Equations

Complex numbers, Euler and De Moivre roots, analyticity vs single-point complex differentiability, Cartesian and polar Cauchy–Riemann equations, harmonic conjugates (Milne–Thomson) and conformal maps.

Before you start

This topic comes before: Sinusoidal steady-state analysis, Cauchy's Integral Theorem and Cauchy's Integral Formula, Taylor and Laurent Series (Complex Variables)

Concept notes

1. Complex numbers, Euler's formula, De Moivre and roots

Any complex number z=x+iy writes in polar / exponential form as z=r(cos⁡θ+isin⁡θ)=r eiθ,r=∣z∣=x2+y2,θ=arg⁡(z). Watch quadrants carefully when finding θ (principal argument Arg⁡(z)∈(−π,π]): (−1+i) lies in Quadrant II with θ=3π4, not −π4.

  • De Moivre's theorem: (reiθ)n=rneinθ=rn(cos⁡nθ+isin⁡nθ).
  • The n-th roots of z=reiθ are spaced evenly by 2πn around circle radius r1/n: wk=r1/nexp⁡ ⁣(iθ+2πkn) (k=0,…,n−1).
  • Principal complex logarithm / power: Log⁡(z)=ln⁡∣z∣+iArg⁡(z), so ii=ei Log(i)=ei(iπ/2)=e−π/2 (purely real).
Polar form z = x + iy = r e^(iθ)θr = |z|z = r(cosθ + i sinθ)ReImAnalytic f = u + iv ⇒ orthogonal contours∇φ · ∇ψ = 0 (C-R equations ⇒ orthogonal flow net)
Left: polar Argand representation z = r e^(iθ). Right: real and imaginary parts of an analytic function generate mutually orthogonal harmonic contour families.

2. Complex Differentiability vs Analyticity

A complex function f(z)=u(x,y)+j v(x,y) (z=x+jy) is differentiable at z0 if the difference quotient f′(z0)=lim⁡Δz→0f(z0+Δz)−f(z0)Δz exists and takes the exact same value along every approach direction in the complex plane (Δx→0 horizontally, jΔy→0 vertically, or spirals).

Critical GATE distinction:

  • Differentiable at z0: limit exists at the single isolated point z0. For instance, f(z)=∣z∣2=x2+y2 is differentiable at z=0 (f′(0)=0), yet nowhere else.
  • Analytic (holomorphic) at z0: differentiable not only at z0, but throughout an entire open disk ∣z−z0∣<r (r>0). Thus f(z)=∣z∣2 is nowhere analytic. A function analytic on all of C is called entire (e.g., polynomials, ez,sin⁡z,cos⁡z).

3. Cauchy–Riemann Equations (Cartesian & Polar) and Necessary vs Sufficient Rules

Equating horizontal (Δz=Δx) and vertical (Δz=jΔy) limits yields the Cauchy–Riemann (C–R) equations: ∂u∂x=∂v∂y,∂u∂y=−∂v∂x,giving f′(z)=ux+jvx=vy−juy. In polar coordinates (z=rejθ with f=u(r,θ)+jv(r,θ), r>0), the equivalent polar C–R form is: ur=1rvθ,vr=−1ruθ,f′(z)=e−jθ(ur+jvr).

  • Necessary: Differentiability at z0  ⟹   C–R equations hold at z0.
  • Sufficient: C–R equations plus continuity of ux,uy,vx,vy in a neighborhood of z0 guarantee analyticity at z0. (Pathological functions like ∣xy∣1/2 satisfy C–R at (0,0) without continuity of partials and fail complex differentiability along y=x)
Cauchy–Riemann Condition: Real 2×2 Jacobian Matches Scalar Multiplication by f'(z₀) Cartesian C–R Equations u_x = v_y, u_y = −v_x Polar: u_r = (1/r) v_θ, v_r = −(1/r) u_θ Harmonic consequence: ∇²u = 0, ∇²v = 0 f'(z) = u_x + j v_x = v_y − j u_y Analytic vs Pointwise Differentiable 1. f(z) = |z|²: C–R holds only at z = 0 ⇒ Differentiable at 0, never analytic 2. Analytic at z₀ ⇔ diff. on open disk ⇒ Requires continuous partials + C–R
Cauchy–Riemann identities in Cartesian and polar coordinates, highlighting why pointwise differentiability at 0 does not imply analyticity.

4. Harmonic Conjugates and the Milne–Thomson Reconstruction

Because analytic functions are infinitely differentiable, differentiating ux=vy wrt x and uy=−vx wrt y and adding cancels mixed partials vyx−vxy=0, proving both u and v are harmonic (satisfy Laplace's equation): ∇2u=uxx+uyy=0,∇2v=vxx+vyy=0. Note: v is called the harmonic conjugate of u, and asymmetry matters: since f=u+jv is analytic, jf=−v+ju is also analytic, making −u (not +u) the harmonic conjugate of v.

Given only u(x,y), Milne–Thomson's method skips partial integration by writing f′(z)=ux(x,y)−juy(x,y) and substituting x→z,  y→0: f(z)=∫[ux(z,0)−j uy(z,0)] dz+C. Similarly, given only v(x,y): f(z)=∫[vy(z,0)+j vx(z,0)] dz+C.

5. Orthogonal Level Curves and Conformal Mapping

By the C–R equations, the gradient vectors of the real and imaginary parts satisfy: ∇u⋅∇v=uxvx+uyvy=ux(−uy)+uy(ux)=0. Hence level curves u(x,y)=c1 (e.g., equipotentials) and v(x,y)=c2 (e.g., electric flux streamlines) intersect at 90∘ wherever f′(z)≠0. More generally, any analytic map w=f(z) with f′(z0)≠0 scales distances isotropically by ∣f′(z0)∣ and rotates tangents by arg⁡f′(z0), preserving both angle magnitudes and orientation (conformal). At critical points f′(z0)=0 (such as z=0 for zk), angles multiply by k.

Harmonic Level Curves u = c₁ and v = c₂ Meet Orthogonally Where f'(z) ≠ 0 z-plane (x, y) Angles preserved (90°) w = z² f'(z) = 2z ≠ 0 Harmonic Level Curves in w-plane ∇u · ∇v = u_x v_x + u_y v_y = 0 (Cauchy-Riemann)
Away from f'(z)=0, the map w = z² carries perpendicular Cartesian grid lines into orthogonal confocal parabolas u = const and v = const.

Formulas to remember

Cartesian Cauchy–Riemann & derivative
ux=vy,uy=−vx,f′(z)=ux+jvx=vy−juy
Polar Cauchy–Riemann & derivative
ur=1rvθ,vr=−1ruθ,f′(z)=e−jθ(ur+jvr)
Harmonic Laplace property
∂2u∂x2+∂2u∂y2=0,∂2v∂x2+∂2v∂y2=0
Milne–Thomson formula (given u)
f(z)=∫[ϕ1(z,0)−j ϕ2(z,0)] dz+C,ϕ1=ux,  ϕ2=uy
Milne–Thomson formula (given v)
f(z)=∫[ψ1(z,0)+j ψ2(z,0)] dz+C,ψ1=vy,  ψ2=vx
Complex Wirtinger analyticity testAn expression explicitly containing conjugate zˉ (not cancelling) fails analyticity.
∂f∂zˉ=12(∂f∂x+j∂f∂y)=0
Euler's formula
eiθ=cos⁡θ+isin⁡θ
Principal power i^iMore generally e^(−π/2 + 2πk)
ii=e−π/2
Cauchy–Riemann (Cartesian)
ux=vy,uy=−vx
Cauchy–Riemann (Polar)
ur=1rvθ,vr=−1ruθ

Common mistakes

  • Confusing 'C–R holds at z0' with 'analytic at z0': Analyticity requires differentiability throughout an open neighborhood; f(z)=∣z∣2 obeys C–R at z=0 yet is nowhere analytic.
  • Putting the minus sign on the wrong C–R equation: ux=+vy and uy=−vx; flipping the sign tests anti-analyticity (∂f/∂z=0) instead.
  • Assuming u is the harmonic conjugate of v: If v is conjugate to u (u+jv analytic), then −u (not +u) is the harmonic conjugate of v because v−ju=−j(u+jv).
  • Using polar C–R at r=0 or dividing off 1r: In polar coordinates, ur=1rvθ has the 1r factor on the angular derivative, and f′(z) includes the factor e−jθ.
  • Applying angle multiplication where f′(z0)≠0: Conformal angle scaling ×k happens only at zeros of f′(z); everywhere else f′(z)≠0 preserves angles identically.
  • Using θ=tan⁡−1(y/x) blindly without checking quadrant signs: (−1−i) has arg⁡=−3π/4, not +π/4.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Finding constants for an analytic quadratic polynomial

numerical

Find a,b so that f(z)=(x2+axy+by2)+i(x2+2xy−y2) is entire (analytic everywhere).

  1. Step 1: Compute partials of u and v.

    Try it on paper first.

Example 2: Constructing Harmonic Conjugate via Milne–Thomson

numerical

Verify u(x,y)=ex(xcos⁡y−ysin⁡y) is harmonic and find the analytic function f(z)=u+jv with f(0)=0.

  1. Step 1: Compute u_x(x,y) and u_y(x,y)

    Try it on paper first.

Example 3: Pointwise Differentiable vs Nowhere Analytic

conceptual

Test f(z)=∣z∣2=x2+y2 for C–R satisfaction, complex differentiability, and analyticity.

  1. Step 1: Evaluate u, v and Cauchy–Riemann equations

    Try it on paper first.

Example 4: Computing all cube roots of −8

numerical

Find all three complex values of (−8)1/3 in rectangular form.

  1. Step 1: Write −8 in polar form with 2πk shifts.

    Try it on paper first.

Previous year questions

No official PYQ in our currently live papers is tagged with this exact topic yet. The topic test below uses original GATE-style questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE Engineering Mathematics (EC, AE, ME, EE, IN + 5 more) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.