Journal of Electromagnetic Analysis and Applications
Vol.10 No.10(2018), Article ID:87823,13 pages

A New Perspective of the Force on a Magnetizable Rod inside a Solenoid

José-Luis Jiménez-Ramírez1*, Ignacio Campos-Flores1, José-Antonio-Eduardo Roa-Neri2

1Departamento de Física, Facultad de Ciencias, Universidad Nacional Autónoma de México, México D. F., México

2Área de Física Teórica y Materia Condensada, División de Ciencias Básicas e Ingeniería, Universidad Autónoma Metropolitana Unidad Azcapotzalco, México D. F., México

Copyright © 2018 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

Received: August 16, 2018; Accepted: October 13, 2018; Published: October 16, 2018


We analyze the familiar effect of the pulling of a magnetizable rod by a magnetic field inside a solenoid. We find that the analogy with the pulling of a dielectric slab by a charged capacitor is not as direct as usually thought. Indeed, there are two possibilities to pursue the analogy, according to the correspondence used, either E B and D H , or E H and D B . One of these results in an incorrect sign in the force, while the other gives the correct result. We avoid this ambiguity in the usual energy method applying a momentum balance equation derived from Maxwell’s equations. This method permits the calculation of the force with a volume integration of a force density, or with a surface integration of a stress tensor. An interpretation of our results establishes that the force acts at the interface and has its origin in Maxwell´s magnetic stresses at the medium-vacuum interface. This approach provides new insights and a new perspective of the origin of this force.


Force on a Rod in a Solenoid, Magnetostatic Force, Maxwell Momentum Balance Equation

1. Introduction

It is a well-known effect the pulling of a magnetizable rod into a solenoid where a magnetic field is established. There are many practical applications of this effect, like the Bendix mechanism, relays, etc., but how it arises is hardly discussed. This effect is considered analogous to the pulling of a dielectric slab into a parallel plate capacitor. The similarity of these effects has been discussed by Boyer [1] , and is also discussed in some intermediate texts on electromagnetism [2] , [3] , [4] . There is, however, a difference about the supposed origin of these effects in the electric and magnetic cases. In the electric case the force acting on the dielectric slab is usually assumed to be caused by the non-uniform fringing field outside the capacitor, [5] , [6] , [7] , [8] , [9] , while in the magnetic case the fringing effects are explicitly neglected [2] , [3] , and there is no explanation of its origin.

In the electric case, therefore, the force is explained as the action of the non-uniform fringing field on the dipoles of the dielectric slab. We have shown [10] that this force arises rather from the uniform field inside the capacitor transmitted through the Maxwell stresses. In the magnetic case we have a uniform magnetic field inside the solenoid, which can only align the magnetic dipoles. Therefore, we have the question of how this uniform field can exert a net force on the magnetic dipoles. This is the question we address in the present work. It is rather a conceptual question that we will answer applying the Maxwellian notion of electromagnetic stresses. We use a particular electromagnetic momentum balance equation derived elsewhere [11] from Maxwell’s equations.

We revise first (Section 2) the usual derivation of the magnetic force with energy methods. We find that the usual shortcut of copying the electric case by changing the fields

E B and D H (1)

leads to a wrong sign in the magnetic force. We also discuss the arguments of Landau and Lifshits [12] (Section 3) to show that sometimes the magnetic fields analogous to E and D are rather H and B , respectively.

Our results point to the tension part of the magnetic stress tensor acting at the interface as the origin of this force (Section 4), explaining in this way how a uniform magnetic field can exert a net force on magnetizable matter. This constitutes a novel point of view that provides insights respect to the electromagnetic force, which is transmitted through stresses, as Faraday and Maxwell anticipated. In Section 5 we present a new force density, Equation (61), from which the magnetic force can be obtained. In Sections 6 and 7 we give theoretical support to this force density showing how it appears in a momentum balance equation. Our approach represents therefore a novel point of view that provides insights respect how the magnetic force arises.

2. Force on a Magnetic Rod inside a Solenoid with Constant Current I

The device is a solenoid of length L, with n turns per unit length, cross area A 0 and a constant current I circulating through it. A rod of magnetic material of permeability μ r and magnetic susceptibility χ m is partially introduced into the solenoid. A force appears that pulls the rod into the solenoid (Figure 1).

Figure 1. Cylindrical solenoid with a magnetizable rod partially inserted.

Usually this force is derived from the equation

F = ( u ) I , (2)

where the sub-index I indicates that the process considered occurs with constant current I, hence the positive sign in this equation, and the magnetic energy U m is given by

U m = all space 1 2 H Β d V . (3)

(we follow Griffiths [9] and Purcell and Morin [13] and take the field Β as the magnetic field and H as an auxiliary field).

Then, by expressing the H field in terms of the current,

H = n I , (4)

with the constitutive relations

B = μ 0 μ r H , (5)


χ m = μ r 1 , (6)

one can find the known result for the force on the magnetic rod calculating the change in energy in displacing the rod a distance Δ z [2] , [3] , [4] . This force is

F = 1 2 μ 0 χ m H 2 A 0 k ^ . (7)

With this procedure it is irrelevant the fringing magnetic field outside the solenoid and what happens at the interface, as noted by Wangsness [2] and Reitz et al. [3] .

Now, when a magnetizable material is introduced into a magnetic field, the fields Η and B change, and therefore also the energy changes. If initially there is a vacuum inside the solenoid, the fields are B 0 and H 0 , while after introducing the magnetizable material maintaining the current constant, the fields are B and Η . Therefore, the change in energy is

Δ U int mat mag = U m U 0 = 1 2 all space ( H Β H 0 Β 0 ) d V . (8)

This expression can be transformed in order to have a volume integral only over the volume V' occupied by the material. In the electrostatic case there is also a transformation from, [2] , [14] , [15]

Δ U int mat ele = 1 2 all space d V ( E D E 0 D 0 ) , (9)


Δ U int mat ele = 1 2 all space d V ( E D 0 E 0 D ) , (10)

from which it is deduced that

Δ U int mat ele = 1 2 V d V P E 0 . (11)

In order to treat the magnetic case, Jackson [15] and Wangsness [2] propose the correspondence

E B , D H (12)

in the electric case as expressed in Equation (10), obtaining

Δ U int mat mag / Jac-Wan = 1 2 V d V ( B H 0 H B 0 ) . (13)

Following the steps that in the electric case lead from Equation (10) to Equation (11), they obtain

Δ U int mat mag / Jac-Wan = 1 2 V d V M B 0 , (14)

equivalent to

Δ U int mat mag / Jac-Wan = 1 2 μ 0 V d V M H 0 . (15)

Jackson [15] and Wangsness [2] call the attention to the difference in sign with respect to the electric case as given in Equation (11). This difference in sign implies a wrong direction in the force. Wangsness [2] obtains the correct result because he does not use result Equation (15) to calculate the force.

It is worth noting that the correct result is obtained if in the electrostatic case, Equation (10), the correspondence E B and D H is made, obtaining

Δ U int mat mag = 1 2 μ 0 V d V M H 0 . (16)

In order to see the consequences of this difference in sign of the change in energy it is convenient to calculate the force with (2) and (15). The equation for the magnetization is

M ( z ) = χ m Θ ( l z ) H , (17)

where Θ is Heaviside´s distribution. Then, from Equation (15), the constitutive relation (5), (6), and the fact that the H field is constant inside the solenoid, even inside the magnetic rod, one obtains for the change in energy

Δ U int mat mag / Jac-Wan = 1 2 μ 0 V mat d V χ m Θ ( l z ) H 2 . (18)

When the gradient is taken using

z Θ ( l z ) = δ ( l z ) , (19)

the force results

F = 1 2 μ 0 V mat d V χ m δ ( l z ) H 2 . (20)

After integration the final expression of the force is

F = 1 2 μ 0 χ m H 2 A 0 k ^ , (21)

that is, the negative of the correct result (7).

Therefore, the correct result ensues if in the electrostatic result (10) the substitution

E H and D B (22)

is made. This points to the fact that in some cases the magnetic fields analogous to the electric fields are

E B and D H (23)

while in others it is the correspondence Equation (22).

