Take spherical polar coordinates with polar angle measured from positive and azimuthal angle :
The derivative matrix is
Expanding its determinant gives . Thus
The inverse formula holds where and ; it excludes the origin and polar axis. These formulas use the general chain rule and determinant construction in solution.