In mathematics, Cauchy's integral formula, named after Augustin-Louis Cauchy, is a central statement in complex analysis. It expresses the fact that a holomorphic function defined on a disk is completely determined by its values on the boundary of the disk, and it provides integral formulas for all derivatives of a holomorphic function. Cauchy's formula shows that, in complex analysis, "differentiation is equivalent to integration": complex differentiation, like integration, behaves well under uniform limits – a result that does not hold in real analysis.
Theorem
Let U⊂ℂ be an open subset of the complex plane ℂ, and suppose the closed disk D defined as D={z∈ℂ:|z−z0|≤r} is completely contained in U. Let f:U→ℂ be a holomorphic function, and let γ be the circle, oriented counterclockwise, forming the boundary of D. Then for every a in the interior of D, f(a)=12πi∮γf(z)z−adz. The proof of this statement uses the Cauchy integral theorem and like that theorem, it only requires f to be complex differentiable. Because 1z−a can be expanded as a power series in the variable a as 1z−a=1+az+(az)2+⋯z, it follows that holomorphic functions are analytic, i.e. they can be expanded as convergent power series. In particular f is actually infinitely differentiable, with f(n)(a)=n!2πi∮γf(z)(z−a)n+1dz. This formula is sometimes referred to as Cauchy's differentiation formula. The theorem stated above can be generalized. The circle γ can be replaced by any closed rectifiable curve in U that has winding number one about a. Moreover, as for the Cauchy integral theorem, it is sufficient to require that f be holomorphic in the open region enclosed by the path and continuous on its closure. Note that not every continuous function on the boundary can be used to produce a function inside the boundary that fits the given boundary function. For instance, if we put the function f(z)=1z, defined for |z|=1, into the Cauchy integral formula, we get zero for all points inside the circle. In fact, giving just the real part on the boundary of a holomorphic function is enough to determine the function up to an imaginary constant – there is only one imaginary part on the boundary that corresponds to the given real part, up to addition of a constant. We can use a combination of a Möbius transformation and the Stieltjes inversion formula to construct the holomorphic function from the real part on the boundary. For example, the function f(z)=i−iz has real part ℜ(f(z))=ℑ(z). On the unit circle this can be written 12(iz−iz). Using the Möbius transformation and the Stieltjes formula we construct the function inside the circle. The iz term makes no contribution, and we find the function −iz. This has the correct real part on the boundary, and also gives us the corresponding imaginary part, but off by a constant, namely i.
Proof sketch By using the Cauchy integral theorem, one can show that the integral over C (or the closed rectifiable curve) is equal to the same integral taken over an arbitrarily small circle around a. Since f(z) is continuous, we can choose a circle small enough on which f(z) is arbitrarily close to f(a). On the other hand, the integral ∮C1z−adz=2πi, over any circle C centered at a. This can be calculated directly via a parametrization (integration by substitution) z(t)=a+εeit where 0≤t≤2π and ε is the radius of the circle. Letting ε→0 gives the desired estimate |12πi∮Cf(z)z−adz−f(a)|=|12πi∮Cf(z)−f(a)z−adz|=|12πi∫02π(f(z(t))−f(a)εeit⋅εeiti)dt|≤12π∫02π|f(z(t))−f(a)|εεdt≤max|z−a|=ε|f(z)−f(a)| →ε→0 0.
Example
Let g(z)=z2z2+2z+2, and let C be the contour described by |z|=2 (the circle of radius 2). To find the integral of g(z) around the contour C, we need to know the singularities of g(z). Observe that we can rewrite g as follows: g(z)=z2(z−z1)(z−z2) where z1=−1+i and z2=−1−i. Thus, g has poles at z1 and z2. The moduli of these points are less than 2 and thus lie inside the contour. This integral can be split into two smaller integrals by Cauchy–Goursat theorem; that is, we can express the integral around the contour as the sum of the integral around z1 and z2 where the contour is a small circle around each pole. Call these contours C1 around z1 and C2 around z2. Now, each of these smaller integrals can be evaluated by the Cauchy integral formula, but they first must be rewritten to apply the theorem. For the integral around C1, define f1 as f1(z)=(z−z1)g(z). This is analytic (since the contour does not contain the other singularity). We can simplify f1 to be: f1(z)=z2z−z2 and now g(z)=f1(z)z−z1. Since the Cauchy integral formula says that: ∮Cf1(z)z−adz=2πi⋅f1(a), we can evaluate the integral as follows: ∮C1g(z)dz=∮C1f1(z)z−z1dz=2πiz12z1−z2. Doing likewise for the other contour: f2(z)=z2z−z1, we evaluate ∮C2g(z)dz=∮C2f2(z)z−z2dz=2πiz22z2−z1. The integral around the original contour C then is the sum of these two integrals: ∮Cg(z)dz=∮C1g(z)dz+∮C2g(z)dz=2πi(z12z1−z2+z22z2−z1)=2πi(−2)=−4πi. An elementary trick using partial fraction decomposition: ∮Cg(z)dz=∮C(1−1z−z1−1z−z2)dz=0−2πi−2πi=−4πi
… excerpt ends here. Continue reading the full article.

