Professional Documents
Culture Documents
Rashi Agarwal
(Dated: November 5, 2018)
From risk analysis in business to optimising control parameters in industry, computer algorithms
based on Monte Carlo methods are now a part of problem solving tools widely used in varied
sectors. Using random sampling, the method provides numerical results for problems which might
be probabilistic or deterministic in nature. Starting with a general description of the method, the
present paper introduces the applicability of stochastic approach to obtain estimates of physical
observables of a magnetic system. In particular 2-D Ising model for a ferromagnet is solved using
Metropolis algorithm for importance sampling and estimates of spontaneous magnetisation and
susceptibility are obtained. Temperature variation of the obtained parameters is then employed to
illustrate phase transition at critical temperature.
II. METHOD
Xi exp−Hi /kB T
P
allstates
hXi = (1)
Z
MCM is essentially concerned with experiments on
generating and treating random numbers. The problems where, X is the physical observable, Xi is its value in
which are solved can be either deterministic - such as state i, H is the Hamiltonian for the system. Expression
estimating observables in statistical physics where theo- of H contains the resultant energies due to interaction of
retical models can be formulated but not solved exactly, constituent particles and that of the system with its envi-
or probabilistic - such the performance of nuclear reac- ronment, T is the temperature, and kB is the Boltzmann
tor by choosing random number to represent the random constant.
2
MC simulations. exp kB T
, if ∆E>0
PAB =
The main utility of Monte Carlo methods is to study 1, if ∆E<0
the behaviour of the given system over a range external
where, pA and pB are the boltzmann probabilities of
parameters such as temperature and magnetic field and
the system being in states A and B respectively and
deal with problems pertaining to phenomena like phase
∆E = EB − EA .
transitions where interactions play a key role and the
determination of partition function becomes even more
Thus, the transition takes place if the energy of final
difficult.
state is less than that of initial state. However, we also
We will use MCM to study equilibrium phase transi-
accept transition to higher energy states with a proba-
tions in a 2-D ferromagnet at a finite temperature using
bility PAB , the relative Boltzmann probability.
Ising Model.
For simplicity we set kB Tc /J = C, some dimensionless
The Ising model is the simplest model to study phase constant and study the dynamics of lattice spins at
transitions in a magnetic system as a consequence of in- temperatures above and below Tc .
teractions among the constituent spins. Following are
the important considerations of Ising model:
• Each constituent dipole is localized at a site of the B. Metropolis importance sampling Monte Carlo
square lattice. scheme
• Each spin interacts only with its nearest neighbors. 1. Choose a randomly allocated initial lattice state
2. Choose a site i
• Hamiltonian for Ising model is given as:
3. Calculate the energy change ∆E which results if
the spin at site is overturned
X
H = −J si sj (3) 4. Generate a random number r such that 0 < r < 1
<i,j> − k∆ET
5. If r < exp B , flip the spin
6. Go to the next site and go to (3)
where, J is the interaction energy between nearest
neighbors and the summation runs over all nearest For a square lattice, each spin has 4 nearest neighbors.
neighbors. To maximize interaction consider that the spins at oppo-
site geometric ends interact.
3
IV. RESULTS
A. Lattice configurations
(c) t=128
FIG. 1: T > Tc
B. Equilibrium State
Initially all spins are in the same direction(i.e., have For any physical system, the equilibrium condition is
value +1 or -1) as the system reaches its equilibrium marked by no time variation of the parameters under
state by maximizing entropy, disorder in the system in- observation or rather a small fluctuation about an aver-
creases and the opposite spins are uniformly distributed age value. Here we will examine the variation of average
over the lattice sites. Hence, the system should behave spontaneous magnetization, m with t to identify the equi-
as a paramagnet with no net magnetization when it is in librium state. The value of m can be obtained easily from
equilibrium with the environment. the average spin of the system.
4
[1] John Hammersley. Monte carlo methods. Springer Science press, 2014.
& Business Media, 2013. [4] Nicholas Metropolis and Stanislaw Ulam. The monte carlo
[2] Dirk P Kroese, Tim Brereton, Thomas Taimre, and method. Journal of the American statistical association,
Zdravko I Botev. Why the monte carlo method is so im- 44(247):335–341, 1949.
portant today. Wiley Interdisciplinary Reviews: Compu- [5] M Newman and G Barkema. Monte carlo methods in sta-
tational Statistics, 6(6):386–392, 2014. tistical physics chapter 1-4. Oxford University Press: New
[3] David P Landau and Kurt Binder. A guide to Monte Carlo York, USA, 1999.
simulations in statistical physics. Cambridge university [6] RK Patharia. Statistical mechanics, 2nd edi, 1996.