I've seen double integrals of the type
$$\int d^3r\,d^3r'\, f(\vec{r})g(\vec{r}-\vec{r}')$$
being solved by making the substitution $\vec{u}=\vec{r}-\vec{r}'$:
$$\int d^3r\,d^3u \,\, f(\vec{r})g(\vec{u})=-\left (\int d^3r \,\, f(\vec{r}) \,\right)\,\,\left( \int d^3u \,\,g(\vec{u})\,\right)$$
I don't understand how can one possibly regard $\vec{r}$ and $\vec{u}$ as independent variables (which is done in this last equal sign).
Note: I post this here because I've seen this done by physicists.