Residue Calculator

Res(f, z₀) for contours

CalculatorsFreeNo Signup
4.6(563 reviews)
All Tools

Loading tool...

About Residue Calculator

A complex residue calculator. Computes Res(f, z₀) for rational functions at their poles. Shows pole order, residue formula used, and result. Essential for contour integration via the residue theorem: ∮f dz = 2πi·ΣRes. Select from preset functions. All calculations are client-side.

Residue Calculator Features

  • Residue
  • Pole order
  • Residue theorem
  • Presets
  • Formula
Residue: coefficient of 1/(z−z₀) in Laurent series. Simple pole: Res = lim(z→z₀)(z−z₀)f(z). Order m: Res = (1/(m−1)!)·lim d^(m−1)/dz^(m−1)[(z−z₀)ᵐf(z)]. Residue theorem: ∮C f dz = 2πi·Σ Res(f, zₖ).

How to Use

Select a function:

  • f(z): Complex function
  • z₀: Pole location
  • Output: Residue value

Formulas

  • Simple pole: lim(z−z₀)f(z)
  • For p(z)/q(z): p(z₀)/q'(z₀)
  • Order 2: lim d/dz[(z−z₀)²f(z)]

Applications

∫₋∞^∞ R(x)dx via semicircle contour. ∫₀^2π f(cosθ,sinθ)dθ via unit circle. Inverse Laplace/Z-transforms. Sum of series via residues.

Step-by-Step Instructions

  1. 1Select function.
  2. 2Identify poles.
  3. 3Compute residue.
  4. 4Apply theorem.
  5. 5Evaluate integral.

Residue Calculator — Frequently Asked Questions

How do I use residues to evaluate real integrals?+

For ∫₋∞^∞ p(x)/q(x)dx: close contour with semicircle in upper half-plane. Sum residues at poles with Im(z)>0. Multiply by 2πi. Works when degree(q) ≥ degree(p)+2. Jordan's lemma handles e^(ix) integrands.

What is the difference between a pole and essential singularity?+

Pole of order m: f(z) = g(z)/(z−z₀)ᵐ with g analytic, g(z₀)≠0. Laurent series has finitely many negative terms. Essential singularity: infinitely many negative terms (e^(1/z) at z=0). Picard's theorem: near essential singularity, f takes every value infinitely often (with at most one exception).

Can I compute residues from Laurent series?+

Yes! The residue IS the coefficient a₋₁ in the Laurent series f(z) = Σₙ aₙ(z−z₀)ⁿ. But usually it's easier to use the limit formulas. For essential singularities, you often must find the Laurent series explicitly.

Share this tool: