Static dipole-dipole magnetic interaction is a classic topic discussed in electricity and magnetism text books. Its dynamic version, however, has not been reported in scientific literature. In this article, the author presents a comprehensive analysis of the latter. We consider two identical permanent cylindrical magnets. In a practical setting, we place one of the magnets at the bottom of a vertical glass tube and then drop the second magnet in the tube. For a pair of suitable permanent magnets characterized with their mass and magnetic moment we seek oscillations of the mobile magnet resulting from the unbalanced forces of the anti-parallel magnetic dipole orientation of the pair. To quantify the observed oscillations we form an equation describing the motion of the bouncing magnet. The strength of the magnet-magnet interaction is in proportion to the inverse fourth order separation distance of the magnets. Consequently, the corresponding equation of motion is a highly nonlinear differential equation. We deploy Mathematica and solve the equation numerically resulting in a family of kinematic information. We show our theoretical model with great success matches the measured data.
It is trivial to quantify the electrostatic interaction between two point-like charges; however, in practice, it is challenging to deal with point-like charges. On the contrary, it is common practice to observe the interaction between two magnets; however, it is not that trivial to quantify their mutual interaction. For instance, the triviality of formulating the mutual interaction force between a pair of electric charge results from the fact that there are electric monopoles. We have not observed similar monopoles for the magnets thus far. The mutual magneto static interaction force between two magnets therefore is elevated beyond monopole-monopole interaction; it is considered as magnetic dipole-dipole interaction. Dipoles are geometrically extended objects. Even for planar dipoles intuitively speaking one speculates the interaction force should depend on the relative orientation of the dipoles, let alone the three dimensional configurations. As a common practice, the planar configuration is trivialized further to a one dimensional manageable situation; magnets are aligned along their mutual common axial axis [
The problem is posed: Consider two permanent magnets. Position them along their mutual common axial axis and orient their magnetic moments so that are anti-parallel. Drop one of the magnets vertically on top of the second stationary magnet. Select a set of suitable characteristics for the magnets, namely the mass of the falling magnet and their magnetic moments, such that the balance between the weight of the falling magnet and the mutual magnetic force between the two magnets results in oscillations. Model the problem theoretically and confirm the accuracy of the model vs. data.
The analysis of the proposed project embodies a variety of experimental and theoretical challenges. The paper is organized to address both aspects and is composed of five sections. In Section 2, we brief the theoretical foundation evaluating the needed axial magnetic field of a permanent magnet and the magnetic force of two interacting magnets. In Section 3, guided by the theoretical insight of Section 2, we utilize two independent experimental methods and measure the needed magnetic dipole moment of the magnets. In this section we explain also the actual experiment of the bouncing magnet. In Section 4, we lay the foundation for the theoretical model and compare our model to data. In Section 5, we construct a few useful phase diagrams and in Section 6, we address the energy related issues. We close the paper with concluding remarks.
In summary, the project was stemmed from a hypothetical conceptual thought experiment. The paper is written descriptively and navigates the reader through the challenges that faced the author. To transit from a thought experiment to reality, suitable magnets had to be sought, experimental methods had to be explored, data acquisition system had to be utilized, and theoretical models had to be investigated. The proposed problem lends itself as a comprehensive physics research project. The paper provides a road map resolving the issues of interest and proves the usefulness of Mathematica [
Magnetic field at a distance z from the center of a counter clockwise steady current i, looping in a horizontal circle of radius R along the symmetry axis z perpendicular to the loop according to Biot-Savart law trivially evaluates [
where is the unit vector along the z-axis and is the permeability of free space. It is customary to define and apply Equation (1) in its entirely to a permanent magnet possessing a magnetic moment.
With the given quantified value of the magnetic field it is straight forward to determine the magnetic force between two permanent magnets when their moments align along their common axial axis. Viewing the interaction as being the response of the moment of one magnet to the field of the other one, the energy associated with the pair is. Its spatial variation is the interaction force, , meaning, the force is necessitated by the inhomogeneity of the field. Utilizing Equation (1) the inhomogeneity evaluates, and the force becomes,
Accordingly, the anti-parallel dipole alignment results in a repulsive force and their parallel orientation provides an attractive force, respectively.
Theoretical modeling of the observed oscillations utilizes Equation (2). As we discuss in Section 4, by including other relevant forces we form an equation describing the motion of the bouncing magnet. We aim to solve the equation of motion symbolically and apply Mathematica. However, because of the highly nonlinear term of Equation (2) Mathematica provides no symbolic solution; we solve the equation numerically. Furthermore, we have observed the pair of our selected magnets always are subject to R
For the chosen set of parameters describing the magnets in use, we then compare the numeric solutions of the associated equations of motion utilizing Equation (2) and Equation (4), separately; within the duration of the observed oscillations the solutions are indistinguishable. Henceforth, we utilize the simplified format of Equations (3) and (4) throughout our analysis.
We acquire a variety of cylindrical magnets [
To verify the practical reliability of Equation (3) we measure the field directly. Then we compare the trend of the strength of the measured field vs. distance to its theoretical counterpart, Equation (3). For our measurement we utilize Pasco™ [
pair of the data set embedded in the accompanied code is the distance from the Gauss meter to the tip of the magnet in mm units; the second element is the averaged value of the measured fields in Gauss. Linear and logarithmic plots of the field vs. distance are depicted in
cylindricalMagnedata={{30,110},{35,80},{40,58.6}{45,45},{50,36},{60,24},{70,17},{75,14. 6}}/.{p_,q_}®{0.1(p+12.7),q};
plotlistdata=ListPlot[cylindricalMagnetdata,AxesLabel ®{"z,cm","B,Gauss"},PlotRange®{{3,9},{0,120}},GridLnes®Automatic,PlotStyle®{Black,PointSize[0.02]}];
lisplot1=ListLogLogPlot[cylindricalMagnetdataGridLines®Automatic,AxesLabel®{"Logz","LogB"}PlotStyle®{Black}];
listplot1=ListLogLogPlot[cylindricalMagnetdataGridLines®Automatic,AxesLabel®{"Logz","LogB"}PlotStyle®{Black}];
listplot2=ListLogLogPlot[cylindricalMagnetdataGridLines®Automatic,AxesLabel®{"Logz","LogB"}Joined®True,PlotStyle®{Black}];
s12=Show[listplot1,listplot2];
Show[GraphicsArray[{plotlistdata,s12}]]
The linear plot of the raw data is depicted in the left graph of
Guided by the theoretical format of Equation (3) we fit the data applying B(z)=az-b. The plot of Log[B(z)] utilizing the fitted values of {a,b} vs. the Log[z] along with the right graph of
fitdata=FindFit[cylindricalMagnetdata,]
loglogplotfit=LogLogPlot[Dashing[{0.02}]}, PlotRange->{All,{10,120}}];
Show[listplot1,loglogplotfit,s12]{a®7299.62, b®2.8922}
According to our setup shown in
converted to MKS units, it yields m=3.65 Amp.m2. In short, the measurement of field yields the value of magnetic moment of the permanent magnet.
In this section we consider an alternate method to measure the magnetic dipole moment of a permanent magnet. Contrary to the previous method in reference to equipment, and in addition to knowing the weight of one of the magnets the only equipment needed is a straight edge. A version of this method has been discussed in [
For a typical run, we place a pair of identical cylindrical magnets with their anti-parallel moments aligned along their common axial orientation in a vertical glass tube. The anti-parallel orientation of the moments causes a mutual repulsive force resulting in static equilibrium. We then measure the center-to-center separation distance of the magnets -- this yields the value of the moment. The reason is that at static equilibrium the net force on the floating magnet is zero, giving
where F12 is the force of the base magnet (#1) on the suspended magnet (#2). Its value is given by Equation (4), where m is the mass of the suspended magnet. For a pair of identical magnets we solve Equation (5) for m,
where z2 is the center-to-center distance of the magnets. We introduced the subscripts to identify various generalized cases -- more explanations are given in the next paragraph. We repeat of the same procedure with three identical cylindrical magnets, yielding
and
Here, z2 and z3 are the center-to-center distances from the base to the 2nd and from the base to the 3rd magnets, respectively, and and are the solutions of the
corresponding static equations for the 2nd and the 3rd magnets, respectively. Note, the first subscript of mu indicates the number of magnets for a given setup, and the second subscript corresponds to the magnet of interest. E.g. the indices of are interpreted as the 2nd magnet of a three-magnet tower. Note that for the number of conducive equations, the value of m’s are one less than the number of the magnets. In our study we extend the static method from a minimum of a two-magnet tower to a five-magnet assembly. We provide one of the four equations for the five-magnet assembly,
(8)
For each assembly we then measure the needed distances and apply the corresponding equations to evaluate the m’s. For each assembly we then plot the values of the moments vs. the number of the magnets. The graph reveals the distribution of moments about the overall mean value of the moments is sharp; we then objectively evaluate the mean value of each assembly and then evaluate the mean of the mean. Notice also to measure the mass of the magnet we use a balance with an accuracy of 0.1 grams. Considering the accuracy of a straight edge is 1 mm, our systematic error yields 12%; Hence, our measurement yields m=(3.58±0.43) Amp.m2. Comparing to the measurement of the previous method, although the values of the moments are comparable, it appears that we should prefer the method of the previous section. A photo of the setup for a four-magnet assembly is shown in
(*Import["C:\\DataFiles\\MagneticDipole_Fall2008\\Cyl-indricalMagnet Nov28_2008\\IMG_2589.jpg", Image Size®{120,180}];*)
The experiment setup is shown in
(*Import["C:\\DataFiles\\MagneticDipole_Fall2008\\Cyl-indricalMagnetNov28_2008\\IMG_2594.jpg", ImageSi ze®{120,200},Alignment®{Center}];*)
Import["C:\\DataFiles\\MagneticDipole_Fall2008\\Cy lindricalMagneNov28_2008\\position1_Dec4_20 08.bmp ",ImageSize®400,Alignment®{Center}]
The run time of the experiment is about 2.0 s and the magnet on an average oscillates eight times with an approximate period of 0.3 s. The largest amplitude of oscillation typically is 8 cm. The closest distance of approach of the bouncing magnet from the base magnet on average is greater than 4 cm; this is within the z-3 approximation of magnetic field.
With the data on hand we devise our model. The basis of our model stems from dynamics, meaning, we deal with active forces. In addition to the relevant forces acting on the mobile magnet namely weight and the dipole-dipole magnetic repulsive force, we introduce a new factor, the speed dependent viscous force. The viscous coefficient for the ceramic magnet against the glass tube and the surrounding air is unknown. Therefore, our model embodies an unknown parameter. Guided with data we adjust the value of this unknown parameter; the procedure follows.
Utilizing DataStudio we export the collected data to Microsoft™ Excel [
ExcelLink`
Utilizing an active Excel file, we read the data. File:C: |DataFiles|MagneticDipole_ Fall2008|CylindricalMagnetNov28_2008|position1_Dec4_2008.xls data=ExcelRead["a7:b197"];
ListLinePlot[Drop[data,50]/.{p_,q_}®{p,100q},PlotRange®{{1,3.5},{0,30}}];
plotdata=ListLinePlot[Drop[data,50]/.{p_,q_}®{p-data[[50,1]],100(-(q+0.0254)+0.340)},PlotRange®{0,13},PlotStyle®{Dashing[{0.01},GrayLevel[0.5],Thickness [0.006]};GridLines®Automatic,AxesLabel®{“t,s”,”z,cm”}]
The graph shows the bouncing magnet gets as close as 5.5 cm of the tip of the base magnet, and it settles at 7.5 cm away from it. This justifies the applicability of Equation (3).
We formulate the viscous force as Gv, where G and v are the viscous coefficient and the speed of the mobile magnet, respectively. Applying Newton’s second law, at the instance when the bouncing magnet is accelerating upward along the z-axis yields,
where g= /m is the viscous coefficient per mass. We utilize the mean value of the measured magnetic dipole moment according to the procedures discussed in Subsections 3.1 and 3.2. Therefore, with the exception of g all of the coefficients of Equation (9) are known. For a set of appropriately chosen initial conditions, namely the initial height of the freely dropped magnet we apply NDSolve and solve Equation (9) numerically. With trial and error we search for g such that the solution of Equation (9) reasonably duplicates the data.
values={g->9.8, , , meanm®3.63, g ®1.9};
eqz=z''[t]-(6(m0/(4p))meanm2)/(mz[t]4)+ gz'[t]+g/.values;
solz=NDSolve[{eqz=0,z[0.0] =12.610-2,z'[0.] =0},z[t],{t,0.,4}];{positionz,speedz,accz}={z[t]/.solz[[
plotz=Plot[102 positionz,{t,0.,3},AxesLabel®{"t,s","z,cm"},PlotRange®{All,{0.,13}},GridLines® Automatic,PlotStyle®{Thickness[0.008],Black}];
tabz=Table[positionz,{t,0,4,0.02}];Manipulate[Show[{plotz,plotdata,Graphics[{AbsolutePointSize[
As shown in
model calculation and data. However, beyond 1.5 s the amplitudes are about 1.5 cm, and the precision of the motion sensor for this small range is questionable.
The damped oscillations of the bouncing magnet shown in
plotspeedz=Plot[speedz,{t,10-2,4},AxesLabel®{"t,s",",m/s"},PlotRange®All,PlotStyle®{Black},AxesOrigin®{0,0}];
plotaccz=Plot[accz,{t,10-2,4},AxesLabel®{"t,s","m/s2"},PlotRange®All,AxesOrigin®{0,0},PlotStyle®{Black}];
Show[GraphicsArray[{plotz,plotspeedz,plotaccz}]]
In practice, the magnet is released from its initial height of 12.6 cm away from the base magnet; its initial velocity and acceleration are zero and ~ -8.2m/s2, respectively. These are the ordinances of the curves depicted in the last two plots of
Graphs depicted in
{positionz,speedz,accz}/.t®0.164
{0.0552837,0.00654413,26.9876}
phas2Plotzv=ParametricPlot[{102 positionz,4 speedz}{t,10-1,4},AxesLabel®{"z,cm",",4m/s"},PlotRange®All,PlotStyle®{Black}];
phas2Plotza=ParametricPlot[{102 positionz,10-1 accz}{t,10-1,3.999},AxesLabel®{"z,cm",",10-1m/s2"},PlotRange®All,PlotStyle®{Black},AspectRatio®1.2];
phas2Plotva=ParametricPlot[{5speedz, 10-1 accz},{t,10-1,3.999},AxesLabel®{",5m/s",",10-1m/s2"},PlotRange®All,PlotStyle®{Black}];
phasePlotzva=ParametricPlot3D[{102 positionz,5speedz,10-1 accz},{t,10-1,3.999},AxesLabel®{"z,m",",5m/s",",10-1m/s2"},BoxRatios®1,PlotStyle®{Thickness[0.007],Black},PlotPoints®120];
Show[GraphicsArray[{{phas2Plotzv,phas2Plotza},{phas2Plotva,phasePlotzva}}]]
Graphs shown in
Knowing the time dependent position of the bouncing magnet, z(t), we write its energy E=KE+U. KE is Kinetic Energy and is KE=1/2 mv2; U is potential energy and is. Applying Equation (3) the potential energy for a pair of identical magnets yields,. Now, we utilize the solution of Equation (9) and evaluate the time-dependent values of the kinetic and potential energies. A display of the total energy vs. time is shown on the left panel of
plotTotalEnergy=Plot[Evaluate[(1/2m speedz2+2(m0/
(4p)) meanm2 1/positionz3+m g positionz)/.values]{t,0,2},PlotRange®{0,All},AxesLabel®{"t,s","Total Energy,Joule"},PlotStyle®{GrayLevel[0.2]},GridLines
®Automatic];
dEnergy=D[Evaluate[(1/2m speedz2+2(m0/(4p)) meanm2 1/positionz3+m g positionz)/.values],t];
plotdEnergy=Plot[dEnergy,{t,0,2},PlotRange®All,AxesLbel®{"t,s","d/dt(Energy),Joule/s"},PlotStyle®{Black},GridLines®Automatic];
Show[GraphicsArray[{plotTotalEnergy,plotdEnergy}]]
The left graph of
that the rate of the loss of energy is not uniform. To have a better understanding about the time dependent behavior of energy, we dissect the energy and look at the time variations of its composites.
plotTotalPE=Plot[(2(m0/(4p)) meanm2 1/positionz3+m gpostionz)/.values,{t,0,4},PlotStyle®{GrayLevel[0.4],Thickness[0.008]},PlotRange®{All,{0,0.03}},AxesLabel®{"t,s","TotalPE,Joule"},GridLines®Automatic];
plotGravityPE=Plot[(m g positionz)/.values,{t,0,4},PlotStyle®{GrayLevel[0.2]},PlotRange®{All,{0,0.03 }},AxesLabel®{"t,s","Gravitational PE,Joule"},GridLines®Automatic];
plotMagneticPE=Plot[(2(m0/(4p)) meanm2 1/positionz3)/.values,{t,0,4},PlotStyle®{GrayLevel[0.4]},PlotRange®{All,{0,0.03}},AxesLabel®{"t,s","Magnetic PE,Joule"},GridLines®Automatic];
Show[plotMagneticPE,plotGravityPE,plotTotalPE,AxesLabel®{"t,s","Potential Energy,Joule"}]
According to
plotKE=Plot[(1/2 m speedz2/.values),{t,0,4},PlotStyle®{GrayLevel[0.6],Thickness[0.008]},PlotRange®{All,{0,0.006 }},AxesLabel{"t,s","KE,Joule"},GridLines®Automatic];
plotEnergy=Show[plotTotalPE,plotKE,plotTotalEnergy,AxesLabel®{"t,s","Enrgy,Jouels"},PlotRange®All];
plotz1=Plot[0.15positionz,{t,0.,3},AxesLabel®{"t,s","z,cm"},PlotRange®{All,All},GridLines®Automatic,PlotStyle®{Thickness[0.008],Black}];
Show[plotEnergy,plotz1,AxesLabel®{"t,s","Energy(J), \n z(m)"}]
For a comprehensive understanding in
As we pointed out in the introduction, the practical aspects of dynamic dipole-dipole magnetic interaction have not been discussed in scientific literature. In this article we propose a research project addressing this outstanding issue. We apply two distinct practical methods measuring the magnetic dipole moment of a permanent magnet. The measurement of the magnetic moment in one approach acquires deploying a variety of laboratory equipment; the second method simply deploys a straight edge only. The bouncing magnet experiment itself is a repeatable experiment and produces reliable data. The data is interpreted by proposing a semi-empirical theoretical model. The model embodies the dynamic magnet-magnet interaction and the viscous force as well. The strength of the latter is determined in accordance with data. The author being aware of the utility of Mathematica had proposed and tackled this laborious project. While exploring an uncharted territory we stumbled upon certain issues. Addressing those issues helped us to devise a few fresh useful phase diagrams, as well as reveal the detailed energy characteristics of the bouncing magnet. The article includes a complete set of the needed Mathematica codes including an animation assisting to visualize the bouncing magnet. This project also shows how in practice one may import and export data files amongst software such as, Data Studio, Excel, ExcelLink for Mathematica and Mathematica itself. To guide the interested reader to duplicate the experiments we include two photos of the setups for reference.
The author wishes to acknowledge Mrs. Nenette Sarafian Hickey for carefully reading over the article.