Magnetic things outside the magnetic field are not attracted to the magnet .
When ferromagnetic material is placed within a magnetic field , the magnetic dipoles align to the applied field , thus expanding the domain walls of the magnetic domains . Since a bar magnet gets its ferromagnetism from electrons distributed evenly throughout the bar , when a bar magnet is cut in half , each of the resulting pieces is a smaller bar magnet .