1. Home
  2. Explore
  3. Physics
  4. Carnot Engine & Entropy

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Carnot Engine & Entropy

Transcript

We saw previously how Sadi Carnot’s attempts to optimize the steam engine led to the concept of the Carnot engine, which is the heat engine that has the highest efficiency that is theoretically possible. When Rudolf Clausius analyzed the Carnot cycle mathematically, he came to the insight that there are different forms of energy, and that energy can be converted from one type to another. For example, heat can be converted to internal energy, which raises the temperature of a gas or object. Or, heat can be converted to useful mechanical work, as is done in heat engines. To quantitatively describe spontaneous, irreversible processes, such as the flow of heat from hot to cold, he introduced the concept of entropy. In the following, we aim to understand some of these results by modeling gases as a large amount of molecules moving around according to the laws of Newtonian mechanics. This is

called the kinetic theory, and it aims to unify thermodynamics with the well-established Newtonian mechanics. It states that the internal energy of a gas is determined by the kinetic energy of the molecules, which explains why internal energy can be converted to mechanical work and vice versa. Moreover, it aims to explain entropy in terms of statistics: systems tend to evolve from statistically unlikely states to statistically likely states, so

entropy should be a measure of the statistical likelihood of a state. Let’s see how we can derive the ideal gas law by modeling a gas as a large number of molecules moving around. The ideal gas law says that the pressure times the volume of a gas, is proportional to the amount of gas and its temperature. Here, n denotes the amount of gas in moles, and R denotes the constant of proportionality called the gas constant. But because we want to explain the ideal gas law in terms of the motion of individual molecules, let’s define capital N to be the number of gas molecules, and then the constant of proportionality becomes k_B, which is called Boltzmann’s constant. We can rewrite this into an expression for the pressure P. We will see how this pressure is caused by molecules moving around and bumping into the walls of the container. We can identify

three factors that determine how much pressure the molecules exert on the walls. The first factor is the momentum of a molecule. Consider a single molecule moving towards a wall with a certain speed v, and a momentum given by its mass times its speed. Intuitively, we can expect that when the molecule bounces of the wall, the pressure it exerts is proportional to its momentum: so the faster the molecule moves, and the heavier the molecules are, the higher the pressure of the gas. The second factor that determines the pressure that molecules exert on the walls of the container, is the return time. A molecule doesn’t bounce of the wall only once, but rather it bounces back and forth between the walls. The more often the molecule bounces against the wall, the more pressure it exerts. If the molecule has a speed v, and the distance between the walls is L, then the time it takes for the

particle to go back and forth is proportional to v divided by L. Since the length L is directly proportional to the volume of the container, we find that the pressure is proportional to the speed of the molecule, divided by the volume of the container. The third factor that determines the pressure that molecules exert on the walls of the container, is the number of molecules. If a single particle exerts a certain amount of pressure on the wall, then N molecules exert N times as much pressure. So the pressure P is proportional to the number of molecules N. Putting these three results together, tells us that the pressure is proportional to the number of molecules N, times the mass of a single molecule m, times the speed of a molecule squared, divided by the volume of the container V. When we compare this result with the ideal gas law, we find that they have the factor

N/V in common. It follows then, that the remaining factors must be proportional to each other. That is, Boltzmann’s constant times the temperature must be proportional to the kinetic energy of a single molecule. So temperature is a measure of the kinetic energy of molecules in a gas. Now let’s analyze the result more quantitatively. Consider for now the motion of a molecule only in the x direction. If a particle moves

with speed v_x at the wall, then after an elastic collision with the wall, the velocity is -v_x. Conservation of momentum then requires that an amount of momentum of 2mv_x has been transferred to the wall. So the momentum that is transferred per collision is 2mv_x. Now let’s find out how many times a single molecule collides with the wall during some time Delta t. During a time Delta t, the molecule travels a distance v_x Delta t. The distance of one

round trip is 2L_x. The number of times that a single molecule collides with a wall in a time Delta t, is the distance it travels during that time, divided by the distance of a single round trip. The number of molecules is given by N. Now let’s calculate the total momentum that N molecules transfer to the wall during a given time Delta t. The total transferred momentum equals the amount of momentum transferred

per collision, times the number of collisions that a single molecule undergoes during a time Delta t, summed over all molecules. We can plug in the values that we found previously. The 2’s cancel out, and the factor Delta t over L_x can be taken outside the summation. Now we must find how the total transferred momentum relates to the total pressure of the gas. Pressure is given by force divided by area. Because we consider the x-component of the velocities of the particles, the wall that

