Suppose that we have $D=[-a,a]\times [-b,b]\subseteq \mathbb{R}^{2}$. How can I transform that region into a new region described by polar coordinates?
If we start by making a graph, we can see that the graph will be a rectangular region that can be partitioned by the diagonals of the rectangle into 4 isosceles triangles. So the region in polar can be written as 4 regions in polar coordinates and one of them is of the form $$D_{1}=\{(r,\theta): \theta\in [-\arctan(b/a),+\arctan(b/a)]; r\in [0,a/\cos(\theta)] =D_{3}$$ $$D_{2}=\{(r,\theta): \theta\in [-\arctan(a/b),+\arctan(a/b)]; r\in [0,b/\cos(\theta)]=D_{4}$$
Is it correct? Would the other regions have a similar scheme or should I change the approach?