Science Fair Projects Ideas - Vector fields in cylindrical and spherical coordinates

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Vector fields in cylindrical and spherical coordinates

Contents

Vector fields in cylindrical coordinates

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

  • ρ is the length of the vector projected onto the X-Y-plane,
  • φ is the angle of the projected vector with the positive X-axis (0 <= φ < 2π),
  • z is the regular z-coordinate.

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

\left[\begin{matrix}     \rho & = & \sqrt{x^2 + y^2} \\     \phi & = & \operatorname{atan2}(y, x) \\     z & = & z \end{matrix}\right.

or inversely by:

\left[\begin{matrix}     x & = & \rho\cos\phi \\     y & = & \rho\sin\phi \\     z & = & z \end{matrix}\right.


Any vector field can be written in terms of the unit vectors as:

\mathbf A = A_x\mathbf{\hat x} + A_y\mathbf{\hat y} + A_z\mathbf{\hat z}                   = A_\rho\boldsymbol{\hat \rho} + A_\phi\boldsymbol{\hat \phi} + A_z\boldsymbol{\hat z}

The cylindrical unit vectors are related to the cartesian unit vectors by:

\begin{bmatrix}\boldsymbol\hat\rho \\ \boldsymbol\hat\phi \\ \boldsymbol\hat z\end{bmatrix}   = \begin{bmatrix} \cos\phi & \sin\phi & 0 \\                    -\sin\phi & \cos\phi & 0 \\                    0 & 0 & 1 \end{bmatrix}     \begin{bmatrix} \mathbf\hat x \\ \mathbf\hat y \\ \mathbf\hat z \end{bmatrix}

Time derivative of a vector field in cylindrical coordinates

To find out how the vector field A changes in time we calculate the time derivatives. In cartesian coordinates this is simply:

\mathbf\dot A = \dot A_x \mathbf\hat x + \dot A_y \mathbf\hat y + \dot A_z \mathbf\hat z

However, in cylindrical coordinates this becomes:

\mathbf\dot A = \dot A_\rho \boldsymbol\hat\rho + A_\rho \boldsymbol\dot\hat\rho    + \dot A_\phi \boldsymbol\hat\phi + A_\phi \boldsymbol\dot\hat\phi   + \dot A_z \boldsymbol\hat z + A_z \boldsymbol\dot\hat z

We need the time derivatives of the unit vectors. They are given by:

\left[\begin{matrix}   \boldsymbol\dot\hat\rho & = & \dot\phi \boldsymbol\hat\phi \\   \boldsymbol\dot\hat\phi & = & - \dot\phi \boldsymbol\hat\rho \\   \boldsymbol\dot\hat z   & = & 0 \end{matrix}\right.

So the time derivative simplifies to:

\mathbf\dot A = \boldsymbol\hat\rho (\dot A_\rho - A_\phi \dot\phi)   + \boldsymbol\hat\phi (\dot A_\phi + A_\rho \dot\phi)   + \boldsymbol\hat z \dot A_z

Gradient, divergence, curl, and laplacian in cylindrical coordinates

The specification of gradient, divergence, curl, and laplacian in cylindrical coordinates can be found in the article Nabla in cylindrical and spherical coordinates.


Vector fields in spherical coordinates

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

  • r is the length of the vector,
  • θ is the angle with the positive Z-axis (0 <= θ <= π),
  • φ is the angle with the X-Z-plane (0 <= φ < 2π).

(r,θ,φ) is given in cartesian coordinates by:

\left[\begin{matrix}     r & = & \sqrt{x^2 + y^2 + z^2} \\     \theta & = & \arccos(z / r) \\     \phi & = & \operatorname{atan2}(y, x) \end{matrix}\right.

or inversely by:

\left[\begin{matrix}     x & = & r\sin\theta\cos\phi \\     y & = & r\sin\theta\sin\phi \\     z & = & r\cos\theta \end{matrix}\right.

Any vector field can be written in terms of the unit vectors as:

\mathbf A = A_x\mathbf{\hat x} + A_y\mathbf{\hat y} + A_z\mathbf{\hat z}                   = A_r\boldsymbol{\hat r} + A_\theta\boldsymbol{\hat \theta} + A_\phi\boldsymbol{\hat \phi}

The spherical unit vectors are related to the cartesian unit vectors by:

\begin{bmatrix}\boldsymbol\hat r \\ \boldsymbol\hat\theta  \\ \boldsymbol\hat\phi \end{bmatrix}   = \begin{bmatrix} \sin\theta\cos\phi & \sin\theta\sin\phi & \cos\theta \\                     \cos\theta\cos\phi & \cos\theta\sin\phi & -\sin\theta \\                     -\sin\phi          & \cos\phi           & 0 \end{bmatrix}     \begin{bmatrix} \mathbf\hat x \\ \mathbf\hat y \\ \mathbf\hat z \end{bmatrix}

Time derivative of a vector field in spherical coordinates

To find out how the vector field A changes in time we calculate the time derivatives. In cartesian coordinates this is simply:

\mathbf\dot A = \dot A_x \mathbf\hat x + \dot A_y \mathbf\hat y + \dot A_z \mathbf\hat z

However, in spherical coordinates this becomes:

\mathbf\dot A = \dot A_r \boldsymbol\hat r + A_r \boldsymbol\dot\hat r    + \dot A_\theta \boldsymbol\hat\theta + A_\theta \boldsymbol\dot\hat\theta   + \dot A_\phi \boldsymbol\hat\phi + A_\phi \boldsymbol\dot\hat\phi

We need the time derivatives of the unit vectors. They are given by:

\begin{bmatrix}\boldsymbol\dot\hat r \\ \boldsymbol\dot\hat\theta  \\ \boldsymbol\dot\hat\phi \end{bmatrix}   = \begin{bmatrix} 0           & \dot\theta & \dot\phi \sin\theta \\                     -\dot\theta & 0          & \dot\phi \cos\theta \\                     -\dot\phi \sin\theta & -\dot\phi \cos\theta & 0 \end{bmatrix}     \begin{bmatrix} \boldsymbol\hat r \\ \boldsymbol\hat\theta \\ \boldsymbol\hat\phi \end{bmatrix}

So the time derivative becomes:

\mathbf\dot A = \boldsymbol\hat r (\dot A_r - A_\theta \dot\theta - A_\phi \dot\phi \sin\theta)   + \boldsymbol\hat\theta (\dot A_\theta + A_r \dot\theta - A_\phi \dot\phi \cos\theta)   + \boldsymbol\hat\phi (\dot A_\phi + A_r \dot\phi \sin\theta + A_\phi \dot\phi \cos\theta)

Gradient, divergence, curl, and laplacian in spherical coordinates

The specification of gradient, divergence, curl, and laplacian in spherical coordinates can be found in the article Nabla in cylindrical and spherical coordinates.

10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice