I understand that whenever we have a function to integrate, and we decide to use the method of variable change, what function should we integrate. For example, suppose this problem:
$ \int_{a}^{b}\frac{1}{\sqrt{1-x^{3}}}$ I decided that I will use the new function $u=\sqrt{1-x^{3}}$, and so $du=\frac{-3x^{2}}{2\sqrt{1-x^{3}}}$ or simply $\frac{-3x^{2}}{2u}$
Now, what goal should I keep in my mind when deciding what to put instead of the question mark here: $\int_{a}^{b}? du$ ? Should I just put $1/u$? Or something else?
First, let's change the integral into something that's actually solvable. $$\int\frac{x^2dx}{\sqrt{1-x^3}}$$ The goal of substitution is to get rid of all instances of $x$, including the $dx$ (which is missing in your question). For this integral, the $x^3$ and $x^2dx$ look promising, so let's use $$u=1-x^3$$ $$du = -3x^3dx \implies -\frac{1}{3}du = x^2dx$$ Substituting in $u$ and $du$: $$\int\frac{-\frac{1}{3}du}{\sqrt{u}} = -\frac{1}{3}\int u^{-1/2}du = -\frac{2}{3}u^{1/2} = -\frac{2}{3}\sqrt{u}$$ Reversing the substiution: $$ = -\frac{2}{3}\sqrt{1-x^3}$$ In order to integrate, all of the non-constant variables have to be the same. In this substitution, if $dx$ is not replaced and I get $$\int\frac{x^2dx}{\sqrt{u}},$$ then I can't do the integral since there are multiple moving parts: $x$ and $u$.