I've never done that, but may result if you integrate by parts two times putting and then use hyperbolic identities.
I'm trying to manually calculate the spectrum of a hyperbolic secant function. It's well known that
How exactly is this expression obtained? All of my atempts to integrate this equation were unsuccessful. What measures should be taken in this particular case?
which we can evaluate via the Residue Theorem. Consider the contour integral:
where is the path along the real-axis, then circling back in a large upper half-circle. As the radius of this contour approaches infinity, it encloses all the poles of the integrand in the upper half-plane at .
Now, the integral tends to zero along the circular half-circle as the radius tends to infinity and we're left with just the line segment along the real axis or:
I can get to the alternating exponential series in your last post (albeit in a different way by calculating the residues by differentiating the denominator of a rational function and evaluating at the poles). However, I can't seem to follow your final step. The Taylor series expansion of a sech function, while alternating as this one does, has the Euler numbers as coefficients and I don't see how they are equivalent. Thanks in advance.
Nevermind, I figured it out--its just a simple infinite geometric series with the common ratio r = -exp[b*Pi/a] so that it goes to (coeff)*series = (coeff)/(1-r) = (coeff)/(1+exp[b*Pi/a]) and then rearrange to get in canonical form for cosh as sum of exponentials in the denominator. Thanks anyway.