eli5 Energy to Move Magnet?

415 views

There is a large magnet and a small magnet on a smooth table surface. The large magnet is slowly moved closer to the smaller magnet until the magnetic field causes the small magnet to slide across the table and hit the large magnet. Where did the energy come from to move the small magnet? I know that energy cannot be created or destroyed but instead converted from one form into another. So energy was taken from one source and converted to some kind of work energy to move the magnet. Where was the energy taken from? What energy source has been depleted?

In: 1