You are on page 1of 9

Trajectories of charged particles trapped in Earth’s magnetic field

M. Kaan Öztürka)
Yeditepe University, Information Systems and Technologies, Istanbul 34755, Turkey
(Received 15 September 2011; accepted 24 January 2012)
This article presents the theory of relativistic charged-particle motion in Earth’s magnetosphere, at
a level suitable for undergraduate courses. I discuss particle and guiding center motion and derive
the three adiabatic invariants associated with the three periodic motions in a dipolar field. I provide
12 computational exercises that can be used as classroom assignments or for self-study. Two of the
exercises, drift-shell bifurcation and Speiser orbits, are adapted from active magnetospheric
research. The PYTHON code provided in the supplement can be used to replicate the trajectories and
can be easily extended for different field geometries. VC 2012 American Association of Physics Teachers.
[DOI: 10.1119/1.3684537]

I. INTRODUCTION The solar wind is a stream of plasma carrying magnetic


field from the Sun. When the solar wind encounters the
Ions and electrons trapped in Earth’s magnetic field may Earth’s magnetosphere, the two systems do not mix. This is
affect our technology and our daily lives in significant ways. because of the “frozen-in flux” condition,11 which dictates
Energetic plasma particles can damage satellites and pose that plasma particles stay attached to magnetic field lines,
serious health hazards for astronauts. Spectacles like the except at special locations such as polar cusps. The solar
aurora are created by particles that enter the Earth’s atmos- wind influences the magnetosphere by applying mechanical
phere at polar regions. On the other hand, aircraft personnel and magnetic pressure on it, compressing it earthward on the
and frequent flyers may accumulate a significant dose of side facing the Sun (the “dayside”.) This compression is
radiation due to the same particles.1 All of these effects are stronger when the Sun is more active. On the opposite side
enhanced at periods of solar maximum, the next one being (the “nightside”), the field is extended over a very large dis-
expected to happen between 2012 and 2014. Occasional tance, forming the magnetotail. Wolf12 provides a review of
extreme solar events may induce currents in the ionosphere, the complex and time-dependent interactions between mag-
which in turn induces significant currents on power lines, netic fields, induced electric fields, and plasma populations.
causing power outages.2 Such events can also disrupt com- The Van Allen radiation belts form a particularly significant
munications, radio, and GPS. Thus, understanding and pre- plasma population due to their high energy and their proxim-
dicting the processes in the Earth’s magnetosphere have ity to Earth. They extend from 1000 km above the ground up
practical importance. to a distance of 6Re . These belts are composed of electrons
This paper aims to present the basic physics of charged- with energies up to several MeV and of protons with energies
particle motion, in Earth’s dipolar magnetic field, at a level up to several hundred MeV. The dynamics of these particles
suitable for physics students and instructors. The emphasis is is the main focus of this paper.
on numerical computation and characterization of the trajec- This paper is organized as follows: Sec. II introduces the
tories in terms of three different periodic motions—cyclo- relativistic equation of motion for a particle in an electric and
tron, bounce, and drift—and the associated adiabatic magnetic field and describes the cyclotron, bounce, and drift
invariants. For a more comprehensive discussion, the reader motions. It also shows some typical particle trajectories under
can consult advanced texts on plasma physics.3–6 the dipolar magnetic field, approximating the Earth’s field.
Other authors have also suggested using topics from Section III introduces the concept of adiabatic invariants and
plasma research to enhance undergraduate curricula. Lopez7 derives the first adiabatic invariant associated with the parti-
provides examples of how space physics can be incorporated cle motion. Section IV gives the approximate equations of
in undergraduate electromagnetism courses, and McGuire8 motion for the guiding center of a particle, obtained by aver-
shows how computer algebra systems can be used to follow aging out the cyclotron motion. Section V presents and
particle trajectories in electric dipole and (separately) in derives the second and third invariants associated with the
magnetic dipole fields. Photographs of plasma experiments, bounce and drift motions, respectively. Section VI presents
such as those provided by Huggins and Lelek9 and by the some exercises building on the concepts described in the pa-
UCLA Plasma Lab web site10 are also helpful for under- per. Two of these exercises describe nondipole fields that are
standing space plasma behavior. used for modeling different regions of the magnetosphere.
Figure 1 shows the major features of Earth’s magneto-
sphere, which is the region in space where the magnetic field
of the Earth is dominant. Charged particles trapped in the II. PARTICLE TRAJECTORY IN DIPOLAR
magnetosphere form the radiation belts, the plasmasphere, MAGNETIC FIELD
and current systems such as the ring current, tail current, and
field-aligned currents. The motion of a particle with charge q and mass m in an
The Earth’s radius Re (6378 km) is a natural length scale electric field E and magnetic field B is described by the
for the magnetosphere. Near the Earth, up to 3–4 Re, the field Newton–Lorentz equation
can be very well approximated with the field of a dipole.
However, at larger distances, the effects of the solar wind dðcmvÞ
¼ qEðrÞ þ qv  BðrÞ: (1)
cause significant deviations from the dipole. dt

420 Am. J. Phys. 80 (5), May 2012 http://aapt.org/ajp C 2012 American Association of Physics Teachers
V 420
Fig. 1. A schematic view of the Earth’s magnetosphere. The solar wind comes from the left. (Reproduced with permission from Kenneth R. Lang, Cambridge
Guide to the Solar System, 2nd edition. Copyright V
C 2011 by Cambridge University Press.)

Here c ¼ ð1  v2 =c2 Þ1=2 is the relativistic factor and v is the eration. This is not because electric fields are unimportant;
particle speed. on the contrary, they play an important role in the complex
Suppose that E ¼ 0. Then, because of the cross product, the dynamics of plasmas. The first reason for leaving out electric
acceleration of the particle is perpendicular to the velocity at field effects is described above: If the field is uniform and
all times, so the speed of the particle (and the factor c) remains constant, we can transform to another frame that cancels it.
constant. Further suppose that the magnetic field is uniform. Even if the field is nonuniform and time-dependent, electric
Then particles move on helices parallel to the field vector. drifts can be vectorially added to magnetic drifts in order to
The circular part of this motion is called the “cyclotron obtain the overall drift. Drift velocities due to different fields
motion” or the “gyromotion.” The “cyclotron frequency” X are independent.
and the “cyclotron radius” q are, respectively, given by The second reason is the need for simplicity; a static mag-
netic field provides sufficient real-life context for the discus-
qB sion of guiding-center and adiabatic invariant concepts in
X¼ ; (2)
cm general-purpose lectures. The final reason is that this paper
cmv? focuses on the region occupied by radiation belts, and in this
q¼ ; (3) region the magnetic term of Eq. (1) is the dominant force.14
qB Now, we consider motion under the influence of a mag-
where B ¼ jBj is the uniform field strength and v? is the netic dipole. The field Bdip ðrÞ of a magnetic dipole with
component of the velocity perpendicular to the field vector. moment vector M at location r is given by13
If there are no other forces, the parallel component of the l0
velocity remains constant. The combined motion traces a Bdip ðrÞ ¼ ½3ðM  b
rÞb
r  M; (5)
helix.13 4pr 3
If the electric field is not zero, we can write it as
where r ¼ xb x þ yb z; r ¼ jrj and b
y þ zb r ¼ r=r. For Earth, we
E ¼ E? þ Ek , where Ek is parallel to B and E? is perpendic-
take M ¼ Mb z, antiparallel to the z-axis, because the mag-
ular to it. If Ek 6¼ 0, particles accelerate along the field line
netic north pole is near the geographic south pole.15
and are rapidly removed from the region. Therefore, the exis-
At the magnetic equator (x ¼ Re , y ¼ z ¼ 0), the field
tence of a trapped plasma population implies that the parallel
strength is measured to be B0 ¼ 3:07  105 T. Substitution
electric field must be negligible.
shows that l0 M=4p ¼ B0 R3e . Then in Cartesian coordinates,
The perpendicular component of the electric field will
the field is given by
move particles with an overall drift velocity, known as the
E-cross-B-drift, which is perpendicular to both field vectors
B0 R3e  
Bdip ¼  3xzb y þ ð2z2  x2  y2 Þb
x þ 3yzb z : (6)
E?  B r 5
vE ¼ : (4)
B2
Figure 2 shows trajectories of two protons with 10 MeV
The particle will move with the velocity vE , plus the cyclo- kinetic energy, a typical energy for radiation belts.12 The tra-
tron motion described above. The drift velocity vE is inde- jectories are calculated numerically with the SciPy module,
pendent of particle mass and charge. Therefore, in an inertial written in the PYTHON language.16 One proton is started at
frame moving with vE , the E-cross-B-drift will vanish for all ð2Re ; 0; 0Þ and the other at ð4Re ; 0; 0Þ. Both start with an
types of particles. equatorial pitch angle (angle between the velocity and field
For the remainder of this paper we take E ¼ 0, that is, the vectors) aeq ¼ 30 so that vy0 ¼ v sin aeq , vz0 ¼ v cos aeq , and
acceleration due to the electric field is not taken into consid- vx0 ¼ 0. Both are followed for 120 s.

421 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 421
where R0 is the equatorial distance to the guiding line and
aeq is the equatorial pitch angle. Both approximations have
an error of about 0.5%.

III. THE FIRST ADIABATIC INVARIANT


If the parameters of an oscillating system are varied very
slowly compared to the frequency of oscillations, the system
possesses an “adiabatic invariant,” a quantity that remains
approximately constant. In the Hamiltonian formalism, the
adiabatic invariant is the same as the action variable17
þ
J¼ pðEÞdq; (9)
H¼E

where q, p are canonical variables and the integral is evaluated


over one cycle of motion satisfying H(p, q, t) ¼ E. The inte-
gral should be evaluated at “frozen time”; that is, the slowly
varying parameter is considered constant during the integra-
tion cycle. The canonical momentum for a charged particle in
a magnetic field with vector potential A is cmv þ qA.
There are three separate periodic motions of a charged
particle in a dipole-like magnetic field. This means there are
three adiabatic invariants for the particle’s motion.
To obtain the first adiabatic invariant J1 , we integrate the
canonical momentum over one cycle of the cyclotron orbit
þ
J1 ¼ ðcmv þ qAÞ  d‘: (10)
Fig. 2. Trajectories of two 10 MeV protons in the Earth’s dipole field. The
dipole moment is in the bz direction. Both panels show the same trajecto- Here d‘ is the line element of the particle trajectory. Even
ries, from different viewing angles. though the path does not exactly close, we evaluate the inte-
gral as if it does. To evaluate the second term we use Stokes’
The motion is again basically helical, but the nonuniform- theorem,
ity of the field introduces two additional modes of motion on þ ð
large spatial and temporal scales. These are called the A  d‘ ¼ r  A  dr; (11)
bounce motion and the drift motion.
The bounce motion is the periodic north–south oscillation
along the field line that goes through the helix (the “guiding where the right-hand side integral is taken over the surface
line”). This motion slows down as the particle moves toward bounded by the closed path of the left-hand side integral.
locations with a stronger magnetic field, reflecting back at Using B ¼ r  A and noting that the area element dr is
“mirror points.” The bounce motion is much slower (that is, antiparallel to B because of the sense of gyration of the par-
has a longer period) than the cyclotron motion. ticles, we obtain for the first adiabatic invariant
The drift motion takes the particle in the equatorial (azi-
muthal) direction, perpendicular to the bounce motion and across J1 ¼ 2pcmqv?  qpq2 B (12)
field lines. In general, drift motion is faster at larger distances, as
pc2 m2 v2?
observed in Fig. 2. Particles in dipole-like fields are trapped on ¼ : (13)
closed “drift shells” as long as they are not disturbed by colli- qB
sions or interactions with EM waves. The drift motion is much
slower (that is, has a longer period) than the bounce motion. The last step follows from substituting q from Eq. (3). It is
In Fig. 2, the time scales of the motion are as follows. For assumed that the cycle is sufficiently small so that B is essen-
the proton that moves at 2Re distance, the cyclotron period is tially uniform over the area bounded by the gyromotion.
0.02 s, the bounce period is 1.7 s, and the drift period is This assumption is essential for the existence of adiabatic
332 s. For the other proton that moves at distance 4Re , the invariants.
cyclotron period is 0.13 s, the bounce period is 3.4 s, and Customarily, one defines
the drift period is 166 s.
c2 mv2?
In a dipole field, the bounce motion period sb and the drift l¼ (14)
motion period sd are approximately given by5 2B
  h i as the first invariant, which differs from J1 only in some con-
R0 c
sb  0:117 1  0:4635ðsin aeq Þ3=4 ; (7) stant factors. The parameter l is called the magnetic moment
Re v because it is equal to the magnetic moment of the current
  generated by the particle moving on this circular path.
2pqB0 R3e 1 1 0:62
sd  1  ðsin aeq Þ ; (8) The adiabatic invariance of l explains the existence of
mv2 R0 3 mirror points. As the particle moves along the field line

422 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 422
toward locations with larger B, the perpendicular speed v? B
must increase in order to keep l constant. However, v? can q : (15)
j$Bj
be at most v, the constant total speed. The particle stops at
the point where B ¼ Bm ¼ c2 mv2 =2l and then bounces back The magnetic moment is an adiabatic invariant under this
(see Sec. IV). condition.
The left panel of Fig. 3 shows the magnetic moment l for Northrop18 and Walt5 give detailed derivations of the
the two protons shown in Fig. 2. The values are oscillating equations of guiding-center motion. In order to derive the
with the local cyclotron frequency because instantaneous acceleration of the guiding center, the particle position r is
values of v? and B are used. Oscillations occur because the replaced with
field is nonuniform, and their amplitude decreases with the
gyroradius. The proton that is closer to Earth has a smaller r ¼ R þ q; (16)
gyroradius, and thus the oscillations have much smaller
amplitudes (lower curve). The average of these oscillating where R is the position of the guiding center. The vector q
values gives the actual adiabatic invariant, which is constant lies in the plane perpendicular to the field, oscillates with the
in time. cyclotron frequency, and has a length equal to the cyclotron
The top right panel shows the oscillations of l vs time for radius.
a shorter interval. Comparing with the z vs time plot under- Assuming that the cyclotron radius is much smaller than
neath, we see that the amplitudes of these oscillations are the length scale of the field, we can expand B(r) around R to
correlated with the bounce motion. Oscillations of l have a first order in a Taylor series
small amplitude near the mirror point because there the par-
allel motion slows down and because the gyroradius is small BðrÞ  BðRÞ þ ðq  rÞB: (17)
due to the stronger field. Both of these effects makes the
This expansion is substituted into the Newton–Lorenz Equa-
motion more adiabatic. Near the equatorial plane (z ¼ 0) l
tion (1) and the equation is averaged over a cycle, eliminat-
oscillates with a larger amplitude because the parallel motion
ing rapidly oscillating terms containing q and its derivatives.
is fast and gyroradius is large.
The resulting acceleration of the guiding center is given by
The proper way of calculating the first invariant would
remove all oscillations: After following the full trajectory, :: q : qq2 X
find the times fti g where vx ¼ 0 (or vy ¼ 0) by searching R¼ R BðRÞ  $BðRÞ: (18)
along discrete path points and by interpolating. The differ- cm 2cm
ence between any successive time points is half a gyroper-
Taking the dot product of both sides of the equation with b b,
iod. Then take the average of l over that time interval using
the local magnetic field direction, will yield the equation of
the path points. Repeating this procedure for all time inter-
motion along the field line. The first term becomes identically
vals, we get a constant set of l values (apart from numerical
zero because it is perpendicular to the field vector. Therefore,
errors).
dvk qq2 X b
IV. THE GUIDING-CENTER EQUATIONS ¼ b  $BðRÞ; (19)
dt 2cm
The guiding center is the geometric center of the cyclotron
motion. If the magnetic field is uniform the guiding center where vk is the speed along the field line. Replacing
moves with constant velocity parallel to the field line. In qq2 X=ð2cmÞ ¼ l=ðc2 mÞ and defining s as the distance along
nonuniform field geometries, there is a sideways drift in the field line, this equation can be written as
addition to the motion along the field lines, as seen in the
dipole example in Fig. 2. dvk d2 s @ lBðsÞ
¼ 2 ¼ : (20)
Calculation of the guiding center motion requires that the dt dt @s c2 m
motion is helical in the smallest scale, and that the field does
not change significantly within a cyclotron radius. This con- Here, B(s) is the field strength along the field line. The fac-
dition can be expressed as tors l and c can be taken inside the derivative because they

Fig. 3. Left: The instantaneous values of the magnetic moment for the particle orbits shown in Fig. 2. The lower curve is for the proton starting at 2Re , while
the upper curve is for the proton starting at 4Re . Both curves are oscillating on time scales to short to see at this scale. The white horizontal line shows the aver-
age value. Top right: A close-up view of the instantaneous magnetic moment up to time 6 s. Bottom right: The z coordinate up to time 6 s.

423 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 423
are constants. This expression shows that the quantity
lBðsÞ=ðc2 mÞ acts like a potential energy in the parallel direc-
tion. The negative sign indicates that the parallel motion is
accelerated toward regions with smaller field strength.
The motion of the guiding center perpendicular to the field
lines can be determined by taking the cross product of
Eq. (18) with the field direction vector. The resulting equa-
tion is then iterated to obtain an approximate solution for the
drift velocity across field lines
dR? cm 2
¼ ðv þ v2k Þ b
b  $B: (21)
dt 2qB2

This drift velocity is actually the sum of two separate drift


velocities: The gradient drift that arises from the nonuni-
formity of the magnetic field, and the curvature drift that
occurs because the field lines are curved. For an example of
pure gradient drift motion, see exercise 2 in Sec. VI.
Equation (21) shows that electrons and ions drift in oppo-
site directions. This creates a net current around the Earth,
called the “ring current.”
Gradient and curvature drifts are the only drifts seen in
static magnetic fields. External electric fields, external forces
such as gravity, and time dependent fields create additional
drift velocities.3
Combining the preceding equations, we obtain the follow-
ing equations of motion for the guiding center:
!
dR cmv2 v2k Fig. 4. Guiding-center trajectories for the particles shown in Fig. 2. The
¼ 1þ 2 b b
b  $B þ vk b; (22) cyclotron motion is averaged out.
dt 2qB2 v

dvk l assumed that the drift is stopped, so the motion moves back
¼ 2 bb  $B: (23) and forth along a single guiding field line.
dt c m
Using Stokes’ theorem, the second term can again be con-
These equations are more complicated than the simple verted to an integral over a surface bounded by the bounce
Newton–Lorentz equation, and they require computing path
b
b  $B and b b  $B at each integration step. Still, they have þ ð ð
the advantage that we can follow the overall motion with rel- qA  ds ¼ q r  A  dr ¼ q B  dr ¼ 0: (25)
atively large time steps because we do not need to resolve
the cyclotron motion. This reduces both the cumulative error
and the total computation time. The result is zero because the bounce motion goes and
Figure 4 shows the solution of the guiding-center equa- returns along the same path, so the two-way path encloses no
tions for the same protons shown in Fig. 2 under a dipolar area. Meanwhile, the first term in Eq. (24) gives identical
magnetic field.16 contributions from each of the two directions, so the second
It should be noted that the guiding-center equations are adiabatic invariant can be written as
approximate because only terms first order in the cyclotron ð sm2
radius are used in their derivation. For particles with larger J2 ¼ 2 cmvk ds; (26)
cyclotron radii (higher kinetic energies), there may be a no- sm1
ticeable difference between guiding-center and full-particle
trajectories (see exercise 5 in Sec. VI). where s is the path length along the field line and sm1 and sm2
are the locations of the two mirror points.
At the mirror point, the parallel speed vk vanishes so that
v? ¼ v. From the invariance of the magnetic moment l it
V. THE SECOND AND THIRD ADIABATIC
follows that
INVARIANTS
The second adiabatic invariant is associated with the c2 mv2? c2 mv2
l¼ ¼ ; (27)
bounce motion, and it is calculated by integrating the canoni- 2BðsÞ 2Bm
cal momentum over a path along the guiding field line
þ where Bm is the field strength at the mirror point. Substitut-
ing v2? ¼ v2  v2k and solving for vk gives
J2 ¼ ðcmv þ qAÞ  ds; (24)
ð sm2 sffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
BðsÞ
where ds is the line element along the field line. The adia- J2 ¼ 2 cmv 1  ds 2cmvI; (28)
sm1 Bm
batic integrals are evaluated in a “frozen” system: It is

424 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 424
where the final equality defines the symbol I. The integral J2 mv
q : (33)
is an adiabatic invariant even if there are electric fields or qB
slow time-dependent fields. If the speed is constant, I can be
used as an adiabatic invariant. The integral I depends only Thus, the order-of-magnitude ratio of the terms in Eq. (31) is
on the magnetic field, not on the particle velocity, so it can
be used to compute the drift path using the field geometry mvd 2pR m2 v2 q 2
: (34)
only (see exercises 8–10 in Sec. VI). qBpR2 q2 B2 R2 R
Figure 5 shows that the value of the second invariant I,
evaluated using the guiding-center trajectories shown in Fig. According to the adiabaticity condition Eq. (15), q=R must
4, stays constant in time. The integral is evaluated not using be very small. Therefore, the first term of Eq. (31) can be
the definition of I in Eq. (28), but using the dynamical form ignored and we have
ð ð
1 1 2 J3 ¼ qU; (35)
I¼ vk ds ¼ v dt; (29)
v v k
where U is the magnetic flux through the drift path. The third
where the integral is evaluated over a half period. The limits adiabatic invariant is useful as a conservation law when the
of the integrals are determined by interpolation between two magnetosphere changes slowly, i.e., over time scales longer
points where the parallel speed changes sign. The values do than the drift period.
not oscillate because the adiabatic invariant is calculated as In practice, the three adiabatic invariants are useful in pre-
an average over a cycle. dicting the motions of particles over long time periods.
The drift path is found by averaging the bounce motion. In Purely numerical solution of the equations of motion is less
a dipolar field, all drift paths are circular due to the symme- accurate because of accumulated numerical errors. Roederer6
try of the field. The third invariant, associated with the drift discusses in detail how drift shells can be constructed geo-
motion, is defined as an integral along the drift path metrically using the invariants (see exercise 10 in Sec. VI).
Furthermore, as three invariants uniquely specify a drift
þ
shell, the invariants themselves can be used as dynamical
J3 ¼ ðcmv þ qAÞ  d‘; (30) variables when investigating the diffusion of trapped
þ ð particles.19
¼ cmvd d‘ þ q B  dr; (31)
VI. EXERCISES AND ASSIGNMENTS
where d‘ is a line element on the drift path, the drift speed vd This section lists some further programming exercises
is the magnitude of the expression in Eq. (21), and Stokes’ with varying difficulty. The code given in the supplement17
theorem has again been applied to the second term. can be modified to solve some of the exercises.
An order-of-magnitude comparison shows that the first (1) Uniform magnetic field. Follow charged particles
term of J3 can be neglected because it is much smaller than under a uniform magnetic field B ¼ Bb z where B ¼ 1T.
the second term: From Eq. (21) the order of magnitude of the Verify that the particles follow helices with cyclotron
drift speed is radius and frequency as given in Eqs. (2) and (3).
Experiment with particles with different mass and
mv2 B
vd ; (32) charge values.
2qB2 R (2) Gradient drift. Consider a magnetic field given by
B ¼ ðAx þ B0 Þb z. The field has a gradient in the x direc-
where B is the typical field strength at the drift path and R is tion, but no curvature. Set A ¼ 1 T  m1 and B0 ¼ 1 T.
the typical distance from the origin. Similarly, from Eq. (3), Follow the trajectory of a particle with mass m ¼ 1 kg
the cyclotron radius has the order of magnitude and q ¼ 1 C initialized with velocity v ¼ 1 m  s1 b y at
the origin. Note that the sideways drift arises from the
fact that the cyclotron radius is smaller at stronger
fields.
(3) Equatorial particles. Consider a particle in a dipolar
magnetic field, located at the equatorial plane (z ¼ 0)
with zero parallel speed. As the field strength is mini-
mum at the equator with respect to the field line, there
is no parallel acceleration and the particle stays in the
equatorial plane at all times. Follow the motion of this
particle and verify that the center of the motion stays on
a contour of constant B, as implied by the conservation
of the first adiabatic invariant.
(4) Explore the drift motion. Run the programs in the
supplement to trace protons and electrons using the
dipole model. Initialize particles with different ener-
gies, starting positions, and pitch angles. Verify that
Fig. 5. The second invariant values in time, calculated using the guiding-
electrons and protons drift in opposite directions, and
center trajectories in Fig. 4. The lower curve is for the proton starting at 2Re , electrons have a much smaller cyclotron radius than
while the upper curve for the proton starting at 4Re . protons with the same kinetic energy. Estimate the

425 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 425
periods of bounce and drift motions and compare them the solar wind. It can be used to capture some basic fea-
with Eqs. (7) and (8). tures of particle dynamics in the outer magnetosphere,
(5) Accuracy of the guiding-center approximation. Sim- if only qualitatively.
ulate the full particle and guiding center trajectories The model has one dipole (Earth) at the origin, pointing
with the same initial conditions and plot them together. in the negative z-direction, and an image dipole at
Shift the initial position of the particle properly so that x ¼ 20Re . If both dipoles are identical, the magnetic
the guiding center runs through the middle of the helix. field is given by
Repeat for protons with kinetic energies 1 keV, 10 keV,
100 keV, and 1 MeV. At higher energies, the guiding- Bðx; y; zÞ ¼ Bdip ðx; y; zÞ þ Bdip ðx  20Re ; y; zÞ; (39)
center trajectory lags behind the full trajectory because
the omitted high-order terms become more significant where Bdip ðx; y; zÞ is given by Eq. (6).
as the cyclotron radius increases. The “domains” of the two dipoles are separated by the
(6) Different numerical methods. Solve the full particle plane x ¼ 10Re . This plane simulates the magneto-
and guiding center equations using different numerical pause, the boundary between the magnetosphere and
schemes,20,21 such as Verlet, Euler–Cromer, Runge– the solar wind. For slightly better realism, the image
Kutta, and Bulirsch–Stoer. Verify the accuracy of the dipole can be multiplied by a factor larger than 1 so
solution by checking the conservation of kinetic energy that the magnetopause becomes curved. Also, the two
and adiabatic invariants. dipoles can be tilted by equal and opposite angles with
(7) Field line tracing. Plot the magnetic dipole field line respect to the Sun-Earth line (x-axis), to simulate the
starting at position ðx0 ; y0 ; z0 Þ. For any vector field u(r), fact that the dipole moment of the Earth is tilted.
a field line can be traced by solving the differential (1) Starting at various latitudes, plot the magnetic field
equation lines of Eq. (39) on the x–z plane. Observe the com-
pression of field lines on the day side and extension
dr u on the night side. Note that no field line crosses the
¼ ; (36)
ds juj x ¼ 10Re plane. Multiply the image dipole term by
1.5 and repeat.
where s is the arc length along the field line. (2) Calculate several guiding-center trajectories start-
(8) Compute I. Compute the second invariant I [Eq. (28)] ing at x between 7Re and 10Re , y ¼ z ¼ 0, and
under a dipolar field for a guiding center starting at pitch angles between 30 and 60 (smaller pitch
position ðx0 ; y0 ; 0Þ and an equatorial pitch angle aeq . angle creates a longer bounce motion). With small
The integral should be taken along a field line, which pitch angles, the particle should come closer to
can be traced as described above. From the first adia- Earth on the day side. Repeat with a pitch angle of
batic invariant one finds Bm ¼ Bðx0 ; y0 ; 0Þ= sin2 ðaeq Þ 90 . Now, the particle goes away from the Earth on
and the limits of the integral are found by solving the day side. Explain these observations using the
Bðsm Þ ¼ Bm . conservation of the first and second adiabatic
(9) Second invariant along the drift path. Produce a invariants.
guiding-center trajectory under the dipole field. By (3) The double–dipole field can break the second invar-
interpolation, determine the points ðxi ; yi ; 0Þ where the iant for some trajectories. The reason of this break-
trajectory crosses the z ¼ 0 plane. Compute the second ing is that the field strength has a local maximum
invariant I at these equatorial points and plot. Verify on the day side around the equatorial plane. Par-
that the values are constant as shown in Fig. 5. ticles with sufficiently small mirror fields are
(10) Drift path tracing using the second invariant. Pick a diverted to one side of the equatorial plane because
starting location ðx0 ; y0 ; 0Þ and mirror field Bm , and they cannot overcome this field maximum, as seen
evaluate the second invariant Iðx0 ; y0 ; Bm Þ as described in Fig. 6.
above. Compute the gradient $I ¼ @x Ib x þ @y Ib
y numeri- Start an electron guiding center at position x0 ¼ 10Re ,
cally using central differences: y0 ¼ z0 ¼ 0, with kinetic energy K ¼ 1 MeV and with
an equatorial pitch angle 70 . Follow its guiding center
1 for 1000 s with time step 0.01. On the day side, the tra-
@x I  ½Iðx0 þ d; y0 ; Bm Þ  Iðx0  d; y0 ; Bm Þ; (37)
2d jectory will temporarily move above or below the equa-
torial plane. Using the method used in Fig. 5, plot the
1 second invariant I versus time. The second invariant
@y I  ½Iðx0 ; y0 þ d; Bm Þ  Iðx0 ; y0  d; Bm Þ; (38) will be constant between breaking points, but its value
2d
will differ from the initial value. The reason is that near
where d is a small number (e.g., 0.01 Re ). the breaking points the bounce motion slows down and
The second invariant is constant along the drift path, so the adiabaticity condition does not hold. However, the
for a finite step ðDx; DyÞ, it holds that first invariant is not broken.
@x IDx þ @y IDy ¼ 0. Use this relation to trace succes- This phenomenon, named drift-shell bifurcation,22 can
sive steps along the drift shell. This method is more be one of the causes of particle diffusion in the
accurate than following a particle or a guiding center. magnetosphere.
(11) The double–dipole model. The dipole ceases to be a (12) Magnetotail current sheet. In the tail region of the
good approximation for the magnetic field of the Earth magnetosphere, magnetic field lines are heavily
as we go farther out in space. The double–dipole model, stretched, and a sheet of current is flowing through
although unrealistic, introduces a day-night asymmetry them.23 The field in the magnetotail can be represented
that mimics the deformation of the magnetosphere by by the simple form

426 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 426
The field vector points in opposite directions on the two
sides of the equatorial plane z ¼ 0. When a charged par-
ticle is released from above, it moves toward the
weaker region near jzj ¼ 0 where the adiabaticity con-
dition does not hold. The helix becomes a “serpentine
orbit” that moves in and out of the equatorial plane.
The chaotic dynamics of these orbits is extensively
studied.24,25
Figure 7 shows the three types of orbits that can exist in
such a model.25,26 “Speiser orbits” approach the equato-
rial plane and later go beyond z ¼ 1 and leave the tail
region. “Cucumber orbits” alternate between helical
and serpentine orbits. These do not form closed orbits
because of the breaking of the first invariant at the
equatorial plane. “Ring orbits” alternate between oppo-
sitely directed fields; they do not have a helical section.
Fig. 6. A proton with kinetic energy 200 keV, initialized on the right edge (1) Evaluate $B for jzj < 1 and determine the direction
at ð7Re ; 7Re ; 0Þ with 60 pitch angle in a double–dipole field. of gradient-curvature drift.
(2) By trial and error, find initial conditions that create
the types of orbits shown in Fig. 7.
8 z
> x þ Bnbz
< B0 db if jzj < 1; VII. CONCLUDING REMARKS
B¼ (40) Space plasmas provide many case studies which, after
>
: B0 b
x þ Bnb
z otherwise: proper simplification, can be used in the physics curriculum.
d
An important example is the basic theory of charged-particle
In this problem, we set B0 ¼ 10, Bn ¼ 1 and d ¼ 0.2. motion in a dipole magnetic field.
The field lines trace parabolas in the xz plane, which This paper focuses on visualization and concrete computa-
can be seen by integrating the equation dx=Bx ¼ dz=Bz . tion, with the hope that students will modify or rewrite the
The parameter d is the scale of the current sheet thick- code to run their own numerical experiments on particle
ness. The truncation of the field at z ¼ 1 simulates the fi- motion in magnetic fields. In my opinion, numerical simula-
nite size of the tail region. tions provide at least two important pedagogical benefits:
First, even if the required analytical tools are beyond the stu-
dents’ level, they can use simulations to obtain a qualitative
understanding. Second, the process of coding the simulation
forces students to understand the problem at a basic and
operational level.
Both the main body of this article and the exercises can be
incorporated into lectures, or they can be given as advanced
assignments to interested students. A natural place for these
exercises is a course on electromagnetism or plasma physics.
After the basics are introduced, the instructor can discuss
related subjects such as plasma confinement, radiation belts,
and space weather.
In advanced mechanics courses, adiabatic invariants are
usually presented with an abstract formalism. Charged parti-
cle motion provides a natural and concrete case where adia-
batic invariants are relevant and indispensable.
The subject can also be incorporated into courses on com-
putational physics. Accuracy and stability of different nu-
merical integration schemes may be presented using charged
particle motion. The widely separated time scales of the
motion would be a challenge for most of the schemes.
ACKNOWLEDGMENTS
The author thanks Meral Öztürk for her careful proofread-
ing and two anonymous reviewers for their helpful
suggestions.
a)
Electronic addresses: kaan.ozturk@yeditepe.edu.tr and
mkozturk@yahoo.com
1
Fig. 7. Types of orbits created by a particle with mass m ¼ 5 and charge L. W. Townsend, “Radiation exposures of aircrew in high altitude flight,”
q ¼ 1 near a current sheet. (a) Speiser orbits of transient particles; (b) cucum- J. Radiol. Prot. 21(1), p. 5 (2001).
2
ber orbits of quasitrapped particles; and (c) ring orbits of trapped particles. M. Moldwin, An Introduction to Space Weather (Cambridge U.P., New
Note the different scales of the axes. York, 2008), pp. 79–94.

427 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 427
3
D. A. Gurnett and A. Bhattacharjee, Introduction to Plasma Physics: With by electric drifts have already drifted away, leaving behind the trapped
Space and Laboratory Applications (Cambridge U.P., Cambridge, UK, high-energy particles.
15
2005). We are using the Geocentric Solar Ecliptic (GSE) coordinate system. The
4
P. A. Sturrock, Plasma Physics: An Introduction to the Theory of Astro- Earth is at the origin, the x axis points to the Sun, the z axis is set so that
physical, Geophysical, and Laboratory Plasmas (Cambridge U.P., Cam- the dipole moment vector is in the xz plane, and the y axis is perpendicular
bridge, UK, 1994). to both x and z.
5 16
M. Walt, Introduction to Geomagnetically Trapped Radiation, Cambridge See supplementary material at http://dx.doi.org/10.1119/1.3684537 for the
Atmospheric and Space Science Series (Cambridge U.P., New York, 1994). PYTHON source code that solves the Newton-Lorentz and the guiding-center
6
J. G. Roederer, Dynamics of Geomagnetically Trapped Radiation equations and displays the trajectories.
17
(Springer-Verlag, Berlin, 1970). L. N. Hand and J. D. Finch, Analytical Mechanics (Cambridge U.P., New
7
R. E. Lopez, “Space physics and the teaching of undergraduate electro- York, 1998), pp. 230–235.
18
magnetism,” Adv. Space Res. 42, 1859–1863 (2008). T. G. Northrop, The Adiabatic Motion of Charged Particles (Interscience
8
G. C. McGuire, “Using computer algebra to investigate the motion of an Publishers, John Wiley & Sons, New York, 1963).
19
electric charge in magnetic and electric dipole fields,” Am. J. Phys. 71(8), M. Schulz and L. J. Lanzerotti, Particle Diffusion in the Radiation Belts
809–812 (2003). (Springer-Verlag, New York, 1974).
9 20
E. R. Huggins and J. J. Lelek, “Motion of electrons in electric and mag- A. L. Garcia, Numerical Methods for Physics, 2nd ed. (Prentice-Hall,
netic fields; Introductory laboratory and computer studies,” Am. J. Phys. Upper Saddle River, NJ, 2000).
21
47(11), 992–999 (1979). W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery, Nu-
10
<http://www.physics.ucla.edu/plasma-exp/beam/> merical Recipes: The Art of Scientific Computing, 3rd ed. (Cambridge
11
M. G. Kivelson, “Physics of space plasmas” in Introduction to Space U.P., New York, 2007).
22
Physics, edited by M. G. Kivelson and C. T. Russell (Cambridge U.P., M. Kaan Öztürk and R. A. Wolf, “Bifurcation of drift shells near the
New York, 1995), pp. 27–55. dayside magnetopause,” J. Geophys. Res., 112(A07207), 1–16, doi:
12
R. A. Wolf, “Magnetospheric configuration” in Introduction to Space 10.1029=2006JA012102 (2007).
23
Physics, edited by M. G. Kivelson and C. T. Russell (Cambridge U.P., W. J. Hughes, “The magnetopause, magnetotail and magnetic
New York, 1995), pp. 288–328. reconnection,” in Introduction to Space Physics, edited by M. G. Kivelson
13
D. J. Griffiths, Introduction to Electrodynamics, 3rd ed. (Prentice-Hall, and C. T. Russell (Cambridge U.P., New York, 1995), pp. 227–287.
24
Upper Saddle River, NJ, 1999). J. Chen, “Nonlinear dynamics of charged particles in the magnetotail,”
14
Electric potential differences across the magnetosphere are of the order of J. Geophys. Res., 97(A10), 15011–15050, doi: 10.1029=92JA00955 (1992).
25
100 kV, which, over a distance of about 20Re , yields an electric field J. Büchner and L. M. Zelenyi, “Regular and chaotic charged
strength on the order of E 103 Vm1 . The magnetic field of the Earth particle motion in magnetotaillike field reversals 1. Basic theory of
has strength 3:07  105 T=L3 on the magnetic equatorial plane, where L trapped motion,” J. Geophys. Res., 94(A9), 11821–11842, doi:
is the distance measured in Re . A typical radiation-belt proton with 10 10.1029=JA094iA09p11821 (1989).
26
MeV energy has speed v 0:1c. Then, in SI units, vB 1000=L3 E. A. S. Sharma, L. M. Zelenyi, H. V. Malova, V. Yu. Popov, and D. C. Del-
Therefore, the electric drift can be neglected near the Earth where L < 6. court, “Multilayered structure of thin current sheets: Multiscale Matreshka
Alternatively, one can say that low-energy particles that could be affected model,” Int. Conf. Substorms 8, 279–284 (2006).

428 Am. J. Phys., Vol. 80, No. 5, May 2012 M. Kaan Öztürk 428

You might also like