How to evaluate the following definite integral? $$\int_0^{\ln3} e^{x-e^x}\,\mathrm dx.$$
Should I use some sort of U Substitution?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityHow to evaluate the following definite integral? $$\int_0^{\ln3} e^{x-e^x}\,\mathrm dx.$$
Should I use some sort of U Substitution?
Use the substitution $u=\mathrm{e}^{x}$, and $\mathrm{d}u=\mathrm{e}^x$, then we get \begin{align*} \int_0^{\ln3}\mathrm{e}^{x-\mathrm{e}^x}\,\mathrm{d}x &= \int_1^3\mathrm{e}^{-u}\,\mathrm{d}u \\ &=\left[-\mathrm{e}^{-u}\right]_1^3 \\ &=\frac{\mathrm{e}^2-1}{\mathrm{e}^3} \end{align*}