I am trying to convert +(1)rxyz into Cylindrical Coordinates using 4 different Wolfram Functions listed below and am not sure that any of them are giving me the correct answer. However, answer 1 looks more correct than any of the rest since it actually appears to have been converted from Cartesian to Cylindrical.
1
∫
0
1-
2
x
∫
-
1-
2
x
1
∫
2
x
2
y
1. Using IntegrateChangeVariables[] function
In[]:=
Inactive[Integrate]1,{x,0,1},y,-+,1IntegrateChangeVariables[%,{r,θ,u},"Cartesian"->"Cylindrical"]
1-
,2
x
1-
,z,2
x
2
x
2
y
Out[]=
1
∫
0
1-
2
x
∫
-
1-
2
x
1
∫
2
x
2
y
Out[]=
1
∫
0
π
2
∫
-
π
2
1
∫
r
2. Using CoordinateTransform[] function
In[]:=
CoordinateTransform"Cartesian""Cylindrical",0,-+CoordinateTransform"Cartesian""Cylindrical",1,
1-
,2
x
2
x
2
y
1-
,12
x
Out[]=
+
1-
,ArcTan0,-2
x
1-
,2
x
2
x
2
y
Out[]=
2-
,ArcTan1,2
x
1-
,12
x
3. Using ToPolarCoordinates[] function
In[]:=
ToPolarCoordinates0,-+
1-
,2
x
2
x
2
y
Out[]=
,ArcTan-+
1+
,2
y
π
2
1-
,2
x
2
x
2
y
In[]:=
ToPolarCoordinates1,
1-
,12
x
Out[]=
,ArcTan
3-
,ArcCos2
x
1
3-
2
x
1-
,12
x
4. Using CoordinateData[] function
In[]:=
CoordinateTransformData"Cartesian""Cylindrical","Mapping",0,-+
1-
,2
x
2
x
2
y
Out[]=
+
1-
,ArcTan0,-2
x
1-
,2
x
2
x
2
y
In[]:=
CoordinateTransformData"Cartesian""Cylindrical","Mapping",1,
1-
,12
x
Out[]=
2-
,ArcTan1,2
x
1-
,12
x