Considere la posibilidad de esta integral $(1)$
$$\int_{0}^{\infty}\color{red}{{\gamma+\ln x\over e^x}}\cdot{1-\cos x\over x}\mathrm dx={1\over 2}\cdot{\pi-\ln 4\over 4}\cdot{\pi+\ln 4\over 4}\tag1$$
Recuerdo a un conocido integral para $\gamma$:
$$\int_{0}^{\infty}e^{-x}\ln x\mathrm dx=-\gamma$$ Hacer un intento:
Yo no estoy segura de qué hacer...
Recordar: $\cos x={e^{ix}+e^{-ix}\over 2}$, $(1)$ se convierte en
$$\int_{0}^{\infty}{\gamma+\ln x\over e^x}\cdot{2-e^{ix}-e^{-ix}\over 2x}\mathrm dx\tag2$$
O el uso de $e^{-x}$ serie, a continuación, $(1)$ se convierte en
$$\sum_{n=0}^{\infty}{(-1)^n\over n!}\color{blue}{\int_{0}^{\infty}(\gamma+\ln x)(1-\cos x)x^{n-1}\mathrm dx}\tag3$$
$$\color{blue}{blue}=\int_{0}^{\infty}(\gamma+\ln x)x^{n-1}\mathrm dx-\int_{0}^{\infty}(\gamma+\ln x)\cos(x) x^{n-1}\mathrm dx=I_1-I_2\tag4$$
Integral indefinida de $$I_1={x^n\over n^2}(n\ln x+n\gamma-1)+C$$
Poner en el límite y $I_1$ se bifurca y $I_2$ es una larga IBP y también diverge.
Cómo puede uno demostrar $(1)?$