This is a question about notation. Suppose I'm giving a worked solution for a definite integral which involves a substitution, and I want to show an intermediate step which includes both the original integrand and the substituted variable.
For example, with the substitution $u = \sin x$:
$\int_0^{\pi/2} \sin^2(x) \cos(x) dx$
$= \int_{0}^{???} u^2 \frac{du}{dx} dx $
$= \int_0^1 u^2 du$
In the middle line where both $u$ and $x$ appear, should the upper limit be given as $\pi/2$ (i.e. defined in terms of $x$) or 1 (i.e. in terms of $u$)? (The lower limit will be 0 either way.)
My interpretation is that the final $dx$ in this expression means it's still an integral in terms of $x$ and so the limits should still be in terms of $x$. But I'm editing some material that does it the other way, and I want to be sure I'm not "correcting" something that's already correct.
If my interpretation is correct, a citeable reference would be useful.