Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I've been explained that a vector field, when seen as "arrows" in the plane, has 0 divergence when its magnitude doesn't change, i.e. when the "arrows" keep same length. But the following examples puzzle me:

$F(x)=x/|x|$ has always norm 1 but its divergence is not 0

$F(x)=x/|x|^2$ has not constant norm but its divergence is 0

Is there some contradiction or do I have a wrong/incomplete picture?

share|improve this question
    
You have the wrong picture. The divergence of a vector field at a point can be thought to measure to what extend that point is a "source" or a "sink" for the vector field. If the vector field flows outward from the point we have positive divergence, and if it flows inward we have negative divergence. If the vector field is constant, as much stuff flows towards any point and leaves it, and so that point is neither a source or a sink. Physically, you can imagine trying to put a small net around the point and looking at the net amount that flows through it. –  Isaac Solomon Feb 16 '13 at 20:40
    
I think you need some clarity on what divergence of a vector field means. Take a look at this video, at about the 9:07 mark. It should help. –  JohnD Feb 16 '13 at 20:40
add comment

2 Answers

up vote 1 down vote accepted

Divergence has nothing (little?) to do with norms of the vectors.

Think instead of of drawing a closed region $\Omega$ in the plane, and the arrows as measuring the velocity of material flowing through the plane.

The region that you drew encloses some amount of material. As the material flows, that amount changes: in particular, it is common sense that the rate at which the amount of enclosed material changes is equal to the rate at which material is crossing the boundary of the region.

You can think of the divergence at a point as measuring the rate at which the density of material is decreasing at that point. The rate at which the total amount of material in all of $\Omega$ is changing is then

$$\int_\Omega \operatorname{div} v$$

and the rate at which material is passing through the boundary of $\Omega$ is $$\int_{\partial \Omega} v \cdot n$$ and the fact that these two must be equal is exactly the divergence theorem.

share|improve this answer
add comment

Here is a way to visualize the divergence of vector fields, following the answer given by user7530.

  1. Launch the excellent applet VfaII by Matthias Kawski.

  2. Select the tab DEs/flows

  3. Enter your field equation: x/sqrt(x^2+y^2) and y/sqrt(x^2+y^2) for the first field; x/(x^2+y^2) and y/(x^2+y^2) for the second.

  4. Dragging the mouse, draw a small rectangle somewhere in the plot, preferably near the origin.

  5. Watch the rectangle flow. The shape will become distorted in either case, but the thing to watch is the area. Under the flow of the first field the area grows. Under the flow of the second field it stays the same.

Interpretation: both fields stretch the rectangle in the directions of polar $\theta$-coordinate. But the second field compensates for this stretch by shrinking the rectangle in the radial direction. The first one does not.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.