We have in this respect Stratton’s [16] observation:

“Whatever the analytical advantages of the electrostatic analogy may be, it is well to remember that the physical structure of a field due to stationary distributions of currents differs fundamentally from that of any configuration of electric charges.”

Landau and Liftshitz [12] (L & L in what follows) discuss the problem of electromagnetic fields in matter from a thermodynamic point of view and conclude that in the case of magnetostatics with constant currents the correct analogy is the later, Equation (22). They argue that

u e = 1 2 E D and u m = 1 2 H B , (24)

are free energy densities, not total energies, which is fundamental for the understanding of the interaction of electromagnetic fields and matter. In the next section we revise their arguments supporting the correspondence Equation (22).

3. Landau and Lifshitz Thermodynamic Analysis

It is convenient to review with some detail the procedure followed by Landau and Lifshitz [12] with which it is established that in this case the correct analogy is (22).

In the electric case they begin with the work necessary to increase the charge of the system by δ q ,

δ W = ϕ δ q . (25)

This is the mechanical work performed by the electric field in bringing the charge δ q from infinite to its final position. In terms of the electric fields this work is

δ W = d V E δ D . (26)

Then the change in Helmholtz’s free energy, F = U T S , is

δ F = S δ T + d V E δ D . (27)

Note the correspondence

δ q δ D . (28)

Now, it is convenient to introduce a thermodynamic potential in which it appears δ E instead of δ D . This is done by means of a Legendre transformation

F ˜ * = F * E D . (29)

(quantities with asterisk represent densities).

The change of this free energy is

δ F ˜ * = S δ T D δ E . (30)

Therefore, the expressions for the infinitesimal changes in the quantities expressed in terms of the charges and potentials of the conductors are, respectively,

( δ F ) T = k ϕ k δ q k = ϕ δ q d V , (31)

( δ F ˜ ) T = k q k δ ϕ k = q δ ϕ d V . (32)

It is important to note the sign in Equation (32). We have then, besides Equation (27), the correspondence

δ ϕ δ E . (33)

In the magnetic case we have an analogous situation, but some care is necessary. We have instead of Equation (31) and Equation (32) the equations

( δ F ) T = J δ A d V , (34)

( δ F ˜ ) T = J δ A d V (35)

and L & L point out that in macroscopic electrodynamics the role analogous to the currents is played by the potentials, not by the charges.

These authors [12] observe that

“It is useful to note that in macroscopic electrodynamics the currents (sources of the magnetic field) are mathematical analogues of potentials, not of charges (sources of the electric field). This is seen by comparing Formulaes (31.8) and (31.9) [our Equation (34) and Equation (35)] with the corresponding results for an electric field: [our Equation (31) and Equation (32)].

We observe that the charges and potentials appear in these formulae in the opposite order to the currents and potentials in Formulaes (31.8) and (31.9) [our Equations (34) and (35)].”

In this way the equivalent expressions to (25) and (30) are

δ W = d V H δ B . (36)

δ F = S δ T d V H δ B . (37)

And for the potential, or free energy, F ˜ we have

δ F ˜ = S δ T d V B δ H . (38)

With this approach they derive straightforwardly the correspondence (22), which implies that the analogy Equation (22) is correct, and therefore the correct expression for the change in energy is Equation (16).

4. Where Does the Force Acts?

The energy methods for calculating the force exerted by a uniform magnetic field inside a solenoid on a magnetizable rod, do not permit establish where and how the force acts. Also, in the analogous electric case of the force exerted on a dielectric slab partially inserted into a parallel plate charged capacitor, the energy method does not allow to establish where and how the force acts. In the electric case, it is said [5] , [6] , [7] , [8] , and [9] that it is the non-uniform electrostatic fringing field acting on the dipoles of the dielectric what causes this force. In the magnetic case the fringing non-uniform magnetic field is explicitly neglected.

In order to establish clearly where and how the force arises, it is convenient to apply Maxwell’s magnetic stress tensor. The force in terms of this tensor is, [17]

F = σ d S T , (39)

where T is the magnetic stress tensor.

T = [ B H 1 2 I ( B H ) ] (40)

