gladstone77 said:
... However this doesn't seem explain the pattern of lines that iron filings form around bar magnet. If this pattern is not an outline of the magnetic field itself, then what causes this pattern to appear?
I would say it does indicate the magnetic field. But the specific lines you see are just random examples, dependent on where the bits of iron landed.
A particle of iron is pulled towards a position where its longest axis aligns with the field and also maybe pulled from weaker field area to a stronger field area.
The iron particle also affects the field by concentrating flux in the iron. This makes the field stronger near the induced poles of the iron particle and so attracts other iron particles to it and affects their alignment.
The overall result is that the iron particles tend to aggregate in lines in the direction of the field at those points. But with a slightly different random distribution of iron particles to start with, you'd see a slightly different set of lines. There are infinitely many possibilities for patterns of lines - all showing similar alignment indicating the direction of the field.
If you look at this pattern, you can see some odd things:
Lines have breaks. Lines cross. Lines are not supposed to do that. These are not the lines of the field, They are just where the filings have settled, influenced by the field.
Although there is a concentration of filings near the poles (but maybe not lines?) indicating the strong field and a concentration of lines,.there is then a gap with few filings, before the density increases again and finally, gradually falls away. That would suggest, a little away from the poles were very few lines and weak field, which still further away increases again.
What I think the gap shows, is that the strong field near the poles has pulled most of the filings out of that region.
Further out where the field is weaker, the attraction is not strong enough to overcome friction, so filings remain, but tend to align with the field and aggregate a little.
Even further out, where the field is yet weaker, it is not strong enough to cause aggregation or alignment so much and the pattern becomes more even and lines become indistinct..
Vibrate the surface and the pattern would change: lines would become more distinct and more continuous. But the underlying field has not changed. The iron patterns are merely indicative of the general field, not of any specific lines of force.