Intereting Posts

If 5 points are necessary to determine a conic, why are only 3 necessary to determine a parabola?
Compute ratio of a rectangle seen from an unknown perspective
Finding out the area of a triangle if the coordinates of the three vertices are given
Polygons with coincident area and perimeter centroids
Prove that we always have $ 2n \mid \varphi(m^n+p^n) $
Show that an infinite set $C$ is equipotent to its cartesian product $C\times C$
Zeros of a holomorphic function
Zariski Topology question
Proof by induction: $n^{n+1} > (n + 1)^n$, $(1 + x)^n \ge 1 + nx$, other inequalities
construct an entire function given its zero set
Independent increments in squared brownian motion
Prove uniform convergence of series
$H,K$ be subgroups of a group $G$ such that $G$ is isomorphic with $H \times K$ ; then is $H$ normal in $G$ ?
How prove this there exsit set $B$ such $card(B)>\dfrac{n}{3}$,
Some questions about the gamma function

I ran across this integral I get no where with. Can someone suggest a method of attack?.

$$\int_0^{\infty}\frac{\sin(\pi x^2)}{\sinh^2 (\pi x)}\mathrm dx=\frac{2-\sqrt{2}}{4}$$

I tried series, imaginary parts, and so forth, but have made no progress.

- How do you calculate this limit $\mathop {\lim }\limits_{x \to 0} \frac{{\sin (\sin x)}}{x}$?
- Approaching to zero, but not equal to zero, then why do the points get overlapped?
- modern calculus or analysis text that emphasizes Landau notation?
- $\displaystyle\int_{0}^{\pi} \frac{\sin^2 x}{a^2 - 2ab\cos x +b^2} \,dx$
- Integral $\int_0^\infty\frac{\tanh^2(x)}{x^2}dx$
- How do I measure distance on a globe?

Thanks very much.

- Proving $\binom{2n}{n}\ge\frac{2^{2n-1}}{\sqrt{n}}$
- $\sum_{n=1}^{\infty}\left(\frac{z}{1-z}\right)^n$. Determine if the following series converges or diverges
- Implicit differentiation
- Find the limit. (If an answer does not exist, enter DNE.) $\lim _{x→∞} (\sqrt{9x^2 + x} − 3x)$
- Integral related to $\sum\limits_{n=1}^\infty\sin^n(x)\cos^n(x)$
- derivative of x^x^x… to infinity?
- Why don't taylor series represent the entire function?
- Fitting a closed curve on the roots of ${x \choose k}-c$
- Filling a conical tank
- How to evaluate this rational limit

Although this question is two years old, the integral was mentioned in chat recently, I evaluated it, and then found this question. Since there is no complete solution, although Hans Lundmark’s suggestion is excellent and similar in nature, I am posting what I have done.

**Contours**

Since the integrand is even,

$$

\begin{align}

\int_0^\infty\frac{\sin(\pi x^2)}{\sinh^2(\pi x)}\,\mathrm{d}x

&=\frac12\int_{-\infty}^\infty\frac{\sin(\pi x^2)}{\sinh^2(\pi x)}\,\mathrm{d}x

\end{align}

$$

Define

$$

f(z)=\frac{\cos\left(\pi z^2\right)}{\sinh(2\pi z)\sinh^2(\pi z)}

$$

Note that because

$$

f(x\pm i)

=\frac{-\cos\left(\pi x^2\right)\cosh(2\pi x)\pm i\sin\left(\pi x^2\right)\sinh(2\pi x)}{\sinh(2\pi x)\sinh^2(\pi x)}\\

$$

we have

$$

\begin{align}

\int_\gamma f(z)\,\mathrm{d}z

&=\int_{-\infty}^\infty\big[f(x-i)-f(x+i)\big]\,\mathrm{d}x\\

&=-2i\int_{-\infty}^\infty\frac{\sin(\pi x^2)}{\sinh^2(\pi x)}\,\mathrm{d}x\\

&=2\pi i\times\begin{array}{}\text{the sum of the residues}\\\text{inside the contour}\end{array}

\end{align}

$$

where $\gamma$ is the contour

$\hspace{3.2cm}$

Therefore,

$$

\int_0^\infty\frac{\sin(\pi x^2)}{\sinh^2(\pi x)}\,\mathrm{d}x

=-\frac\pi2\times\begin{array}{}\text{the sum of the residues}\\\text{inside the contour}\end{array}

$$

**Residues**

near $0$ :

$$

\begin{align}

f(z)

&=\frac{\cos\left(\pi z^2\right)}{\sinh(2\pi z)\sinh^2(\pi z)}\\

&=\frac{1-\frac12\pi^2z^4+O(z^8)}{2\pi z\left(1+\frac23\pi^2z^2+O(z^4)\right)\pi^2 z^2\left(1+\frac13\pi^2z^2+O(z^4)\right)}\\

&=\frac{1-\pi^2z^2}{2\pi^3z^3}+O(z)\\[10pt]

&\implies\text{residue}=-\frac1{2\pi}

\end{align}

$$

at $\pm i/2$, use L’Hosptal :

$$

\begin{align}

\text{residue}

&=\lim_{z\to\pm i/2}\frac{(z\mp i/2)\cos\left(\pi z^2\right)}{\sinh(2\pi z)\sinh^2(\pi z)}\\

