- #1
Another
- 104
- 5
Moved from a technical forum, so homework template missing
Show that ##\int_{0}^{\infty} e^{-x}ln(x)\,dx = -\gamma ## when ##\gamma## is Euler–Mascheroni constant
My solution is ...
## u = ln(x) ## and ## du = \frac{dx}{x}##
## dv = e^{-x} dx## and ## v = -e^{-x}##
so... ##\int_{0}^{\infty} e^{-x}ln(x)\,dx = -ln(x)e^{-x}+\int_{0}^{\infty}\frac{e^{-x}}{x} \,dx##
when ##e^{-x}=\sum_{n=0}^{\infty}\frac{(-x)^n}{n!}=\sum_{n=0}^{\infty}\frac{(-1)^n(x)^n}{n!}##
##\frac{e^{-x}}{x}=\frac{1}{x}-1+\frac{x}{2!}-\frac{x^2}{3!}+...##so...##-ln(x)e^{-x}+\int_{0}^{\infty}\frac{e^{-x}}{x} \,dx = -ln(x)e^{-x}+\int_{0}^{\infty}[\frac{1}{x}-1+\frac{x}{2!}-\frac{x^2}{3!}+... ]\,dx##
##= -ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}##
##\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}=\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)\right\}+\lim_{{x}\to{0}}\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}##
##\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}=\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)\right\}+0##
and
##\lim_{{x}\to{\infty}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}## ##=\lim_{{x}\to{\infty}}-ln(x)e^{-x}+\lim_{{x}\to{\infty}}\left\{ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!} \right\}##
##\lim_{{x}\to{\infty}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}=0+\lim_{{x}\to{\infty}}\left\{ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!} \right\}##
finally...
##\int_{0}^{\infty} e^{-x}ln(x)\,dx =\lim_{{x}\to{\infty}}\left\{ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!} \right\}-\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)\right\}##
How to solution ##\int_{0}^{\infty} e^{-x}ln(x)\,dx = -\gamma ##??
My solution is ...
## u = ln(x) ## and ## du = \frac{dx}{x}##
## dv = e^{-x} dx## and ## v = -e^{-x}##
so... ##\int_{0}^{\infty} e^{-x}ln(x)\,dx = -ln(x)e^{-x}+\int_{0}^{\infty}\frac{e^{-x}}{x} \,dx##
when ##e^{-x}=\sum_{n=0}^{\infty}\frac{(-x)^n}{n!}=\sum_{n=0}^{\infty}\frac{(-1)^n(x)^n}{n!}##
##\frac{e^{-x}}{x}=\frac{1}{x}-1+\frac{x}{2!}-\frac{x^2}{3!}+...##so...##-ln(x)e^{-x}+\int_{0}^{\infty}\frac{e^{-x}}{x} \,dx = -ln(x)e^{-x}+\int_{0}^{\infty}[\frac{1}{x}-1+\frac{x}{2!}-\frac{x^2}{3!}+... ]\,dx##
##= -ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}##
##\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}=\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)\right\}+\lim_{{x}\to{0}}\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}##
##\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}=\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)\right\}+0##
and
##\lim_{{x}\to{\infty}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}## ##=\lim_{{x}\to{\infty}}-ln(x)e^{-x}+\lim_{{x}\to{\infty}}\left\{ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!} \right\}##
##\lim_{{x}\to{\infty}}\left\{-ln(x)e^{-x}+ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!}\right\}=0+\lim_{{x}\to{\infty}}\left\{ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!} \right\}##
finally...
##\int_{0}^{\infty} e^{-x}ln(x)\,dx =\lim_{{x}\to{\infty}}\left\{ln(x)+\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{n\cdot n!} \right\}-\lim_{{x}\to{0}}\left\{-ln(x)e^{-x}+ln(x)\right\}##
How to solution ##\int_{0}^{\infty} e^{-x}ln(x)\,dx = -\gamma ##??
Last edited: