Divergence of an inverse square field

Click For Summary
SUMMARY

The divergence of an inverse square vector field, specifically (r cap)/r^2, does not yield zero; instead, it results in (-2)/r^3 when calculated in spherical coordinates. This discrepancy arises from the dimensionality of the problem; while the gradient appears to be zero when expressed in Cartesian coordinates, the divergence must account for the three-dimensional nature of the field. The calculations should utilize the proper formula for spherical divergence, which incorporates an r^2 factor multiplied by the radial component before taking the partial derivative.

PREREQUISITES
  • Understanding of vector calculus, specifically divergence and gradient operations.
  • Familiarity with spherical coordinates and their application in physics.
  • Knowledge of Griffiths' Electrodynamics, particularly section 1.4.1 and equation (1.71).
  • Ability to visualize three-dimensional vector fields and their properties.
NEXT STEPS
  • Study the derivation of divergence in spherical coordinates.
  • Review Griffiths' Electrodynamics for deeper insights into vector fields.
  • Learn about the implications of dimensionality in physics problems.
  • Practice calculating divergences of various vector fields in both Cartesian and spherical coordinates.
USEFUL FOR

Students of physics, particularly those studying electromagnetism, as well as educators and anyone interested in advanced vector calculus and its applications in three-dimensional fields.

Maharshi Roy
Messages
25
Reaction score
1
Reference to Griffith electrodynamics question:- 1.16
Compute the divergence of an inverse square vector field.

Now gradient is (∂/∂r)(r cap)
Hence upon taking divergence of inverse square field (r cap)/r^2...We don't get 0.
In fact we get (-2)/r^3.

But if we write the vector field and the gradient both in terms of x, y & z components, and then compute gradient then it comes out to be 0.
Where is the glitch?
 
Physics news on Phys.org
Now gradient is (∂/∂r)(r cap)
Hence upon taking divergence of inverse square field (r cap)/r^2...We don't get 0.
In fact we get (-2)/r^3.

The divergence is calculated differently in spherical coordinates than in Cartesian coordinates:

http://hyperphysics.phy-astr.gsu.edu/hbase/diverg.html#c3

See also section 1.4.1 in Griffiths (3rd edition), specifically equation (1.71).
 
Last edited:
  • Like
Likes   Reactions: 1 person
Maharshi Roy said:
Reference to Griffith electrodynamics question:- 1.16
Compute the divergence of an inverse square vector field.

Now gradient is (∂/∂r)(r cap)
Hence upon taking divergence of inverse square field (r cap)/r^2...We don't get 0.
In fact we get (-2)/r^3.

But if we write the vector field and the gradient both in terms of x, y & z components, and then compute gradient then it comes out to be 0.
Where is the glitch?

One thing to keep in mind is it's in 3 dimensions. It's easy to accidentally think of it as just 1D and just f=1/r^2 or to just look at the 2D drawing he uses in the book in which cases it would not turn out to be 0 away from the origin. The quick drawing makes it look like you can just look at a single line with arrows and see the arrows fading off so of course if they are changing like that as you go out then you have a divergence. But, it's actually really in 3D and as you have a 1/r^2 dropping off you also have the surrounding surface area of an enveloping sphere increasing it's surface area as r^2 so it balances out and you can see that there is actually no divergence if you just remember to picture it in your mind as in 3 dimensions and to see think about how it's really working out.

It's interesting to note that changing the dimensions of the world you are thinking about can radically change what happens with the physics of that world if you accidentally forget to change the laws as you bring them over.

And it's good to keep in mind how a quick diagram can actually end up misleading one at times. I mean you quickly glance at the drawing, since the arrows shrinking in size (and thus changing in magnitude in a radial direction so of course there is divergence boom. Only not so fast. You need to really think about and visualize in your mind what is really going on in full.

(or as said above, if you just want to plug in and do math, you have to realize that it wasn't written as like f=1/x^2 but it is f=r(spherical radial basis vector)/r^2 so when you take derivatives you need to use the proper formula for spherical divergence which is different and you have to add an r^2 factor times the r component of the function before taking partial/partial r)
 
Last edited:

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 29 ·
Replies
29
Views
2K
  • · Replies 1 ·
Replies
1
Views
976
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K