and σ is a closed surface. The relevant surfaces for the calculation are flat surface around the interfaces formed by a parallels surfaces close to the interface, one inside the rod and other in vacuum.

Since for linear magnetic media the constitutive relation (5) implies that B and H are parallel and in the k ^ direction, the stress tensor becomes

T = B H [ k ^ k ^ 1 2 I ] , (41)

where the unit dyad I is

I = i ^ i ^ + j ^ j ^ + k ^ k ^ . (42)

For the relevant surface we have the differential surface elements (Figure 2)

Figure 2. The figure shows the surfaces on which the stress tensor is integrated. The integral over the ribbon that closes the surface σ is zero.

d S = k ^ d S mediumside d S = k ^ d S vacuumside (43)

With the tensor (41) and the surface elements (43), the expression (39) for the force results

F = σ medium ( k ^ ) d S [ k ^ k ^ 1 2 I ] B H σ vacuum ( k ^ ) d S [ k ^ k ^ 1 2 I ] B H . (44)

We have also that

k ^ d S = k ^ A 0 . (45)

Then Equation (44) becomes, using Equation (43),

F = S [ 1 2 k ^ ( B H ) medium + 1 2 k ^ ( B H ) vacuum ] = 1 2 S k ^ [ ( B H ) medium + ( B H ) vacuum ] . (46)

Now we take into account the boundary condition

B normal medium = B normal vacuum , (47)

which with the constitutive relation (5) implies that

μ r H normal medium = H normal vacuum . (48)


( B H ) medium = 1 μ r ( B H ) vacuum , (49)

and then Equation (46) can be written as

F = 1 2 A 0 k ^ [ ( B H ) vacuum ( 1 μ 0 1 ) ] , (50)

which can be rewritten as

F = 1 2 A 0 k ^ [ ( B H ) vacuum ( μ r 1 ) ] , (51)

or in the form

F = 1 2 A 0 k ^ [ ( H 2 ) vacuum χ m ] . (52)

This is the correct known result, Equation (7).

We can then conclude that the force acts at the interface magnetic rod-vacuum inside the solenoid and arises from the Maxwell magnetic stress tensor. This “magnetic pressure” was introduced and discussed by Maxwell, thus confirming that the fringing field is irrelevant.

5. The Force Density

As in the electrostatic case, usually we do not deal directly with a force density; this is obtained as a gradient of an energy density and in this way the result Equation (7) is obtained. Now, what is the force density in terms of the fields B or H and the magnetization M ?

What we want to explore is the possibility of a force density of type

f new M = 1 2 μ 0 H 0 × ( × M ) , (53)

analogous to the electric force density [15]

f new E = 1 2 E × ( × P ) , (54)

from which the known result for the capacitor follows.

In this case the magnetization M depends only on z and is discontinuous at the interface. Since M is in the direction of H , which points in the z direction, we have

× M = 0 , (55)

and therefore

f new M = 0 , (56)

showing that we have here a different situation from that in the electrostatic case. However, if we consider the magnetic energy density analogous to that of the electrostatic field,

u = 1 2 M H 0 (57)

and calculate f = ( u ) I , then

f = ( 1 2 μ 0 M H ) . (58)

With the vector identity for the gradient of a scalar product, the force density results

f = 1 2 μ 0 [ ( M ) H + ( H ) M + M × ( × H ) + H × ( × M ) ] . (59)

The last term is zero, as argued above, while the magnetostatic nature of the field and the absence of free currents imply

× H = 0 (60)

leaving only the two first terms; but the field is uniform, so that we are left only with the second term,

f new M = 1 2 μ 0 ( H ) M . (61)

This force density is also unusual, expecting rather something like

f new M = 1 2 μ 0 ( M ) H , (62)

analogous to the known electrostatic force on a dielectric in a non-uniform electrostatic field. In this case, the new force density Equation (61) results

f new M = 1 2 μ 0 H ( z M ( z ) ) . (63)

which is not zero even in the case of a uniform field. Moreover, since

M ( z ) = χ m Θ ( l z ) H , (64)

then from Equation (63) it follows that

f new M = 1 2 μ 0 χ 0 H 2 δ ( l z ) k ^ , (65)

