Gradient, Divergence and Curl in Usual Coordinate Systems Albert - - PowerPoint PPT Presentation

gradient divergence and curl in usual coordinate systems
SMART_READER_LITE
LIVE PREVIEW

Gradient, Divergence and Curl in Usual Coordinate Systems Albert - - PowerPoint PPT Presentation

Gradient, Divergence and Curl in Usual Coordinate Systems Albert Tarantola September 15, 2004 Here we analyze the 3-D Euclidean space, using Cartesian, spherical or cylindrical co- ordinates. The words scalar, vector, and tensor mean true


slide-1
SLIDE 1

Gradient, Divergence and Curl in Usual Coordinate Systems

Albert Tarantola September 15, 2004

Here we analyze the 3-D Euclidean space, using Cartesian, spherical or cylindrical co-

  • rdinates. The words scalar, vector, and tensor mean “true” scalars, vectors and tensors,
  • respectively. The scalar densities, vector densities and tensor densities (see main text) are

named explicitly.

slide-2
SLIDE 2

1 Definitions

If x → φ(x) is a scalar field, its gradient is the form defined by Gi = ∇

iφ .

(1) If x → Vi(x) is a vector density field, its divergence is the scalar density defined by D = ∇

iVi .

(2) If x → Fi(x) is a form field, its curl (or rotational) is the vector density defined by Ri = εijk∇jFk . (3)

slide-3
SLIDE 3

2 Properties

These definitions are such that we can replace everywhere true (“covariant”) derivatives by partial derivatives. This gives, for the gradient of a density, Gi = ∇

iφ = ∂iφ ,

(4) for the divergence of a vector density, D = ∇

iVi = ∂iVi ,

(5) and for the curl of a form, Ri = εijk∇jFk = εijk∂jFk (6) [this equation is only valid for spaces without torsion; the general formula is Ri = εijk∇jFk = εijk(∂jFk − 1

2 SjkℓVℓ) ].

These equations lead to particularly simple expressions. For instance, the following table shows that the explicit expressions have the same form for Cartesian, spherical and cylin- drical coordinates (or for whatever coordinate system).

slide-4
SLIDE 4

Cartesian Spherical Cylindrical Gx = ∂xφ Gr = ∂rφ Gr = ∂rφ Gradient Gy = ∂yφ Gθ = ∂θφ Gϕ = ∂ϕφ Gz = ∂zφ Gϕ = ∂ϕφ Gz = ∂zφ D D D Divergence

= = =

∂xVx + ∂yVy + ∂zVz ∂rVr + ∂θVθ + ∂ϕVϕ ∂rVr + ∂ϕVϕ + ∂zVz Rx = ∂yFz − ∂zFy Rr = ∂θF

ϕ − ∂ϕF θ

Rr = ∂ϕFz − ∂zF

ϕ

Curl Ry = ∂zFx − ∂xFz Rθ = ∂ϕFr − ∂rF

ϕ

Rϕ = ∂zFr − ∂rFz Rz = ∂xFy − ∂yFx Rϕ = ∂rF

θ − ∂θFr

Rz = ∂rF

ϕ − ∂ϕFr

slide-5
SLIDE 5

3 Remarks

Although we have only defined the gradient of a true scalar, the divergence of a vector density, and the curl of a form, the definitions can be immediately be extended by “putting bars on” and “taking bars off” (see main text). As an example, from equation 1, we can immediately write the definition of the gradient

  • f a scalar density,

Gi = ∇

iφ ,

(7) from equation 2 we can write the definition of the divergence of a (true) vector field, D = ∇

iVi ,

(8) and from equation 3 we can write the definition of the curl of a form as a true vector, Ri = εijk∇jFk , (9)

  • r a true form,

Rℓ = gℓi εijk∇jFk . (10)

slide-6
SLIDE 6

Although equation 8 seems well adapted to the practical computation of the divergence

  • f a true vector, it is better to use 5 instead. For we have successively

D = ∂iVi

⇐ ⇒

g D = ∂i(g Vi)

⇐ ⇒

