Vector fields in cylindrical and spherical coordinates

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Use American English

In vector calculus and physics, a vector field is an assignment of a vector to each point in a space. When these spaces are in (typically) three dimensions, then the use of cylindrical or spherical coordinates to represent the position of objects in this space is useful in connection with objects and phenomena that have some rotational symmetry about the longitudinal axis, such as water flow in a straight pipe with round cross-section, heat distribution in a metal cylinder, electromagnetic fields produced by an electric current in a long, straight wire, accretion disks in astronomy, and so on. The mathematical properties of such vector fields are thus of interest to physicists and mathematicians alike, who study them to model systems arising in the natural world.

Spherical coordinates (r, θ, φ) as commonly used in physics: radial distance r, polar angle θ (theta), and azimuthal angle φ (phi). The symbol ρ (rho) is often used instead of r.

Note: This page uses common physics notation for spherical coordinates, in which θ is the angle between the z axis and the radius vector r connecting the origin to the point in question, while ϕ is the angle between the projection of the radius vector onto the x−y plane and the x axis. Several other definitions are in use, and so care must be taken in comparing different sources.[1]

Cylindrical coordinate system

Vector fields

Vectors are defined in cylindrical coordinates by (ρ, φ, z), where

  • ρ is the length of the vector projected onto the xy-plane,
  • φ is the angle between the projection of the vector onto the xy-plane (i.e. ρ) and the positive x-axis (0 ≤ φ < 2π),
  • z is the regular z-coordinate.

(ρ, φ, z) is given in Cartesian coordinates by:

[ρϕz]=[x2+y2arctan⁡(y/x)z],   0≤ϕ<2π,

or inversely by: [xyz]=[ρcos⁡ϕρsin⁡ϕz].

Any vector field can be written in terms of the unit vectors as: 𝐀=Ax𝐱̂+Ay𝐲̂+Az𝐳̂=Aρ𝝆̂+Aϕ𝝓̂+Az𝐳̂ The cylindrical unit vectors are related to the Cartesian unit vectors by: [𝝆̂𝝓̂𝐳̂]=[cos⁡ϕsin⁡ϕ0−sin⁡ϕcos⁡ϕ0001][𝐱̂𝐲̂𝐳̂]

Note: the matrix is an orthogonal matrix, that is, its inverse is simply its transpose:

[𝐱̂𝐲̂𝐳̂]=[cos⁡ϕ−sin⁡ϕ0sin⁡ϕcos⁡ϕ0001][𝝆̂𝝓̂𝐳̂]

Time derivative of a vector field

To find out how the vector field A changes in time, the time derivatives should be calculated. For this purpose Newton's notation will be used for the time derivative (𝐀˙). In Cartesian coordinates this is simply: 𝐀˙=A˙x𝐱̂+A˙y𝐲̂+A˙z𝐳̂However, in cylindrical coordinates this becomes: 𝐀˙=A˙ρ𝝆̂+Aρ𝝆̂˙+A˙ϕ𝝓̂+Aϕ𝝓̂˙+A˙z𝒛̂+Az𝒛̂˙The time derivatives of the unit vectors are needed. They are given by: 𝝆̂˙=ϕ˙𝝓̂𝝓̂˙=−ϕ˙𝝆̂𝐳̂˙=0So the time derivative simplifies to:𝐀˙=𝝆̂(A˙ρ−Aϕϕ˙)+𝝓̂(A˙ϕ+Aρϕ˙)+𝐳̂A˙z

Second time derivative of a vector field

The second time derivative is of interest in physics, as it is found in equations of motion for classical mechanical systems. The second time derivative of a vector field in cylindrical coordinates is given by: 𝐀¨=𝝆̂(A¨ρ−Aϕϕ¨−2A˙ϕϕ˙−Aρϕ˙2)+𝝓̂(A¨ϕ+Aρϕ¨+2A˙ρϕ˙−Aϕϕ˙2)+𝐳̂A¨zTo understand this expression, A is substituted for P, where P is the vector (ρ, φ, z).

This means that 𝐀=𝐏=ρ𝝆̂+z𝐳̂.

After substituting, the result is given: 𝐏¨=𝝆̂(ρ¨−ρϕ˙2)+𝝓̂(ρϕ¨+2ρ˙ϕ˙)+𝐳̂z¨In mechanics, the terms of this expression are called.

ρ¨𝝆̂ central outward acceleration
−ρϕ˙2𝝆̂ centripetal acceleration
ρϕ¨𝝓̂ angular acceleration
2ρ˙ϕ˙𝝓̂ Coriolis effect
z¨𝐳̂ Template:Mvar-acceleration

Template:See also

Spherical coordinate system

Vector fields

Vectors are defined in spherical coordinates by (r, θ, φ), where

  • r is the length of the vector,
  • θ is the angle between the positive Z-axis and the vector in question (0 ≤ θ ≤ π), and
  • φ is the angle between the projection of the vector onto the xy-plane and the positive X-axis (0 ≤ φ < 2π).

