# computing a certain contour integral [closed]

I want to compute an integral along a vertical line segment. The function I'm integrating involves the zeta-function, and usually the way such integrals are done treats the line segment as one side of a rectangle, with the residues inside the rectangle providing the main terms and the integral along the other three sides of the boundary going to 0 as the rectangle gets large in some direction (e.g., as it gets wider and wider). But in my case this is not what I find happening.

I have an idea of what the value of my integral should be, and the sum of the residues inside the rectangle matches what should be the dominant terms (the function I'm integrating has a parameter in it, so by "dominant" I mean when the parameter is large). So the integral around the other three sides of the rectangle should be smaller than the sum of the residues, but the integral along those three sides is not tending to 0 as it usually does in such calculations.

It feels like I am on the right track, but I don't know how to extract lower order terms from the integral along the other three sides of the rectangle. Has anyone seen an example of something similar to this, where the integral along the added part of a contour doesn't go to 0 as the contour grows (in some direction), but is smaller than the sum of residues inside the contour and can be computed in a reasonable way?

I prefer not to get into more details about the exact integral I am calculating (it is part of my thesis work).

-

## closed as unclear what you're asking by Will Jagy, Andy Putman, Misha, Willie Wong, Alex B.Jun 26 '13 at 22:25

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Sometimes all you need to do is just estimate the other three contour integrals in terms of your parameter; they don't need to tend to zero as you let the sides get larger. Usually people choose the location of the contours to optimize an error term. –  Matt Young Jun 24 '13 at 3:48
Instead of this long explanation, why not to write the integral, and ask the precise question abuot it? –  Alexandre Eremenko Jun 24 '13 at 5:12