I have a question regarding the use of dummy variables in Fourier Transforms. More specifically, the replacement of a dummy variable of integration inside an integral with another. One of the steps in my textbook required to prove the inverse Fourier transform from the Fourier transform involves a dummy variable such that the following must be true:
$$\psi(x)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} \phi(k)e^{ikx}dk=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} \phi(u)e^{iux}du$$
IF this is true, one can eventually end up reaching the conclusion that:
$$\phi(k)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}\psi(x)e^{-ikx}dx$$
What I don't fully understand is: how come were allowed to simply switch the $k$ for a $u$? I guess a more general question regarding the specific part that I have a doubt with is if, in general, one can switch variables in any integral such that the following is always true:
$$\int_{-\infty}^{\infty}f(k)dk=\int_{-\infty}^{\infty}f(u)du$$
For any $k$ and $u$. Any help would be appreaciated.
You can think of this as a u-substitution, so $k=u \text{ and } dk = du$. But this is solely notation - you're looking at the inverse Fourier transform which is $\phi(x)$, which does not depend at all on the dummy variable.
You can't just swap any $k$ for any $u = p(k)$ without also determining the new differential $du = p'(k) dk$.