the molecules collide with is in the yz-plane, so its area equals L_y times L_z. The average force is given by the change in momentum per unit time. We can plug in the expression we found for the transfer of momentum during a time Delta t. The Delta t cancels out, and the product L_x L_y L_z equals the volume of the box. We find in the final expression for the pressure P, a summation over all molecules. Let’s see how we can rewrite this expression

more conveniently. First, we can take out a factor N, the number of molecules, so that the summation represents an average over all N molecules. Then we can take out a factor 2, so that we sum over something that resembles the kinetic energy. However, note that we only took into consideration the x-component of the molecule velocity. The total kinetic energy should also take into account the y- and z-components. If we

assume a system that is symmetric in the x, y, and z directions, taking only into account the x-component of the velocity amounts to computing one third of the average kinetic energy. By comparing this result to the ideal gas law, we find that Boltzmann’s constant times the temperature, equals 2/3 the average kinetic energy of all molecules. We now know how the average kinetic energy relates to the temperature. The total internal energy is simply the average kinetic energy per molecule, times the number of molecules. We find that the total internal energy is given by 3/2 times N k_B T. This result can be interpreted using the equipartition theorem. The equipartition theorem states that the total internal energy is equally divided over the degrees of freedom of motion. In our case we have a total internal energy that is 3/2 N k_B T. This can be interpreted as the result

of having three degrees of freedom for motion, where each degree of freedom carries ½ N k_B T units of energy. The three degrees of freedom come from the fact that a molecule has three velocity components: x, y and z. This result holds if the molecules consist of a single atom, so it holds for a monatomic gas. But what if the molecules consist of two atoms, so we have a diatomic gas? In that case, we have more degrees of freedom over

which the energy can be distributed. Not only can molecules spend energy on moving around in the x- y- or z-direction, but they can also rotate. In the depicted orientation of the molecule, the molecule can rotate around its z-axis, or around its y-axis. Rotation along the x-axis, so along the length of the molecule, contains a negligible amount of energy because the moment of inertia is much smaller. These two extra degrees of freedom each contain additional factors of 1/2 N k_B T. The total

internal energy now consists of 5 portions of N k_B T/2, so the total internal energy of a diatomic gas is given by 5/2 N k_B T, whereas for a monatomic gas it was given by 3/2 N k_B T. At higher temperatures, the molecule can also store energy in its vibrational modes. This adds one degree of freedom for motion, but there are two extra contributions to the energy: namely the kinetic energy due to the motion of the vibration, and the potential

energy that is stored in the imaginary spring that binds the two atoms. Therefore, there are two extra contributions of N k_B T/2 to the total energy, so the total internal energy for a diatomic gas at high temperatures is given by 7/2 N k_B T. So we see that depending on the degrees of freedom the molecules in a gas have, the relation between the internal energy and the temperature changes. How can we verify this experimentally?

The relation between the internal energy and the temperature determines the heat capacity of the gas. The heat capacity tells you how much energy you should put into the gas to raise its temperature by 1 degree. The heat capacity at constant volume is given by the change in internal energy divided by the change in the temperature. It is important to keep the volume fixed, because if the gas were allowed to expand, not all the heat energy that you put into the gas goes into raising the temperature of the gas. Part of the heat energy that you put in, would be spent on the mechanical work that is performed when the gas expands. Now let’s think about which part of the internal energy actually contributes to raising the temperature of the gas. We saw previously that the pressure of the gas is caused by the molecules bumping into the walls of the container. This is due to the translational motion of the molecules, not their rotations

or vibrations. Since the ideal gas law tells us that temperature is directly proportional to the pressure, we can conclude that only the energy that is put into the translational motion of the molecules, contributes to the temperature of the gas. The energy that is put into rotations and vibrations don’t increase the temperature. Therefore, the more degrees of freedom for motion the molecules of a gas have, the more energy it takes to raise the temperature, so the higher the heat capacity. This is indeed what we see from the formulas that we derived for the internal energies for monatomic and diatomic gases. We can also use the equipartition theorem to find the heat capacity of solids, instead of ideal gases. In a solid, atoms do not move freely like molecules do in a gas, but rather they are bound to a lattice. When an atom vibrates, it has kinetic energy, and there

