Positive $T$ satisfying $\int_T^\infty x^{-\log{x}} dx = \int_0^Tx^{-\log{x}}dx$ A while ago I started reading these notes on special functions, but I got stuck trying to find all positive numbers $T$ satisfying $$\int_T^\infty x^{-\log{x}} dx = \int_0^Tx^{-\log{x}}dx$$
I noticed the integrand is $e^{-(\log{x})^2}$, but this isn't quite a Gaussian because the former is missing a factor of $x^{-1}$. Based on the straightforwardness of the other problems, I suspect there is a clever way of doing this, but unfortunately I'm not seeing it at the moment.
Hints would be greatly appreciated! Complete solutions are alright too, but in that case would you please use spoiler formatting? Thanks!
 A: 
 $\displaystyle T=\sqrt{\mathrm e}$

Hint: Starting from your remark, use the change of variable $t=\sqrt2\log x$ to transform everything into gaussian integrals $\Phi(t)=\frac1{\sqrt{2\pi}}\int\limits_{-\infty}^t\mathrm e^{-s^2/2}\mathrm ds$ for some suitable values of $t$. Use identities such as $\Phi(+\infty)=1$ and a second change of variables $s=t-\frac1{\sqrt2}$ to reach an equation solved by $\sqrt2\log T$. Inverting this equation should yield something similar to the spoiler above.
If nothing works, post a comment to complain.
A: First of all, there is only one such number, because the integrand in positive, bounded from above and converges at $\infty$. The integrand $x^{-\log x} dx$ can be rewritten as $ x^{1-\log x}dx/x = e^{\log x - (\log x)^2} d(\log x) = e^{u-u^2}du $ where $u=\log x$, and this can be rewritten as $e^{1/4-v^2}dv$ where $v=u-1/2$. Finally, $x=0$ corresponds to $v=-\infty$ and $x=\infty$ corresponds to $v=\infty$. The $T$ you are looking for corresponds to $v=0$, which gives you $\log T -1/2 =0$, or $T=\sqrt e$.    
