Professional Documents
Culture Documents
Spherical Coords Note Revised
Spherical Coords Note Revised
f (1.5)
1
Using Eqs.(1.2),(1.4) in the above, we see that:
f =
f
x
x +
f
y
y +
f
z
z (1.6)
This is called the gradient of f. We can think abstractly of a gradient operator:
= x
x
+ y
y
+ z
z
(1.7)
which, acting on f, gives us
A = A
x
x + A
y
y + A
z
z (1.8)
is dened by:
A = ( x
x
+ y
y
+ z
z
) (A
x
x + A
y
y + A
z
z) (1.9)
Here we have used the shorthand
x
=
x
and similarly for y, z derivatives. We will keep
using this in future.
We now evaluate the dot product term by term. The result simplies considerably because
of the relations:
x y = y z = z x = 0, x x = y y = z z = 1 (1.10)
In principle we could also have terms like x
x
y, in which the derivative from the
operator
acts on one of the unit vectors in
A. But here we use the fact, mentioned above, that the
unit vectors in this coordinate system are independent of location:
x
x =
x
y =
x
z =
y
x = = 0 (1.11)
Thus we nally get the simple expression:
A =
x
A
x
+
y
A
y
+
z
A
z
(1.12)
2
The other type of derivative of a vector eld is the curl, dened as the vector cross-product
between
and
A. This time one uses a dierent set of properties of the unit vectors:
x y = z, y z = x, z x = y, x x = y y = z z = 0 (1.13)
together with Eq.(1.11) to nd:
A = (
y
A
z
z
A
y
) x + (
z
A
x
x
A
z
) y + (
x
A
y
y
A
x
) z (1.14)
In physics, the fundamental equations are frequently of second order in derivatives. It is
therefore important to dene the second derivative on a function f. Since we have already
dened
f, we can take its divergence or curl to get such a second derivative. However the
curl turns out to be zero:
f which plays a
very important role in Physics. It is often abbreviated as
2
f and the operator
2
is called
the Laplacian. The rules to obtain the Laplacian are very simple:
2
f =
f = ( x
x
+ y
y
+ z
z
) (
x
f x +
y
f y +
z
f z) (1.15)
Now we simply use Eqs.(1.10) and (1.11) to evaluate the above and arrive at:
2
f =
2
x
f +
2
y
f +
2
z
f (1.16)
This allows us to dene the abstract dierential operator, the Laplacian, as:
2
=
2
x
+
2
y
+
2
z
(1.17)
1.2 Spherical Polar Coordinates
These coordinates are adapted to problems with spherical symmetry. The price we pay is
that the unit vectors in these coordinates change as we move around. This makes the basic
mathematical formulae more complicated than in Cartesian coordinates. The advantage,
however, outweighs the complication: once we master these (slightly complicated) formulae,
they can be easily applied to any physics problem with spherical symmetry. Thus, solution
of actual problems becomes much easier.
The coordinates (r, , ) are dened by:
x = r sin cos , y = r sin sin , z = r cos (1.18)
3
These can be inverted to give:
r =
x
2
+ y
2
+ z
2
, = tan
1
x
2
+ y
2
z
, = tan
1
y
x
(1.19)
Using Ew.(1.18), it is straightforward to express the innitesimals dx, dy, dz in terms of
dr, d, d:
dx = sin cos dr + r cos cos d r sin sin d (1.20)
dy = sin sin dr + r cos sin d + r sin cos d (1.21)
dz = cos dr r sin d (1.22)
Substituting this into Eq.(1.2) and rearranging terms, we nd:
ds = (sin cos x + sin sin y + cos z) dr
+ (cos cos x + cos sin y sin z) r d
+ (sin x + cos y) r sin d (1.23)
Next we need to express the unit vectors r,
,
in terms of x, y, z. This will be a key result
that will enable us to derive everything else we need. To do this, notice that:
r = x x + y y + z z (1.24)
= r sin cos x + r sin sin y + r cos z (1.25)
Hence,
r =
r
r
= sin cos x + sin sin y + cos z (1.26)
Now the unit vectors
and
are both orthogonal (perpendicular) to r. Moreover, it is easy
to see from a picture that
is parallel to the x y plane, i.e. it has vanishing z-component.
These considerations are enough to x the vectors uniquely. We write:
= A x + B y (1.27)
Requiring it to be orthogonal to r means that:
(A x + B y) (sin cos x + sin sin y + cos z) = 0 (1.28)
which in turns leads to:
Acos + B sin = 0 (1.29)
4
Thus upto an overall normalisation, A = sin , B = cos . The normalisation is xed by
requiring
to be of unit length. In fact with A, B as above, the vector:
= sin x + cos y
(1.32)
Notice that, since x, y, z are independent of location in space, it is clear that r,
,
are
explicitly dependent on , (though not on r). This fact was obvious by looking at a
picture, but now we know the exact position-dependence and this will be useful.
Going back now to Eq.(1.23), inserting the boxed equations we nd the simple result:
ds = dr r + r d
+ r sin d
(1.33)
We can now proceed to derive formulae for the gradient, divergence, curl and Laplacian in
spherical polar coordinates. First, consider a function f(r, , ) and impose:
df = ds
f (1.34)
Equating this to
r
f dr +
f d +
f d, we nd:
f =
r
f r +
1
r
f
+
1
r sin
f d
(1.35)
Thus in these coordinates, the gradient operator is:
= r
r
+
1
r
1
r sin
(1.36)
5
Next consider a vector eld
A = A
r
r + A
+ A
. We calculate its divergence:
A =
r
r
+
1
r
1
r sin
(A
r
r + A
+ A
) (1.37)
To evaluate this we have to expand everything out. This is tedious but extremely straight-
forward. One thing we must now keep in mind is that
A =
r
A
r
+
1
r
A
r
r +
1
r
+
1
r
A
+
1
r
A
+
1
r sin
A
r
r + A
+ A
(1.38)
Here we have used the fact that the unit vectors depend on and but not on r. Also we
used the basic relations (satised by any orthonormal set of unit vectors):
r r =
=
= 1, r
=
=
r = 0 (1.39)
Next we need to know the precise variations of the unit vectors with , . It is an easy
exercise to show, starting with the boxed equations, that:
r =
,
= r,
= 0
r = sin
,
= cos
,
= sin r cos
(1.40)
Using this we can evaluate all the dot products in Eq.(1.38) above, to get:
A =
r
A
r
+
1
r
A
r
+
1
r
+
1
r sin
(A
r
sin + A
cos +
) (1.41)
=
r
A
r
+
2
r
A
r
+
1
r
+
1
r sin
+
1
r tan
A
(1.42)
=
1
r
2
r
(r
2
A
r
) +
1
r sin
(sin A
) +
1
r sin
(1.43)
A similar exercise can be carried out for the curl, leading to the formula:
A =
1
r sin
(sin A
r +
1
r
1
sin
A
r
r
(rA
+
1
r
r
(rA
A
r
(1.44)
6
Here we had to use the identities:
r r =
=
= 0 (1.45)
r
=
,
= r,
r =
(1.46)
Finally, for the Laplacian
2
f =
f, we easily nd:
2
f =
1
r
2
r
(r
2
r
f) +
1
r
2
sin
(sin
f) +
1
r
2
sin
2
f (1.47)
7