My knowledge of electromagnetism is quite elementary but I think I understand WPE and the Law of Conservation of Energy well enough.
Here's what I understand of electromagnetic induction in a coil in the form of a solenoid:
When a bar magnet with a specific pole facing the solenoid is moved rapidly, it produces an emf in the coil causing an electric current to move in a direction that would produce a magnetic field of the solenoid that opposes the motion of the bar magnet.
In this case, the bar magnet is moved rapidly towards the solenoid with its north pole facing the solenoid. The solenoid's magnetic field thus developed repels the bar magnet. This means that north pole is developed on the side of the solenoid which faces the bar magnet.
Now I understand that in moving the bar magnet towards the solenoid, some kinetic energy is being given to it.. say by my hand. When the solenoid acts to repel the bar magnet, it does negative work on the bar magnet, reducing the bar magnet's kinetic energy in the process. Therefore, the energy goes from my hand to the solenoid in the form of electrical energy (and heat produced in the wires)
But the transformation of energy in the case where the bar magnet is kept stationary, and the solenoid is moved towards it doesn't make sense to me.
This is the case when the bar magnet is held stationary and the solenoid is moved towards it. In moving the solenoid towards the bar magnet, kinetic energy is given to it.. say by my hand. The bar magnet repels the coil, thus doing negative work on the coil. Shouldn't this cause energy to go from the solenoid to the bar magnet? How is the current driven in the solenoid in terms of energy conservation then?
Is my way of viewing the transformations in energy correct? Should I be considering the field lines and potential energy between the magnet and the coil somehow?