Help on Jacobian Matrix for Cartesian to Spherical

Click For Summary
SUMMARY

The discussion focuses on deriving the Jacobian matrix for the transformation from Cartesian to spherical coordinates directly, rather than using the inverse of the Jacobian from spherical to Cartesian coordinates. The provided Jacobian matrix for spherical to Cartesian is given as a 3x3 matrix involving sine and cosine functions. The user attempts to derive the Cartesian to spherical Jacobian but encounters difficulties due to the dependencies of the angles on the Cartesian coordinates. The conclusion suggests that while direct derivation is possible, using the inverse matrix method is more straightforward.

PREREQUISITES
  • Understanding of Jacobian matrices in multivariable calculus
  • Familiarity with spherical and Cartesian coordinate systems
  • Knowledge of partial derivatives and their applications
  • Experience with trigonometric functions and their derivatives
NEXT STEPS
  • Research the derivation of Jacobian matrices in multivariable calculus
  • Study the relationship between Cartesian and spherical coordinates
  • Learn about the total derivative and its application in transformations
  • Explore the computational methods for matrix inversion in calculus
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with coordinate transformations and require a deeper understanding of Jacobian matrices.

WannabeNewton
Science Advisor
Gold Member
Messages
5,850
Reaction score
553
Hi. First off I don't know if this is the right topic area for this question so I'm sorry if it isn't.
So my current situation is that I can find the jacobian matrix for a transformation from spherical to cartesian coordinates and then take the inverse of that matrix to get the mapping from cartesian to spherical. But this inverse matrix has sin, cos terms etc. I was hoping if someone could give me the jacobian matrix for cartesian to spherical directly using: the functions of the cartesian coordinates to give the spherical coordinates. I cannot find it anywhere online as every site simply has it in the inverse matrix form and I have no way of really checking myself.
 
Physics news on Phys.org
I was wondering the same thing--or maybe the opposite. This page for instance, gives the jacobian matrix:
\left[\begin{array}{ccc}<br /> sin(\theta)cos(\phi) &amp; sin(\theta)sin(\phi) &amp; cos(\theta) \\ r cos(\theta)cos(\phi) &amp; r cos(\theta)sin(\phi) &amp; -r sin(\theta) \\ -r sin(\theta)sin(\phi) &amp; r sin(\theta)cos(\phi) &amp; 0<br /> \end{array}\right]
which the author finds by calculating the total derivative for the spherical coordinates.I tried to do the same thing going the other direction and got:
<br /> \frac{\partial}{{\partial}x} =\frac{{\partial}r}{{\partial}x}\frac{\partial}{{\partial}r} + \frac{{\partial}\theta}{{\partial}x}\frac{{\partial}}{{\partial}\theta}+\frac{{\partial}\phi}{{\partial}x}\frac{{\partial}}{{\partial}\phi}<br /> =\frac{1}{sin(\theta)cos(\phi)}\frac{\partial}{{\partial}r}+\frac{1}{r cos(\theta)cos(\phi)}\frac{\partial}{{\partial}\theta}+\frac{-1}{r sin(\theta)sin(\phi)}\frac{\partial}{{\partial}\phi}<br />
which is not what you would calculate using the inverse matrix. I suspect the problem is that I used \frac{{\partial}r}{{\partial}x}=\frac{1}{\frac{{\partial}x}{{\partial}r}}
After finding this thread I think the reason this doesn't work is because phi and theta depend on y and z, so you need explicitly figure out that dependence:
<br /> x=r sin(\theta)cos(\phi)=r sin(arcsin(z/r))cos(arcsin(\frac{y}{r sin(\theta)}))=\sqrt{r^2-z^2}\sqrt{1-\frac{y^2}{r^2-z^2}}=\sqrt{r^2-z^2-y^2}<br />
Now you can take the derivative of this with respect to r while holding z and y constant and then make some substitutions and take the reciprocal. Then repeat for the other partials involved...

Presumably there's an easier way to do this since finding the matrix inverse works just as well and I don't think it would require as much work
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K