D = 1 g ∂i(g Vi) . (11) This last expression provides directly compact expressions for the divergence of a vector. For instance, as the fundamental density g takes, in Cartesian, spherical and cylindrical coordinates, respectively the values 1 , r2 sinθ and r , this leads to the results of the following table. Divergence, Cartesian coordinates : D = ∂Vx ∂x + ∂Vy ∂y + ∂Vz ∂z (12) Divergence, Spherical coordinates : D = 1 r2 ∂(r2Vr) ∂r

+

1 sinθ ∂(sinθ Vθ) ∂θ

+ ∂Vϕ

∂ϕ (13) Divergence, Cylindrical coordinates : D = 1 r ∂(rVr) ∂r

+ ∂Vϕ

∂ϕ + ∂Vz ∂z (14) Replacing the components on the natural basis by the components on the normed basis (see main text) gives Divergence, Cartesian coordinates : D = ∂ Vx ∂x + ∂ Vy ∂y + ∂ Vz ∂z (15) Divergence, Spherical coordinates : D = 1 r2 ∂(r2 Vr) ∂r

+

1 r sinθ ∂(sinθ Vθ) ∂θ

+

1 r sinθ ∂ Vϕ ∂ϕ (16) Divergence, Cylindrical coordinates : D = 1 r ∂(r Vr) ∂r

+ 1

r ∂ Vϕ ∂ϕ + ∂ Vz ∂z (17)

slide-7
SLIDE 7

r

  • ∂r

r

  • ∂ϕ
  • ∂z

These are the formulas given in elementary texts (not using tensor concepts). Similarly, although 10 seems well adapted to a practical computation of the curl, it is better to go back to equation 6. We have, successively, Ri = εijk∂jFk

⇐ ⇒

g Ri = εijk∂jFk

⇐ ⇒

Ri = 1 g εijk∂jFk

⇐ ⇒

Rℓ = 1 g gℓi εijk∂jFk . (18) This last expression provides directly compact expressions for the curl. For instance, as the fundamental density g takes, in Cartesian, spherical and cylindrical coordinates, respectively the values 1 , r2 sinθ and r , this leads to the results of the following table. Rx = ∂yFz − ∂zFy Curl, Cartesian coordinates : Ry = ∂zFx − ∂xFz (19) Rz = ∂xFy − ∂yFx Rr = 1 r2 sinθ(∂θF

ϕ − ∂ϕF θ)

Curl, Spherical coordinates : Rθ = 1 sinθ(∂ϕFr − ∂rF

ϕ)

(20) Rϕ = sinθ (∂rF

θ − ∂θFr)

Rr = 1 r (∂ϕFz − ∂zF

ϕ)

Curl, Cylindrical coordinates : Rϕ = r(∂zFr − ∂rFz) (21) Rz = 1 r (∂rF

ϕ − ∂ϕFr)

slide-8
SLIDE 8

Replacing the components on the natural basis by the components on the normed basis (see main text) gives

  • Rx = ∂y

Fz − ∂z Fy Curl, Cartesian coordinates :

  • Ry = ∂z

Fx − ∂x Fz (22)

  • Rz = ∂x

Fy − ∂y Fx

  • Rr =

1 r sinθ

  • ∂(sinθ

F

ϕ)

∂θ

− ∂

F

θ

∂ϕ

  • Curl, Spherical coordinates

:

  • Rθ = 1

r

  • 1

sinθ ∂ Fr ∂ϕ − ∂(r F

ϕ)

∂r

  • (23)
  • Rϕ = 1

r

  • ∂(r

F

θ)

∂r

− ∂

Fr ∂θ

  • Rr = 1

r

Fz ∂ϕ − ∂(r F

ϕ)

∂z

  • Curl, Cylindrical coordinates

:

  • Rϕ = ∂

Fr ∂z − ∂ Fz ∂r (24)

  • Rz = 1

r

  • ∂(r

F

ϕ)

∂r

− ∂

Fr ∂ϕ

  • These are the formulas given in elementary texts (not using tensor concepts).

Comment: I should remember not to put this back in a table, as it is not very readable: