# Math Insight

### Applet: A change of variables for a dome-shaped domain changes volume

The change of variables $\cvarf$ from spherical to Cartesian coordinates maps the rectangular solid $\dlv^*$ (first panel, in red) onto a dome $\dlv$ (second panel, in blue). A point $(\rho,\theta,\phi)$ in $\dlv^*$ in mapped to a point $(x,yz)=\cvarf(\rho,\theta,\phi)$ in $\dlv$. If one chops up $\dlv^*$ into small boxes, the function $\cvarf$ maps the small boxes of $\dlv^*$ onto curvy regions of different size in $\dlv$. You can explore the mapping by dragging the red box $\dlv^*$ or the blue region in $\dlv$. The region in the other panel moves according to the map. The volume of the blue region varies with the position, illustrating how the map $\cvarf$ stretches the region $\dlv^*$ by different amounts depending on the location.

This applet is found in the pages

List of all applets

#### General information about three.js applets

The applet was made using three.js and requires Javascript as well as a browser that supports WebGL. For most three.js applets, you can drag with the mouse to rotate the view, drag with the right button to pan, and zoom in/out with the mouse wheel. Many applets contain points that you can drag to change values of variables.