Integrate, $$\int_{0}^{\frac{\pi}{2}}\sin (\tan\theta) \mathrm{d\theta}$$
|
First, make the change of variables $ x = \arctan(t) $ to transform the integral t0 $$\int_{0}^{\frac{\pi}{2}}\sin (\tan\theta) \mathrm{d\theta} = \int_{0}^{\infty}\frac{\sin(t)}{t^2+1} {dt} \\ = -\frac{1}{2}\,{{\rm e}^{-1}}{ \operatorname {E_1} } \left( -1 \right) +\frac{1}{2}\,{{\rm e}}\,{\operatorname{E_1}} \left( 1 \right) - \frac{1}{2}\,i\pi \,{{\rm e}^{-1}}$$ where $\operatorname{E}_a(z)$ is the exponential integral $$ \operatorname{E}_a \left( z \right) =\int _{1}^{\infty }\!{{\rm e}^{-{t}z}}{{ t}}^{-a }{d{ t}}.$$ To see the details of evaluation of the last integral see here. |
|||||||||||
|
|
Making a change of variables $u=\tan(\theta)$: $$ \int_0^{\pi/2} \sin\left(\tan \theta\right) \mathrm{d} \theta = \int_0^\infty \frac{\sin(u)}{1+u^2} \mathrm{d} u \tag{1} $$ In order to evaluate this we use the technique of Mellin transform.
Thus we have the result: $$\begin{eqnarray} \int_0^\infty \frac{\sin u}{1+u^2} \mathrm{d} u &=& \sum_{k=0}^\infty \frac{\psi(2k+2)}{\Gamma(2k+2)} = \frac{1}{2} \left( \sum_{k=0}^\infty \frac{\psi(k+1)}{\Gamma(k+1)} - \sum_{k=0}^\infty (-1)^k \frac{\psi(k+1)}{\Gamma(k+1)}\right) \\ &=& \frac{1}{2} \left(f(1) - f(-1)\right) = \frac{\exp(-1)}{2} \operatorname{Ei}(1) - \frac{\exp(1)}{2} \operatorname{Ei}(-1) \end{eqnarray} $$ where $\operatorname{Ei}(x)$ denotes the exponential integral special function. We now proceed to prove that, for real non-zero $x$: $$ f(x) = \sum_{k=0}^\infty x^k \frac{\gamma(k+1)}{\Gamma(k+1)} = \mathrm{e}^{x} \left( \frac{1}{2} \log(x^2) - \operatorname{Ei}(-x) \right)$$ Indeed, denoting the Euler-Mascheroni constant as $C$, and using $H_n = -\sum_{k=1}^n \frac{(-1)^k}{k} \binom{n}{k}$: $$\begin{eqnarray} \sum_{k=0}^\infty x^k \frac{\gamma(k+1)}{\Gamma(k+1)} &=& \sum_{k=0}^\infty x^k \frac{-C +H_{k}}{k!} = - C \mathrm{e}^{x} - \sum_{k=1}^\infty \frac{x^k}{k!} \sum_{m=1}^k \frac{(-1)^m}{m} \binom{k}{m} \\ &=& -C \mathrm{e}^{x} - \sum_{m=0}^\infty \frac{x^m}{m!} \sum_{k=1}^\infty \frac{(-x)^k}{k \cdot k!} = -C \mathrm{e}^{x} - \mathrm{e}^{x} \left( \operatorname{Ei}(-x) - \log |x| -C \right) \\ &=& \mathrm{e}^{x} \left( \log |x| - \operatorname{Ei}(-x) \right) \end{eqnarray}$$ |
|||
|
|

