Suppose $M=\varphi(A)$ a parametrized $k$-manifold in $\mathbb R^n$, given a diffeomorphism $g$ in $\mathbb R^n$, $N=g(M)$ is still a parametrized $k$-manifold. Now for a scalar function $f:N\to\mathbb R$, is it true that $$\int_N fdV=\int_{M}(f\circ g)|\det Dg|dV$$?
What I have concluded so far: I am able to show that $$\int_N fdV=\int_A (f\circ g\circ\varphi)V(D(g\circ\varphi)=\int_A(f\circ g\circ\varphi)\frac{V(D(g\circ\varphi))}{V(D\varphi)}V(D\varphi)=\int_A(f\circ g\circ\varphi)(\tilde J\circ\varphi)V(D\varphi)=\int_M(f\circ g)\tilde JdV$$ where $\tilde J$ is defined to be $$\tilde J=\frac{V(D(g\circ\varphi))}{V(D\varphi)}\circ\varphi^{-1}=\frac{\det\left[(D\varphi_{\varphi^{-1}})^T(Dg)^T(Dg)(D\varphi_{\varphi^{-1}})\right]^{1/2}}{\det\left[(D\varphi_{\varphi^{-1}})^T(D\varphi_{\varphi^{-1}})\right]^{1/2}}$$ It leaves to show $\tilde J=|\det Dg|$. If $D\varphi$ are square matrices, then the determinant can be factored which gives us the result but that is just a regular change of variables.
I know from computation experiences that, for example, one can change a 2-surface in $\mathbb R^3$ from Cartesian coordinate to spherical coordinate by simply multiplying $|\det Dg|=\rho^2\sin\theta$ just like treating them as open sets in $\mathbb R^3$. I have also tried a few computations for spherical coordinates, it seems that regardless of the choice of $\varphi$, $\tilde J$ defined above indeed equals to $|\det Dg|$. I wonder if this generally holds for all parametrized manifolds? My intuition tells me an $n$-diffeomorphism does not necessarily work for $k$-volume. Thank you in advance for answering.