as in the electrostatic case. Integrating this force density over any volume around the interface gives

F = vol around interface f new M d S d z . (66)

Since the volume element is A 0 d z , where A 0 is the cross section of the magnetizable bar, we have

F = vol around interface f new M A 0 d z , (67)


F = vol around interface 1 2 μ 0 χ 0 H 2 δ ( l z ) k ^ A 0 d z (68)

and the force on the magnetic bar of cross section A 0 is then

F = 1 2 μ 0 χ 0 H 2 A 0 k ^ , (69)

which is the known result, [2] , [3] , [4] , Equation (7), implying that the adequate force density is

f new M = 1 2 μ 0 ( H ) M . (70)

We have then, as in the electrostatic case, a new force density that gives the correct result. The electrostatic and magnetostatic cases seem very similar, but the force densities differ in both cases. This motivates looking for a more general momentum balance equation that includes, in the magnetic case, the force density Equation (61). In the next section we search for such balance equation.

6. Momentum Balance Equation for Magnetic Materials

The question is if the momentum balance equation [17] , [18]

{ ( D E + B H ) 1 2 I ( D E + B H ) } t ( D × B ) = ρ E + J × B + 1 2 [ ( E ) D ( D ) E + ( H ) B ( B ) H ] (71)

includes the new force density Equation (61). The magnetostatic force density is different from the electrostatic force density, but we can proceed as in the electrostatic case.

If only magnetostaic fields are involved, and there are not free charges and currents, Equation (71) transforms in

{ B H 1 2 I ( B H ) } = 1 2 [ ( H ) B ( B ) H ] . (72)

The constitutive relation

B = μ 0 ( H + M ) (73)

and the dyadic identity

( a ) b = a × ( × b ) + ( a ) b (74)

permits to write the right member of Equation (72) in the form

1 2 [ ( H ) M ( M ) H ] = 1 2 [ M × ( × H ) + ( M ) H H × ( × M ) ( H ) M ] . (75)

Since we are dealing with the magnetostatic case without free current densities, we have

× H = 0 , (76)

and from Equation (55),

× M = 0. (77)

Furthermore, the magnetic field and magnetization are in the z direction, so

( M ) H = 0 , (78)


1 2 μ 0 [ ( H ) M ( M ) H ] = 1 2 μ 0 ( H ) M (79)

which is the result we were looking for and agrees with the force density Equation (61). Then we have

{ B H 1 2 I ( B H ) } = 1 2 [ ( H ) B ( B ) H ] = 1 2 μ 0 ( H ) M = f new M . (80)

7. General Balance Equation

We can conclude from the above results that the balance equation Equation (71) implicitly contains the new electric and magnetic force densities, and it is convenient therefore to rewrite it in a form where these force densities appear explicitly. This can be achieved gathering the result of Equation (79) and the analogous one for the electric part [10] , with which the balance Equation (71), can be written in the form

{ ( D E + B H ) 1 2 I ( D E + B H ) } t ( D × B ) = ρ E + J × B + 1 2 [ ( E ) D ( D ) E + ( H ) B ( B ) H ] + 1 2 μ 0 [ M × ( × H ) + ( M ) H H × ( × M ) ( H ) M ] . (81)

In this form the balance equation results very long, but there appear explicitly the new force densities. It is worthwhile to remember that the balance equation Equation (71) is a transformation of the Maxwell equations with linear materials, and therefore is as sound as these equations. Hence, the force densities appearing in this balance equation have a solid foundation on Maxwell’s equations.

8. Conclusions

We have calculated, in a novel and insightful way that allows a physical explanation, the well-known force that arises when a magnetizable rod is partially introduced into the magnetic field of a solenoid. Our approach is an alternative to the usual calculation with the gradient of an energy. The usual calculation does not give any insight about where the force acts and how it arises, while our method does give such insights. This novel calculation is based on the volume integration of a force density and the surface integration of a magnetic stress tensor. Though the force density may seem unfamiliar, it is part of a momentum balance equation derived directly from the macroscopic Maxwell equations. Indeed, these balance equations contain many force densities, for example the Helmholtz force density [11] , with which this magnetic force can also be calculated. This method leads to results that indicate that this force is exerted at the rod-vacuum interface, where the magnetic field is uniform, and has its origin in Maxwell’s magnetic stresses.

