Entropy of a Two-State System: Spins in a 7-spin System, Assignments of Physics

Solutions to problem 4 of physics 213 week 3, focusing on the entropy of a two-state system with 7 spins. The document calculates the total number of microstates, the number of microstates with 3 spins up and 4 spins down, and the probability of this configuration in equilibrium. It also introduces the concept of approximating the number of microstates with a gaussian distribution for larger systems.

Typology: Assignments

Pre 2010

Uploaded on 03/16/2009

koofers-user-0ci-2
koofers-user-0ci-2 🇺🇸

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Physics 213 Problem 4 Week 3
Two-State System: Spins
Consider a set of 7 spins which each point either up or down.
a) What is the total number of microstates for this 7-spin system?
Each spin, independent of the others, has two possible states. Thus, the number of microstates of
the system is Ω = 2 2 2 2 2 2 2 = 27 = 128.
b) How many microstates have 3 spins up, 4 spins down?
Here we simply choose exactly 3 of the spins to be up, which leaves the other 4 spins down. The
number of ways to choose 3 things out of 7 when order of choice doesn't matter is given by the
binomial function (also called n-choose-m, or N-choose-Nup here):
It is useful to notice that we could as well have chosen the four spins to be down instead of the
three to be up. Common sense tells us that the number of ways to do this would still have to be
35. In general, choosing M things out of N is equivalent to choosing the N-M things one does
not want.
c) What is the probability in equilibrium that 3 spins are up, 4 down?
Since all of the microstates (particular arrangements of up and down for the 7 spins) are equally
likely, the probability is P(3) = 35/128 = 0.273.
d) The entropy σ is simply the (natural) logarithm of the number of states. What is the entropy
for the 3-up, 4-down configuration?
σ3up = ln (Ω3up) = ln (35) = 3.55
e) Plot σ for all 7 configurations (macrostates): (Notice that σ has only 4 different values.)
σ
4
3
2
1
0Nup
0 1 2 3 4 5 6 7
Solution
pf3

Partial preview of the text

Download Entropy of a Two-State System: Spins in a 7-spin System and more Assignments Physics in PDF only on Docsity!

Physics 213 Problem 4 Week 3 Two-State System: Spins Consider a set of 7 spins which each point either up or down. a) What is the total number of microstates for this 7-spin system? Each spin, independent of the others, has two possible states. Thus, the number of microstates of the system is Ω = 2 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 2 ⋅ 2 = 2^7 = 128. b) How many microstates have 3 spins up, 4 spins down? Here we simply choose exactly 3 of the spins to be up, which leaves the other 4 spins down. The number of ways to choose 3 things out of 7 when order of choice doesn't matter is given by the binomial function (also called n-choose-m, or N-choose-Nup here): It is useful to notice that we could as well have chosen the four spins to be down instead of the three to be up. Common sense tells us that the number of ways to do this would still have to be

  1. In general, choosing M things out of N is equivalent to choosing the N-M things one does not want. c) What is the probability in equilibrium that 3 spins are up, 4 down? Since all of the microstates (particular arrangements of up and down for the 7 spins) are equally likely, the probability is P(3) = 35/128 = 0.273. d) The entropy σ is simply the (natural) logarithm of the number of states. What is the entropy for the 3-up, 4-down configuration? σ3up = ln (Ω3up) = ln (35) = 3. e) Plot σ for all 7 configurations (macrostates): (Notice that σ has only 4 different values.)

4 3 2 1 0 Nup 0 1 2 3 4 5 6 7 Solution

f) The previous calculations are simple enough, and completely correct. But they won’t work if the number of spins is much more than about 250 (e.g., your calculator probably can’t handle 500!). However, as discussed in lecture, in this case the number of microstates is well approximated by a Gaussian distribution: , where N is the total number of spins, and m = Nup – Ndown is the spin imbalance. Assuming you have 700 spins, calculate the entropy when Nup = 350, and Nup = 300. Finally, what is the entropy when Nup = 0? (Think, don’t calculate for this last one.) Nup = 350: (Ndown = 350) m = 0 Therefore σ 350 = ln (1.59x10^209 ) = 481.7. [Mathematica gives Log[700!/(350! 350!)] = 481.7] Nup = 300: (Ndown = 400) m = - Therefore σ 300 = ln (1.26x10^206 ) = 474.6. [Mathematica gives Log[700!/(300! 400!)] = 474.5] Nup = 0: There’s still only one way to have all the spins aligned, so the entropy must be 0. { Log[700!/(0! 700!)] = ln(1) = 0. }