The figure below shows two cycles which operate between volumes V and aV (a > 1), and pressures P_{1} and P_{2}. Points A and B are the same in both diagrams, and the process connecting them is adiabatic (zero heat transfer Q = 0). The other legs of the cycle occur at constant pressure and at constant volume, as indicated on the diagrams. The working substance is the same for both cycles, and has adiabatic exponent \gamma = C_{P}/C_{V}.

(a) Draw arrows indicating which direction along each cycle one must take in order for the net work done by the gas to be positive.
(b) During which cycle will the gas do more work: Cycle 1, Cycle 2, or are they the same?
(c) Find the ratio of the minimum temperature and maximum temperature for both cycle 1 and cycle 2. If they were reversible cycles, which would have the higher efficiency? Your answers should be expressed only in terms of the expansion factor a and the adiabatic exponent \gamma. (Hint: compare Carnot efficiencies.)
(d) Now assume each leg of both cycles occurs in a different reservoir. You can no longer use the Carnot theorem to compute the efficiency. To find the efficiency in this setting, you must first find the heat which flows into the gas. For this part, compute the heat which flows into the gas for each cycle, and indicate along which stages the gas absorbs this heat. You may express your final answer in terms of (not necessarily all of) the following variables: temperatures T_{A}, T_{B}, T_{C}, T_{D}, heat capacities C_{P}, C_{V}, volume expansion factor a, and \gamma.
(e) Now calculate the heat which is lost by the gas during each cycle, i.e. the heat outflow. Again, indicate along which stages the gas loses heat. You may express your final answer in terms of (not necessarily all of) the following variables: temperatures T_{A}, T_{B}, T_{C}, T_{D}, heat capacities C_{P}, C_{V}, volume expansion factor a, and \gamma.
(f) Combine your results for (d) and (e) to compute the efficiency of each cycle. Now, your answer should be written only in terms of the expansion factor a and the adiabatic exponent \gamma. Take the limit of large a to determine which cycle is more efficient.
The partition function for a van der Waals gas has the form
Z = f(N,T)\,(V - N b)^{N} e^{aN^{2}/V k T},
where f(N,T) is a function of N and T, but not of volume. The constant b determines an excluded volume around each particle, and a represents an attractive force between particles. Use this to derive the van der Waals equation of state, which gives the relation between pressure, volume, temperature, and number of particles. Show that you recover the ideal gas law when a = b = 0.
Consider two dipoles which have configurations s_{1} \in \{-1, +1\} and s_{2} \in \{-1, +1\}. The energy of a given configuration is
E(s_{1}, s_{2}) = -J s_{1} s_{2}.
(a) Compute the partition function for this system at temperature T.
(b) What is the entropy in the limit T \to 0 and T \to \infty? You can obtain this in any way you like, but explain your reasoning.
Solution: There are only two spins, and each spin takes on two states, which means there are a total of 2^{2} = 4 configurations. So we just enumerate
E(1,1) = E(-1,-1) = -J, \quad E(1, -1) = E(-1, 1) = J Therefore, the partition function is
Z = \sum_{s_{1}, s_{2}}e^{ - \beta E(s_{1}, s_{2})} = 2 e^{ - \beta J} + 2 e^{ \beta J}
b) To get the entropy, I will use F = - k T \ln Z = U - T S. I already have Z, whcih means I just need U. I can get U from the expectation value
U = \langle E \rangle = \frac{J}{Z} \left( 2 e^{ - \beta J} - 2 e^{ \beta J}\right) So that from - k T \ln Z = U - TS I get
S = \frac{U}{T} + k_{B} \ln Z = k_{B} \beta U + k_{B} \ln Z As T \to 0, I will take \beta \to \infty. In this limit,
Z \sim 2 e^{ \beta J}, \quad U \sim J \frac{- 2 e^{ \beta J}}{2 e^{ \beta J}} = -J and
S \sim k_{B} \beta ( - J) + k_{B} \ln(2 e^{ \beta J}) = - k_{B} \beta J + k_{B} \beta J + k_{B} \ln 2 = k_{B} \ln 2
This can be seen simply in the following way. When T \to 0, The probabilities for each energy state become
P(E = - J) = \frac{2 e^{\beta J}}{Z} \to 1, \quad P(E = +J) = \frac{2 e^{-\beta J}}{Z} \to 0 The probability to be in the lowest energy state is one, so the system has to be in the lowest energy state. This means we are reduced to calculating the entropy of the system in its lowest energy state, which is S(U = - J) = k_{B} \ln \Omega(U = - J). But the lowest energy state has multiplicity \Omega(U = - J) = 2, therefore S = k_{B} \ln 2.
For T \to \infty, I take \beta \to 0. Then
Z \to 4, \quad U \to \frac{J}{4} \left( (1 - \beta J + (\beta J)^{2}/2 + ...) - (1 + \beta J + (\beta J)^{2}/2 + ...)\right) \approx - \frac{2 J \beta}{4} + ... Which means \beta U \to 0 and all that’s left is
S \to k_{B} \ln 4
This limit can be understood simply in another way. When temperature goes to infinity, all states are equally probable
P(E = - J) = P(E = +J) = \frac{1}{2} This means every microscopic configuration is equally probable. When all accessible configurations have equal probability, the entropy becomes just the log of the multiplicity of accessible configurations. In this case, because all of the configurations have equal probability, they are all accessible, and so the entropy is just the log of the total number of possible configurations, which is 2^{2} = 4.
Consider three dipoles whose energy is given by
E(s_{1}, s_{2}, s_{3}) = J s_{1} s_{2} + J s_{2} s_{3} + J s_{3} s_{1}.
This is a simple example of a frustrated system: s_{1} wants to anti-align with s_{2}, which will minimize J s_{1} s_{2} by making it negative. And s_{2} wants to anti-align with s_{3}, making J s_{2} s_{3} negative. But there is no configuration which can minimize these first two terms and also minimize the last term J s_{3} s_{1}. Find the entropy of this system at zero temperature. You can use any approach you like.