To save content items to your account,
please confirm that you agree to abide by our usage policies.
If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account.
Find out more about saving content to .
To save content items to your Kindle, first ensure no-reply@cambridge.org
is added to your Approved Personal Document E-mail List under your Personal Document Settings
on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part
of your Kindle email address below.
Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations.
‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi.
‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Modern Monte Carlo methods have their roots in the 1940s when Fermi, Ulam, von Neumann, Metropolis and others began considering the use of random numbers to examine different problems in physics from a stochastic perspective (Cooper (1989), this set of biographical articles about S. Ulam provides fascinating insight into the early development of the Monte Carlo method, even before the advent of the modern computer). Very simple Monte Carlo methods were devised to provide a means to estimate answers to analytically intractable problems. Much of this work is unpublished and a view of the origins of Monte Carlo methods can best be obtained through examination of published correspondence and historical narratives. Although many of the topics which will be covered in this book deal with more complex Monte Carlo methods which are tailored explicitly for use in statistical physics, many of the early, simple techniques retain their importance because of the dramatic increase in accessible computing power which has taken place during the last two decades. In the remainder of this chapter we shall consider the application of simple Monte Carlo methods to a broad spectrum of interesting problems.
COMPARISONS OF METHODS FOR NUMERICAL INTEGRATION OF GIVEN FUNCTIONS
Simple methods
One of the simplest and most effective uses for Monte Carlo methods is the evaluation of definite integrals which are intractable by analytic techniques. (See the book by Hammersley and Handscomb (1964) for more mathematical details.) In the following discussion, for simplicity we shall describe the methods as applied to one-dimensional integrals, but it should be understood that these techniques are readily extended, and often most effective, when applied to multidimensional integrals.
Within the contents of this book we have attempted to elucidate the essential features of Monte Carlo simulations and their application to problems in statistical physics. We have attempted to give the reader practical advice as well as to present theoretically based background for the methodology of the simulations as well as the tools of analysis. New Monte Carlo methods will be devised and will be used with more powerful computers, but we believe that the advice given to the reader in Section 4.8 will remain valid.
In general terms we can expect that progress in Monte Carlo studies in the future will take place along two different routes. First, there will be a continued advancement towards ultra high resolution studies of relatively simple models in which critical temperatures and exponents, phase boundaries, etc. will be examined with increasing precision and accuracy. As a consequence, high numerical resolution as well as the physical interpretation of simulational results may well provide hints to the theorist who is interested in analytic investigation. On the other hand, we expect that there will be a tendency to increase the examination of much more complicated models which provide a better approximation to physical materials. As the general area of materials science blossoms, we anticipate that Monte Carlo methods will be used to probe the often complex behavior of real materials. This is a challenge indeed, since there are usually phenomena which are occurring at different length and time scales.
In the previous chapters of this text we have examined a wide variety of Monte Carlo methods in depth. Although these are exceedingly useful for many different problems in statistical physics, there are some circumstances in which the systems of interest are not well suited to Monte Carlo study. Indeed there are some problems which may not be treatable by stochastic methods at all, since the time-dependent properties as constrained by deterministic equations of motion are the subject of the study. The purpose of this chapter is thus to provide a very brief overview of some of the other important simulation techniques in statistical physics. Our goal is not to present a complete list of other methods or even a thorough discussion of these methods which are included but rather to offer sufficient background to enable the reader to compare some of the different approaches and better understand the strengths and limitations of Monte Carlo simulations.
MOLECULAR DYNAMICS
Integration methods (microcanonical ensemble)
Molecular dynamics methods are those techniques which are used to numerically integrate coupled equations of motion for a system which may be derived, e.g. in the simplest case from Lagrange's equations or Hamilton's equations. Thus, the approach chosen is to deal with many interacting atoms or molecules within the framework of classical mechanics. We begin this discussion with consideration of systems in which the number of particles N, the system volume V, and the total energy of the system E are held constant This is known as the NVE ensemble.
In the preceding chapters we had described the application of Monte Carlo methods in numerous areas that can be clearly identified as belonging to physics. Although the exposition was far from complete, it should have sufficed to give the reader an appreciation of the broad impact that Monte Carlo studies has already had in statistical physics. A more recent occurrence is the application of these methods in non-traditional areas of physics related research. More explicitly, we mean subject areas that are not normally considered to be physics at all but which make use of physics principles at their core. In some cases physicists have entered these arenas by introducing quite simplified models that represent a ‘physicist's view’ of a particular problem. Often such descriptions are oversimplified, but the hope is that some essential insight can be gained as is the case in many traditional physics studies. (A recent, provocative perspective of the role of statistical physics outside of physics has been presented by Stauffer, 2004.) In other cases, however, Monte Carlo methods are being applied by non-physicists (or ‘recent physicists’) to problems that, at best, have a tenuous relationship to physics. This chapter is to serve as a brief glimpse of applications of Monte Carlo methods ‘outside’ of physics. The number of such studies will surely grow rapidly; and even now, we wish to emphasize that we will make no attempt to be complete in our treatment.
Since the thrust of the homework problems is for the student to write, debug, and run ‘homemade’ programs, we will not provide a compendium of simulational software. Nonetheless, to provide some aid to the student in the learning process, we will offer a few programs that demonstrate some of the basic steps in a Monte Carlo simulation. We do wish to make the reader aware, however, that these program do not have all of the ‘bells and whistles’ which one might wish to introduce in a serious study but are merely simple programs that can be used to test the students' approach.
In the preceding chapters of this book we have dealt extensively with equilibrium properties of a wide variety of models and materials. We have emphasized the importance of insuring that equilibrium has been reached, and we have discussed the manner in which the system may approach the correct distribution of states, i.e. behavior before it comes to equilibrium. This latter topic has been treated from the perspective of helping us understand the difficulties of achieving equilibrium. The theory of equilibrium behavior is well developed and in many cases there is extensive, reliable experimental information available.
In this chapter, however, we shall consider models which are inherently non-equilibrium! This tends to be rather uncharted territory. For some cases theory exists, but it has not been fully tested. In other situations there is essentially no theory to rely upon. In some instances the simulation has preceded the experiment and has really led the way in the development of the field. As in the earlier chapters, for pedagogical reasons we shall concentrate on relatively simple models, but the presentation can be generalized to more complex systems.
DRIVEN DIFFUSIVE SYSTEMS (DRIVEN LATTICE GASES)
Over a decade ago a deceptively simple modification of the Ising-lattice gas model was introduced (Katz et al., 1984) as part of an attempt to understand the behavior of superionic conductors.
In most of the discussion presented so far in this book, the quantum character of atoms and electrons has been ignored. The Ising spin models have been an exception, but since the Ising Hamiltonian is diagonal (in the absence of a transverse magnetic field!), all energy eigenvalues are known and the Monte Carlo sampling can be carried out just as in the case of classical statistical mechanics. Furthermore, the physical properties are in accord with the third law of thermodynamics for Ising-type Hamiltonians (e.g. entropy S and specific heat vanish for temperature T → 0, etc.) in contrast to the other truly classical models dealt with in previous chapters (e.g. classical Heisenberg spin models, classical fluids and solids, etc.) which have many unphysical low temperature properties. A case in point is a classical solid for which the specific heat follows the Dulong–Petit law, C = 3NkB, as T → 0, and the entropy has unphysical behavior since S → – ∞. Also, thermal expansion coefficients tend to non-vanishing constants for T → 0 while the third law implies that they must be zero. While the position and momentum of a particle can be specified precisely in classical mechanics, and hence the groundstate of a solid is a perfectly rigid crystal lattice (motionless particles localized at the lattice points), in reality the Heisenberg uncertainty principle forbids such a perfect rigid crystal, even at T → 0; due to zero point motions which ‘smear out’ the particles over some region around these lattice points.
Historically physics was first known as ‘natural philosophy’ and research was carried out by purely theoretical (or philosophical) investigation. True progress was obviously limited by the lack of real knowledge of whether or not a given theory really applied to nature. Eventually experimental investigation became an accepted form of research although it was always limited by the physicist's ability to prepare a sample for study or to devise techniques to probe for the desired properties. With the advent of computers it became possible to carry out simulations of models which were intractable using ‘classical’ theoretical techniques. In many cases computers have, for the first time in history, enabled physicists not only to invent new models for various aspects of nature but also to solve those same models without substantial simplification. In recent years computer power has increased quite dramatically, with access to computers becoming both easier and more common (e.g. with personal computers and workstations), and computer simulation methods have also been steadily refined. As a result computer simulations have become another way of doing physics research. They provide another perspective; in some cases simulations provide a theoretical basis for understanding experimental results, and in other instances simulations provide ‘experimental’ data with which theory may be compared. There are numerous situations in which direct comparison between analytical theory and experiment is inconclusive. For example, the theory of phase transitions in condensed matter must begin with the choice of a Hamiltonian, and it is seldom clear to what extent a particular model actually represents a real material on which experiments are done.
In a Monte Carlo simulation we attempt to follow the ‘time dependence’ of a model for which change, or growth, does not proceed in some rigorously predefined fashion (e.g. according to Newton's equations of motion) but rather in a stochastic manner which depends on a sequence of random numbers which is generated during the simulation. With a second, different sequence of random numbers the simulation will not give identical results but will yield values which agree with those obtained from the first sequence to within some ‘statistical error’. A very large number of different problems fall into this category: in percolation an empty lattice is gradually filled with particles by placing a particle on the lattice randomly with each ‘tick of the clock’. Lots of questions may then be asked about the resulting ‘clusters’ which are formed of neighboring occupied sites. Particular attention has been paid to the determination of the ‘percolation threshold’, i.e. the critical concentration of occupied sites for which an ‘infinite percolating cluster’ first appears. A percolating cluster is one which reaches from one boundary of a (macroscopic) system to the opposite one. The properties of such objects are of interest in the context of diverse physical problems such as conductivity of random mixtures, flow through porous rocks, behavior of dilute magnets, etc. Another example is diffusion limited aggregation (DLA) where a particle executes a random walk in space, taking one step at each time interval, until it encounters a ‘seed’ mass and sticks to it.
As we have seen on several occasions, a great many of the physical phenomena of interest concern collective behaviour or strongly correlated particles. While it is sometimes possible to obtain useful insight using approximation methods, such as perturbation theory, reliable controlled approximations do not exist. In such situations, numerical simulations have become an indispensable tool.
We shall not attempt in this chapter to discuss computer programming nor shall we discuss many of the powerful methods, both algorithmic and in data analysis, that have been developed since numerical simulations have become an important research tool. Instead, we shall assume that the reader already has enough familiarity with computer programming to apply the notions which we discuss here. Our goal is to explain enough of the basics of the Monte Carlo method (classical and quantum) to allow the reader to apply it readily to interesting equilibrium statistical physics problems of the type discussed in this book. The problems in this chapter have been tailored with this in mind. The programs needed are relatively simple and the physics illustrates many of the phenomena already seen: phase transitions with and without spontaneous symmetry breaking, critical exponents, diverging susceptibilities, scaling, vortices, superfluids etc. Consequently, some of the problems are somewhat long and may be better considered as mini-projects.
Markov chains, convergence and detailed balance
Even relatively innocent looking models are impossible to solve exactly. The exact solution of the two-dimensional Ising model is known but not in the presence of an external magnetic field. In three dimensions, even in the absence of a magnetic field, the exact solution is not known. In fact, relatively few models can be solved exactly; see Reference [14] for an excellent review of the subject.
In Chapter 3 we exhibited the limitations of a purely classical approach. For example, if the temperature is below a threshold value, some degrees of freedom become ‘frozen’ and the equipartition theorem is no longer valid for them. The translational degrees of freedom of an ideal gas appear to escape this limitation of the classical (or more precisely, semi-classical) approximation. We shall see in this chapter that, in fact, this is not so: if the temperature continues to decrease below some reference temperature, the classical approximation will deteriorate progressively. However, in this case, the failure of the classical approximation is not related to freezing degrees of freedom but rather to the symmetry properties of the wave function for identical particles imposed by quantum mechanics. A rather spectacular consequence is that the kinetic energy is no longer a measure of the temperature. In a classical gas, even in the presence of interactions, the average kinetic energy is equal to 3kT/2, but this result does not hold when the temperature is low enough, even for an ideal gas. For example, if we consider the conduction electrons in a metal as an ideal gas, we shall show that the average kinetic energy of an electron is not zero even at zero temperature. In addition, this kinetic energy is about 100 times kT at normal temperature. Let us consider another example. In a gaseous mixture of helium-3 and helium-4 at low temperature, the average kinetic energies of the two isotopes are different: the average kinetic energy of helium-3 is larger than 3/2kT while that of helium-4 is smaller.
In the preceding chapters, we have limited our analysis to equilibrium situations. This is rather restrictive since non-equilibrium phenomena, such as heat conduction or diffusion, are of great interest and cannot be ignored. To remedy this, we focus in this chapter on an introduction to non-equilibrium phenomena. Further developments of the subject will be found in Chapters 8 and 9.
We have seen that equilibrium statistical mechanics is built on a general and systematic approach, namely the Boltzmann–Gibbs distribution. No such general approach is available for non-equilibrium situations; instead, we find a large variety of methods suited to particular cases and situations. What we are able to control well are cases close to equilibrium where we can rely on rather general methods like linear response theory, which will be described in Sections 9.1 and 9.2. In the present chapter, we shall consider a macroscopic approach, that of transport coefficients, which is the non-equilibrium analogue of equilibrium thermodynamics. At this stage, we shall not attempt a calculation of these transport coefficients from a microscopic theory. We shall only show that these coefficients satisfy a number of general properties, their actual values being taken from experiments. This parallels equilibrium thermodynamics where we uncovered a number of general relations between thermodynamic quantities while we did not attempt to calculate, for example, the specific heat from a microscopic theory but took its value from experiments.