is potential energy in the bond between atoms, which can be thought of as springs with a certain spring constant. According to the equipartition theorem, the kinetic energy and the potential energy each account for an energy of ½ N k_B T. Since the lattice is three-dimensional, there are three such contributions, leading to a total internal energy of 3N k_B T. The heat capacity per atom is therefore three times Boltzmann’s constant. This law is known as the Dulong-Petit law. For many materials, experimental observations agree well with theoretical predictions. But for very low temperatures, approaching absolute zero, the model fails for all materials, and the heat capacity goes to zero. Classical theory fails to explain this behavior, and it took the development of quantum mechanics to explain this phenomenon. We’ve seen how the average kinetic energy

of molecules is related to the temperature of an ideal monatomic gas. But not all molecules have the same kinetic energy, and not all molecules have the same velocity. So we can ask: what is the velocity distribution of the molecules? Consider a monatomic ideal gas in a spherical container. Each molecule has a certain velocity vector, with some x-, y-, and z-component. We want to know the probability that a molecule has a velocity vector within

a certain interval around v_x, v_y, v_z. This probability is given by a probability distribution function f, multiplied by the size of the interval. The question is: what is the formula for the probability distribution function f? The system is completely symmetric in the x-, y- and z-directions, so the probability that a molecule has a certain velocity in the x-direction, must be the same as the probability that the molecule has that velocity in the y- or z-direction. Moreover, the probability

that a molecule has a certain velocity in the x-direction, should not depend on its velocity in the y- or z- direction. Therefore, we expect that the probability distribution function f of the velocity vector can be written as the product of the probability distribution functions of the separate components, which all follow the same probability distribution g. Moreover, the probability distribution f should be independent of any rotation of the coordinate system, because the system is fully rotationally symmetric. So the probability distribution can only depend on the magnitude of the velocity vector, not its direction. Combining these two requirements leads to the conclusion that the probability distribution function is an exponential function of the squared length of the velocity vector. As we required, it is a function of only the length of the velocity vector, and it can

be factorized intro three identical probability distribution functions for the separate velocity components. We have now found the form of the probability distribution function, but it still depends on two unknown parameters A and B. How do we find their values? The first constraint we use to find the values of A and B, is the fact that the probability distribution must integrate to 1. To work with this constraint more easily, let’s define v as the length of the velocity vector. We can write the probability distribution function as a function of v. If we plug this equation into the integral, then we also want to change the integration variable to v. Note that one value of v, corresponds to the entire surface of a sphere in velocity space: multiple combinations of v_x, v_y, v_z, give the same value for v. Therefore, when we change the integration variable to

v, we must include a factor of 4 pi v^2. We write the explicit expression for A. The integral can be solved analytically, which gives a value that depends on B. We have now found the relation between A and B. To find the value of B, we must use a second constraint. We know that the average kinetic energy of the molecules is given by 3/2 k_B T. The average kinetic energy is found by multiplying the kinetic energy, with the probability

of the molecule having that kinetic energy, and integrating over all possible values of the kinetic energy. We equate this expression to the average kinetic energy of 3/2 k_B T. We can rearrange some factors to simplify the expression, and then we can solve the integral analytically. Plugging in the value we found for A, gives an expression where only B is unknown. Solving this equation for B gives that B equals ½ m / k_B T. We have now used the two constraints to find the values of A and B. We can plug this into our expression for the probability distribution function. If we’re only interested in the probability that a molecule has a certain speed, and we don’t care about its direction, we multiply the probability distribution function with 4 pi v^2. This yields the Maxwell-Boltzmann distribution, which describes the velocity distribution for molecules in a monatomic

ideal gas. If we plot this function for different temperatures, we see that for low temperatures the function has a narrow peak centered around low velocities, while for higher temperatures the function has a broader peak centered around higher velocities. So we’ve seen how Maxwell derived the velocity distribution of molecules using arguments of symmetry. We will now see how Boltzmann tried to achieve the same result, but using statistical arguments. To illustrate the line of thinking that he presented in his 1877 paper, consider a box containing seven molecules. The different molecules move around with different velocities. Let’s say the system contains a total internal energy of U, and that it can be divided into 7 discrete units of energy dE. This discretization of energy is purely for mathematical convenience, it doesn’t try to describe anything physical. The 7 units

of energy are randomly distributed over the molecules. The idea is that through many random collisions, the molecules randomly exchange kinetic energy, and therefore, at any given point in time, the total kinetic energy is randomly distributed over the molecules. To describe the statistical distribution of the energy over the molecules, we can simply count how many molecules have a certain amount of energy. For example, there are three molecules that have 0 energy. There are two molecules that have 1 unit of energy. There is one molecule that has 2 units of energy, and there is one molecule that has 3 units of energy. The numbers n_0, n_1, n_2, n_3 therefore describe how the energy is distributed over the molecules. They must add up to the total number of molecules. Moreover, adding up all the energies should give the total number of units of energy in the system. Any distribution that satisfies

these two constraints corresponds to a physically feasible distribution of the system. For example, we could put all the energy into one molecule, while all the other molecules have none. In this case, n_7 equals 1, and n_0 equals 6. Or, we could give all molecules exactly 1 unit of energy, so n_1 equals 7. So there are many possible ways in which we can distribute the energy over the molecules. Now the question is: what will we see in practice?

If we were to measure the energy distribution over the molecules of a physical system, what would we measure, and why? If we think about the molecules moving around randomly, and randomly exchanging kinetic energy with each other, we should intuitively feel that it is statistically unlikely that by pure chance all the energy ends up in a single molecule. It should also feel unlikely that by pure chance all molecules end up having the exact same amount of energy. What is more likely, is that through random collisions and exchange of kinetic energy, some molecules happen to end up with more energy, and some with less. But how can we make this argument more rigorous? Can we quantitatively calculate the probability that the system randomly ends up with one distribution or the other, and then conclude which distribution is statistically most likely? Boltzmann proposed that you can simply count

the number of ways in which you can achieve a certain distribution. For example, since there are seven molecules, there are seven ways to put all the energy into one single molecule. There is only one way to distribute the energy equally over all molecules. In how many ways can we achieve the distribution that we thought of as more likely? With this distribution, we have four groups. This first group contains the molecules that have 0 units of energy. With this distribution, three molecules fit in this group. The second group contains the molecules that have 1 unit of energy, and two molecules fit in this group. The third group contains only one molecule that has 2 units of energy, and the fourth group contains only one molecule that has 3 units of energy. Our task is now to figure out in how many ways we can distribute the seven molecules over these four groups. In

the first slot, we can put any of the seven molecules, so we have seven possible choices. Let’s say we put molecule number 5 in that slot. For the next slot, we can choose any of the molecules, except molecule 5, so we have six possible choices. For example, we can choose molecule number one. For the next slot we can choose any molecule except molecules 5 or 1, so we have five possible choices, and we can continue this until we’ve

filled all the slots. So how many ways are there in total to fill the slots? For the first slot, we had 7 possible choices. For each choice that we could pick, there would be 6 possible choices to fill the second slot. So in total there were 7 times 6 equals 42 possible ways to fill the first two slots. For each of those 42 choices, there are 5 ways to fill the third slot, so there are 7 times 6 times 5 ways to fills the first

three slots. If we repeat this argument for all seven slots, we find that there is a total of 7 times 6 times 5 times 4 times 3 times 2 times 1 ways to fill all seven slots. This is more commonly expressed as seven factorial. So there are seven factorial ways to fill the slots. But the problem is that some ways of filling the slots correspond to the same physical configuration. So we’ve counted several configurations multiple times, whereas we should only count them once. For example, let’s say we swap the numbers in the first and the second slot. It means that they swap the amount of energy they have. But they have the same amount of energy, so it doesn’t change the physical configuration, so we should not count them as two separate ways to achieve the same energy distribution. More generally, we can move around the slots in the group in any way that we want, and we still end

up with the same physical configuration. So how do we correct for this double counting? To find the number of ways in which we can move around the slots in the first group, we apply the same argument as we did before. There are three choices for the first slot, two choices for the second slot, and one choice for the third slot, so there are three factorial ways to move around the slots in the first group. Similarly, for the second group, which consists of two slots, there are two factorial ways to move around the slots. More generally, there are n_0 factorial times n_1 factorial times n_2 factorial etc. ways to achieve the same physical configuration. This product can be taken over all groups, even when the groups contain zero molecules, because 0 factorial is defined to be 1. So to find the number of physically different configurations that yield the same energy