We also analyze the analogy with the electric case, used sometimes to calculate the force as a gradient of a magnetic energy. The proposed analogy consists in substituting in the electric case E with B and D with H . The analysis of this familiar effect shows that the classical theory of electromagnetism still contains interesting conceptual aspects that deserve attention.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

Cite this paper

Jiménez-Ramírez, J.-L., Campos-Flores, I. and Roa-Neri, J.-A.-E. (2018) A New Perspective of the Force on a Magnetizable Rod inside a Solenoid. Journal of Electromagnetic Analysis and Applications, 10, 171-183.


  1. 1. Boyer, T.H. (2001) Electric and Magnetic Forces and Energies for a Parallel-Plate Capacitor and a Flattened, Slip-Joint Solenoid. American Journal of Physics, 69, 1277-1279.

  2. 2. Wangsness, R.K. (1986) Electromagnetic Theory. 2nd Edition, John Wiley and Sons, New York.

  3. 3. Reitz, J.R., Milford, F.J. and Christy, R.W. (1993) Foundations of Electromagnetic Theory. 4th Edition, Addison-Wesley, Reading.

  4. 4. Nayfeh, M.H. and Brussel, M.K. (2015) Electricity and Magnetism. Dover, Mineola.

  5. 5. Margulies, S. (1984) Force on a Dielectric Slab Inserted into a Parallel-Plate Capacitor. American Journal of Physics, 52, 515-518.

  6. 6. Utreras-Diaz, C. (1988) Dielectric Slab in a Parallel-Plate Condenser. American Journal of Physics, 56, 700-701.

  7. 7. Naini, A. and Green, M. (1997) Fringing Fields in a Parallel-Plate Capacitor. American Journal of Physics, 45, 877-879.

  8. 8. Dietz, E.R. (2004) Force on a Dielectric Slab: Fringing Field Approach. American Journal of Physics, 72, 1499-1500.

  9. 9. Griffiths, D.J. (1999) Introduction to Electrodynamics. 3nd Edition, Prentice-Hall, Englewood.

  10. 10. Campos-Flores, I., Jiménez-Ramírez, J.-L. and Roa-Neri, J.-A.-E. (2018) How Does Arise the Force on a Dielectric Slab in a Parallel Plate Capacitor? Journal of Electromagnetic Analysis and Applications, 10, 131-142.

  11. 11. Campos, I., Jiménez, J.L. and López-Mariño, M.A. (2012) Electromagnetic Momentum Balance Equation and the Force Density in Material Media. Revista Brasileira de Ensino de Fisica, 34, 2303.

  12. 12. Landau, L.D., Lifshitz, E.M. and Pitaevskii, L.P. (1984) Electrodynamics of Continuous Media, Vol. 8 Course If Theoretical Physics. 2nd Edition, Pergamon, Oxford.

  13. 13. Purcell, E.M. and Morin, D.J. (2013) Electricity and Magnetism. 3rd Edition, Cambridge, New York.

  14. 14. Becker, R. (1982) Electromagnetic Field and Interactions. Dover, Mineola.

  15. 15. Jackson, J.D. (1998) Classical Electrodynamics 3rd Edition, Wiley and Sons, New York.

  16. 16. Stratton, J.A. (1941) Electromagnetic Theory. McGraw-Hill, New York.

  17. 17. Panofsky, W.K.H. and Phillips, M. (1962) Classical Electricity and Magnetism. 2nd Edition, Addison-Wesley, Reading.

  18. 18. Jiménez, J.L., Campos, I. and López-Mariño, M.A. (2011) A New Perspective of the Abraham-Minkowski Controversy. The European Physical Journal—Plus, 126, 50.


*On sabbatical leave from Departamento de Física, División de Ciencias Básicas e Ingeniería, Universidad Autónoma Metropolitana, Unidad Iztapalapa, Av. San Rafael Atlixco No. 186 Col. Vicentina. Apartado postal 21-094, Cd. Mx. 04000.