This is from Munkres' Analysis on Manifolds, Section 17, Question 4.
(a) Show that $$ \int_\Bbb {R^2} e^{-(x^2+y^2)} = \left[ \int_\Bbb R e^{-x^2}\right]^2,$$ provided the first of these integrals exists.
(b) Show that the first of these integrals exists and evaluate it.
So using the change of variable equation with $g(x,y) = (x\cos(y), x\sin(y))$, you get $$\int e^{-x^2}x.$$ However, this does not even equal the same thing as the original integral.
This is known as the problem of the Gaussian Integral. Some very useful information on this problem, including the careful derivation and evaluation, can be found here.