Recall that for a real function f(x), the definite integral from x=a to x=b is the area under the curve between those two points. As discussed in Chapter 3, the integral can be expressed as a limit expression: we divide the interval into N segments of width Δx, take the sum of Δxf(xn), and go to the N→∞ limit: ∫badxf(x)=limN→0N∑n=0Δxf(xn),wherexn=a+nΔx,Δx=b−aN.
Now suppose f is a complex function of a complex variable. A straight-foward way to define the integral of f(z) is to adopt an analogous expression: limN→0N∑n=0Δzf(zn)
But there’s a conceptual snag: since f takes complex inputs, the values of zn need not lie along the real line. In general, the complex numbers zn form a set of points in the complex plane. To accommodate this, we can imagine chaining together a sequence of points z1,z2,…,zN, separated by displacements Δz1,Δz2,Δz3,…,ΔzN−1:
Figure 9.1.1
Then the sum we are interested in is N−1∑n=1Δznf(zn)=Δz1f(z1)+Δz2f(z2)+⋯+ΔzN−1f(zN−1).
In the limit N→∞, each displacement Δzn becomes infinitesimal, and the sequence of points {z1,z2,…,zN} becomes a continuous trajectory in the complex plane (see Section 4.6). Such a trajectory is called a contour. Let us denote a given contour by an abstract symbol, such as Γ. Then the contour integral over Γ is defined as ∫Γf(z)dz=limN→∞N−1∑n=1Δznf(zn).
The symbol Γ in the subscript of the integral sign indicates that the integral takes place over the contour Γ. When defining a contour integral, it is always necessary to specify which contour we are integrating over. This is analogous to specifying the end-points of the interval over which to perform a definite real integral. In the complex case, the integration variable z lies in a two-dimensional plane (the complex plane), not a line; therefore we cannot just specify two end-points, and must specify an entire contour.
Also, note that in defining a contour Γ we must specify not just a curve in the complex plane, but also the direction along which to traverse the curve. If we integrate along the same curve in the opposite direction, the value of the contour integral switches sign (this is similar to swapping the end-points of a definite real integral).
Note
A contour integral generally cannot be interpreted as the area under a curve, the way a definite real integral can. In particular, the contour should not be mistakenly interpreted the graph of the integrand! Always remember that in a contour integral, the integrand f(z) and the integration variable z are both complex numbers.
Moreover, the concept of an indefinite integral cannot be usefully generalized to the complex case.
Contour integral along a parametric curve
Simple contour integrals can be calculated by parameterizing the contour. Consider a contour integral ∫Γdzf(z),
where f is a complex function of a complex variable and Γ is a given contour. As discussed in Section 4.6, we can describe a trajectory in the complex plane by a complex function of a real variable, z(t): Γ≡{z(t)|t1<t<t2},wheret∈R,z(t)∈C.
The real numbers t1 and t2 specify two complex numbers, z(t1) and z(t2), which are the end-points of the contour. The rest of the contour consists of the values of z(t) between those end-points. Provided we can parameterize Γ in such a manner, the complex displacement dz in the contour integral can be written as dz→dtdzdt.
Then we can express the contour integral over Γ as a definite integral over t: ∫Γdzf(z)=∫t2t1dtdzdtf(z(t)).
This can then be calculated using standard integration techniques. A simple example is given in the next section.
A contour integral over a circular arc
Let us use the method of parameterizing the contour to calculate the contour integral ∫Γ[R,θ1,θ2]dzzn,n∈Z,
where the trajectory Γ[R,θ1,θ2] consists of a counter-clockwise arc of radius R>0, from the point z1=Reiθ1 to the point z2=Reiθ2, as shown in the figure below:
Figure 9.1.2
We can parameterize the contour as follows: Γ[R,θ1,θ2]={z(θ)|θ1≤θ≤θ2},wherez(θ)=Reiθ.
Then the contour integral can be converted into an integral over the real parameter θ: ∫Γ[R,θ1,θ2]dzzn=∫θ2θ1dθzndzdθ=∫θ2θ1dθ(Reiθ)n(iReiθ)=iRn+1∫θ2θ1dθei(n+1)θ.
To proceed, there are two cases that we must treat separately. First, for n≠−1, ∫θ2θ1dθei(n+1)θ=[ei(n+1)θi(n+1)]θ2θ1=ei(n+1)θ2−ei(n+1)θ1i(n+1).
Second, we have the case n=−1. This cannot be handled by the above equations, since the factor of n+1 in the denominator would vanish. Instead, ∫θ2θ1dθ[ei(n+1)θ]n=−1=∫θ2θ1dθ=θ2−θ1.
Putting the two cases together, we arrive at the result ∫Γ[θ1,θ2]dzzn={i(θ2−θ1),ifn=−1Rn+1ei(n+1)θ2−ei(n+1)θ1n+1,ifn≠−1.
The case where θ2=θ1+2π is of particular interest. Here, Γ forms a complete loop, and the result simplifies to ∮Γdzzn={2πi,ifn=−10,ifn≠−1,
which is independent of R as well as the choice of θ1 and θ2. (Here, the special integration symbol ∮ is used to indicate that the contour integral is taken over a loop.) Eq. (???) is a very important result that we will make ample use of later.
By the way, what if n is not an integer? In that case, the integrand zn is a multi-valued operation (see Chapter 8), whereas the definition of a contour integral assumes the integrand is a well-defined function. To get around this problem, we can specify a branch cut and perform the contour integral with any of the branches of zn (this is fine since the branches are well-defined functions). So long as the branch cut avoids intersecting with the contour Γ, the result (???) remains valid. However, Γ cannot properly be taken along a complete loop, as that would entail crossing the branch cut.