distribution over the molecules, we must divide the number of ways to fill the slots, by the number of ways that yield the same physical configuration. For our particular case, we find that there are 420 ways to achieve this particular energy distribution. We can verify this formula by observing that there are indeed 7 ways to put all the energy into a single molecule, and there is only 1 way to distribute the energy equally over all molecules. Indeed,

there are many more configurations that yield the distribution that we identified as more likely. Now let’s introduce some terminology. The distribution that describes how many molecules have a certain amount of energy is called a ‘macrostate’. The specific configuration that specifies exactly which molecule has how much energy is called a ‘microstate’. A certain macrostate is more likely than another, because more microstates yield that same macrostate. The number of microstates that correspond

to the same macrostate is called the multiplicity of the macrostate. So macrostates with a higher multiplicity are more likely than macrostates with a low multiplicity. So now we know what determines whether one macrostate is statistically more likely than another macrostate. But what is the exact probability to find a certain macrostate? To answer that question, we can list all the possible macrostates, and calculate their corresponding multiplicities. We saw that if all the energy is put into a single molecule, there are seven ways to achieve this distribution. If all molecules have exactly one unit of energy, there is only one way to achieve it. We can write down all the other distributions that have seven molecules, and seven units of energy. Using the formula that we found to calculate the multiplicity for a given distribution, we can complete the table. Adding

all the multiplicities together, we find there are 1716 possible microstates for the system. Assuming that all microstates have an equal probability of occurring, we find that the most likely macrostate has a probability of 420/1716 of occurring. It is not very convenient to first make a list of all possible distributions to find the total number of microstates. Is there an easier way to compute the total number of microstates? Let’s represent the problem as follows. We have seven units of energy in the system. To distribute them over seven molecules, we insert six partitions. Each partition corresponds to a certain molecule. The number of units of energy that are to the left of each partition, indicates the energy of the molecule. The remaining units of energy are assigned to the seventh molecule. So in this example, molecule 1 has 0 units of energy, molecule 4 has 3 units of energy, etc.

Because there are 7 units of energy, and 6 partitions, there are a total 7+6=13 slots where we can place either a molecule or a partition. In how many ways can we place the six partitions? For the first partition there are 13 possible choices, for the second partition there are 12, for the third partition there are 11, and so forth. So in total there are 13 times 12 times 11 etc. ways to place the partitions. This expression can be written

in terms of factorials, and then simplified. But, as before, different placements of the partitions may correspond to the same physical configuration. Since each physical configuration should be counted only once, we must correct for double counting. To correct for double counting, let’s see how many placements of the partitions correspond to the same physical configuration. Consider each partition and the units of energy corresponding to it. If we shuffle these blocks around, then each molecule still possesses the same amount of energy, so the physical configuration remains unchanged. So in how many ways can we shuffle these blocks around? Since there are 6 blocks, there are 6 factorial ways to shuffle them around. So to find the total number of microstates, we calculate the total number of ways to place the partitions, and divide by the number of ways we can rearrange the blocks. We can verify that in our case, the formula

says there are 1716 microstates, which is indeed the number we found previously. So we found that the probability to find the system in a certain macrostate is given by the number of microstates corresponding to that macrostate, divided by the total number of microstates. In practice, when there are very many molecules, and the energy can be divided into arbitrarily small units, we will only observe the macrostate with the highest probability. So given a system with N molecules, and a fixed total internal energy U, what is the most likely macrostate? The probability to find the system in a certain macrostate, is given by the multiplicity of that macrostate, divided by the total number of microstates. So to find the most likely macrostate, we need to find the macrostate with the highest multiplicity omega. We already found an expression for the multiplicity of any macrostate. Since the total number of

molecules N is fixed, maximizing omega means minimizing the denominator. Now consider the logarithmic function ln(x). If we have two inputs x, one larger than the other, then the larger input gives the larger output. Therefore, if the input x is minimized, then ln(x) is also minimized. So instead of minimizing the product of factorials, we can also minimize its logarithm. This is useful, because the logarithm of a product can be written as a

sum of logarithms. Now let’s see how we can approximate the logarithm of a factorial. The factorial is the product of n, n-1, n-2, etc., and taking the logarithm allows us to write it as a sum of logarithms. If we represent this sum visually, we see that it can be approximated as the surface under the curve of the logarithm, which can be calculated using an integral. This integral can be calculated straightforwardly,

