17.3 The Divergence in Spherical Coordinates (2024)

Home | 18.013A | Chapter 17

ToolsGlossaryIndexUpPreviousNext

When you describe vectors in spherical or cylindric coordinates, that is, write vectors as sums of multiples of unit vectors in the directions defined by these coordinates, you encounter a problem in computing derivatives.

The unit vectors themselves change as you change coordinates, so that the change in your vector consists of terms arising from the changes of the multiples and also those from changes in the unit vectors.

We can find neat expressions for the divergence in these coordinate systems by finding vectors pointing in the directions of these unit vectors that have 0 divergence.

Then we write our vector field as a linear combination of these instead of as linear combinations of unit vectors.

By the product rule, the expression for the divergence we seek will be a sum over the three directions of the dot product of one of these vectors with the gradient of its coefficient. The second terms in the product rule will all be 0.

You may very well encounter a need to express divergence in these coordinates in your future life, so we will carry this approach out with spherical coordinates.

First please notice: whenever you differentiate functions in polar coordinates you must treat the origin in them separately and carefully. The coordinates themselves are singular there! The safest thing is to add "except perhaps at r = 0" or some similar statement, unless you are sure that your conclusion is sensible there. Often it will NOT hold at the origin of your coordinates.

Such caviats are omitted below but you should assume that they are present whenever differentiation by a polar parameter is involved.

The only non-trivial step in doing this is finding vectors in the various required directions that have 0 divergence. This can be done by finding the divergence of any vectors in these directions and figuring out what multiple you need apply in each case to cancel its divergence out, again using the product theorem for divergence.

The vector (x, y, z) points in the radial direction in spherical coordinates, which we call the 17.3 The Divergence in Spherical Coordinates (1) direction. Its divergence is 3.
It can also be written as 17.3 The Divergence in Spherical Coordinates (2) or as 17.3 The Divergence in Spherical Coordinates (3)

A multiplier which will convert its divergence to 0 must therefore have, by the product theorem, a gradient that is 17.3 The Divergence in Spherical Coordinates (4) multiplied by itself.

The function 17.3 The Divergence in Spherical Coordinates (5) does this very thing, so the 0-divergence function in the 17.3 The Divergence in Spherical Coordinates (6) direction is 17.3 The Divergence in Spherical Coordinates (7)

Exercise 17.2 Notice that the divergence of (x, y, 0) otherwise known as r or as rur is 2. What function of r should you multiply it by to get a vector with divergence 0?

The vector (-y, x) points in the 17.3 The Divergence in Spherical Coordinates (8) direction and has 0 divergence already. It can be written as 17.3 The Divergence in Spherical Coordinates (9)

The 17.3 The Divergence in Spherical Coordinates (10) direction is normal to both of these and you can get a vector in it by taking the cross product of (-y, x, 0) and (x, y, z), with result (xz, yz, -r2).
This vector has divergence 2z, and the form rzur - r2uz.

It is the first of these two terms, rzur (which is (xz, yz)) that has the non-vanishing divergence and it is the x and y which lead to it, not the z factor. We can invoke the result of the last exercise to introduce a multiplier that will get rid of that divergence.

The resulting vector has the form 17.3 The Divergence in Spherical Coordinates (11) whose length is 17.3 The Divergence in Spherical Coordinates (12) It can therefore be written as 17.3 The Divergence in Spherical Coordinates (13)

To summarize, the vectors 17.3 The Divergence in Spherical Coordinates (14) have 0 divergence.

If we define these combinations to be 17.3 The Divergence in Spherical Coordinates (15) respectively, a vector of the form 17.3 The Divergence in Spherical Coordinates (16) is also writable as

17.3 The Divergence in Spherical Coordinates (17)

and its divergence is

17.3 The Divergence in Spherical Coordinates (18)

or

17.3 The Divergence in Spherical Coordinates (19)

or

17.3 The Divergence in Spherical Coordinates (20)

and this is the form of the divergence in spherical coordinates.
In the last line here we used the form of the gradient in spherical coordinates: recall that 17.3 The Divergence in Spherical Coordinates (21) is a polar variable with radius r and 17.3 The Divergence in Spherical Coordinates (22) is a polar variable with radius 17.3 The Divergence in Spherical Coordinates (23). Also recall that r is 17.3 The Divergence in Spherical Coordinates (24)sin17.3 The Divergence in Spherical Coordinates (25).

This last expression is not very pretty but it is quite important in physical applications.

It appears in particular in the combination 17.3 The Divergence in Spherical Coordinates (26)which is called the Laplacian of f.

In rectangular coordinates and spherical coordinates the Laplacian takes the following forms, which follow from the expressions for the gradient and divergence

17.3 The Divergence in Spherical Coordinates (27)

Exercises:

17.3 Find the divergence of 17.3 The Divergence in Spherical Coordinates (28)

17.4 Deduce the form of the divergence in cylindric coordinates using the logic used above for spherical coordinates. Apply it to find the Laplacian in cylindric coordinates.

UpPreviousNext

17.3 The Divergence in Spherical Coordinates (2024)

FAQs

What is the divergence formula for sphere? ›

