Analyze complex paths with accurate numerical integration. Compare contour shapes, residues, and sampled coordinate behavior. See results fast with clean visuals and practical exports.
| Contour | Center | Radius | B | Pole | Expected Exact Integral |
|---|---|---|---|---|---|
| Circle, CCW | 1 + 0i | 2 | 1 + 0i | 1 + 0i | 0 + 6.28318531i |
Integrand family: f(z) = A·zn + B/(z − P) + C·ekz + D·sin(mz) + E
Numerical contour integral: the calculator samples the contour, builds midpoint values, and sums f(zmid)·Δz across all segments.
Closed contour residue check: the polynomial, exponential, sine, and constant terms are entire. Their closed integrals vanish. The rational term contributes 2πi·B times the winding number around the pole.
Error estimate: for closed contours, the tool compares the numerical result with the residue-based exact value and reports the absolute error.
It numerically evaluates contour integrals over parameterized paths in the complex plane. It also reports geometric metrics and an exact residue check for supported closed contours.
You can use circles, ellipses, rectangles, and open line segments. Closed shapes can be traversed clockwise or counterclockwise to change the winding sign.
The calculator supports A·zⁿ, B/(z−P), C·e^(kz), D·sin(mz), and a constant term E. Complex coefficients are allowed for A, B, C, D, and E.
For closed contours, the entire terms contribute zero by complex analysis. Only the simple pole term contributes, so the exact value becomes 2πi times its residue and winding number.
The path is approximated by finitely many segments. Larger sample counts usually reduce error. Very sharp bends or paths near poles may need substantially finer sampling.
It is the smallest sampled distance between the contour and the pole location. Small values warn that the rational term may vary rapidly and reduce numerical stability.
The CSV contains summary metrics first, then sampled midpoint data for each stored step, including z midpoint values, integrand values, segment increments, and contribution terms.
Yes. It works well for checking residue ideas, winding effects, and numerical convergence. Increase samples and compare the exact closed-contour check whenever possible.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.