I am trying to determine whether the integral $$\int_0^1 \frac{\sin x}{x} dx$$ can be calculated analytically.
I am aware of the definition of the sine integral function $\text{Si}(x)$, but I haven't been able to find a reference stating whether such an integral can be calculated without resorting to numerical methods.
The usual methods employed to compute the improper integral over the real line, such as via contour integration or by defining $$G(t) = \int_0^1 \frac{\sin x}{x}e^{-tx} dx$$ do not seem to work here.
Can someone give me a hint here?
Since the range of integration is restricted to $[0, 1]$ you can make use of Taylor Series for the sine function:
$$\sin(x) = \sum_{k = 0}^{+\infty} (-1)^{k}\frac{x^{2k+1}}{(2k+1)!}$$
Hence
$$\sum_{k = 0}^{+\infty} \dfrac{(-1)^{k}}{(2k+1)!} \int_0^1 \dfrac{x^{2k+1}}{x}\ \text{d}x$$
The integration is trivial and gives you
$$\sum_{k = 0}^{+\infty} \dfrac{(-1)^{k}}{(2k+1)!} \frac{1}{2 k+1}$$
Then you can go ad libitum with numerical.
Notice that that series is nothing but the expression of the series of \text{Si}(1) (SineIntegral).
The numerical value is, for the sake of completeness, $0.946083(...)$
The value of the series, for some values of $k$ is:
$$k = 2 \to 0.94611$$ $$k = 5 \to 0.946083$$
It takes few terms to obtain a high numerical precision.