Let S r S r denote the boundary sphere of B r . B r . We can approximate the flux across S r S r using the divergence theorem as follows: ∬ S r F · d S = ∭ B r div F d V ≈ ∭ B r div F ( P ) d V = div F ( P ) V ( B r ) .

What is the formula for spherical coordinates? ›

To convert a point from Cartesian coordinates to spherical coordinates, use equations ρ2=x2+y2+z2,tanθ=yx, and φ=arccos(z√x2+y2+z2). To convert a point from spherical coordinates to cylindrical coordinates, use equations r=ρsinφ,θ=θ, and z=ρcosφ.

What does dV equal in spherical coordinates? ›

What is dV is Spherical Coordinates? Consider the following diagram: We can see that the small volume ∆V is approximated by ∆V ≈ ρ2 sinφ∆ρ∆φ∆θ. This brings us to the conclusion about the volume element dV in spherical coordinates: Page 5 5 When computing integrals in spherical coordinates, put dV = ρ2 sinφ dρ dφ dθ.

What is the 16.9 divergence theorem? ›

Theorem 16.9. 1 (Divergence Theorem) Under suitable conditions, if E is a region of three dimensional space and D is its boundary surface, oriented outward, then ∫∫DF⋅NdS=∫∫∫E∇⋅FdV.

How is divergence calculated? ›

The divergence of a vector field is a scalar field. The divergence is generally denoted by “div”. The divergence of a vector field can be calculated by taking the scalar product of the vector operator applied to the vector field. I.e., ∇ .

Can you use divergence theorem on a sphere? ›

We cannot apply the divergence theorem to a sphere of radius a around the origin because our vector field is NOT continuous at the origin.

What is the rule for divergence? ›

The divergence and curl can now be defined in terms of this same odd vector ∇ by using the cross product and dot product. The divergence of a vector field F=⟨f,g,h⟩ is ∇⋅F=⟨∂∂x,∂∂y,∂∂z⟩⋅⟨f,g,h⟩=∂f∂x+∂g∂y+∂h∂z.

What is divergence theorem in R3? ›

Then, the Divergence Theorem roughly says that summing up all the infinitesimally small sources and subtracting all the sinks inside a domain of R3 gives the total flux on its boundary.

What is the spherical coordinates φ? ›

Spherical coordinate system

φ is the angle between the projection of the vector onto the xy-plane and the positive X-axis (0 ≤ φ < 2π).

What is the format for spherical coordinates? ›

In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a given point in space is specified by three numbers, (r, θ, φ): the radial distance of the radial line r connecting the point to the fixed point of origin (which is located on a fixed polar axis, or ...

What are the three spherical coordinates? ›

Spherical coordinates of the system denoted as (r, θ, Φ) is the coordinate system mainly used in three dimensional systems. In three dimensional space, the spherical coordinate system is used for finding the surface area. These coordinates specify three numbers: radial distance, polar angles and azimuthal angle.

What is dV in a sphere? ›

dV =π (R2-y2) dy. Thus, the total volume of the sphere can be given by: V = ∫ y = − R y = + R d V. V = ∫ y = − R y = + R π ( R 2 − y 2 ) d y.

What is the expression for spherical coordinates? ›

Since r=ρsinϕ, these components can be rewritten as x=ρsinϕcosθ and y=ρsinϕsinθ. In summary, the formulas for Cartesian coordinates in terms of spherical coordinates are x=ρsinϕcosθy=ρsinϕsinθz=ρcosϕ.

What is the Jacobian for spherical coordinates? ›

Now, since the Jacobian is the absolute value of this, we can conclude that the Jacobian in spherical coordinates is r²sinθ. Therefore, when performing a change of variables from Cartesian coordinates to spherical we need to make the following changes: Thank you for reading.

What is spherical divergence? ›

1. n. [Geophysics]

The apparent loss of energy from a wave as it spreads during travel. Spherical divergence decreases energy with the square of the distance.

How do you rotate a point in spherical coordinates? ›

To plot any dot from its spherical coordinates (r, θ, φ), where θ is inclination, the user would: move r units from the origin in the zenith reference direction (z-axis); then rotate by the amount of the azimuth angle (φ) about the origin from the designated azimuth reference direction, (i.e., either the x– or y–axis, ...

How do you find dS in spherical coordinates? ›

On the surface of the sphere, ρ = a, so the coordinates are just the two angles φ and θ. The area element dS is most easily found using the volume element: dV = ρ2 sin φ dρ dφ dθ = dS · dρ = area · thickness so that dividing by the thickness dρ and setting ρ = a, we get (9) dS = a2 sin φ dφ dθ.

Top Articles
Latest Posts
Article information

Author: Maia Crooks Jr

Last Updated:

Views: 6176

Rating: 4.2 / 5 (43 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Maia Crooks Jr

Birthday: 1997-09-21

Address: 93119 Joseph Street, Peggyfurt, NC 11582

Phone: +2983088926881

Job: Principal Design Liaison

Hobby: Web surfing, Skiing, role-playing games, Sketching, Polo, Sewing, Genealogy

Introduction: My name is Maia Crooks Jr, I am a homely, joyous, shiny, successful, hilarious, thoughtful, joyous person who loves writing and wants to share my knowledge and understanding with you.