Fitting the trajectories of particles in the equatorial plane of a magnetic dipole with epicycloids
Abstract
In this paper we discuss epicycloid approximation of the trajectories of charged particles in axisymmetric magnetic fields. Epicycloid trajectories are natural in the Guiding Center approximation and we study in detail the errors arising in this approach. We also discuss how using exact results for particle motion in the equatorial plane of a magnetic dipole the accuracy of this approximation can be significantly extended. We also show that the epicycloids approximate the trajectory of a charged particle more accurately than the position of the particle along the trajectory.
I Introduction
Motion of charged particles in geomagnetic field has important applications in plasma and space physics, for example, to dynamics of radiation belts and ring current Lyons84 ; Gombosi . Most commonly, this motion is described using the Guiding Center (GC) approximation northrop , which is one of the most successful approximations in plasma physics. Under the GC approximation, the motion of a charged particle is split into two motions considered separately: fast gyration of the particle around the guiding center and a much slower drift of the guiding center. The accuracy of this approximation decreases as the energy of the particle increases and while it is excellent for ring current electrons, it is hardly applicable to cosmic rays.
Motion of electrons and ions in the magnetosphere is, of course, three dimensional. However, many important insights into physics of various populations of the charged particles and their dynamics can be gained from considering particles in the equatorial plane of the terrestrial dipole li98 ; sarris2005 ; kabin2017 . This is often done to simplify the analysis. Although seldom used in practice, there is an analytical solution for Lorentz equations of motion of charged particles in the equatorial plane a magnetic dipole kusaka ; Juarez1949 ; Avrett1962 . Naturally, for small particle energies this solution approaches the GC expectations, but for higher energies can deviate from it very significantly Avrett1962 .
In a typical application of GC, the particle is considered to be “collapsed" into the guiding center and only the motion of the guiding center itself is discussed. The gyration speed of the particle in the approach only appears through the first adiabatic invariant (the magnetic moment), which is assumed to be conserved exactly Kabin2019 . Thus, all information about the phase of the particle as it gyrates around the gyrocenter is lost. For some applications, however, it may be desirable to keep the phase information even in the GC approximation. For example, results of a particle interaction with high-frequency waves may depend on the relative phases of the particle and the wave. Some numerical codes may switch between GC approximation and integration of full Lorentz equations depending on the magnetic field parameters. In such cases, the phase of the particle transitioning from the region of GC approximation to full Lorentz integration is often assigned randomly.
Full motion of a charged particle in the GC approximation is represented by an epicycloid johnston . In this paper we study how well the particle trajectory can be approximated by an epicycloid curve. In particular, we use the results of the analytical solution for the particle motion in the equatorial plane of a dipole field Avrett1962 to determine the parameters of the epicycloid. We also study the accuracy of the epicycloid approximation based on GC parameters. In this paper we consider two versions of the GC approximation: the simplest possible implementation based on the initial position of the particle, and a more accurate one in which parameters at the guiding center are used. We show that with well-chosen parameters, the epicycloid approximation of the particle trajectory remains accurate for surprisingly large energies, even for those approaching the threshold of confinement in the dipole field Kabin2018 . Such high energies are usually considered to be well outside the area of applicability of the GC approximation.
II Equatorial plane of a magnetic dipole
Here we consider magnetic field aligned with the axis of a right-handed Cartesian coordinate system :
(1) |
where is the strength of magnetic dipole moment expressed in units of T m3. For this magnetic field coincides with that in the equatorial plane of a magnetic dipole. Motion of charged particles in this field is described by Lorentz equations:
(2) |
where is the mass of the particle, is its charge, its velocity and its position. For magnetic field (1) motion along the axis is decoupled from the motion perpendicular to it, so for the rest of the paper we only consider the trajectories in the plane. It is convenient to introduce
(3) |
to simplify the notation.
For magnetic field (1) there is a class of very simple solutions of (2) which are circles with the center at the origin. If is the radius of the circle, the corresponding circular speed is
(4) |
This circular speed provides a convenient scale for the velocity in this problem.
Motion of charged particles in the equatorial plane of a magnetic dipole has many practical applications and has been studied extensively in the past kusaka ; Juarez1949 ; Avrett1962 . This problem has an analytical solution which can be expressed in term of elliptic integrals. Typical particle trajectories are confined to an annulus defined by and which can be calculated as:
(5) |
Here is the speed of the particle (it remains constant during the motion), is the radius where the particle velocity is pointing in the radial direction, and is the speed of the circular motion given by (4) at distance Avrett1962 . If exceeds then becomes undefined; in this case the particle trajectory is unbounded and eventually the particle moves to infinity. Here we only consider bounded trajectories. Transition from bounded to unbounded trajectories for various axisymmetric fields is discussed in detail by Ref. Kabin2018, .
Period of a single cycle (gyroperiod) can be calculated as Avrett1962 :
(6) |
where integral is a function of only; the subscript 2 is used for consistency with Ref. Avrett1962, . The integration variable in (6) is . Note, that equation (6) gives the “synodic" period, i.e. the time it takes the particle initially, for example, at reach the position again.
The average drift around the origin of the coordinate system can be calculated as
(7) |
with
(8) |
Note, that is negative for , i.e. positively charged particles in upward magnetic field drift clockwise. And integral is also a function of only. Note that both integrals and have integrable singularities at both ends of the interval, thus certain care needs to be taken for accurate numerical evaluation.
III Approximating particle trajectories with epicycloids
Cycloidal motion is, of course, expected in the GC approximation. In this section we seek to approximate the trajectory of a particle making the best use of the analytical parameters of its trajectory discussed in section II. Specifically, we place the center of the cycloid at and ensure that the amplitude of circular motion is . We also use the exact expressions for the drift and gyration frequencies. Then the equation for the epicycloidal approximation to the particle trajectory can be written as
(9) |
where is time and is the initial time which defines the initial phase of the particle in its trajectory. If then the particle is initially and , which is a convenient initial condition. With this choice of initial conditions, the epicycloid touches the exact trajectory at and points. Note, that in equation (9) is the “sidereal" angular frequency of the particle which is computed as
(10) |
The function in this expression accounts for the direction of gyration of the particle which depends on the sign of the charge and the direction of the magnetic field.
Figure 1 shows an example of a comparison between the particle trajectory calculated numerically by integrating equations (2) with that approximated by an epicycloid. In this figure, and . Red line shows the numerically calculated particle trajectory and blue dashed line is the epicycloid approximation.

