Approaching the following integral in different ways appears to yield different results:
$\int \sqrt{e^x} dx$
Simplifying $\sqrt{e^x}$ to $(e^x)^\frac{1}{2}$ to $e^\frac{x}{2}$. Now, integrating simply takes one over the inner derivative as the factor yielding $2e^\frac{x}{2}$ or $2\sqrt{e^x}$ (cutting the partial integration part short here since it becomes more relevant in the next approach).
Using partial integration and substituting $u = e^x$ and $\frac{du}{dx} = e^x$. The integral becomes $\int \frac{\sqrt{u}}{e^x}du$. This is where one can choose an approach once again:
a) Integrate $e^{-x}\int \sqrt{u}du$ first, equaling $\frac{2}{3}e^{-x}u^{\frac{3}{2}}$. Replacing $e^x$ back for $u$ gives $\frac{2}{3}e^{\frac{3}{2}x - x} = \frac{2}{3}e^{\frac{x}{2}} = \frac{2}{3}\sqrt{e^x}$.
b) Insert $u$ for the $e^x$ denominator to give $\int \frac{\sqrt{u}}{u}du = \int \frac{du}{\sqrt{u}}$. This again becomes $2\sqrt{e^x}$ like approach 1.
The last approach (2b) is also the one Wolfram|Alpha suggests when entering the integral. Recalling approach 1, this also seems to be the true one. This leads to the question: What is wrong with 2a ? Why is the result only one third of the correct result ? I can't spot any errors (I'm a maths A-level student).