We use superposition and numerical methods to show that the external magnetic field generated by parallel identical solenoids can be nearly uniform and substantial, even when the solenoids have lengths that are large compared to their radii. We examine both a ring of solenoids and a large hexagonal array of solenoids. In both cases, we discuss how the magnitude and uniformity of the external field depend on the length of and the spacing between the solenoids. We also discuss some novel properties of a single solenoid, e.g., that even for short solenoids the energy stored in the internal magnetic field exceeds the energy stored in the spatially infinite external magnetic field. These results should be broadly interesting to undergraduates learning about electricity and magnetism.

1.
H.
Young
and
R.
Freedman
,
University Physics with Modern Physics
, 13th ed. (
Addison-Wesley
,
San Francisco
,
2011
).
2.
D.
Griffiths
,
Introduction to Electrodynamics
, 3rd ed. (
Addison-Wesley
,
New Jersey
,
1999
).
3.
E.
Purcell
and
S.
Morin
,
Electricity and Magnetism
, 3rd ed. (
Cambridge
,
U.P. New York
,
2013
).
4.
N.
Derby
and
S.
Olbert
, “
Cylindrical magnets and ideal solenoids
,”
Am. J. Phys.
78
,
229
235
(
2010
).
5.
G. V.
Brown
and
L.
Flax
, “
Superposition of semi-infinite solenoids for calculating magnetic fields of thick solenoids
,”
J. Appl. Phys.
35
,
1764
1767
(
1964
).
6.
J.
Farley
and
R. H.
Price
, “
Field just outside a long solenoid
,”
Am. J. Phys.
69
,
751
754
(
2001
).
7.
S. R.
Muniz
,
V. S.
Bagnato
, and
M.
Bhattacharya
, “
Analysis of off-axis solenoid fields using the magnetic scalar potential: An application to a Zeeman-slower for cold atoms
,”
Am. J. Phys.
83
,
513
517
(
2015
).
8.
Wolfram Research, Inc.
, Mathematica, version 10.1. Champaign, Illinois,
2015
.
9.
Maplesoft. Maple, version 162,
2015
.
10.
MATLAB. version 8.5.0.197613 (R2015a). The MathWorks, Inc., Natick, Massachusetts,
2015
.
11.
Python Software Foundation, Python language reference, version 2.7. Available at <
http://
www.python.org>,
2015
.
12.
J. W.
Eaton
,
D.
Bateman
,
S.
Hauberg
, and
R.
Wehbring
, GNU Octave Version 3.8.1 manual: a high-level interactive language for numerical computations. CreateSpace Independent Publishing Platform,
2014
. ISBN 1441413006.
13.
The Sage Developers. Sage Mathematics Software,
2015
; <http://www.sagemath.org>.
14.
N. W.
Ashcroft
and
N. D.
Mermin
,
Solid State Physics
(
Holt, Rinehart, and Winston
,
New York
,
1976
).
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.