A traditional geometric interpretation of equations (9) is a path traced by a point attached to a circle of radius rolling without slipping around the outside of a fixed circle of radius , where the point is at a distance from the center of the moving circle johnston . Parameters , , and can be calculated as follows:
(11) |
These geometric parameters are also shown in figure 1. Note, that although is close to , they are different, see the upper panel of figure LABEL:abR. Figure LABEL:abR shows the variation of the epicycloid parameters, , , and , normalized with , with dimensionless speed of the particle . It follows from equations (5), (6), and (7) that the curves in figure LABEL:abR for different initial positions of the particle coincide; parameters , , and depend only on . Parameters and have obvious physical interpretations as the gyroradius of a particle and the distance of the guiding center from the origin, respectively. The physical meaning of the parameters and individually is unclear.
Note, that figure 1 corresponds to a very large speed of the particle, which is nearly 90% of the confinement threshold speed for a dipole. For a proton in the Earth magnetic field with (typical value for the inner radiation belt) this speed would correspond to about 800 MeV, which is much larger than typical energy of a radiation belt proton. Nevertheless, even at such extremely high energies, equation (9) provides a fair approximation for the trajectory of a particle. Furthermore since the exact frequencies are used, the epicycloid approximation does not contain secular error. Of course, in cases of practical interest, analytical expressions for such parameters are unlikely to be available. Nevertheless, it is remarkable how accurate cycloidal approximation (9) with well-chosen parameters can be, even for very high particle energies which would normally be considered to be well outside the GC validity.
A more typical application of the cycloid approximation would be based on GC quantities, which we discuss next. Accuracy of the cycloid approximation is further discussed in section V.
IV Guiding center approximation
The gyrofrequency and the gyroradius for a particle moving in magnetic field (1) can be calculated as
(12) |
The gradient drift speed is e.g. Ref. Lyons84, .
(13) |
giving the drift frequency of
(14) |
Note, that in the above expressions the gyrofrequency and the drift frequency can be either positive or negative, depending on the sign of . These definitions simplify the expression for the epicycloid approximation for the trajectory below.
An important question arising in applying equations (12-14) to describe the motion of a specific particle is what value for should be used in these equations burby2013 . The simplest interpretation of in equations (12) and (14) is to consider it to be the instantaneous location of the particle. Under this interpretation, however, the gyroperiod, gyroradius, and the drift frequency all change as the particle moves. If, for example, we assume that the particle is initially at then, because the magnetic field decreases with , as the particle moves, decreases while and both increase.
It is well known that the accuracy of the GC approximation improves if some sort of an average value is used for the magnetic field when applying equations (12) and (14) burby2013 . One way to improve the accuracy of the GC approximation is by calculating the gyroperiod and gyroraidus of the particle based on the previous estimation of the gyrocenter instead of the current position of the particle. For example, assuming that the particle is initially at we can set up the following iteration for the gyrofrequency, gyroradius, and drift frequency:
(15) |
with . Here, superscript (i) refers to the iteration number (not the power). Our numerical calculations show that iteration (15) for magnetic field (1) converges for , independent of the initial value of . Note, that the velocity corresponding to this convergence threshold is smaller than that corresponding to the confinement threshold.
Using expressions (15), epicycloid equation for the trajectory can be written as:
(16) |
Here we use the same initial conditions as before: for the particle is at and .

