integration - Solving an integral when using a dummy variable - Mathematics Stack Exchange
In principle, you could also have used the letter $x$ as the dummy variable. But don't ever do it when one or both of the limits of integration involves $x$. ......