Integral of $$$2^{\sqrt{x}}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int 2^{\sqrt{x}}\, dx$$$.
Solution
Change the base:
$${\color{red}{\int{2^{\sqrt{x}} d x}}} = {\color{red}{\int{e^{\sqrt{x} \ln{\left(2 \right)}} d x}}}$$
Let $$$u=\sqrt{x} \ln{\left(2 \right)}$$$.
Then $$$du=\left(\sqrt{x} \ln{\left(2 \right)}\right)^{\prime }dx = \frac{\ln{\left(2 \right)}}{2 \sqrt{x}} dx$$$ (steps can be seen »), and we have that $$$\frac{dx}{\sqrt{x}} = \frac{2 du}{\ln{\left(2 \right)}}$$$.
Thus,
$${\color{red}{\int{e^{\sqrt{x} \ln{\left(2 \right)}} d x}}} = {\color{red}{\int{\frac{2 u e^{u}}{\ln{\left(2 \right)}^{2}} d u}}}$$
Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=\frac{2}{\ln{\left(2 \right)}^{2}}$$$ and $$$f{\left(u \right)} = u e^{u}$$$:
$${\color{red}{\int{\frac{2 u e^{u}}{\ln{\left(2 \right)}^{2}} d u}}} = {\color{red}{\left(\frac{2 \int{u e^{u} d u}}{\ln{\left(2 \right)}^{2}}\right)}}$$
For the integral $$$\int{u e^{u} d u}$$$, use integration by parts $$$\int \operatorname{\theta} \operatorname{dv} = \operatorname{\theta}\operatorname{v} - \int \operatorname{v} \operatorname{d\theta}$$$.
Let $$$\operatorname{\theta}=u$$$ and $$$\operatorname{dv}=e^{u} du$$$.
Then $$$\operatorname{d\theta}=\left(u\right)^{\prime }du=1 du$$$ (steps can be seen ») and $$$\operatorname{v}=\int{e^{u} d u}=e^{u}$$$ (steps can be seen »).
So,
$$\frac{2 {\color{red}{\int{u e^{u} d u}}}}{\ln{\left(2 \right)}^{2}}=\frac{2 {\color{red}{\left(u \cdot e^{u}-\int{e^{u} \cdot 1 d u}\right)}}}{\ln{\left(2 \right)}^{2}}=\frac{2 {\color{red}{\left(u e^{u} - \int{e^{u} d u}\right)}}}{\ln{\left(2 \right)}^{2}}$$
The integral of the exponential function is $$$\int{e^{u} d u} = e^{u}$$$:
$$\frac{2 \left(u e^{u} - {\color{red}{\int{e^{u} d u}}}\right)}{\ln{\left(2 \right)}^{2}} = \frac{2 \left(u e^{u} - {\color{red}{e^{u}}}\right)}{\ln{\left(2 \right)}^{2}}$$
Recall that $$$u=\sqrt{x} \ln{\left(2 \right)}$$$:
$$\frac{2 \left(- e^{{\color{red}{u}}} + {\color{red}{u}} e^{{\color{red}{u}}}\right)}{\ln{\left(2 \right)}^{2}} = \frac{2 \left(- e^{{\color{red}{\sqrt{x} \ln{\left(2 \right)}}}} + {\color{red}{\sqrt{x} \ln{\left(2 \right)}}} e^{{\color{red}{\sqrt{x} \ln{\left(2 \right)}}}}\right)}{\ln{\left(2 \right)}^{2}}$$
Therefore,
$$\int{2^{\sqrt{x}} d x} = \frac{2 \left(\sqrt{x} e^{\sqrt{x} \ln{\left(2 \right)}} \ln{\left(2 \right)} - e^{\sqrt{x} \ln{\left(2 \right)}}\right)}{\ln{\left(2 \right)}^{2}}$$
Simplify:
$$\int{2^{\sqrt{x}} d x} = \frac{2 \left(\sqrt{x} \ln{\left(2 \right)} - 1\right) e^{\sqrt{x} \ln{\left(2 \right)}}}{\ln{\left(2 \right)}^{2}}$$
Add the constant of integration:
$$\int{2^{\sqrt{x}} d x} = \frac{2 \left(\sqrt{x} \ln{\left(2 \right)} - 1\right) e^{\sqrt{x} \ln{\left(2 \right)}}}{\ln{\left(2 \right)}^{2}}+C$$
Answer
$$$\int 2^{\sqrt{x}}\, dx = \frac{2 \left(\sqrt{x} \ln\left(2\right) - 1\right) e^{\sqrt{x} \ln\left(2\right)}}{\ln^{2}\left(2\right)} + C$$$A