MathIsimple
π
log
Γ
ζ
Δ
Course 4

Complex Integration & Cauchy's Theorem

Master contour integration techniques, understand Cauchy's fundamental theorem, and learn to evaluate complex integrals along curves with path independence.

Intermediate5-6 hours10 Practice Questions
Learning Objectives
Understand the definition of contour integrals
Learn to parameterize curves and compute integrals
Master Cauchy's integral theorem and its conditions
Understand path independence in simply connected domains
Learn about multi-connected domains and deformation
Apply Cauchy's theorem to evaluate integrals
Understand the relationship with Green's theorem
Work with closed curves and their interiors

Contour Integrals

Definition 4.1: Contour Integral
Let CC be a smooth curve parameterized by z(t)=x(t)+iy(t)z(t) = x(t) + iy(t) for atba \leq t \leq b, and let ff be continuous on CC. The contour integral of ff along CC is:
Cf(z)dz=abf(z(t))z(t)dt\int_C f(z)dz = \int_a^b f(z(t))z'(t)dt
Theorem 4.1: Cauchy's Integral Theorem
If f(z)f(z) is analytic in a simply connected domain DD, and CC is any closed curve in DD, then:
Cf(z)dz=0\oint_C f(z)dz = 0
Proof of Theorem 4.1:

This follows from Green's theorem. Writing f=u+ivf = u + iv and dz=dx+idydz = dx + idy:

Cf(z)dz=C(u+iv)(dx+idy)=C(udxvdy)+iC(vdx+udy)\oint_C f(z)dz = \oint_C (u + iv)(dx + idy) = \oint_C (udx - vdy) + i\oint_C (vdx + udy)

By Green's theorem and the Cauchy-Riemann equations (ux=vyu_x = v_y, uy=vxu_y = -v_x), both integrals vanish.

Corollary 4.1: Path Independence
In a simply connected domain, if ff is analytic, then Cf(z)dz\int_C f(z)dz depends only on the endpoints of CC, not on the path.
Example 4.1

Problem: Evaluate z=1dzz\oint_{|z|=1} \frac{dz}{z}.

Solution:

Parameterize: z(θ)=eiθz(\theta) = e^{i\theta} for 0θ2π0 \leq \theta \leq 2\pi, so dz=ieiθdθdz = ie^{i\theta}d\theta

z=1dzz=02πieiθdθeiθ=02πidθ=2πi\oint_{|z|=1} \frac{dz}{z} = \int_0^{2\pi} \frac{ie^{i\theta}d\theta}{e^{i\theta}} = \int_0^{2\pi} id\theta = 2\pi i

Note: This is non-zero because 1/z1/z is not analytic at z=0z = 0, which is inside the curve.

Properties of Contour Integrals

Theorem 4.2: Properties
Contour integrals satisfy:
  • Linearity: C[af(z)+bg(z)]dz=aCf(z)dz+bCg(z)dz\int_C [af(z) + bg(z)]dz = a\int_C f(z)dz + b\int_C g(z)dz
  • Reversal: Cf(z)dz=Cf(z)dz\int_{C^-} f(z)dz = -\int_C f(z)dz where CC^- is CC reversed
  • Path addition: If C=C1+C2C = C_1 + C_2, then C=C1+C2\int_C = \int_{C_1} + \int_{C_2}
Example 4.2

Problem: Evaluate Cz2dz\int_C z^2 dz where CC is the straight line from 00 to 1+i1 + i.

Solution:

Parameterize: z(t)=t(1+i)z(t) = t(1+i) for 0t10 \leq t \leq 1, so dz=(1+i)dtdz = (1+i)dt

Cz2dz=01[t(1+i)]2(1+i)dt=(1+i)301t2dt=(1+i)33=2+2i3\int_C z^2 dz = \int_0^1 [t(1+i)]^2 (1+i)dt = (1+i)^3 \int_0^1 t^2 dt = \frac{(1+i)^3}{3} = \frac{-2+2i}{3}

Proof of Cauchy's Theorem

Remark 4.1
Cauchy's theorem is one of the most fundamental results in complex analysis. It has several proofs, including one using Green's theorem from real analysis, and another using Goursat's lemma (which doesn't require continuity of the derivative).
Example 4.3

Problem: Verify that z=1z2dz=0\oint_{|z|=1} z^2 dz = 0 using Cauchy's theorem.

Solution:

