Understanding Divergence Graphically

  • Thread starter Thread starter jmcgraw
  • Start date Start date
  • Tags Tags
    Divergence
jmcgraw
Messages
70
Reaction score
0
I'm trying to get a handle on seeing whether a vector field (in the x-y plane for simplicity) has zero divergence at a point or is divergence free altogether. I'm having some trouble with this.

The way I am thinking about it is to mentally draw a little box around my point and then see whether the arrows coming into my box are smaller than the arrows coming out of my box. If the arrows are smaller coming out, the divergence is negative because their is a net inflow. If the arrows coming out of the box are bigger than the ones coming in, the divergence is positive because of a net outflow. If the arrows coming in and out are equal, then the divergence is zero because of no net in/outflow.

Is this the correct way to look at it? My text makes me think that it is, but then when I get to divergence free fields I learn that r/(||r||^3) (where r is the position vector) has a divergence of zero everywhere except the origin where it is undefined. Yet, if I drew a box (or circle) around any point in this field, the arrows flowing in would be bigger than the arrows flowing out (magnitude varies inversely with the square of the distance), so I would guess from looking at the vector field that the field has negative divergence at that point (and at every point, in fact). But it's divergence free!

In what way am I not seeing this correctly?

As an example of how I am thinking about this, here is a problem:

http://img384.imageshack.us/img384/3148/3fields3pm.jpg

My answers:

(a) is positive because there is a net outflow; (b) is 0 because there is no variation in direction of flow; and (c) is negative because there is a net inflow.

Am I correct? And if so, how does this square with my question about r/(||r||^3)?

Thanks so much!
 
Last edited by a moderator:
Physics news on Phys.org
Your way of picturing it is correct. For the case of r/|r|3, if you orient a (rectangular) box so the bottom faces the origin, it is true that there is more flow in the bottom than out the top, but there is also flow out the sides of the box, since the vectors change direction as you move. If you were to change the shape of the box so that there was no flow out the sides (ie, they are parellel to the vectors here), then the top would be larger by a factor of rtop2/rbottom2, so the change in the magnitude of the vectors is balanced by the change in areas, and so there is no net flow. Of course, this doesn't work at the origin. But the point is that the box may be any shape, as long as it is very small, and it is often useful to consider shapes that follow the vector field in some way.
 
Last edited:
Yes, I see what you are saying! Thanks!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top