Suppose x=x(u,v), y=y(u,v). The change of variables formula in multivariate case is
where the Jacobian J is given by