(r, θ, φ) is given in Cartesian coordinates by: [rθϕ]=[x2+y2+z2arccos⁡(z/x2+y2+z2)arctan⁡(y/x)],   0≤θ≤π,   0≤ϕ<2π, or inversely by: [xyz]=[rsin⁡θcos⁡ϕrsin⁡θsin⁡ϕrcos⁡θ].

Any vector field can be written in terms of the unit vectors as: 𝐀=Ax𝐱̂+Ay𝐲̂+Az𝐳̂=Ar𝒓̂+Aθ𝜽̂+Aϕ𝝓̂

The derivative of spherical basis coordinates are related to the derivative of Cartesian basis coordinates by the Jacobian matrix:

[d𝐱d𝐲d𝐳]=[∂x∂r∂x∂θ∂x∂ϕ∂y∂r∂y∂θ∂y∂ϕ∂z∂r∂z∂θ∂z∂ϕ][d𝒓d𝜽d𝝓]

Normalizing the Jacobian matrix so that the spherical basis vectors have unit length we get:

[𝐱̂𝐲̂𝐳̂]=[sin⁡θcos⁡ϕcos⁡θcos⁡ϕ−sin⁡ϕsin⁡θsin⁡ϕcos⁡θsin⁡ϕcos⁡ϕcos⁡θ−sin⁡θ0][𝒓̂𝜽̂𝝓̂]

Template:Collapse top

d𝐫=∑i∂𝐫∂xidxi=∑i|∂𝐫∂xi|∂𝐫∂xi|∂𝐫∂xi|dxi=∑i|∂𝐫∂xi|dxi𝒙̂i, that is, the change in 𝐫 is decomposed into individual changes corresponding to changes in the individual coordinates.

To apply this to the present case, one needs to calculate how 𝐫 changes with each of the coordinates. In the conventions used, 𝐫=[rsin⁡θcos⁡ϕrsin⁡θsin⁡ϕrcos⁡θ],x1=r,x2=θ,x3=ϕ.

Thus, ∂𝐫∂r=[sin⁡θcos⁡ϕsin⁡θsin⁡ϕcos⁡θ]=𝐫̂,∂𝐫∂θ=[rcos⁡θcos⁡ϕrcos⁡θsin⁡ϕ−rsin⁡θ]=r𝜽̂,∂𝐫∂ϕ=[−rsin⁡θsin⁡ϕ−rsin⁡θcos⁡ϕ0]=rsin⁡θ𝝓̂.

The desired coefficients are the magnitudes of these vectors: |∂𝐫∂r|=1,|∂𝐫∂θ|=r,|∂𝐫∂ϕ|=rsin⁡θ.


[d𝐫𝐱d𝐫𝐲d𝐫𝐳]=[1⋅d𝐱̂1⋅d𝐲̂1⋅d𝐳̂]=[sin⁡θcos⁡ϕrcos⁡θcos⁡ϕ−rsin⁡θsin⁡ϕsin⁡θsin⁡ϕrcos⁡θsin⁡ϕ−rsin⁡θcos⁡ϕcos⁡θ−rsin⁡θ−0][drdθdϕ]=[sin⁡θcos⁡ϕcos⁡θcos⁡ϕ−sin⁡ϕsin⁡θsin⁡ϕcos⁡θsin⁡ϕcos⁡ϕcos⁡θ−sin⁡θ0][1⋅drr⋅dθrsin⁡θ⋅dϕ]

the last matrix is [d𝒓̂d𝜽̂d𝝓̂]

q.e.d.

see other detail in Spherical_coordinate_system#Integration_and_differentiation_in_spherical_coordinates

Template:Collapse bottom

Note: the matrix is an orthogonal matrix, that is, its inverse is simply its transpose:

[𝒓̂𝜽̂𝝓̂]=[sin⁡θcos⁡ϕsin⁡θsin⁡ϕcos⁡θ cos⁡θcos⁡ϕcos⁡θsin⁡ϕ−sin⁡θ −sin⁡ϕcos⁡ϕ0][𝐱̂𝐲̂𝐳̂]

Time derivative of a vector field

To find out how the vector field A changes in time, the time derivatives should be calculated. In Cartesian coordinates this is simply: 𝐀˙=A˙x𝐱̂+A˙y𝐲̂+A˙z𝐳̂ However, in spherical coordinates this becomes: 𝐀˙=A˙r𝒓̂+Ar𝒓̂˙+A˙θ𝜽̂+Aθ𝜽̂˙+A˙ϕ𝝓̂+Aϕ𝝓̂˙ The time derivatives of the unit vectors are needed. They are given by: 𝒓̂˙=θ˙𝜽̂+ϕ˙sin⁡θ𝝓̂𝜽̂˙=−θ˙𝒓̂+ϕ˙cos⁡θ𝝓̂𝝓̂˙=−ϕ˙sin⁡θ𝒓̂−ϕ˙cos⁡θ𝜽̂ Thus the time derivative becomes: 𝐀˙=𝒓̂(A˙r−Aθθ˙−Aϕϕ˙sin⁡θ)+𝜽̂(A˙θ+Arθ˙−Aϕϕ˙cos⁡θ)+𝝓̂(A˙ϕ+Arϕ˙sin⁡θ+Aθϕ˙cos⁡θ)

See also

References