You are on page 1of 8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

Vector Derivatives Cylindrical Coordinates - Rhea


keyword: divergence, curl, gradient

Contents
1 Vector Derivatives in Cylindrical Coordinates
2 Preliminaries
3 Gradient in Cylindrical Coordinates
4 Divergence in Cylindrical Coordinates
5 Curl in Cylindrical Coordinates
6 The General Case
7 References
8 Questions and comments

Vector Derivatives in Cylindrical Coordinates


by Kilian Cooley, proud Member of the Math Squad.
INTRODUCTION
Vector derivatives provide a concise way to express vector equations in a way independent of the particular coordinate system being used,
while making underlying physics more apparent. Compare, for example, the Navier-Stokes equations in vector form:

With the Navier-Stokes equations in terms of partial derivatives in Cartesian coordinates

https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

1/8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

Not only does the first style involve less writing, it is also "portable" among any coordinate system you care to define. The subtle point is
that although the equation remains the same, the expressions for the divergence and gradient do depend on the coordinate system. Writing
out the three components of the vector Navier-Stokes equations in cylindrical coordinates would introduce different derivatives and
coefficients of those derivatives. Those coefficients are not necessarily obvious, and deriving them is usually tedious if not difficult.
In Cartesian coordinates, gradient, divergence, and curl are defined as below, where n is the number of spatial dimensions involved. If
x1 ,x2 ,...,xn are the coordinate directions and

are the unit vectors in those directions, then

Based on this definition, one might expect that in cylindrical coordinates, the gradient operation would be

By simply taking the partial derivatives of with respect to each coordinate direction, multiplying each derivative by the corresponding
unit vector, and adding the resulting components together. This is actually not correct for coordinate systems other than Cartesian. One
could arrive at the correct formula for the gradient by performing many changes of variables, and repeat the process for the other vector
derivatives. However that approach has many opportunities for error and does not produce much insight as to why the coefficients are what
they are. This tutorial shows a different way to arrive at the same results but more compactly.

Preliminaries
This tutorial will denote vector quantities with an arrow atop a letter, except unit vectors that define coordinate systems which will have a
hat. 3-D Cartesian coordinates will be indicated by x,y,z and cylindrical coordinates with r,,z.

This tutorial will make use of several vector derivative identities. In particular, these:
https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

2/8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

On some occasions we will also have to translate between partial derivatives in various coordinate systems. Start with the multivariate
chain rule:

In matrix form:

The entries of the square matrix come from the coordinate transformation itself:

This gives the partial derivatives with respect to cylindrical coordinate variables in terms of partial derivatives with respect to Cartesian
coordinate variables. We can go the other way by inverting this linear system:

Note that can be any scalar field for which all partial derivatives exist, including the coordinate variables themselves.
We are now ready to tackle the gradient in cylindrical coordinates.

Gradient in Cylindrical Coordinates


Obviously, the gradient can be written in terms of the unit vectors of cylindrical and Cartesian coordinate systems as
https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

3/8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

Where a,b,c are coefficients to be determined. We can single out components of the left-hand side by taking dot products with the
cylindrical unit vectors. This approach yields three equations:

Solve for a,b by substituting into the first two of these equations the first two rows of the change-of-variable matrix:

So the gradient expression we sought turns out to be

Divergence in Cylindrical Coordinates


We want an expression for

That involves only derivatives in cylindrical coordinates. Using the vector identity mentioned in the preliminaries, this equation can be
expanded as:

The terms involving gradients of the components of the vector field simplify to the partial derivatives of components with respect to their
corresponding directions, multiplied by the coefficients found in the previous section:

So a divergence "correction" must be applied, which arises from the divergence of the unit vector fields. Technically the unit "vectors"
referred to in this tutorial are actually vector fields, since the unit vectors of a coordinate system are defined at all points in space (other than
zero, at least).

https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

4/8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

So we're interested now in the divergences these fields in order to complete the previous equation. But, since the divergence operator is the
same for all coordinate systems, we can use its implementation in Cartesian coordinates just as well as the one in cylindrical coordinates.
Obviously we so far only know divergence in Cartesian form, so that's what we'll use.
One is very easy:

And the other two require use of the chain rule:

https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

5/8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

In the Preliminaries section, we derived a matrix equation relating the derivatives of a scalar function in Cartesian coordinates to its
derivatives in cylindrical coordinates. Since was allowed to be any scalar function, we can set = to obtain

Now substitute these expressions for the derivatives of into the expressions for divergences of the unit vector fields:

So the expression for the divergence is:

The reason that the divergence expression is not as simple as it is in Cartesian coordinates is that one of the unit vector fields is not
divergenceless (or solenoidal). Put another way, if you imagine the radial unit vectors as the velocity of some fluid, then an infinitesimal
region at each point has a greater volume of fluid leaving it than entering it.

Curl in Cylindrical Coordinates


We could derive the formula for curl in a similar fashion.

However as you can see, the presence of cross products makes some tedious and error-prone computations unavoidable. Suffice to say that,
although far from obvious, the curl reduces to

When treated as a "determinant". In the course of the calculations, it turns out that

The General Case


https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

6/8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

The coefficient of 1/r in the cylindrical versions of the vector derivatives essentially reflects how the Cartesian space warps as it is
transformed into the cylindrical space, which is also measured by the divergence of the radial unit vector field. In general, for any coordinate
system there are "scale factors" h1 ,h2 ,h3 such that

Where u1 ,u2 ,u3 are the components of in the x1 ,x2 ,x3 directions respectively. You can check that for cylindrical coordinates h1 = 1,h2 =
r,h3 = 1. These scale factors can be found from the change-of-variables matrices for any coordinate system, using the same steps as in the
gradient section of this tutorial.

References
Gradient from Wolfram MathWorld
Divergence from Wolfram MathWorld
Curl from Wolfram MathWorld

Questions and comments


If you have any questions, comments, etc. please, please please post them below:
Comment / question 1
Comment / question 2
Back to Math Squad page

The Spring 2013 Math Squad 2013 was supported by an anonymous gift
to Project Rhea. If you enjoyed reading these tutorials, please help Rhea
"help students learn" with a donation to this project. Your contribution is
greatly appreciated.

Retrieved from "https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates"


Categories: Math | Tutorial | Calculus | Formulas | Math squad

Shortcuts

Help Main Wiki Page Log in with your Purdue


Account to Edit Content

Search

https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

7/8

11/6/2014

Vector Derivatives Cylindrical Coordinates - Rhea

Assimi Content Search


Title Search
Alumni Liaison
EISL lab graduate
Read more...

Mu Qiao
This page was last modified on 23 September 2014, at 09:41. This page has been accessed 12,326 times.

https://www.projectrhea.org/rhea/index.php/Vector_Derivatives_Cylindrical_Coordinates

8/8

You might also like