Figure 3 shows exact trajectory of the particle with red line, the simplest GC approximation ( in equation (15)) with pink dotted line, and GC approximation with converged parameters with blue dashed line for . Although figure 3 corresponds to a smaller speed than figure 1, the approximation to the trajectory is not nearly as good as that in figure 1. This is not surprising, considering that approximation (16) does not include any exact results. It is, however, obvious that iterating parameters for the GC approximation dramatically improved the results. It should also be noted that figure 3 still corresponds to a very high speed which is 60% of the confinement speed. For smaller values of , GC is considerably more accurate, as discussed further in section V. Because even the iterated frequencies still differ from the exact ones (6) and (7), GC approximation suffers from secular error, and over many periods diverges from the exact trajectory. This type of error is also easily visible in figure 3.
V Accuracy of the epicycloid approximation
Next we analyze the accuracy of the epicycloid approximations introduced in the previous sections. First, we define the time-dependent distance between the exact trajectory and approximations described in sections III and IV:
(17) |
Here and are given by equations (9) or (16) and the exact trajectory is obtained either analytically, as described in Ref. kusaka, ; Avrett1962, or by a high accuracy numerical integration of the equations of motion.

Figure 4 shows the approximation error of equation (9) as a function of time for several values of . The time here is normalized with given by equation (6), which is different for every value of the velocity. Because of symmetry, only half of the gyroperiod is shown. As expected, the approximation error goes to zero at and and peaks roughly midway between these turning points. The black dashed line in Figure 4 shows that the largest error, , occurs at slightly different points during the cycle; for small the largest error occurs at quarter of the period. Comparing figures 1 and 4 it is clear that the error shown in figure 4 is larger than the distance between the exact and approximated trajectories in figure 1. This occurs because in equation (6) both the exact and approximated position of the particle are used at the same moment in time; thus is not exactly the geometrical distance between the two curves. If one is interested strictly in the distance between the two trajectories, without regard for the time, then the appropriate estimation of accuracy would be just the geometrical distance between the two curves, calculated as
(18) |
Equation (18) uses the numerically calculated trajectory as the reference curve and at its every point finds the smallest distance to the approximated trajectory. It is obvious how this definition can be modified to use the approximated trajectory as the reference curve producing a similarly defined function .

Figure 5 shows the comparison between (blue line) defined by (6) and the geometrical distance (red line) defined by (18). For reference, is also shown as a red dashed line; the maximum value of is, of course, the same as the maximum of , which is emphasized by a horizontal black dashed line. All plots are made for . Figure 5 shows that for this speed is roughly a factor of 5 smaller than and peaks somewhat closer to . The value of is consistent with the distance between the real and approximated trajectories seen in figure 1. Thus, the accuracy of approximating the trajectory of the particle with epicycloid (9) is several times higher than approximating the position of the particle along the trajectory. The errors for the trajectory approximation (16) are qualitatively the same but larger.

It is natural to expect for approximations (9) and (16) to work best for small values of the particle velocity, when the GC approximation is most accurate, and to break down for large velocities approaching the confinement limit. This is illustrated by figure 6 which shows the with a solid blue line and with a dashed blue line as a function of for approximation (9); note the logarithmic scale of this figure. Also shown are where is computed with equation (6) for the simple GC approximation, based on the instantaneous position of the particle (red dashed line), and for the iterated GC approximation (red dotted line). For small the error for both approximations (16) and (9), while the geometric distance between the curves decreases at an even faster rate of . Although the error for simplest GC approximation based on the particle position also decreases as , it is always roughly a factor of 10 larger than that for either the iterated GC or the epicycloid approximation. It is impressive, that for most of the considered range of , the iterated GC approximation works nearly as well as the epicycloid approximation with the exact frequencies. The iterated GC approximation only loses it accuracy for high values of the velocities, and in fact this approximation cannot be computed at all for when iterations (15) diverge. Figure 6 only shows the accuracy of all the approximations for the first gyro-cycle; because of the secular errors inherent in the GC approximation, over time it becomes progressively worse. The cycloid approximation with the exact frequencies is free of the secular errors. Furthermore, somewhat surprisingly for such a simple approximation, it remains reasonably accurate (on the order of 10%) even at speeds close to the confinement threshold.
VI Velocity
Another important way in which the accuracy of approximations (9) and (16) can be quantified is by considering the velocity of the particle. Here we focus on equation (9), but the results for the GC approximation are quite similar. During motion in magnetic field, in the absence of electric field, the velocity of the particle remains constant. Differentiating (9) we arrive at the following equation for the velocity for the epicycloid approximation:
where the average value of over the period is given by
(19) |
Unfortunately, always depends on time, so approximation (9) is never exact. Expanding the expressions for , , etc. into Taylor series for small (see e.g. Ref. Avrett1962, ) it is easy to show that the second term in the above equation for dominates and this term approaches for small . This is not surprising, since the first term in equation (19) represents the drift speed and the second the gyration speed. One of the requirements for GC approximation applicability is that the drift speed is much smaller than the particle speed northrop .

Figure 7 shows as a function of time () for one period for several values of . As velocity of the particle deceases, the ratio approaches horizontal line at value 1; however, for larger values of the amplitude of the change in is quite large. The dependence of this amplitude on is shown in figure 8. For small this normalized amplitude decreases linearly with .

Finally, figure 9 illustrates the deviation of from as a function of . The quantity shown in figure 9 is the normalized deviation from the expected value. For small values of this error decreases as , the same rate as in figure 6.

Comparison of figures 8 and 9 suggests that the largest cause of the error of approximation (9) is likely associated with the amplitude of the velocity oscillations during the gyration. This conclusion is also supported be the fact that the trajectory itself is approximated by (9) better than the particle position along the trajectory, as indicated by figure 6. It would be interesting to develop a modification to the epicycloid approximation which represents the velocity of the particle more accurately.
VII Other axisymmetric magnetic fields
Approximating particle trajectories with cycloidal curves can be applied to other axisymmetric fields as well. A simple generalization of (1) is
(20) |
Magnetic fields with such spatial dependencies were considered, for example, by Ref. Kabin2018, ; , obviously, corresponds to the equatorial plane of a magnetic dipole. As long as the shape of the trajectories remains very similar to those discussed in this paper so far. The epicycloid approximations for these trajectories can be calculated in exactly the same way, with the only difference being that there are no known analytical solutions for the values of other than and kabin2015 . Therefore, the epicycloid parameters have to be calculated either from direct numerical integration of the particle motion for one period or from GC approximation. The situation changes somewhat for , when magnetic field intensity increases, rather than decreases, with distance. This behavior of the magnetic field changes the sign of the magnetic field gradient in (13), and, therefore, the direction of the drift velocity. Therefore, for , the trajectory is represented by a hypocycloid Gordon1984 . In fact, equations (11) still apply in these cases, however, parameter becomes negative in which case equation (9) describes a hypocycloid. Figure 10 shows representative examples of such trajectories for . The curves in both upper and lower panes are hypocycloids, but the orbits in the lower one enclose the origin, while the ones on the upper do not. The accuracy of the trajectory approximations remains qualitatively similar in all cases.


