Edit: The integral needs to be solved with the exact value of u given below.
I am asked to solve the following indefinite integral:
$\int\frac{e^{6x}}{\sqrt{9-e^{12x}}}dx$
By making the substitution $u=\frac{e^{6x}}3$
The first thing I need to do is get the integrand in terms of u, but I'm having trouble actually performing the substitution. I'm guessing the 3 in the u-sub will affect the square root but I can't quite grasp how.
So far I've just calculated the following:
$\frac{du}{dx}=2e^{6x}$ , $\ du = 2e^{6x}dx$ , $\ dx = \frac{du}{2e^{6x}}$
Then I just subbed in the value of dx to the original integral to get:
$\int\frac{e^{6x}}{2e^{6x}\sqrt{9-e^{12x}}}du$
From here I still cannot see how I am supposed to perform the substitution, or if I was better off subbing in u before the value of dx.
$$\int\frac{e^{6x}}{\sqrt{9-e^{12x}}}\space\text{d}x=$$
Substitute $u=e^x$ and $\text{d}u=e^x\space\text{d}x$:
$$\int\frac{u^5}{\sqrt{9-u^{12}}}\space\text{d}u=$$
Substitute $s=u^6$ and $\text{d}s=6u^5\space\text{d}u$:
$$\frac{1}{6}\int\frac{1}{\sqrt{9-s^2}}\space\text{d}s=\frac{1}{6}\int\frac{1}{3\sqrt{1-\frac{s^2}{9}}}\space\text{d}s=$$
Substitute $p=\frac{s}{3}$ and $\text{d}p=\frac{1}{3}\space\text{d}s$:
$$\frac{1}{6}\int\frac{1}{\sqrt{1-p^2}}\space\text{d}p=\frac{\arcsin\left(p\right)}{6}+\text{C}=\frac{\arcsin\left(\frac{e^{6x}}{3}\right)}{6}+\text{C}$$