and it yields us a result that is known as Stirling’s approximation. By using Stirling’s approximation, we can rewrite our minimization problem. We want to find the n_k that optimize this expression. Adding or subtracting a constant value from this expression doesn’t change the n_k for which this expression is minimal, so we can subtract the constant term. Moreover, we know that all n_k must sum to the total number of molecules, which is a fixed number

N. So subtracting this number also doesn’t change the n_k for which this expression is minimal. We have now found the simplest form of the expression that we want to minimize. But when we minimize it, we must take care that the following constraints hold. First, the total number of molecules is fixed. Second, the total amount of energy must be fixed. So now we have formulated our constrained minimization problem. The standard way to solve such a problem is by using Lagrange multipliers.

This method works as follows. We define a Lagrangian, which consists of the function that we want to minimize, and then we add the constraint functions, multiplied by the Lagrange multipliers alpha and beta. Now, instead of having a constrained optimization problem, we can find the global minimum of the Lagrangian with respect to the optimization variables and the Lagrange multipliers. This is so, because if we take the derivative of the Lagrangian with respect to the Lagrange multipliers, and set this derivative to 0 to find the extrema, the constraint corresponding to that Lagrange multiplier is automatically satisfied. When we take the derivative of the Lagrangian with respect to an optimization variable n_j, and set it equal 0 to find the extrema, then we find an expression for n_j that depends on the Lagrange multipliers. Recall that n_j

represents the number of molecules that have j units of energy. We see that the number of molecules that have a certain energy, decreases exponentially with energy. The exponential e^{-(1+alpha)} merely serves to make sure that all n_j add up to the total number of molecules N. We now know how many molecules have a certain amount of energy in the most likely macrostate. Dividing by the total number of molecules

N, we obtain the fraction of molecules that have a certain amount of energy. Recall that the discrete energy levels were a consequence of discretizing the energy into discrete units, which we did for mathematical convenience, so that we can count microstates. But in reality, kinetic energy is a continuous variable. So we can turn the ratios for the discrete energy levels into a continuous probability distribution function. The ratio of molecules that have an energy within an interval dE, is then given by the probability distribution function times the interval. The probabilities must integrate to 1, and the expectation value of the probability distribution equals the average energy per molecule. Now let’s compare the energy probability distribution function we found using Boltzmann’s method, to the probability distribution function we found using Maxwell’s method. Maxwell

gave the probability that a molecule has a certain velocity. To convert this to the probability that a molecule has a certain energy, we substitute ½ mv^2 with E, and to substitute dv with dE, we compute the derivative of energy with respect to velocity, express it in terms of energy, and solve for dv. Now we can write the energy distribution, by taking Maxwell’s velocity distribution, and substituting E, and dE.

We find that the energy probability function is proportional to sqrt(E) times e^{-E/k_B T}. Compared to the result we found using Boltzmann’s method, we see that they differ by a factor sqrt(E). Why is there a mismatch? To understand where the mismatch is coming from, let’s recall how we found Maxwell’s distribution. We started by assuming that the probability function for the velocity vector must be rotationally symmetric, and

factorizable into identical probability functions for the separate velocity components. If we only care about the magnitude of the velocity vector, we must multiply with a factor of 4 pi v^2, because multiple velocity vectors have the same magnitude. When we substitute the expressions for E and dE, we find the probability function with a factor of sqrt(E). Now let’s see what happens if instead of a three-dimensional system, we consider a

two-dimensional system, where the velocity vector only has two components. The same arguments of symmetry apply, but when we turn this function into a probability function for the magnitude of the velocity vector, we have to multiply with 2 pi v, because in two dimensions, it is a circle that corresponds to vectors with a constant magnitude, whereas in three dimensions it is the surface of a sphere. When we now write this probability function in terms of energy, we see that the two factors of v and 1/sqrt(E) cancel out, and the final result is consistent with Boltzmann’s result. So what exactly goes wrong in Boltzmann’s approach? The reason why Boltzmann’s method fails is because it assumes energy is exchanged in packages of equal size dE. In Maxwell’s method on the other hand, we would have to assume that each velocity component comes in packages of equal size dv. If the velocity

components come in packages of equal size dv, then energy does not come in packages of equal size dE, because energy depends on the square of the velocity. If we assume that the energy states are separated equidistantly, we therefore overcount the higher energy states. On the other hand, in higher dimensions, there are more high energy states, because more velocity vectors correspond to the same level of energy. Therefore, in higher dimensions Boltzmann’s method undercounts the higher energy states. In two dimensions these two errors happen to cancel each other out exactly, so that Boltzmann’s method gives the same result as Maxwell’s method. Nonetheless, Maxwell’s method and Boltzmann’s method both predict the exponential dependence on energy. This factor is called the Boltzmann factor. The extra factor that is needed to properly count the energy states, is called

