Cosas en las que pienso mientras me titulo

Project 3: Phase transitions in a simple classical model of magnetism for Statistical Mechanics

Systems in Statistical Mechanics have a big amount of molecules interacting with each other. As a result, its corresponding phase space is equally large. One must know how to work through large amounts of data.

Prelude: Some Probability Theory for Statistical Mechanics

Example: Detection of colorrectal cancer

Assume there is a test that has a 50% chance to detect hidden colorectal cancer (cancer assuming the patient has no symptoms). The probability of a sample of people to have colorrectal cancer is 0.3 percent. Id the person has no colorectal cancel there is still a 3 percent of a positive result. What is the probability of a person from that sample to have colorectal cancer?

Consider Bayes' Theorem

P(A/B)P(B)=P(B/A)P(A) P(A/B)P(B) = P(B/A)P(A)

also written as

P(A/B)=P(AB)P(B) P(A/B) = \frac{P(A\cap B)}{P(B)}

For cases where P(B/A)P(A)=P(AB)P(B/A)P(A) = P(A\cap B)

Binomial Distribution

Given two events with probabilities p, q=1pp,\ q = 1-p we get that

P(X=k)=(nk)pk(1p)nk P(X = k) = \binom{n}{k}p^k(1-p)^{n-k}

Poisson Distribution

Approximation by: Given λ=Np\lambda = Np for big enough n (nn \to \infty) we get that:

(nk)pk(1p)nkeλλkk! \binom{n}{k}p^k(1-p)^{n-k} \approx e^{-\lambda}\frac{\lambda^k}{k!}

The problem at hand: The Ising Model

The 2D Ising model is a simple model of a ferromagnetic material with phase transition. It consists of a 2D lattice L×LL\times L of spins sj{1,1}s_j \in \{-1,1\}. Each spin interacts only with its nearest neighbours. The energy is expressed as:

E({si})=<i,j> E(\{s_i\}) = -\sum_{\left<i,j\right>}

This is the Ising model.

Considering normalized energy with JJ, spin with /2\hbar/2, magnetic field with J/μJ/\mu for JJ the exchange energy and μ\mu the atomic magnetic moments. When the system is in contact with a heat bath a temperature T, the equilibrium probability density is the Boltzmann distribution:

ρ({sj})=Z1exp(E({sj})/T) \rho(\{s_j\}) = Z^{-1}\exp(-E(\{s_j\})/T)

Where the partition function is Z=jγexp(E({sj})/T)Z =\sum_{j \in \gamma} \exp\left(-E(\{s_j\})/T\right) over all possible configurations.

The phase space is very large, what can we do now?

Monte Carlo Methods

Now you have a system that has a certain set of states S1,2,,NS_{1,2,\dots,N}. Each of those states has an associated probability πi, i0,1,,N1\pi_i,\ i \in {0,1,\dots,N-1}. You don't know that, but you can calculate the ratio πiπj\frac{\pi_i}{\pi_j}. You want a sample σ1,2,,n\sigma_{1,2,\dots,n} with the property that as nn \to \infty, the amount of times we get state i divided by the sample size approaches unity

CC BY-SA 4.0 Eduardo Vázquez Kuri. Last modified: March 24, 2025. Website built with Franklin.jl and the Julia programming language.