In a region free of currents, magnetostatics can be described by the Laplace equation of a scalar magnetic potential, and one can apply the same methods commonly used in electrostatics. Here, we show how to calculate the general vector field inside a real (finite) solenoid, using only the magnitude of the field along the symmetry axis. Our method does not require integration or knowledge of the current distribution and is presented through practical examples, including a nonuniform finite solenoid used to produce cold atomic beams via laser cooling. These examples allow educators to discuss the nontrivial calculation of fields off-axis using concepts familiar to most students, while offering the opportunity to introduce themes of current modern research.

1.
D. J.
Griffiths
,
Introduction to Electrodynamics
, 3rd ed. (
Prentice-Hall
,
Upper Saddle River, NJ
,
1999
).
2.
J. D.
Jackson
,
Classical Electrodynamics
, 2nd ed. (
J. Wiley
,
New York
,
1974
), Chaps. 1, 3 and 5 (and particularly Problem 5.2).
3.
M. A.
Heald
and
J. B.
Marion
,
Classical Electromagnetic Radiation
, 3rd ed., Chap. 3 has a good discussion of the Laplace equation (
Saunders/Harcourt Brace
,
Fort Worth, TX
,
1994
).
4.
B. B.
Dasgupta
, “
Magnetic field due to a solenoid
,”
Am. J. Phys.
52
,
258
(
1984
).
5.
V.
Labinac
,
N.
Erceg
, and
D.
Kotnik-Karuza
, “
Magnetic field of a cylindrical coil
,”
Am. J. Phys.
74
,
621
627
(
2006
).
6.
R. H.
Jackson
, “
Off-axis expansion solution of Laplace's equation: Application to accurate and rapid calculation of coil magnetic fields
,”
IEEE Trans. Electron Devices
46
,
1050
1062
(
1999
).
7.
J. T.
Conway
, “
Exact solutions for the magnetic fields of axisymmetric solenoids and current distributions
,”
IEEE Trans. Magn.
37
,
2977
2988
(
2001
).
8.
M. I.
Grivich
and
D. P.
Jackson
, “
The magnetic field of current-carrying polygons: An application of vector field rotations
,”
Am. J. Phys.
68
,
469
474
(
2000
).
9.
M. J.
Lahart
, “
Use of electromagnetic scalar potentials in boundary value problems
,”
Am. J. Phys.
72
,
83
91
(
2004
).
10.
B. B.
Dasgupta
, “
A novel method of solving electrostatic potential problems
,”
Am. J. Phys.
53
,
971
973
(
1985
).
11.
B.
Irvine
,
M.
Kemnetz
,
A.
Gangopadhyaya
, and
T.
Ruubel
, “
Magnet traveling through a conducting pipe: A variation on the analytical approach
,”
Am. J. Phys.
82
,
273
279
(
2014
).
12.
J. B.
Bronzan
, “
The magnetic scalar potential
,”
Am. J. Phys.
39
,
1357
1359
(
1971
).
13.
C. G.
Gray
, “
Simplified derivation of the magnetostatic multipole expansion using the scalar potential
,”
Am. J. Phys.
46
,
582
583
(
1978
).
14.
C. G.
Gray
, “
Magnetic multipole expansion using the scalar potential
,”
Am. J. Phys.
47
,
457
459
(
1979
).
15.
W. D.
Phillips
and
H.
Metcalf
, “
Laser deceleration of an atomic beam
,”
Phys. Rev. Lett.
48
,
596
599
(
1982
);
W. D.
Phillips
and
H. J.
Metcalf
, “
Cooling and trapping atoms
,”
Sci. Am.
256
,
50
56
(
1987
).
16.
C. J.
Dedman
,
J.
Nes
,
T. M.
Hanna
,
R. G.
Dall
,
K. G. H.
Baldwin
, and
A. G.
Truscott
, “
Optimum design and construction of a Zeeman slower for use with a magneto-optic trap
,”
Rev. Sci. Instrum.
75
,
5136
5142
(
2004
).
17.
H. J.
Metcalf
and
P.
van der Straten
,
Laser Cooling and Trapping
(
Springer-Verlag
,
New York
,
1999
).
18.
W. D.
Phillips
,
P. L.
Gould
, and
P. D.
Lett
, “
Cooling, stopping and trapping atoms
,”
Science
239
,
877
883
(
1988
);
[PubMed]
S.
Chu
, “
Laser trapping of neutral particles
,”
Sci. Am.
266
,
70
76
(
1992
).
19.
S. C.
Zilio
and
V. S.
Bagnato
, “
Radiative forces on neutral atoms—A classical treatment
,”
Am. J. Phys.
57
,
471
474
(
1989
).
20.
For more information visit the official Nobel prize website at <http://www.nobelprize.org/nobel_prizes/physics>.
21.
See review articles on special Nature Insight issue on Ultracold Matter.
K.
Southwell
,
Nature
416
,
205
246
(
2002
).
22.

The fitting yields Bb = 27.6 mT, B0 = 132.8 mT, and β = 0.544 m–1.

23.

For the agreement shown in Fig. 4, 70 terms were kept.

AAPT members receive access to the American Journal of Physics and The Physics Teacher as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.