the density of states. Now let’s see how we can make Boltzmann’s method work by assuming equidistant velocity components, as opposed to equidistant energy states. We have a system with a fixed number of molecules N. Instead of units of energy, we now distribute units of velocity components over the molecules. For each particular distribution, we can count how many molecules have a certain velocity vector. The number of ways to achieve a certain distribution is given by the multiplicity omega.

To find the most likely macrostate, we must maximize the multiplicity omega, which is equivalent to minimizing its denominator, which is the same as minimizing its logarithm. The logarithm of a factorial is approximated using Stirling’s approximation. We have to minimize this function under the constraint that the total energy of the system is fixed, and the total number of molecules is fixed. This constrained optimization problem is solved by introducing Lagrange multipliers. We take the derivative of the Lagrangian with respect to the optimization variables, and set it equal to 0. We find that the optimization variable depends exponentially on the square of the velocity vector. This is exactly the starting point of Maxwell’s method, so the final results will be the same as well. In the final result, we find that the Lagrange multiplier beta is equal to 1/k_B T. This

Lagrange multiplier beta is sometimes also called the thermodynamic beta. We have modeled an ideal gas as molecules randomly moving around and bumping into the walls of the container. This way, we explained the ideal gas law, we explained how internal energy is related to kinetic energy, and we explained using the equipartition theorem how the heat capacity depends on the degrees of freedom of each molecule. Using Boltzmann’s method of counting states, we can reproduce the molecular velocity distribution that Maxwell first found through arguments of symmetry. We will now see how we can interpret entropy in terms molecules and microstates. First recall how Clausius originally defined entropy. Based on his analysis of Carnot’s reversible heat engine, which makes it the most efficient heat engine theoretically possible, Clausius defined a change in entropy of a system, as the heat Q that is transferred

into a system, divided by the temperature of that system. Clausius stated that for spontaneous processes, the entropy increases. According to Boltzmann’s model, systems evolve to the macrostate that has the highest multiplicity omega, because it is statistically the most likely macrostate. So according to Clausius, the entropy S spontaneously tends to a maximum, and according to Boltzmann, the multiplicity omega spontaneously tends to a maximum. Can

we find a connection between the entropy S and the multiplicity omega? Ultimately, we want to define the entropy S in such a way that it adequately describes spontaneous, irreversible processes. So let’s have a look at a some spontaneous processes in a closed system that we want to describe. One spontaneous process is the change in the velocity distribution of the molecules. Suppose we start with a state where all the molecules have the same velocity vector. As the molecules move around and bounce into each other, eventually they will end up following a Maxwellian velocity distribution that we derived previously. So the molecules in a system spontaneously evolve from a non-Maxwellian distribution to a Maxwellian distribution. Another example of a spontaneous process is the change in position distribution of molecules, also known as diffusion. Suppose that all

molecules start off lumped together in a corner. As they randomly move around, they end up spread out through the entire container. So the molecules in a system spontaneously evolve from a non-uniform distribution to a uniform distribution. We should be able to describe both these processes in terms of entropy and multiplicities of macrostates. We already saw how to describe the velocity distribution in terms of macrostates and multiplicities.

To define the macrostate, we count how many molecules have a certain velocity vector. To find the most likely macrostate, we maximize the expression for the multiplicity, which is equivalent to maximizing the negative logarithm of its denominator. This analysis requires that we discretize the velocity vectors that a molecule can have, but in reality the velocity of a molecule is a continuous variable. We then obtain a continuous probability distribution function, and the number of molecules that have a velocity within a certain interval is given by the total number of molecules, times the probability function, times the velocity interval. We can plug this into the expression for the logarithm of the multiplicity. That takes care of the velocity distribution of the molecules, but what about the position distribution? We then require a probability distribution

function that specifies the probability that a molecule has a certain velocity vector, while it is also at a certain location in space. If the system has evolved to its equilibrium state, the velocities satisfy a Maxwellian distribution, while the molecules are spread out uniformly throughout space. So the probability distribution function for both velocity and position is given by Maxwell’s distribution times 1 divided by the volume of the container.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent