Modern systems often use multipole magnets, such as quadrupole and sextupole magnets, to focus the beam down, as magnets give a more powerful deflection effect than earlier electrostatic systems at high beam kinetic energies. The multipole magnets refocus the beam after each deflection section, as deflection sections have a defocusing effect that can be countered with a convergent magnet 'lens'.
This can be shown schematically as a sequence of divergent and convergent lenses. The quadrupoles are often laid out in what are called FODO patterns (where F focusses vertically and defocusses horizontally, and D focusses horizontally and defocusses vertically and O is a space or deflection magnet). Following the beam particles in their trajectories through the focusing arrangement, an oscillating pattern would be seen.
The action upon a set of charged particles by a set of linear magnets (i.e. only dipoles, quadrupoles and the field-free drift regions between them) can be expressed as matrices which can be multiplied together to give their net effect, using ray transfer matrix analysis.7 Higher-order terms such as sextupoles, octupoles etc. may be treated by a variety of methods, depending on the phenomena of interest.
Courant, E. D.; Snyder, H. S. (Jan 1958). "Theory of the alternating-gradient synchrotron" (PDF). Annals of Physics. 3 (1): 360–408. Bibcode:2000AnPhy.281..360C. doi:10.1006/aphy.2000.6012. /wiki/Ernest_Courant ↩
The Alternating Gradient Concept https://web.archive.org/web/20130402193938/http://www.bnl.gov/bnlweb/history/focusing.asp ↩
Christofilos, N. C. (1950). "Focusing System for Ions and Electrons". US Patent No. 2,736,799. /wiki/Nicholas_Christofilos ↩
Courant, E. D.; Livingston, M. S.; Snyder, H. S. (1952). "The Strong-Focusing Synchrotron—A New High Energy Accelerator". Physical Review. 88 (5): 1190–1196. Bibcode:1952PhRv...88.1190C. doi:10.1103/PhysRev.88.1190. hdl:2027/mdp.39015086454124. /wiki/Ernest_Courant ↩
Blewett, J. P. (1952). "Radial Focusing in the Linear Accelerator". Physical Review. 88 (5): 1197–1199. Bibcode:1952PhRv...88.1197B. doi:10.1103/PhysRev.88.1197. /wiki/Physical_Review ↩
Courant, E. D.; Livingston, M. S.; Snyder, H. S.; Blewett, J. (1953). "Origin of the "Strong-Focusing" Principle". Physical Review. 91 (1): 202–203. Bibcode:1953PhRv...91..202C. doi:10.1103/PhysRev.91.202.2. /wiki/Ernest_Courant ↩
Beam focusing http://www-linux.gsi.de/~boine/vorlesung/skript/html/node9.html ↩