# What is the magnetic moment?

TheÂ **magnetic moment**Â is a vector that relates the current that passes through a loop or closed loop with its area.Â Its modulus is equal to the product of the intensity of the current and the area, and its direction and sense are given by the right-hand rule, as shown in figure 1.

This definition is valid regardless of the shape of the loop.Â Regarding the unit of the magnetic moment, in the International System of SI units it is Ampere Ã— mÂ ^{2}Â .

In mathematical terms, denoting the magnetic moment vector with the Greek letterÂ **Î¼**Â (in bold because it is a vector and thus it is distinguished from its magnitude), it is expressed as:

**Î¼ =**Â IAÂ **n**

Where I is the intensity of the current, A is the area enclosed by the loop andÂ **n** is the unit vector (with a module equal to 1) that points in the direction perpendicular to the plane of the loop, and whose direction is given by the rule of the right thumb (see figure 1).

This rule is very simple: by curling the four fingers of the right hand so that they follow the current, the thumb indicates the direction and sense ofÂ **n**Â and therefore that of the magnetic moment.

The above equation is valid for a loop.Â If there are N turns as in a coil, the magnetic moment is multiplied by N:

**Î¼ = N**Â IAÂ **n**

__Magnetic moment and magnetic field__

__Magnetic moment and magnetic field__

It is easy to find expressions for the magnetic moment of turns with regular geometric shapes:

-Square loop of side â„“:Â **Î¼ =**Â Iâ„“Â ^{2Â }**n**

**–**Â Rectangular loop with sidesÂ *a*Â andÂ *b*Â :Â **Î¼ =**Â IabÂ **n**

**–**Â Circular loop of radius R:Â **Î¼ =**Â IÏ€RÂ ^{2Â }**n**

**Dipole magnetic field**

The magnetic field produced by the loop or loop of current is very similar to that of a bar magnet and also that of the Earth.

Bar magnets are characterized by having a north pole and a south pole, where opposite poles attract and like poles repel.Â The field lines are closed, leaving the north pole and reaching the south pole.

Now, the magnetic poles are inseparable, which means that if you divide a bar magnet into two smaller magnets, they still have their own north and south poles.Â It is not possible to have the magnetic poles isolated, that is why the bar magnet is called aÂ *magnetic dipole*Â .

The magnetic field of a circular loop of radius R, carrying a current I, is calculated using the Biot-Savart law.Â For the points belonging to its axis of symmetry (in this case the x-axis), the field is given by:

**Relationship between the magnetic field and the magnetic moment of the dipole**

Including the magnetic moment in the previous expression results:

In this way, the intensity of the magnetic field is proportional to the magnetic moment.Â Note that the field intensity decreases with the cube of the distance.

This approximation is applicable to any loop, as long asÂ *x*Â is large compared to its dimensions.

And since the lines of this field are so similar to those of the bar magnet, the equation is a good model for this magnetic field and that of other systems whose lines are similar, such as:

-Moving charged particles like the electron.

-The atom.

-The Earth and other planets and satellites of the Solar System.

-Stars.

__Effect of an external field on the loop__

__Effect of an external field on the loop__

A very important characteristic of the magnetic moment is its link to the torque that the loop experiences in the presence of an external magnetic field.

An electric motor contains coils through which a current of changing direction passes and which, thanks to the external field, experience a spinning effect.Â This rotation causes an axis to move and electrical energy is converted to mechanical energy during the process.

**Torque on a rectangular loop**

Suppose, for ease of calculations, a rectangular loop with sidesÂ *a*Â andÂ *b*Â , whose normal vectorÂ **n**Â , projecting from the screen, is initially perpendicular to a uniform magnetic fieldÂ **B**Â , as in Figure 3. The sides of the loop experience given forces for:

**F**Â = IÂ **L**Â xÂ **B**

WhereÂ **L**Â is a vector of magnitude equal to the length of the segment and directed according to the current, I is its intensity andÂ **B**Â is the field.Â The force is perpendicular to bothÂ **L**Â and the field, but not all sides experience force.

In the figure shown, there is no force on short sides 1 and 3 because they are parallel to the field, remember that the cross product between parallel vectors is zero.Â However, the long sides 2 and 4, which are perpendicular toÂ **B**Â , experience the forces denoted asÂ **FÂ **_{2}Â andÂ **FÂ **_{4}.

These forces formÂ *a pair*Â : they have the same magnitude and direction, but opposite directions, therefore they are not capable of transferring the loop in the middle of the field.Â But they can make it rotate, since the torqueÂ Â **Ï„**Â exerted by each force, with respect to the vertical axis that passes through the center of the loop, has the same direction and sense.

According to the definition of torque, whereÂ **r**Â is the position vector:

**Ï„**Â =Â **r**Â xÂ **F**

Then:

**Ï„Â _{2}Â = Ï„Â _{4}**Â =Â

**Â**(a / 2) F (+Â

**j**Â )

The individual torques do not cancel, since they have the same direction and sense, so they add:

**Ï„Â **_{net}Â =Â **Ï„Â _{2}Â + Ï„Â _{4}**Â = a F (+Â

**j**Â )

And being the magnitude of the force F = IbB, it results:

_{netÂ }**Ï„**Â = Iâ‹…aâ‹…bâ‹…B (+Â **j**Â )

The product aâ‹…b is the area A of the loop, so Iab is the magnitude of the magnetic momentÂ **Î¼**Â .Â ThereforeÂ Â **Ï„Â **_{net}Â = Î¼â‹…B (+Â **j**Â )

It can be seen that, in general, the torque coincides with the vector product between the vectorsÂ **Î¼**Â andÂ **B**Â :

_{netÂ }**Ï„**Â =Â **Î¼**Â xÂ **B**

And although this expression was derived from a rectangular loop, it is valid for a flat loop of arbitrary shape.

The effect of the field on the loop is a torque that tends to align the magnetic moment with the field.

**Potential energy of the magnetic dipole**

To rotate the loop or dipole in the middle of the field, work must be done against the magnetic force, which changes the potential energy of the dipole.Â The variation of the energy Î”U, when the loop rotates from angle Î¸Â _{or}Â to angle Î¸ is given by the integral:

Î”U = -Î¼B cos Î¸

Which in turn can be expressed as the scalar product between the vectorsÂ **B**Â andÂ **Î¼**Â :

Au = –Â **Î¼ Â·Â ****B**

The minimum potential energy in the dipole occurs when cos Î¸ = 1, which means thatÂ **Î¼**Â andÂ **B**Â are parallel, the energy is maximum if they are opposite (Î¸ = Ï€), and it is zero when they are perpendicular (Î¸ = Ï€ / 2).