$A$ is just a scalar.
Should the derivative of $Ax$ be $A$ or $A^d$?
Context: I'm trying to evaluate this integral
$$\int\varphi(2^n(x-y))\varphi(2^n(x-y))\mathrm{d}x$$
and I know that
$$\int\varphi(2^n(x-y))\varphi(2^n(x-y))\mathrm{d}(2^n(x-y))=1.$$
$\varphi$ is a function from $\mathbb{R}^d\to \mathbb{R}$.
Since
$$\frac{\mathrm{d}}{\mathrm{d}x}2^n(x-y) = 2^n,$$ we have $$2^{-n}\mathrm{d}(2^n(x-y))= \mathrm{d}x.$$
Substituting into the original integral,
$$\int\varphi(2^n(x-y))\varphi(2^n(x-y))\mathrm{d}x$$ $$=\int\varphi(2^n(x-y))\varphi(2^n(x-y))2^{-n}\mathrm{d}(2^n(x-y))$$ $$=2^{-n}.$$
Have I done this substitution correctly?