Spherical
Spherical
Spherical
p
r= x2 + y 2 + z 2 x = r sin φ cos θ
z
cos φ = p y = r sin φ sin θ
x2 + y 2 + z 2
y
tan θ = z = r cos φ
x
1
er := ∇r
|∇r|
1
eφ := ∇φ
|∇φ|
1
eθ := ∇θ
|∇θ|
Thus,
x y z
er = p i+ p j+ p k
x2 + y 2 + z 2 x2 + y 2 + z 2 x2 + y 2 + z 2
p
xz yz x2 + y 2
eφ = p p i+ p p j− p k
x2 + y 2 x2 + y 2 + z 2 x2 + y 2 x2 + y 2 + z 2 x2 + y 2 + z 2
y x
eθ = − p i+ p j
x2 + y 2 x2 + y 2
1
It is worth noting that the above computations also imply the following.
R = r er . (spherical coordinates)
If R = R(t) is a parameterized curve, then dR
dt
= dr e + r de
dt r dt
r
. Since er = sin φ cos θ i + sin φ sin θ j + cos φ k,
dφ
der
we have dt = dt (cos φ cos θ i + cos φ sin θ j − sin φ k) + sin φ dθ
dt
(− sin θ i + cos θ j) = dφ e + sin φ dθ
dt φ
e.
dt θ
Thus,
dR dr dφ dθ
= er + r eφ + r sin φ eθ .
dt dt dt dt
Hence, dR = dr er +r dφ eφ +r sin φ dθ eθ and it follows that the element of volume in spherical coordinates
is given by
dV = r2 sin φ dr dφ dθ
If f = f (x, y, z) is a scalar field (that is, a real-valued function of three variables), then
∂f ∂f ∂f
∇f = i+ j+ k.
∂x ∂y ∂z
If we view x, y, and z as functions of r, φ, and θ and apply the chain rule, we obtain
∂f ∂r ∂f ∂φ ∂f ∂θ ∂f ∂r ∂f ∂φ ∂f ∂θ ∂f ∂r ∂f ∂φ
∇f = + + i+ + + j+ + k
∂r ∂x ∂φ ∂x ∂θ ∂x ∂r ∂y ∂φ ∂y ∂θ ∂y ∂r ∂z ∂φ ∂z
2
F = F1 i + F2 j + F3 k
= (sin φ cos θ F1 + sin φ sin θ F2 + cos φ F3 ) er + (cos φ cos θ F1 + cos φ sin θ F2 − sin φ F3 ) eφ
+ (− sin θ F1 + cos θ F2 ) eθ
Thus, F = Fr er + Fφ eφ + Fθ eθ , where
Fr = sin φ cos θ F1 + sin φ sin θ F2 + cos φ F3 F1 = sin φ cos θ Fr + cos φ cos θ Fφ − sin θ Fθ
Fφ = cos φ cos θ F1 + cos φ sin θ F2 − sin φ F3 F2 = sin φ sin θ Fr + cos φ sin θ Fφ + cos θ Fθ
Fθ = − sin θ F1 + cos θ F2 F3 = cos φ Fr − sin φ Fφ
3
After writing the partial derivatives of F1 , F2 , and F3 in terms of Fr , Fφ , Fθ , and their partial derivatives
and simplifying, we obtain
1 ∂ 2 1 ∂ 1 ∂Fθ
∇·F= 2
r Fr + (Fφ sin φ) +
r ∂r r sin φ ∂φ r sin φ ∂θ
∇ × F is handled similarly.
i j k
∂ ∂ ∂
∇×F= ∂x ∂y ∂z
F1 F2 F3
∂F3 ∂F2 ∂F1 ∂F3 ∂F2 ∂F1
= − i+ − j+ − k
∂y ∂z ∂z ∂x ∂x ∂y
∂F3 ∂r ∂F3 ∂φ ∂F3 ∂θ ∂F2 ∂r ∂F2 ∂φ ∂F2
= + + − + + i
∂r ∂y ∂φ ∂y ∂θ ∂y ∂r ∂z ∂φ ∂z ∂θ
∂F1 ∂r ∂F1 ∂φ ∂F3 ∂r ∂F3 ∂φ ∂F3 ∂θ
+ + − + + j
∂r ∂z ∂φ ∂z ∂r ∂x ∂φ ∂x ∂θ ∂x
∂F2 ∂r ∂F2 ∂φ ∂F2 ∂θ ∂F1 ∂r ∂F1 ∂φ ∂F1 ∂θ
+ + + − + + k
∂r ∂x ∂φ ∂x ∂θ ∂x ∂r ∂y ∂φ ∂y ∂θ ∂y
∂F3 cos φ sin θ ∂F3 cos θ ∂F3 ∂F2 sin φ ∂F2
= sin φ sin θ + + − cos φ − i
∂r r ∂φ r sin φ ∂θ ∂r r ∂φ
∂F1 sin φ ∂F1 ∂F3 cos φ cos θ ∂F3 sin θ ∂F3
+ cos φ − − sin φ cos θ + − j
∂r r ∂φ ∂r r ∂φ r sin φ ∂θ
∂F2 cos φ cos θ ∂F2 sin θ ∂F2
+ sin φ cos θ + −
∂r r ∂φ r sin φ ∂θ
∂F1 cos φ sin θ ∂F1 cos θ ∂F1
− sin φ sin θ + + k
∂r r ∂φ r sin φ ∂θ
After writing the partial derivatives of F1 , F2 , and F3 in terms of Fr , Fφ , Fθ , and their partial derivatives
and writing i, j, and k in terms of er , eφ , and eθ and simplifying, we obtain