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