Why Does the Derivative Transformation Use Cosine in Spherical Coordinates?

  • Thread starter Thread starter dingo_d
  • Start date Start date
  • Tags Tags
    Jackson Topic
Click For Summary

Homework Help Overview

The discussion revolves around the transformation of derivatives in spherical coordinates, specifically addressing the relationship between Cartesian and spherical coordinate systems in the context of a uniformly magnetized sphere and magnetic potential.

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand why the derivative transformation includes cosine when changing variables from Cartesian to spherical coordinates. They express confusion regarding the relationship between the variables.
  • Some participants clarify the relationship by referencing the formula for the radius in spherical coordinates and the corresponding partial derivatives.
  • Others suggest that the relationship between partial derivatives in different coordinate systems is more complex than a simple reciprocal comparison.

Discussion Status

The discussion has seen some clarification regarding the transformation of derivatives, with participants providing insights into the mathematical relationships involved. However, there remains a level of uncertainty regarding the original poster's understanding of the transformation process.

Contextual Notes

Participants are discussing the implications of using different coordinate systems and the associated transformations, which may involve assumptions about the relationships between variables in those systems.

dingo_d
Messages
199
Reaction score
0

Homework Statement



There is one thing I'm not getting in this problem. It's about uniformly magnetized sphere. In solving the problem with formula for magnetic potential:

\phi_M=-\nabla\cdot\int\frac{\vec{M}}{|\vec{r}-\vec{r}'|}d^3r'

At one point a change of variable for differentiation is made

\frac{\partial}{\partial z}=\frac{\partial r}{\partial z}\frac{\partial}{\partial r}

And he says that \frac{\partial r}{\partial z}=\cos\theta. But I can't see that. If I'm using the formula for spherical coordinate system transformation: z=r\cos\theta I don't get just cosine, I get 1/cosine :\

So what formula is he using?

Thanks
 
Physics news on Phys.org
He is using r = \sqrt {x^2 + y^2+z^2}, and then
<br /> \frac{\partial r}{\partial z} = \frac{z}{r} = cos{(\theta)}<br />
 
Since r = \sqrt{ x^2 + y^2 + z^2},

\frac{\partial r }{\partial z} = \frac{z}{r},

which leads to the formula from the text. I think you're making a mistake because the partial derivatives in spherical and Cartesian coordinates are related by a 3x3 matrix, so it's not enough to merely compare reciprocals.
 
oh! I see, thanks :D
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
5
Views
2K
Replies
29
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
4K
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K