I have
$$\begin{aligned}x_{1}&=r\sin(\theta_{1}),\\
x_{2}&=r\cos(\theta_{1})\sin(\theta_{2})\\
x_{3}&=r\cos(\theta_{1})\cos(\theta_{2}).
\end{aligned}
$$
I know how to compute the Jacobian $$\frac{\partial(x_{1},x_{2},x_3)}{\partial(\theta_{1},\theta_{2},r)}$$ directly.
The thing is, there is a way to get this Jacobian that involves a ratio of an upper triangular determinant and a lower triangular determinant. I just cannot figure out how to get this. I'm guessing it's some chain rule thing. Any help will be appreciated. Thanks.