A good way to visualize the sphere setup:
Normally we treat bar magnets as though they were little solenoids, and then we mentally use the Biot-Savart law to find the field. However, you can get exactly the same field behavior by imagining that (a) magnetic monopoles exist and (b) a bar magnet is just a little magnetic dipole with a + monopole at the north pole and a - monopole at the south pole.
OK, now build your sphere out of these monopole-based bar magnets. The nice thing is that now you can solve the magnetic field configuration using Gauss's Law (easy) rather than Biot-Savart or field lines (hard). What does Gauss's Law tell us? Well, we've just built two spheres: first, a uniform sphere of +monopoles (all the south poles). Gauss's Law tells us that the field inside of this sphere is zero, and outside looks like a point charge with a 1/R^2 field. Second, a uniform (slightly larger) sphere of -monopoles (all of the north poles). The field inside this sphere is also zero, outside is also -1/R^2, and please note the sign change. The total field is the sum of the fields of both spheres: zero inside, zero outside because the spheres cancel one another, and nonzero only within the magnets.
Normally we treat bar magnets as though they were little solenoids, and then we mentally use the Biot-Savart law to find the field. However, you can get exactly the same field behavior by imagining that (a) magnetic monopoles exist and (b) a bar magnet is just a little magnetic dipole with a + monopole at the north pole and a - monopole at the south pole.
OK, now build your sphere out of these monopole-based bar magnets. The nice thing is that now you can solve the magnetic field configuration using Gauss's Law (easy) rather than Biot-Savart or field lines (hard). What does Gauss's Law tell us? Well, we've just built two spheres: first, a uniform sphere of +monopoles (all the south poles). Gauss's Law tells us that the field inside of this sphere is zero, and outside looks like a point charge with a 1/R^2 field. Second, a uniform (slightly larger) sphere of -monopoles (all of the north poles). The field inside this sphere is also zero, outside is also -1/R^2, and please note the sign change. The total field is the sum of the fields of both spheres: zero inside, zero outside because the spheres cancel one another, and nonzero only within the magnets.