∫IntegralPasoEspañol
Advanced techniques

Complex integrals: contours and residues

Material by the IntegralPaso project. Conditions and limits are stated in each guide; external teaching review is pending.

∮γf(z) dz=2πi∑Res⁡(f)\oint_\gamma f(z)\,dz=2\pi i\sum\operatorname{Res}(f)

For certain real integrals extended to complex functions, choose a contour and compute enclosed poles. Justify the arc contribution, orientation and analytic hypotheses. This complex-analysis technique is not an automatic calculator method.

Common mistake

Do not treat contour poles as ordinary interior poles.

Step-by-step example

  1. Close 1/(z²+1) in the upper half-plane.

    f(z)=1(z−i)(z+i)f(z)=\frac1{(z-i)(z+i)}
  2. The only enclosed pole is i.

    Res⁡(f,i)=12i\operatorname{Res}(f,i)=\frac1{2i}
  3. The arc vanishes as its radius grows.

    ∫−∞∞dx1+x2=2πi12i=π\int_{-\infty}^{\infty}\frac{dx}{1+x^2}=2\pi i\frac1{2i}=\pi

Common questions about this method

When can the residue theorem be applied?

For a function holomorphic except at isolated singularities inside the contour, under the theorem’s conditions, with no singularities on the path itself. Identify the interior poles, calculate their residues and respect orientation. If a pole lies on the contour, the usual formula does not apply directly.

Does the calculator solve complex contour integrals?

This guide is university study material; the engine does not automate complex contour integrals. Work through the guide example and check the theorem’s hypotheses separately before using the result.

Solve