A closed-form expression for the integral $\int_0^\infty\text{Ci}^{3}(x) \, \mathrm dx$

The answer is $$\int_0^{\infty}\text{Ci}^3x\,dx=-\frac{3\pi\ln 2}{2}.$$ I would like to trade the method of evaluation for convincing story about what made this integral interesting for you. The story should be longer than "a friend of mine told it could be calculated in a closed form".


Update: Not that I was really convinced by the comment below... but for those who would eventually like to figure it out:

  1. Using that $\int\mathrm{Ci}\,x\,dx=x\,\mathrm{Ci}\,x-\sin x$, integrate once by parts. This yields two integrals:
    • $\displaystyle \int_0^{\infty}\frac{\sin 2x}{x}\mathrm{Ci}\,x\,dx=-\frac{\pi}{2}\ln 2$ (computable by Mathematica),
    • $\displaystyle \int_0^{\infty}\cos x \,\mathrm{Ci}^2x\,dx$
  2. Integrating the 2nd expression once again by parts (with $u=\mathrm{Ci}^2x$, $v=\sin x$), one again reduces the problem to computing $\displaystyle \int_0^{\infty}\frac{\sin 2x}{x}\mathrm{Ci}\,x\,dx$.

Expanding on Start wearing purple's answer, the following is an evaluation of $$\int_{0}^{\infty} \frac{\sin (2x)}{x} \, \text{Ci}(x) \, dx .$$

First notice that by making the substitution $ \displaystyle u = \frac{t}{x}$, we get

$$ \text{Ci}(x) = - \int_{x}^{\infty} \frac{\cos (t)}{t} \, dt = - \int_{1}^{\infty} \frac{\cos (xu)}{u} \, du.$$

Therefore,

$$ \int_{0}^{\infty} \frac{\sin 2x}{x} \, \text{Ci}(x) \, dx = - \int_{0}^{\infty} \int_{1}^{\infty} \frac{\sin (2x)}{x} \frac{\cos (xu)}{u} \, du \, dx .$$

Since the iterated integral does not converge absolutely, changing the order of integration is not justified by Fubini's theorem.

But by integrating by parts, we get

$$ \begin{align} \int_{0}^{\infty} \frac{\sin (2x)}{x} \, \text{Ci}(x) \, dx &= \int_{0}^{\infty} \frac{\sin (2x) \sin (x)}{x^{2}} \, dx - \int_{0}^{\infty} \int_{1}^{\infty} \frac{\sin (2x) \sin (xu)}{x^{2}u^{2}} \, du \, dx \\ &= \int_{0}^{\infty} \frac{\sin (2x) \sin (x)}{x^{2}} \, dx - \int_{1}^{\infty} \frac{1}{u^{2}}\int_{0}^{\infty} \frac{\sin (2x) \sin(ux)}{x^{2}} \, dx \, du \, . \end{align}$$

In general, for $a,b \ge 0$, we have $$ \int_{0}^{\infty} \frac{\sin (ax) \sin (bx)}{x^{2}} \ dx = \frac{\pi}{2} \min \{a,b \} .$$

Therefore,

$$ \begin{align} \int_{0}^{\infty} \frac{\sin 2x}{x} \, \text{Ci}(x) \, dx &= \frac{\pi}{2} \, \text{min} \{2,1 \} - \frac{\pi}{2} \int_{1}^{\infty} \frac{1}{u^{2}} \, \text{min} \{2,u \} \, du \\ &= \frac{\pi}{2} - \frac{\pi}{2} \int_{1}^{2} \frac{u}{u^{2}} \, du - \frac{\pi}{2} \int_{2}^{\infty} \frac{2}{u^{2}} \, du \\ &= \frac{\pi}{2} - \frac{\pi}{2} \, \ln 2 - \frac{\pi}{2} \\ &= - \frac{\pi}{2} \, \ln 2 . \end{align}$$