maths.free › Complex Analysis › Integration › Contour integration
Contour integration
In complex analysis, contour integration is a method of evaluating certain integrals along paths in the complex plane.
Contour integration
In complex analysis, contour integration is a method of evaluating certain integrals along paths in the complex plane. Contour integration is used to study complex-valued functions that are holomorphic in a region.
Contour integration is closely related to the calculus of residues, a method of complex analysis. The power of contour integration comes from the fact that the integrals of holmorphic functions are invariant under deforming the contour, provided the deformation does not cross a singularity or branch cut. Thus the value of a contour integral between fixed endpoints is not governed by the precise shape of the contour, but by its winding around the singularities of the integrand.
One use of contour integrals is the evaluation of certain integrals of functions over the real line. Regarding the real line as a contour, and deforming it into the complex plane often leads to simpler integrals than those which can be found by using only real variable methods. In modern language, the integral of a holomorphic or meromorphic function is a pairing between a cohomology class of differential forms and a homology class of cycles in the domain of the function. It also has various applications to physics.
Curves in the complex plane
In complex analysis, a contour is a type of curve in the complex plane. In contour integration, contours provide a precise definition of the curves on which an integral may be suitably defined. A curve in the complex plane is defined as a continuous function from a closed interval of the real line to the complex plane: \(z:[a,b]\to\C\).
This definition of a curve coincides with the intuitive notion of a curve, but includes a parametrization by a continuous function from a closed interval. This more precise definition allows us to consider what properties a curve must have for it to be useful for integration. In the following subsections we narrow down the set of curves that we can integrate to include only those that can be built up out of a finite number of continuous curves that can be given a direction. Moreover, we will restrict the "pieces" from crossing over themselves, and we require that each piece have a finite (non-vanishing) continuous derivative. These requirements correspond to requiring that we consider only curves that can be traced, such as by a pen, in a sequence of even, steady strokes, which stop only to start a new piece of the curve, all without picking up the pen.
Directed smooth curves
Contours are often defined in terms of directed smooth curves. These provide a precise definition of a "piece" of a smooth curve, of which a contour is made.
A smooth curve is a curve \(z:[a,b]\to\C\) with a non-vanishing, continuous derivative such that each point is traversed only once (z is one-to-one), with the possible exception of a curve such that the endpoints match (\(z(a)=z(b)\)). In the case where the endpoints match, the curve is called closed, and the function is required to be one-to-one everywhere else and the derivative must be continuous at the identified point (\(z'(a)=z'(b)\)). A smooth curve that is not closed is often referred to as a smooth arc.
The parametrization of a curve provides a natural ordering of points on the curve: \(z(x)\) comes before \(z(y)\) if \(x
Contours
Contours are the class of curves on which we define contour integration. A contour is a directed curve which is made up of a finite sequence of directed smooth curves whose endpoints are matched to give a single direction. This requires that the sequence of curves \(\gamma_1,\dots,\gamma_n\) be such that the terminal point of \(\gamma_i\) coincides with the initial point of \(\gamma_{i+1}\) for all \(i\) such that \(1\leq i
Contour integrals
The contour integral of a complex function \(f:\C\to\C\) is a generalization of the integral for real-valued functions. For continuous functions in the complex plane, the contour integral can be defined in analogy to the line integral by first defining the integral along a directed smooth curve in terms of an integral over a real valued parameter. A more general definition can be given in terms of partitions of the contour in analogy with the partition of an interval and the Riemann integral. In both cases the integral over a contour is defined as the sum of the integrals over the directed smooth curves that make up the contour.
For continuous functions
To define the contour integral in this way one must first consider the integral, over a real variable, of a complex-valued function. Let \(f:\R\to\C\) be a complex-valued function of a real variable, \(t\). The real and imaginary parts of \(f\) are often denoted as \(u(t)\) and \(v(t)\), respectively, so that \[f(t) = u(t) + iv(t).\] Then the integral of the complex-valued function \(f\) over the interval \([a,b]\) is given by \[\begin{align} \int_a^b f(t) \, dt &= \int_a^b \big( u(t) + i v(t) \big) \, dt \\ &= \int_a^b u(t) \, dt + i \int_a^b v(t) \, dt. \end{align}\]
Now, to define the contour integral, let \(f:\C\to\C\) be a continuous function on the directed smooth curve \(\gamma\). Let \(z:[a,b]\to\C\) be any parametrization of \(\gamma\) that is consistent with its order (direction). Then the integral along \(\gamma\) is denoted \[\int_\gamma f(z)\, dz\,\] and is given by \[\int_\gamma f(z) \, dz := \int_a^b f\big(z(t)\big) z'(t) \, dt.\]
This definition is well defined. That is, the result is independent of the parametrization chosen. In the case where the real integral on the right side does not exist the integral along \(\gamma\) is said not to exist.
As a generalization of the Riemann integral
The generalization of the Riemann integral to functions of a complex variable is done in complete analogy to its definition for functions from the real numbers. The partition of a directed smooth curve \(\gamma\) is defined as a finite, ordered set of points on \(\gamma\). The integral over the curve is the limit of finite sums of function values, taken at the points on the partition, in the limit that the maximum distance between any two successive points on the partition (in the two-dimensional complex plane), also known as the mesh, goes to zero.
Direct methods
Direct methods involve the calculation of the integral through methods similar to those in calculating line integrals in multivariate calculus. This means that we use the following method:
- parametrizing the contour
The contour is parametrized by a differentiable complex-valued function of real variables, or the contour is broken up into pieces and parametrized separately.
- substitution of the parametrization into the integrand
Substituting the parametrization into the integrand transforms the integral into an integral of one real variable.
- direct evaluation
The integral is evaluated in a method akin to a real-variable integral.
Example
A fundamental result in complex analysis is that the contour integral of 1/z is 2πi, where the path of the contour is taken to be the unit circle traversed counterclockwise (or any positively oriented Jordan curve about 0). In the case of the unit circle there is a direct method to evaluate the integral \[\oint_C \frac{1}{z}\,dz.\]
In evaluating this integral, use the unit circle |z| = 1 as a contour, parametrized by z(t) = e, with t ∈ [0, 2π], then dz/dt = ie and \[\oint_C \frac{1}{z}\,dz = \int_0^{2\pi} \frac{1}{e^{it}} ie^{it}\,dt = i\int_0^{2\pi} 1 \, dt = i \, t\Big|_0^{2\pi} = \left(2\pi-0\right)i = 2\pi i ,\] which is the value of the integral. This result only applies to the case in which z is raised to power of −1. If the power is not equal to −1, then the result will always be zero.
Applications of integral theorems
Applications of integral theorems are also often used to evaluate the contour integral along a contour, which means that the real-valued integral is calculated simultaneously along with calculating the contour integral.
Integral theorems such as the Cauchy integral formula or residue theorem are generally used in the following method:
- a specific contour is chosen:
The contour is chosen so that the contour follows the part of the complex plane that describes the real-valued integral, and also encloses singularities of the integrand so application of the Cauchy integral formula or residue theorem is possible
- application of Cauchy's integral theorem
The integral is reduced to only an integration around a small circle about each pole.
- application of the Cauchy integral formula or residue theorem
Application of these integral formulae gives us a value for the integral around the whole of the contour.
- division of the contour into a contour along the real part and imaginary part
The whole of the contour can be divided into the contour that follows the part of the complex plane that describes the real-valued integral as chosen before (call it R), and the integral that crosses the complex plane (call it I). The integral over the whole of the contour is the sum of the integral over each of these contours.
- demonstration that the integral that crosses the complex plane plays no part in the sum
If the integral I can be shown to be zero, or if the real-valued integral that is sought is improper, then if we demonstrate that the integral I as described above tends to 0, the integral along R will tend to the integral around the contour R + I.
- conclusion
If we can show the above step, then we can directly calculate R, the real-valued integral.
Example 1
Consider the integral \[\int_{-\infty}^\infty \frac{1}{\left(x^2+1\right)^2}\,dx,\]
To evaluate this integral, we look at the complex-valued function \[f(z)=\frac{1}{\left(z^2+1\right)^2}\]
which has singularities at i and −i. We choose a contour that will enclose the real-valued integral, here a semicircle with boundary diameter on the real line (going from, say, −a to a) will be convenient. Call this contour C.
There are two ways of proceeding, using the Cauchy integral formula or by the method of residues:
Example 2 – Cauchy distribution
The integral \[\int_{-\infty}^\infty \frac{e^{itx}}{x^2+1}\,dx\]
(which arises in probability theory as a scalar multiple of the characteristic function of the Cauchy distribution) resists the techniques of elementary calculus. We will evaluate it by expressing it as a limit of contour integrals along the contour C that goes along the real line from −a to a and then counterclockwise along a semicircle centered at 0 from a to −a. Take a to be greater than 1, so that the imaginary unit i is enclosed within the curve. The contour integral is \[\int_C \frac{e^{itz} }{ z^2+1}\,dz.\]
Since e is an entire function (having no singularities at any point in the complex plane), this function has singularities only where the denominator z + 1 is zero. Since z + 1 = (z + i)(z − i), that happens only where z = i or z = −i. Only one of those points is in the region bounded by this contour. The residue of f(z) at z = i is \[\lim_{z\to i}(z-i)f(z) = \lim_{z\to i}(z-i)\frac{e^{itz} }{ z^2+1} = \lim_{z\to i}(z-i)\frac{e^{itz} }{ (z-i)(z+i)} = \lim_{z\to i}\frac{e^{itz} }{ z+i} = \frac{e^{-t}}{2i}.\]
According to the residue theorem, then, we have \[\int_C f(z)\,dz=2\pi i \operatorname{Res}_{z=i}f(z)=2\pi i\frac{e^{-t} }{ 2i}=\pi e^{-t}.\]
The contour C may be split into a "straight" part and a curved arc, so that \[\int_\text{straight}+\int_\text{arc}=\pi e^{-t},\] and thus \[\int_{-a}^a =\pi e^{-t}-\int_\text{arc}.\]
According to Jordan's lemma, if t > 0 then \[\int_\text{arc}\frac{e^{itz} }{ z^2+1}\,dz \rightarrow 0 \mbox{ as } a\rightarrow\infty.\]
Therefore, if t > 0 then \[\int_{-\infty}^\infty \frac{e^{itx} }{ x^2+1}\,dx=\pi e^{-t}.\]
Condensed: the full section is in Wikipedia.
Example 3 – trigonometric integrals
Certain substitutions can be made to integrals involving trigonometric functions, so the integral is transformed into a rational function of a complex variable and then the above methods can be used in order to evaluate the integral.
As an example, consider \[\int_{-\pi}^\pi \frac{1 }{ 1 + 3 (\cos t)^2} \,dt.\]
We seek to make a substitution of z = e. Now, recall \[\cos t = \frac12 \left(e^{it}+e^{-it}\right) = \frac12 \left(z+\frac{1}{z}\right)\] and \[\frac{dz}{dt} = iz,\ dt = \frac{dz}{iz}.\]
Taking C to be the unit circle, we substitute to get: \[\begin{align} \oint_C \frac{1}{ 1 + 3 \left(\frac12 \left(z+\frac{1}{z}\right)\right)^2} \,\frac{dz}{iz} &= \oint_C \frac{1 }{ 1 + \frac34 \left(z+\frac{1}{z}\right)^2}\frac{1}{iz} \,dz \\ &= \oint_C \frac{-i}{ z+\frac34 z\left(z+\frac{1}{z}\right)^2}\,dz \\ &= -i \oint_C \frac{dz}{ z+\frac34 z\left(z^2+2+\frac{1}{z^2}\right)} \\ &= -i \oint_C \frac{dz}{ z+\frac34 \left(z^3+2z+\frac{1}{z}\right)} \\ &= -i \oint_C \frac{dz}{ \frac34 z^3+\frac52 z+\frac{3}{4z}} \\ &= -i \oint_C \frac{4}{ 3z^3+10z+\frac{3}{z}}\,dz \\ &= -4i \oint_C \frac{dz}{ 3z^3+10z+\frac{3}{z}} \\ &= -4i \oint_C \frac{z}{ 3z^4+10z^2+3 } \,dz \\ &= -4i \oint_C \frac{z}{ 3\left(z+\sqrt{3}i\right)\left(z-\sqrt{3}i\right)\left(z+\frac{i}{\sqrt 3}\right)\left(z-\frac{i}{\sqrt 3}\right)}\,dz \\ &= -\frac{4i}{3} \oint_C \frac{z}{\left(z+\sqrt{3}i\right)\left(z-\sqrt{3}i\right)\left(z+\frac{i}{\sqrt 3}\right)\left(z-\frac{i}{\sqrt 3}\right)}\,dz. \end{align}\]
Condensed: the full section is in Wikipedia.
Example 3a – trigonometric integrals, the general procedure
The above method may be applied to all integrals of the type \[\int_0^{2\pi} \frac{P\big(\sin(t),\sin(2t),\ldots,\cos(t),\cos(2t),\ldots\big)}{Q\big(\sin(t),\sin(2t),\ldots,\cos(t),\cos(2t),\ldots\big)}\, dt\] where P and Q are polynomials, i.e. a rational function in trigonometric terms is being integrated. Note that the bounds of integration may as well be π and −π, as in the previous example, or any other pair of endpoints 2π apart.
The trick is to use the substitution z = e where dz = ie dt and hence \[\frac{1}{iz} \,dz = dt.\]
This substitution maps the interval [0, 2π] to the unit circle. Furthermore, \[\sin(k t) = \frac{e^{i k t} - e^{- i k t}}{2 i} = \frac{z^k - z^{-k}}{2i}\] and \[\cos(k t) = \frac{e^{i k t} + e^{- i k t}}{2} = \frac{z^k + z^{-k}}{2}\] so that a rational function f(z) in z results from the substitution, and the integral becomes \[\oint_{|z|=1} f(z) \frac{1}{iz}\, dz\] which is in turn computed by summing the residues of f(z)1/iz inside the unit circle.
The image at right illustrates this for \[I = \int_0^\frac{\pi}{2} \frac{1}{1 + (\sin t)^2}\, dt,\] which we now compute. The first step is to recognize that \[I = \frac14 \int_0^{2\pi} \frac{1}{1 + (\sin t)^2} \,dt.\]
The substitution yields \[\frac{1}{4} \oint_{|z|=1} \frac{4 i z}{z^4 - 6z^2 + 1}\, dz = \oint_{|z|=1} \frac{i z}{z^4 - 6z^2 + 1}\, dz.\]
The poles of this function are at 1 ± √2 and −1 ± √2. Of these, 1 + √2 and −1 − √2 are outside the unit circle (shown in red, not to scale), whereas 1 − √2 and −1 + √2 are inside the unit circle (shown in blue). The corresponding residues are both equal to −i√2/16, so that the value of the integral is \[I = 2 \pi i \; 2 \left( - \frac{\sqrt{2}}{16} i \right) = \pi \frac{\sqrt{2}}{4}.\]
Nu är det din tur. Ingen miniräknare bestämmer detta, men bitarna i det är beräkningsbara. Prova en nedan, eller skriv din egen.
Ett gratis konto lägger till anteckningar om varje lektion, en förteckning över vad du har avslutat, dina lösta problem på ett ställe, och en handledare du kan fråga om denna sida. Matematiken i sig är öppen för alla, inloggad eller inte.
Registrera dig InloggningSymboler som används här
Knacka på alla symboler för den fullständiga definitionen, en bild, och vad varje bokstav i den betyder.
Frågor folk frågar
Why is complex differentiability so much stronger than real?
The limit must be the same from every direction in the plane, not just two. That forces the Cauchy-Riemann equations, which in turn force infinitely many derivatives and a convergent Taylor series.
What is a residue?
The coefficient of 1/(z − a) in the Laurent series at a singularity a. The residue theorem says a contour integral equals 2πi times the sum of the residues inside, which evaluates many real integrals in one line.
Delar av denna sida är anpassade från Wikipedia (CC BY-SA 4.0). Kondenserad och återförklarad här; felen är våra.
Mer information Complex Analysis
The complex plane and Euler's formulaHolomorphic functions and the Cauchy-Riemann equationsContour integrals and the residue theoremPower series and analytic continuation