Why does the N pole of a magnet do not attract with the same pole but the N pole of a magnet attracts with S pole?
Suppose we start by considering electric charges. We all know that like electrical charges repel and unlike charges attract. The situation with magnets is more complicated because there are no such things as magnetic charges. The bar magnets that we are all familiar with are magnetic dipoles not magnetic charges.
If we switch back to electricity for a moment, electrical dipoles also exist and they behave like a pair of charges very close together:
So the electric dipole has a positive end and a negative end. These are analogous to the north pole and south pole of a magnetic dipole. With this in mind it shoukld be obvious that two electric dipoles will attract if their unlike ends are pushed together and repel if their unlike ends are pushed together:
And the same argument applies to magnetic dipoles. Although magnetic charges don't exist a magnetic dipole behaves as if it has a north magnetic charge at one end and a south magnetic charge at the other. So they attract and repel in the same way that electric dipoles do.
Various ways to think about it. Here's one;
The energy of the overall system is lower if the poles are closer. This creates a potential gradient (a hill), in which
- external work must done, energy put in to separate the poles, but
- energy is released if the poles are brought closer. Release energy is kinetic
Imagining an infinitesimal variation in relative position, any released kinetic energy in the direction converging the poles produces a positive feedback, i.e. more energy is released. Attraction is consequently observed.