Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Imagine I have a solenoid connected to a power supply. Solenoid produces an electromagnetic field. Now I take a permanent magnet and place it inside the solenoid. How will the magnet align itself (assuming there is no gravity) inside the solenoid and will it rotate itself around the central axis "aligning" itself?

From these two cases cases, which one is correct behaviour and where would the "north" pole point (up, down, left or right):


enter image description here


enter image description here

P.S. What if the magnet is shaped differently, for example like a horseshoe, will it change its behaviour?

share|cite|improve this question
up vote 0 down vote accepted

As Wikipedia will inform you, a dipole magnet in a magnetic field $\mathbf B$ will be subject to a torque $$\mathbf \tau=\mathbf m\times\mathbf B,$$ where the magnetic dipole $\mathbf m$ points from the magnet's south pole to its north pole. Thus the equilibrium positions are parallel and antiparallel to the field, so the situation will look like your first picture.

Note also that there are two orientations for the magnet, of which one will be stable and one will be unstable. To discriminate between the two, you need to choose the configuration that minimizes the energy, $$U=-\mathbf m\cdot\mathbf B,$$ so $\mathbf m$ will be parallel to the magnetic field. (To find out in which direction that goes, see this answer.

share|cite|improve this answer
Is it right that if the magnet is moved along the solenoid in it's stable position (left and right) then it's lowest energy configuration won't change? And increase in B would affect the U and change the lowest energy configuration for the magnet? – Xeos Aug 11 '13 at 10:51
It would change the energy but not its dependence on orientation, so the equilibrium orientation won't change. If the energy change is significant, though, the true equilibrium will be where the field is greatest. – Emilio Pisanty Aug 11 '13 at 14:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.