Since z2z^2 is analytic everywhere (it's an entire function) and the unit disk is simply connected, by Cauchy's theorem, the integral around any closed curve is zero.

Alternatively, parameterizing z=eiθz = e^{i\theta}: z=1z2dz=02πe2iθieiθdθ=i02πe3iθdθ=0\oint_{|z|=1} z^2 dz = \int_0^{2\pi} e^{2i\theta} \cdot ie^{i\theta}d\theta = i\int_0^{2\pi} e^{3i\theta}d\theta = 0

Theorem 4.3: Deformation Theorem
Let C1C_1 and C2C_2 be two simple closed curves with C2C_2 inside C1C_1. If ff is analytic in the region between C1C_1 and C2C_2 and on both curves, then:
C1f(z)dz=C2f(z)dz\oint_{C_1} f(z)dz = \oint_{C_2} f(z)dz
Example 4.4

Problem: Evaluate z=3dzz(z1)\oint_{|z|=3} \frac{dz}{z(z-1)}.

Solution:

The function has poles at z=0z=0 and z=1z=1, both inside z=3|z|=3.

By deformation, we can split this into integrals around small circles around each pole, but since the function is not analytic at these points, we'll need Cauchy's integral formula (covered in the next course) or residue theory to evaluate this.

For now, we note that Cauchy's theorem does not apply here because ff is not analytic at z=0z=0 and z=1z=1.

Applications and Extensions

Corollary 4.2: Newton-Leibniz Formula
If ff is analytic in a simply connected domain DD and Φ\Phi is any antiderivative of ff, then for any path CC from z0z_0 to z1z_1 in DD:
Cf(z)dz=Φ(z1)Φ(z0)\int_C f(z)dz = \Phi(z_1) - \Phi(z_0)
Example 4.5

Problem: Evaluate C1zdz\int_C \frac{1}{z}dz where CC is any path from z=1z=1 to z=iz=i in the right half-plane Re(z)>0\text{Re}(z) > 0.

Solution:

In the right half-plane, we can take the principal branch of the logarithm. An antiderivative of 1/z1/z is lnz\ln z (principal branch).

Therefore: C1zdz=lniln1=lni=iπ2\int_C \frac{1}{z}dz = \ln i - \ln 1 = \ln i = i\frac{\pi}{2}

Importance of Cauchy's Theorem

Path Independence

In simply connected domains, the integral of an analytic function depends only on endpoints, not the path. This is analogous to conservative vector fields in physics.

Foundation for Advanced Results

Cauchy's theorem is the foundation for Cauchy's integral formula, residue theory, and many other powerful results in complex analysis.

Connection to Real Analysis

The proof using Green's theorem connects complex analysis to real multivariable calculus, showing the deep relationship between these fields.

Advanced Integration Techniques

Example 4.6

Problem: Evaluate Cdzz\int_C \frac{dz}{z} where CC is the unit circle traversed once counterclockwise.

Solution:

Parameterize: z=eiθz = e^{i\theta} for 0θ2π0 \leq \theta \leq 2\pi, so dz=ieiθdθdz = ie^{i\theta}d\theta

Cdzz=02πieiθeiθdθ=i02πdθ=2πi\int_C \frac{dz}{z} = \int_0^{2\pi} \frac{ie^{i\theta}}{e^{i\theta}}d\theta = i\int_0^{2\pi}d\theta = 2\pi i

Note: This is not zero because 1/z1/z has a singularity at z=0z = 0, so it's not analytic in a simply connected domain containing CC.

Example 4.7

Problem: Evaluate 02πecosθcos(sinθ)dθ\int_0^{2\pi} e^{\cos\theta}\cos(\sin\theta)d\theta.

Solution:

Note that ecosθ+isinθ=eeiθe^{\cos\theta + i\sin\theta} = e^{e^{i\theta}}. On the unit circle z=eiθz = e^{i\theta}:

Re(ez)=ecosθcos(sinθ)\text{Re}(e^z) = e^{\cos\theta}\cos(\sin\theta) when z=eiθz = e^{i\theta}

02πecosθcos(sinθ)dθ=Re(z=1ezizdz)\int_0^{2\pi} e^{\cos\theta}\cos(\sin\theta)d\theta = \text{Re}\left(\oint_{|z|=1} \frac{e^z}{iz}dz\right)

Since eze^z is entire and 1/z1/z has residue 1 at z=0z = 0 (we'll learn this in residue theory), the integral equals 2π2\pi.

Example 4.8

Problem: Show that if ff is analytic in a simply connected domain DD and γ\gamma is a closed curve in DD, then γf(z)dz=0\oint_\gamma f'(z)dz = 0.

Solution:

If ff is analytic, then ff' is also analytic (a key result we'll prove later). By Cauchy's theorem, the integral is zero.

Alternatively, if γ\gamma starts and ends at z0z_0, then γf(z)dz=f(z0)f(z0)=0\oint_\gamma f'(z)dz = f(z_0) - f(z_0) = 0 by the fundamental theorem of calculus for complex functions.

Parameterization Methods

Example 4.9

Problem: Evaluate Czdz\int_C \overline{z}dz where CC is the line segment from 00 to 1+i1 + i.

Solution:

Parameterize: z(t)=t(1+i)z(t) = t(1+i) for 0t10 \leq t \leq 1, so z(t)=t(1i)\overline{z(t)} = t(1-i), dz=(1+i)dtdz = (1+i)dt

Czdz=01t(1i)(1+i)dt=012tdt=1\int_C \overline{z}dz = \int_0^1 t(1-i)(1+i)dt = \int_0^1 2tdt = 1

Note: z\overline{z} is not analytic, so the value depends on the path.

Example 4.10

Problem: Evaluate Cz2dz\int_C |z|^2dz along the unit circle z=1|z| = 1.

Solution:

On the unit circle, z2=1|z|^2 = 1, so z2=1|z|^2 = 1

Parameterize: z=eiθz = e^{i\theta}, dz=ieiθdθdz = ie^{i\theta}d\theta

Cz2dz=02π1ieiθdθ=i02πeiθdθ=0\int_C |z|^2dz = \int_0^{2\pi} 1 \cdot ie^{i\theta}d\theta = i\int_0^{2\pi}e^{i\theta}d\theta = 0

Study Tips for Complex Integration

1. Choose the Right Parameterization

For circles, use z=z0+reiθz = z_0 + re^{i\theta}. For line segments, use linear interpolation. For more complex curves, use appropriate parametric equations.

2. Check for Analyticity First

If the function is analytic in a simply connected domain containing the curve, Cauchy's theorem applies and the integral may be zero or path-independent.

3. Watch for Singularities

If the function has singularities inside the contour, Cauchy's theorem doesn't apply. You'll need residue theory (covered later) or deformation theorem.

More Advanced Integration Examples

Example 4.11

Problem: Evaluate Cz2+1zdz\int_C \frac{z^2 + 1}{z}dz where CC is the circle z=2|z| = 2.

Solution:

Split: Cz2+1zdz=Czdz+C1zdz\int_C \frac{z^2 + 1}{z}dz = \int_C zdz + \int_C \frac{1}{z}dz

Since zz is analytic, Czdz=0\int_C zdz = 0 by Cauchy's theorem.

From Example 4.6, C1zdz=2πi\int_C \frac{1}{z}dz = 2\pi i

Therefore, the integral equals 2πi2\pi i.

Example 4.12

Problem: Show that Cezzdz=2πi\oint_C \frac{e^z}{z}dz = 2\pi i where CC is any simple closed curve around the origin.

Solution:

By deformation theorem, we can shrink CC to a small circle around the origin. On a small circle, ez1e^z \approx 1, so the integral approximates 1zdz=2πi\oint \frac{1}{z}dz = 2\pi i.

More precisely, we can use Cauchy's integral formula (covered in the next course) to get the exact result.

Example 4.13

Problem: Evaluate 02πecosθsin(sinθ)dθ\int_0^{2\pi} e^{\cos\theta}\sin(\sin\theta)d\theta.

Solution:

On the unit circle z=eiθz = e^{i\theta}, we have Im(ez)=ecosθsin(sinθ)\text{Im}(e^z) = e^{\cos\theta}\sin(\sin\theta).

The integral is the imaginary part of z=1ezizdz\oint_{|z|=1} \frac{e^z}{iz}dz, which equals 0 (as we'll see with residue theory, or by symmetry).

Example 4.14

Problem: If ff is analytic and f(z)M|f(z)| \leq M on z=R|z| = R, show that f(0)M|f(0)| \leq M.

Solution:

Using the mean value property (from Cauchy's integral formula), f(0)=12π02πf(Reiθ)dθf(0) = \frac{1}{2\pi} \int_0^{2\pi} f(Re^{i\theta})d\theta

Taking absolute values: f(0)12π02πf(Reiθ)dθ12π02πMdθ=M|f(0)| \leq \frac{1}{2\pi} \int_0^{2\pi} |f(Re^{i\theta})|d\theta \leq \frac{1}{2\pi} \int_0^{2\pi} Md\theta = M

Example 4.15

Problem: Evaluate Cdzz2+1\int_C \frac{dz}{z^2 + 1} where CC is the circle z=2|z| = 2.

Solution:

The function has poles at z=±iz = \pm i, both inside CC.

Using deformation, we can split into integrals around small circles. However, we'll need residue theory (covered later) to evaluate this properly. The result is 0 by the residue theorem since the residues at ±i\pm i cancel out.

Applications of Path Independence

Example 4.16

Problem: Evaluate 01+iz2dz\int_0^{1+i} z^2dz along any path.

Solution:

Since z2z^2 is entire, the integral is path-independent. An antiderivative is z3/3z^3/3.

01+iz2dz=[z33]01+i=(1+i)33=2+2i3\int_0^{1+i} z^2dz = \left[\frac{z^3}{3}\right]_0^{1+i} = \frac{(1+i)^3}{3} = \frac{-2+2i}{3}

Remark 4.2
Path independence is a powerful concept. In simply connected domains where the function is analytic, you can choose the most convenient path (often a straight line) to evaluate integrals.
Example 4.17

Problem: Evaluate 0π+iπezdz\int_0^{\pi + i\pi} e^z dz.

Solution:

Since eze^z is entire, we can use an antiderivative: eze^z

0π+iπezdz=ez0π+iπ=eπ+iπe0=eπeiπ1=eπ1\int_0^{\pi + i\pi} e^z dz = e^z\Big|_0^{\pi + i\pi} = e^{\pi + i\pi} - e^0 = e^{\pi}e^{i\pi} - 1 = -e^{\pi} - 1

Example 4.18

Problem: Evaluate z=1dzz2\oint_{|z|=1} \frac{dz}{z^2}.

Solution:

Parameterize: z=eiθz = e^{i\theta}, dz=ieiθdθdz = ie^{i\theta}d\theta

z=1dzz2=02πieiθei2θdθ=i02πeiθdθ=i[eiθi]02π=0\oint_{|z|=1} \frac{dz}{z^2} = \int_0^{2\pi} \frac{ie^{i\theta}}{e^{i2\theta}}d\theta = i\int_0^{2\pi} e^{-i\theta}d\theta = i\left[\frac{e^{-i\theta}}{-i}\right]_0^{2\pi} = 0

Example 4.19

Problem: Show that if ff is analytic in a domain DD and γ1\gamma_1, γ2\gamma_2 are two paths from z0z_0 to z1z_1 in DD, and if DD is simply connected, then γ1f(z)dz=γ2f(z)dz\int_{\gamma_1} f(z)dz = \int_{\gamma_2} f(z)dz.

Solution:

Consider the closed curve γ=γ1γ2\gamma = \gamma_1 - \gamma_2 (going along γ1\gamma_1 then backwards along γ2\gamma_2).

By Cauchy's theorem: γf(z)dz=0\oint_\gamma f(z)dz = 0

But γf(z)dz=γ1f(z)dzγ2f(z)dz=0\oint_\gamma f(z)dz = \int_{\gamma_1} f(z)dz - \int_{\gamma_2} f(z)dz = 0

Therefore: γ1f(z)dz=γ2f(z)dz\int_{\gamma_1} f(z)dz = \int_{\gamma_2} f(z)dz

Example 4.20

Problem: Evaluate Cdzz2+4\int_C \frac{dz}{z^2 + 4} where CC is the circle zi=1|z - i| = 1.

Solution:

The function has poles at z=±2iz = \pm 2i. The circle zi=1|z - i| = 1 is centered at ii with radius 1, so it contains z=2iz = 2i but not z=2iz = -2i.

Using residue theory (to be covered), the integral equals 2πi2\pi i times the residue at z=2iz = 2i.

Example 4.21

Problem: Show that Cf(z)dz=0\oint_C f(z)dz = 0 if ff is analytic inside and on a simple closed curve CC.

Solution:

This is exactly Cauchy's theorem. Since ff is analytic in a simply connected domain containing CC and its interior, the integral is zero.

Example 4.22

Problem: Show that if ff is analytic and γ\gamma is a closed curve, then γf(z)dz=0\oint_\gamma f(z)dz = 0 if and only if ff has no singularities inside γ\gamma.

Solution:

This follows from the residue theorem (covered later). If ff is analytic inside γ\gamma, then all residues are zero, so the integral is zero.

Example 4.23

Problem: Evaluate 0iπezdz\int_0^{i\pi} e^z dz along the straight line.

Solution:

Since eze^z is entire, the integral is path-independent. An antiderivative is eze^z.

0iπezdz=eiπe0=11=2\int_0^{i\pi} e^z dz = e^{i\pi} - e^0 = -1 - 1 = -2

Remark 4.3
The fundamental theorem of calculus for complex functions states that if F(z)=f(z)F'(z) = f(z) in a domain, then γf(z)dz=F(z1)F(z0)\int_\gamma f(z)dz = F(z_1) - F(z_0) for any path γ\gamma from z0z_0 to z1z_1.
Example 4.24

Problem: Show that Cz+1z1dz8π\left|\oint_C \frac{z+1}{z-1}dz\right| \leq 8\pi where CC is the circle z1=2|z-1| = 2.

Solution:

On CC, we have z1=2|z-1| = 2. Using the triangle inequality:

z+1=(z1)+2z1+2=2+2=4|z+1| = |(z-1) + 2| \leq |z-1| + 2 = 2 + 2 = 4

Therefore: z+1z142=2\left|\frac{z+1}{z-1}\right| \leq \frac{4}{2} = 2 on CC

Cz+1z1dzCz+1z1dz2Cdz=24π=8π\left|\oint_C \frac{z+1}{z-1}dz\right| \leq \oint_C \left|\frac{z+1}{z-1}\right||dz| \leq 2 \oint_C |dz| = 2 \cdot 4\pi = 8\pi

Example 4.25

Problem: Evaluate z=1dzzn\oint_{|z|=1} \frac{dz}{z^n} for integer nn.

Solution:

Parameterize: z=eiθz = e^{i\theta}, dz=ieiθdθdz = ie^{i\theta}d\theta

z=1dzzn=02πieiθeinθdθ=i02πei(1n)θdθ\oint_{|z|=1} \frac{dz}{z^n} = \int_0^{2\pi} \frac{ie^{i\theta}}{e^{in\theta}}d\theta = i\int_0^{2\pi} e^{i(1-n)\theta}d\theta

This equals 2πi2\pi i if n=1n = 1, and 0 otherwise.

Example 4.26

Problem: Show that Cdzzn=0\oint_C \frac{dz}{z^n} = 0 for n1n \neq 1 and any closed curve CC not containing the origin.

Solution:

If CC doesn't contain the origin, then 1/zn1/z^n is analytic inside CC (for n0n \geq 0) or the origin is outside CC (for n<0n < 0).

By Cauchy's theorem, if the function is analytic inside CC, the integral is zero. For n1n \neq 1, an antiderivative exists, so the integral over a closed curve is zero.

Example 4.27

Problem: Parameterize the ellipse x2a2+y2b2=1\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1 and compute Czdz\oint_C z \, dz along this ellipse.

Solution:

Standard parameterization: z(t)=acost+ibsintz(t) = a\cos t + ib\sin t for t[0,2π]t \in [0, 2\pi]

Then dz=(asint+ibcost)dtdz = (-a\sin t + ib\cos t) \, dt

The integral:

Czdz=02π(acost+ibsint)(asint+ibcost)dt\oint_C z \, dz = \int_0^{2\pi} (a\cos t + ib\sin t)(-a\sin t + ib\cos t) \, dt

Expanding: =02π(a2costsint+iabcos2tiabsin2tb2sintcost)dt= \int_0^{2\pi} (-a^2\cos t\sin t + iab\cos^2 t - iab\sin^2 t - b^2\sin t\cos t) \, dt

=02π[(a2+b2)sintcost+iab(cos2tsin2t)]dt= \int_0^{2\pi} [-(a^2+b^2)\sin t\cos t + iab(\cos^2 t - \sin^2 t)] \, dt

Using sintcost=12sin(2t)\sin t\cos t = \frac{1}{2}\sin(2t) and cos2tsin2t=cos(2t)\cos^2 t - \sin^2 t = \cos(2t):

=a2+b2202πsin(2t)dt+iab02πcos(2t)dt=0= -\frac{a^2+b^2}{2}\int_0^{2\pi} \sin(2t) \, dt + iab\int_0^{2\pi} \cos(2t) \, dt = 0

Alternatively, since f(z)=zf(z) = z is entire (analytic everywhere), by Cauchy's theorem the integral over any closed curve is zero.

Example 4.28

Problem: Parameterize the parabolic arc from z=0z = 0 to z=1+iz = 1 + i along y=x2y = x^2 and compute Cz2dz\int_C z^2 \, dz.

Solution:

Parameterize using x=tx = t, so y=t2y = t^2 for t[0,1]t \in [0, 1]

Then z(t)=t+it2z(t) = t + it^2, and dz=(1+2it)dtdz = (1 + 2it) \, dt

The integral:

Cz2dz=01(t+it2)2(1+2it)dt\int_C z^2 \, dz = \int_0^1 (t + it^2)^2 (1 + 2it) \, dt

Expanding (t+it2)2=t2+2it3t4=t2t4+2it3(t + it^2)^2 = t^2 + 2it^3 - t^4 = t^2 - t^4 + 2it^3

=01(t2t4+2it3)(1+2it)dt= \int_0^1 (t^2 - t^4 + 2it^3)(1 + 2it) \, dt

=01[(t2t4)+2it3+2it(t2t4)4t4]dt= \int_0^1 [(t^2 - t^4) + 2it^3 + 2it(t^2 - t^4) - 4t^4] \, dt

=01[t25t4+2it3+2it32it5]dt= \int_0^1 [t^2 - 5t^4 + 2it^3 + 2it^3 - 2it^5] \, dt

=01(t25t4)dt+i01(4t32t5)dt= \int_0^1 (t^2 - 5t^4) \, dt + i\int_0^1 (4t^3 - 2t^5) \, dt

=[t33t5]01+i[t4t63]01=23+i23=23(1i)= \left[\frac{t^3}{3} - t^5\right]_0^1 + i\left[t^4 - \frac{t^6}{3}\right]_0^1 = -\frac{2}{3} + i\cdot\frac{2}{3} = -\frac{2}{3}(1 - i)

Practice Problems

Complex Integration & Cauchy's Theorem Practice
10
Questions
0
Correct
0%
Accuracy
1
According to Cauchy's theorem, if f(z)f(z) is analytic in a simply connected domain DD and CC is a closed curve in DD, then:
Easy
Not attempted
2
Evaluate z=1dzz\oint_{|z|=1} \frac{dz}{z}:
Medium
Not attempted
3
In a simply connected domain, if f(z)f(z) is analytic, then abf(z)dz\int_a^b f(z)dz:
Easy
Not attempted
4
If f(z)f(z) is analytic in an annulus 1<z<31 < |z| < 3, and CC is a circle z=2|z| = 2, then Cf(z)dz\oint_C f(z)dz:
Hard
Not attempted
5
For the integral C1z2dz\oint_C \frac{1}{z^2}dz where C:z=1C: |z| = 1, the result is:
Medium
Not attempted
6
Cauchy's theorem requires the domain to be:
Easy
Not attempted
7
If f(z)=z2f(z) = z^2 and CC is any closed curve, then Cz2dz\oint_C z^2 dz:
Easy
Not attempted
8
The integral 02πeitieitdt\int_0^{2\pi} e^{it} \cdot ie^{it} dt evaluates to:
Medium
Not attempted
9
In a multiply connected domain, if C1C_1 and C2C_2 are two closed curves encircling the same holes, then:
Hard
Not attempted
10
For a contour integral Cf(z)dz\int_C f(z)dz, the parameterization:
Medium
Not attempted

Frequently Asked Questions

Why does Cauchy's theorem require simply connected domains?

In multiply connected domains, a closed curve might encircle regions where the function is not analytic (holes/singularities). Simply connected domains ensure any closed curve can be shrunk to a point without encountering singularities.

What is the relationship between Cauchy's theorem and path independence?

In simply connected domains, Cauchy's theorem implies path independence: since the integral around any closed curve is zero, the integral between two points depends only on the endpoints, not the path taken.

Can Cauchy's theorem be applied to functions with isolated singularities?

Yes, but only if the closed curve does not enclose any singularities. If a singularity is inside the curve, we need Cauchy's integral formula (covered later) or residue theory.

How do I parameterize a contour for integration?

Express the curve in parametric form $z(t) = x(t) + iy(t)$ for $t$ in some interval, then substitute into the integral and compute $dz = z'(t)dt$. Common parameterizations include circles, line segments, and arcs.

When can I deform a contour without changing the integral?

By Cauchy's theorem and deformation principles, you can continuously deform a contour within a region where the function is analytic without changing the integral value, as long as you don't cross any singularities.