&=\frac1{2\pi\cosh(\pm\pi i)}\frac{\cos(-\pi/4)}{\sinh^2(\pm\pi i/2)}\\

&=\frac1{2\pi\cos(\pm\pi)}\frac{\sqrt2/2}{-\sin^2(\pm\pi/2)}\\[4pt]

&=\frac{\sqrt2}{4\pi}

\end{align}

$$

near $\pm i$ :

$$

\begin{align}

f(z\pm i)

&=\frac{-\cos\left(\pi z^2\right)\cosh(2\pi z)\pm i\sin\left(\pi z^2\right)\sinh(2\pi z)}{\sinh(2\pi z)\sinh^2(\pi z)}\\

&=\frac{-\left(1-\frac12\pi^2z^4+O(z^8)\right)\left(1+2\pi^2z^2+O(z^4)\right)+O(z^3)}{2\pi z\left(1+\frac23\pi^2z^2+O(z^4)\right)\pi^2 z^2\left(1+\frac13\pi^2z^2+O(z^4)\right)}\\

&=-\frac{1+\pi^2z^2}{2\pi^3z^3}+O(1)\\[10pt]

&\implies\text{residue}=-\frac1{2\pi}

\end{align}

$$

**Result**

Thus,

$$

\begin{align}

\int_0^\infty\frac{\sin(\pi x^2)}{\sinh^2(\pi x)}\,\mathrm{d}x

&=-\frac\pi2\left(-\frac1{2\pi}-\frac1{2\pi}+\frac{\sqrt2}{4\pi}+\frac{\sqrt2}{4\pi}\right)\\[6pt]

&=\frac{2-\sqrt2}{4}

\end{align}

$$

It can be done using contour integration and the calculus of residues.

Sketch: Integrate

$$

f(z) = \frac{e^{i\pi z^2} e^{\pi z}}{\sinh^2 (\pi z) \cosh(\pi z)}

$$

around a rectangular contour with corners at $\pm R$ and $\pm R + i$ and with semicircular indentations of radius $\epsilon$ to avoid the poles at $0$ and $i$, take imaginary parts and let $R\to\infty$, $\epsilon\to 0^+$.

You’ll need to use

$$

f(x)-f(x+i)=\frac{2 e^{i \pi x^2}}{\sinh^2(\pi x)}

$$

together with

$$

\operatorname*{res}_{z=0} \, f(z) = \operatorname*{res}_{z=i} \, f(z) = \frac{1}{\pi}

$$

(since these will each contribute $-i \pi$ times the residue in the limit $\epsilon \to 0^+$)

and

$$

\operatorname*{res}_{z=i/2} \, f(z) = \frac{-1+i}{\pi\sqrt{2}}.

$$

I would write the $\sin(x^2)$ as $(e^{ix^2}-e^{-ix^2})/2i$ and the sinh as $(e^{

x}-e^{-x})/2$. Then I’d maybe put the integrand in the form of $(e^{p_1(x)}+e^{p_2(x)}+\cdots)^{-1}+(e^{p_3(x)}+e^{p_4(x)}+\cdots)^{-1}+\cdots$ where $p_i(x)$ are polynomes with complex coefficients.

I have no clue if that helps, to be honest.

Another idea would be partial integration after multiplying with 1, like:

$\int\mathrm dx 1\cdot f(x)= xf(x)-\int\mathrm dx \; x\cdot f'(x)$

Sometimes this helps to handle a $x^2$ in the argument of a complicated function.

Numeric answer would be possible to get using the following tools:

- Riemann integration
- root-finding algorithm for the equation
- some limit sequence for the infinity giving better and better approximations

Riemann integration is needed to calculate F(x). Basically you’ll need a root-finding algorithm that works with G : R->R functions, and gives a single x as solution. Just move the constant to the other side to get F(x)-F(0)-c=0. with G(x)=F(x)-F(0)-c. The infinity will break the riemann integration, so you’ll need a sequence like { G(a_1)=0, G(a_2)=0, G(a_3)=0, … } to get better and better approximations with a_1,a_2,a_3, … sequence increasing towards infinity. The result then looks like {x_1, x_2,x_3,…} sequence which contains the values of x coming from root-finding algorithm.

But there could be better ways to solve this problem…

EDIT: there is problems with this solution. Namely, the a_i is a constant, not a variable, so root-finding might not be needed after all. All I get is approximation of 0=0.

- Is every regular element of a ring invertible?
- How to find $\lim _{ n\to \infty } \frac { ({ n!) }^{ 1\over n } }{ n } $?
- Improper Random Variables
- Fraction raised to integer power
- Top Cohomology group of a “punctured” manifold is zero?
- Linear basis of sum of kernels of two linear applications from $\mathbb R^4$ to $\mathbb R^2$
- Prove if $(a,p)=1$, then $\{a,2a,3a,…,pa\}$ is a complete residue system modulo $p$.
- Preparation for Putnam?
- Prove that $=$
- Upper Triangular Block Matrix Determinant by induction
- Does this container exist?
- Why the need of Axiom of Countable Choice?
- Two squares in a box.
- Axiom of infinity: What is an inductive set?
- Two Dirichlet's series related to the Divisor Summatory Function and to the Riemann's zeta-function, $\zeta(s)$