Spherical coordinate derivatives

absci2010
Messages
10
Reaction score
0
1. Find the derivatives of the spherical coordinates in terms of df/dx, df/dy, and df/dz.

2. f(x,y,z)
x=rcos\thetasin\varphi
y=rsin\varthetacos\varphi
z=rcos\varphi

3. The Attempt at a Solution [/b]
I took the derivatives of the three equations and I got:
df/dx=rcos\thetacos\varphi(df/d\theta)-rsin\varphisin\theta(df/d\theta)+cos\thetasin\varphi(df/dr)
df/dy=rsin\thetacos\varphi(df/d\varphi)+rsin\varphicos\theta(df/d\theta)+sin\thetasin\varphi(df/dr)
df/dz=-rsin\varphi(df/d\varphi)+cos\varphi(df/dr)

I have three questions about this:
1) Am I taking the derivatives correctly?
2) Can my answer have x, y, and z in it, or does it have to be r, \theta, and \varphi?
3) I think the next step is just algebra. Is the algebra going to be really messy?

Thanks in advance!
 
Physics news on Phys.org
First of all, your expression for x is wrong, it should be

[PLAIN][PLAIN]http://latex.codecogs.com/gif.latex?[/URL][/URL] x = r \sin\theta \sin\varphi

to be consistent with the form of y and z.

That said, I'm confused by the statement of the question. Does it mean find the derivatives of a function f with respect to the spherical coordinates in terms of the derivatives with respect to the Cartesian coordinates? In any case, this question is dealing with applying the chain rule for partial derivatives, as you recognize. However, you seem to have incorrectly applied the chain rule.

[PLAIN][PLAIN]http://latex.codecogs.com/gif.latex?[/URL][/URL] \frac{\partial f}{\partial x} = \frac{\partial r}{\partial x} \frac{\partial f}{\partial r} + \frac{\partial \theta}{\partial x} \frac{\partial f}{\partial \theta} + \frac{\partial \varphi}{\partial x} \frac{\partial f}{\partial \varphi}

I believe you have the reciprocals of the correct factors in your expressions above. However, I believe that the problem is asking for you to express the inverse relationships

[PLAIN][PLAIN]http://latex.codecogs.com/gif.latex?[/URL][/URL] \frac{\partial f}{\partial r} = \frac{\partial x}{\partial r} \frac{\partial f}{\partial x} + \frac{\partial y}{\partial r} \frac{\partial f}{\partial y} + \frac{\partial z}{\partial r} \frac{\partial f}{\partial z}

and so on. In this case we want to express everything on the right-hand side in terms of x,y,z. The algebra is not too bad. Just derive the relationships

[PLAIN][PLAIN]http://latex.codecogs.com/gif.latex?[/URL][/URL] r = \sqrt{x^2+y^2+z^2},

[PLAIN][PLAIN]http://latex.codecogs.com/gif.latex?[/URL][/URL] \cos\varphi = \frac{z}{\sqrt{x^2+y^2+z^2}}

[PLAIN][PLAIN]http://latex.codecogs.com/gif.latex?[/URL][/URL] \sin\theta = \frac{y}{z}

The other trig functions can be eliminated by using simple trig identities.
 
Last edited by a moderator:
absci2010 said:
1. Find the derivatives of the spherical coordinates in terms of df/dx, df/dy, and df/dz.

2. f(x,y,z)
x=rcos\thetasin\varphi
y=rsin\varthetacos\varphi
z=rcos\varphi

There's something wrong here.
Shperical coordinates have one radious and two angles, you got 1 radious and 3 angles.
I usually write:

x=r sin \varphi cos \theta

y=r sin \varphi sin \theta

z=r cos \varphi
 
Sorry, it should be:
x=rcos\thetasin\varphi
y=rsin\thetasin\varphi
z=rcos\varphi
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top