Blastrix91 said:
The divergence of a vector field tells us how many field lines goes into a volume element in relation to how many goes out.
So if div B = 0 there should be the same amount of magnetic field lines going into a volume element as are going out of it right?
But the Biot-Savart equations tells us that the magnetic field decreases by r^2 the further away you go. Could somebody help me out in pointing where I got the concept wrong?
I have two examples that will help you visually understand the divergence of a magnetic field and one example that helps understand divergence in general.
1) Imagine a charge going through a wire and the resulting magnetic field created according to the right hand rule.
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html
2) Also imagine the pictures created when iron fillings are placed around the magnet and its poles.
http://en.wikipedia.org/wiki/File:Magnet0873.png
Magnetic fields "curl" around a point or line therefore they do not diverge to one specific place at all, especially due to the circular nature of their curl.
When you flush a toilet you create a vector field that curls in the same fashion. Can you say that the field lines created by the water diverge to one point? The divergence of field lines created by a fluid vortex are actually a little higher than that of a magnetic field because of the spiral nature of a vortex.
Vector field lines created by a fluid vortex (to an approximation) and magnetic fields do no diverge at a certain point. Therefore they have no divergence. Therefore, the divergence of these vector fields can be said to be "zero" (although a toilet flushing diverges more so than a magnetic field).
Basically, vector fields cannot be said to have any level of divergence if they curl too much. As a vector field begins to curl infinitely into a circle (or some similar circular path), you can say that there is no level of divergence, hence the divergence of the field = 0.I hope these visual examples helped you out.