|MLA Citation:||Bloomfield, Louis A. "Question 699"|
How Everything Works 20 Jul 2018. 20 Jul 2018 <http://howeverythingworks.org/print1.php?QNum=699>.
With magnetic forces, there is an annoying complication: magnetic poles (the magnetic equivalent of "charge") always come in equal but opposite pairs. As with electric charges, there are two types of magnetic poles—normally called "north" and "south"—and like poles repel while opposite poles attract. However, you won't be able to find a pure north pole anywhere; it always comes attached to a south pole (and vice versa). So any magnet you find will have at least one north pole and at least one south pole (while they typically have only one of each, they can also have many of each). The forces that these poles exert on one another are fundamental to our universe—I can't explain them in terms of more basic phenomena because they are already basic except at a very abstract level. (In fact, electric and magnetic forces are intimately related to one another and it is actually electric charges that are creating the magnetic poles that you observe in a magnet.) If you play around with several magnets for a while, you should be able to convince yourself about the existence of two different poles and that like poles repel while opposite poles attract. You should also notice that the magnets push one another directly toward or away from them (the forces between poles are parallel to the line separating them) and that the forces become stronger as the poles become nearer (the force is inversely proportional to the square of the distance separating the poles).
As for how a permanent magnet works, it's made from a material that contains ordered electrons. Electrons are intrinsically magnetic and, in a few special materials, that magnetism as organized so that the overall materials are themselves magnetic. Each electron has its own north and south pole, but together they give the material a giant north and south pole.