VIII Conclusions
In this paper we described several approximations for trajectories of particles moving in the equatorial plane of a magnetic dipole. These approximations, inspired by the Guiding Center approach, are based on cycloids. The best results are obtained, not surprisingly, when exact periods and gyration amplitudes are used. Approximation in which the gyroradius, gyrofrequency, and the drift period of a particle are based on its initial position is by far the least accurate. Intermediate accuracy is achieved by using GC approximation in which the values of the gyroradius, gyrofrequency, and the drift period are iterated. For small values of the velocity, this approximation performs virtually as well as that based on the exact parameters, but for larger velocities it loses accuracy faster. Furthermore, since the radius of convergence of the gyrofrequency iterations is found to be smaller than the threshold velocity for particle confinement by the dipole field, this iteration procedure cannot be carried out for all values of initial velocity of the particle. A detailed analysis of accuracy of these approximations shows that the trajectory of the particle is reproduced more accurately than its velocity. Although only motion in the equatorial field of a dipole is analyzed in detail, the results for other similar axisymmetric magnetic fields are virtually identical, except that epicycloids are replaced with hypocycloids in some cases. In the future, it might be worthwhile to try to improve the representation of the velocity in cycloid-based approximations which would allow to design a more accurate yet still simple approximation.
Acknowledgements.
This project is supported by the National Natural Science Foundation of China (Grant Nos. 12065014 and 11705076), and by the HongLiu Support Funds for Excellent Youth Talents of Lanzhou University of Technology.References
- (1) L. R. Lyons and D. J. Williams, Quantitative aspects of magnetospheric physics (D. Reidel, Dordrecht, Netherlands, 1984).
- (2) T. I. Gombosi, Physics of the space environment (Cambridge University Press, Cambridge, 1998).
- (3) T. G. Northrop, The adiabatic motion of charged particles (Interscience publishers, New York, 1963).
- (4) X. Li, D. N. Baker, M. Temerin, G. D. Reeves and R. D. Belian, "Simulation of dispersionless injections and drift echoes of energetic electrons associated with substorms," J. Geophys. Res.25, 3763-3766 (1998).
- (5) T. Sarris and X. Li, "Evolution of the dispersionless injection boundary associated with substorms, " Ann. Geophys. 23, 877-884 (2005).
- (6) K. Kabin, G. Kalugin, E. Spanswick and E. Donovan, "Particle energization by a substorm dipolarization," J. Geophys. Res. 122, 349-368 (2017).
- (7) C. Graef and S. Kusaka, "On periodic orbits in the equatorial plane of a magnetic dipole " J. Math. Phys. Massachusetts 17, 43-54 (1938).
- (8) A. R. Juarez, "Periods of motion in periodic orbits in the equatorial plane of a magnetic dipole," Phys. Rev. 75(1), 137-139 (1949).
- (9) E. H. Avrett, "Particle motion in the equatorial plane of a dipole magnetic field, " J. Geophys. Res. 67, 53-58 (1962).
- (10) K. Kabin, "Two examples of exact calculations of the adiabatic invariant for charged particle motion in non-uniform axisymmetric magnetic fields, " Physics of Plasmas 26, 012114 (2019).
- (11) D. C. Johnston, "Cycloidal paths in physics as superpositions of translational and rotational motions," Am. J. Phys 87, 802-814 (2019).
- (12) K. Kabin, G. Kalugin, E. Spanswick and E. Donovan, "Threshold speed for two-dimensional confinement of charged particles in certain axisymmetric magnetic fields," Can. J. Phys. 96, 519-523 (2018).
- (13) J. W. Burby, J. Squire, and H. Qin, "Automation of the guiding center expansion," Phys. Plasmas 20, 072105 (2013).
- (14) K. Kabin, G. Bonner, "Motion of a charged particle in an axisymmetric longitudinal magnetic field that is inversely proportional to the radius," Comp. Phys. Comm. 189, 155-161 (2015).
- (15) F. S. Gordon, S. P. Gordon, "Mathematical Discovery via Computer Graphics: Hypocycloids and Epicycloids," The Two-Year College Mathematics Journal 15, 440-443 (1984). https://www.tandfonline.com/doi/pdf/10.1080/00494925.1984.11972832