A measure-theoretic formulation of statistical ensembles (part 1)
I feel that the process of using statistical ensembles to find properties of thermal system is not rigorous enough. There are some operations that need to be defined precisely. Also, it is not generalized enough. Currently, the only generally used statistical ensembles are the microcanonical ensemble, the canonical ensemble, and the grand canonical ensemble, but there are actually other possible ensembles that are potentially useful. Therefore, I feel it necessary to try to have a mathematical formulation.
Mathematical tools and notations
Suppose is a probability space. Suppose is an affine space. For some map , we define the -expectation of as where is arbitrary. Here the integral is Pettis integral. The expectation is defined if the Pettis integral is defined, and it is then well-defined in that it is independent of the we choose.
Suppose are Polish spaces. Suppose are measure spaces, where and are σ-finite Borel measures. Suppose is a measurable map so that Then, for each , there exists a Borel measure on the measurable subspace , such that for any integrable function on ,
Proof
Proof. Because is σ-finite, we have a countable covering of by pairwise disjoint measurable sets of finite -measure, denoted as . Each inherits the σ-algebra from , and is a measure space.
Define as the restriction of to , then is automatically a measurable map from to , and for any , and the terms in the bigcup are pairwise disjoint.
Let be a measure on defined as This is a measure because is a measurable map. According to the disintegration theorem, for each , there exists a Borel measure on such that for -almost all , is concentrated on (in other words, ); and for any integrable function on , From the condition in the original proposition, we can easily prove that is absolutely continuous w.r.t. . Therefore, we have their Radon–Nikodym derivative
For each , define the measure on as This is a well-defined measure because the sets are pairwise disjoint, and is well-defined measure on .
Then, for any integrable function on ,
Here, the family of measures is called the disintegration of w.r.t. and .
For two vector spaces , we denote as the direct sum of them. Also, rather than calling the new vector space their direct sum, I prefer to call it the product vector space of them (not to be confused with the tensor product) so that it is consistent with the notion of product affine spaces, product measure spaces, product topology, etc. Those product spaces are all notated by “” in this article.
Also, “” can be an abbreviation of , where is the zero vector in .
Suppose is an affine space associated with the vector space . For any and , we denote as the Minkowski sum of and , i.e., This extends the definition of usual Minkowski sums for affine spaces.
By the way, because of the abbreviating “” meaning above, we can abuse the notation and write where “” denotes the Minkowski sum. This is true for any two vector spaces that do not share a non-trivial vector subspace.
In general, it is not necessarily possible to decompose a topology as a product of two topologies. However, it is always possible for locally convex Hausdorff TVSs. We can always decompose the topology of a locally convex Hausdorff TVS as the product of the topologies on a pair of its complementary vector subspaces, one of which is finite-dimensional. This is true because every finite-dimensional subspace in such a space is topologically complemented. The complete statement is the following:
Let be a locally convex Hausdorff TVS. For any finite-dimensional subspace of , there is a complement of it such that the topology is the product topology of and .
This decomposition is also valid for affine spaces. If an affine space is associated with a locally convex Hausdorff TVS , then for any finite-dimensional vector subspace of , we can topologically decompose into .
Because the product topology of subspace topologies is the same as the subspace topology of the product topology, we can also decompose as the product topological space of and if .
Such decompositions are useful because they allow us to disintegrate Borel measures. If we already have a σ-finite Borel measure on and we can define a σ-finite Borel measure on , then we can define a measure on by the disintegrating, and we guarantees that the disintegration is also σ-finite and Borel.
When I want to use multi-index notations, I will use “” to denote the indices. For example,
Extensive quantities and macrostates
First, I need to point out that the most central state function of a thermal system is not its energy, but its entropy. The energy is regarded as the central state function in thermodynamics, which can be seen from the fundamental equation of thermodynamics We also always do the Legendre transformations on the potential function to get other potential functions instead of doing the transformation on other extensive quantities. All such practices make us think that is just some quantity that is similar to and , and mathematically we can just regard it as an extensive quantity whose changing is a way of doing work.
However, this is not the case. The entropy is different from in the following sense:
- The entropy is a derived quantity due to a mathematical construction from the second law of thermodynamics, while are observable quantities that have solid physical meanings before we introduce anything about thermodynamics.
- The entropy may change in an isolated system, while do not.
- We may have an intuitive understanding of how different systems in contact may exchange with each other, but cannot be “exchanged” in such a sense.
- In statistical mechanics, restrict what microstates are possible for a thermal system, but serves as a totally different role: it represents something about the probability distribution over all the possible microstates.
Therefore, I would rather rewrite the fundamental equation of thermodynamics as Equation 1 embodies how different quantities serve different roles more clearly, but it becomes vague in its own physical meaning. Does it mean different ways of changing the entropy in quasi-static processes? Both mathematically and physically, yes, but it is not a useful interpretation. Because what we are doing is mathematical formulation of physical theories, we do not need to try to assign physical meanings to anything we construct. This new equation is purely mathematical, and the only way we use it is to relate intensive variables to derivatives of w.r.t. extensive quantities.
From now on, I will call quantities like the extensive quantities, not including . However, this is not a good statement as part of our mathematical formulation. Considering that there is a good notion of how different systems may exchange values of extensive quantities and that we can scale a system by multiplying the extensive quantities by a factor, we require that the extensive quantities must support at least linear operations… do we?
Well, actually we will see that if we require a space to be a vector space, things would be a little bit complex because sometimes we need to construct a new space of extensive quantities out of the affine subspace of an existing one, which is not a vector space by nature. If we require the space to be a vector space, we need to translate that affine subspace to make it pass through the zero element of the vector space, which is possible but does not give any insight about the physics except adding complication to our construction. Therefore, I will not require the space of extensive quantities to be a vector space, but be an affine space.
You may ask, OK then, but how do we “add” or “scale” extensive quantities if they live on an affine space? First, regarding the addition operation, we will use an abstraction for such operations so that the actual implementation about how we combine the summands is hidden under this abstraction. We will see that this abstraction is useful because it also applies to other senarios or useful operations that does not necessarily involve any meaningful addition. Regarding the scaling operation, I would argue that now we do not need them. I have generalized the notion of extensive quantities so that now the notion “extensive quantities” includes some quantities that are not really extensive quantities in any traditional sense. They are no longer meant to be scaled because they simply cannot. Actually, rather than calling them extensive quantities, I would like to call them a macrostate, with the only difference from the general notion macrostate being that it has an affine structure so that I can take the ensemble average of it to get its macroscopic value. I would stick to the term “extensive quantities” because they are actual extensive quantities in all my examples and because it is a good way to understand its physical meaning with this name, but you need to keep in mind that what I actually refer to is a macrostate.
There is another difficulty. If we look closely, Equation 1 actually does not make much sense in that is quantized (and also if we are doing quantum). If we are doing real numbers, we can always translate a quantized quantity to something that is not allowed, which means that we cannot have the full set of operations on the allowed values of the extensive quantities. Therefore, we need to specify a subset on the affine space to represent the allowed values of the extensive quantities.
We also see that Equation 1 is a relation between differentials. Do we need to require that we have differential structure on the space of extensive quantities? Not yet, because it actually is somehow difficult. The same difficulty about the quantized quantities applies. The clever way is to just avoid using the differentials. (Mathematicians are always skeptical about differentiating something while physicists just assume everything is differentiable…) It may seem surprising, but actually differentials are evitable in our mathematical formulation if you do not require intensive variables to be well-defined inside the system itself (actually, they are indeed not well-defined except when you have a system in thermal equilibrium and take the thermaldynamic limit).
If we have to use differentials, we can use the Gateaux derivative. It is general enough to be defined on any locally convex TVS, and it is intuitive when it is linear and continuous.
Although differential structure is not necessary, there is an inevitable structure on the space of extensive quantities. Remember that in canonical and grand canonical ensembles, we allow or to fluctuate, so we should be able to describe such fluctuations on our space of extensive quantities. To do this, I think it is safe to assume that we can have some topology on the allowed subset to make it a Polish space, just like how probabilists often assume about the probability space they are working on.
A final point. Here is a difference in how physicists and mathematicians describe probability distributions: physicists would use a probability density function while mathematicians would use a probability measure. Mathematically, to have a probability density function, we need to have an underlying measure on our space for a notion of “volume” on the space, and then we can define the probability density function as the Radon–Nikodym derivative of the probability measure w.r.t. the underlying volume measure. Also, for the Radon–Nikodym derivative to exist, the probability measure must be absolutely continuous w.r.t. the volume measure, which means that we have to sacrifice all the probability distributions that are not absolutely continuous to take the probability density function approach. Then, it seems that if we use the probability density function approach, we are introducing an excess measure structure on the space of extensive quantities and losing some possibilities and generalizabilities, but it would turn out that the extra structure is useful. Therefore, I will use the probability density function approach.
Here is our final definition of the space of extensive quantities:
Definition. A space of extensive quantities is a tuple , where
- is an affine space associated with a reflexive vector space over , and it is equipped with topology that is naturally constructed from the topology on ;
- is a topological subspace of , and its topology makes a Polish space; and
- is a non-trivial σ-finite Borel measure, where is a σ-algebra on that contains the Borel σ-algebra on .
Here, I also added a requirement of σ-finiteness. This is necessary when constructing product measures. At first I also wanted to require that has some translational invariance, but I then realized that it is not necessary, so I removed it from the definition (but we will see that we need them as a property of baths).
Example. Here is an example of a space of extensive quantities. Physically we may think of this as the extensive quantities of the system of ideal gas. The three dimensions of are energy, volume, and number of particles.
Example. Here is another example of a space of extensive quantities. Physically we may think of this as the extensive quantities of the system of Einstein solid with . The two dimensions of are energy and number of particles.
Thermal systems and the number of microstates
Remember I said above that, in statistical mechanics, restrict what microstates are possible for a thermal system. We can translate this as such: for each possible values of extensive quantities, denoted as , here is a set of possible microstates, denoted as (you can then see why we excluded the entropy from the extensive quantities: otherwise we cannot do such a classification of microstates).
Now the problem is what structures we should add to for each . Recall that in statistical mechanics, we study probability distribution over all possible microstates. Therefore, we need to be able to have a probability measure on . In other words, should be a measurable space. As said before, we can either use a probability measure directly, or use a volume measure together with a probability density function. This time, we seem to have no choice but the probability density function approach because there is a natural notion of volume on : the number of microstates.
Wait! There is a problem. Recall that in microcanonical ensemble, we allow the energy to fluctuate. The number of microstates at exactly a certain energy is actually zero in most cases, so we are actually considering those microstates with some certain small range of energy. In other words, we are considering the microstate density: the number of microstates inside unit range of energy. Similarly, we should define a measure on to represent the microstate density, which is the number of microstates inside unit volume of extensive quantities, where the “volume” is measured by the measure in the space of the extensive quantities.
This makes our formulation a little bit different from the microcanonical ensemble: our formulation would allow all extensive quantities to fluctuate while the microcanonical ensemble would only allow the energy to fluctuate. This is inevitable because we are treating extensive quantities like energy, volume, and number of particles as the same kind of quantity. It is not preferable to separate a subspace out from our affine space to say “these are the quantities that may fluctuate, and those are not.” Therefore, we need to justify why we may allow all extensive quantities to fluctuate. The justification is: mathematically, we are actually not allowing any extensive quantities to fluctuate. There is no actual fluctuation, and we are directly considering the microstate density without involving any change in the extensive quantities. In other words, using the language of microcanonical ensemble, we are considering the area of the surface of the energy shell instead of the volume of the energy shell with a small thickness.
Another important point is that we must make sure that specifying all the extensive quantities should be enough to restrict the system to finite number of microstates. In other words, the total microstate density should be finite for any possible . Also, there should be at least some possible microstates in , so the total microstate density should not be zero.
We may then sum up the above discussion to give enough structure to make it the set of microstates of a thermal system with the given extensive quantities . Then, the disjoint union of all of them (the family of measure spaces) is the thermal system.
Definition. A thermal system is a pair , where
- is a space of extensive quantities;
- is a family of measure spaces; and
- For each , is a measure space equipped with a measure such that is finite and nonzero.
From now on, I will use a pair to specify a single microstate, where and .
Example. For the thermal system of a solid consisting of spin- particles, where each particle has two possible states with energy and , we can construct This should be the simplest example of a thermal system.
Example. We may complete the example of the system of ideal gas. Suppose we are considering the system of ideal atomic gas inside a cubic box. The construction of the space of extensive quantities is the same as before. Denote possible values of extensive quantities in coordinates . Now the measure spaces may be constructed as such: The “lexicographic order” here means that only those configurations where particle indices coincides with the lexicographic order are included in . This is because the particles are indistinguishable, and the order of particles is irrelevant. The lexicographic order restriction is the same as using the quotient of the -fold Cartesian product by permutation actions, but then defining would be difficult. Alternatively, we may still make them ordered, but divide the result by in the definition of , but this way is less clear in its physical meaning.
Here is the dimensional Hausdorff measure. To understand, the expression is just the -dimensional “volume” of .
Since we have microstate density, why do not we have the true number of microstates? We can define a measure on to represent the number of microstates.
Definition. The measure of number of microstates is a measure , where and the measure is defined by The uniqueness of is guaranteed by the σ-finiteness of and . The expression is called the number of microstates in .
States and the entropy
Here is a central idea in statistical ensembles: a state is a probability distribution on the microstates of a thermal system. It is among the ideas upon which the whole theory of statistical ensembles is built. I will take this idea, too.
As said before, I have taken the probability density approach of defining a probability distribution. Therefore, a state is just a probability density function.
Definition. A state of a thermal system is a function such that is a probability space, where is defined by Two states are the same if they are equal -almost everywhere.
A probability space is just a measure space with a normalized measure, and here the physical meaning of is the probability density on , and is the probability of finding a microstate in .
Note that a state is not necessarily an equilibrium state (thermal state). We will introduce the concept of equilibrium states later.
Now we may introduce the concept of entropy.
I need to clarify that the entropy that we are talking about here is just the entropy in statistical mechanics. The reason I add this clarification is that we may also formally define an entropy in the language of measure theory, which is defined for any probability space and does not depend on any so-called probability density function or a “volume” measure (which is the number of microstates in our case). The definition of this entropy is (if anyone is interested) where is the probability measure on the probability space, and the supremum is taken over all -almost partition of the probability space ( is a subset of the σ-algebra so that and for ). This definition looks intuitive and nice, and not surprisingly it is… not consistent with the entropy in statistical mechanics. The discrepancy happens when we are doing classical statistical mechanics because the entropy defined above will diverge to infinity for those “continuous” probability distributions. A quick check is that the entropy of the uniform distribution over is .
Definition. The entropy of a state is defined by
Different from extensive quantities, the entropy is a functional of . The entropy here is consistent with the entropy in thermodynamics or statistical mechanics.
This definition of entropy is called the Gibbs entropy formula. It agrees with the entropy defined in thermodynamics, but we are unable to show that at this stage because we have not defined temperature or heat yet.
Note that the base of the logarithm is not important, and it is just a matter of unit system. In SI units, the base would be , where is the Boltzmann constant.
Physically, the extensive quantities may be measured macroscopically. The actual values that we get when we measure them are postulated to be the ensemble average. Therefore, for a given state , we can define the measured values of extensive quantities by taking the -expectation of the extensive quantities.
Definition. For a thermal system and a state of it, the measured value of extensive quantities of the state is the -expectation of the -valued random variable . Explicitly, the definition is where the probability measure on is defined in Equation 2.
In the definition, it involves taking the -expectation of a -valued function. This involves doing a Pettis integral, which I claim to exist. It exists because the map must be weakly -measurable, and such a function must be Pettis-integrable on a reflexive space.
Note that , and it is not necessarily in .
The usage of the measured value of extensive quantities is that we can use it to get the fundamental equation of a thermal system, which describes the relationship between the extensive quantities and the entropy at any equilibrium state. Suppose that we postulate a family of states of the thermal system (or its slices, which will be introduced below), labeled by different ’s, and call them the possible equilibrium states. Then, we can have the following two equations: By cancelling out the in the two equations (which may be impossible but assumed to be possible), we can get the fundamental equation in this form: Then, here we get the function , where is a subset of consisting of all possible measured values of extensive quantities among equilibrium states. If we can possibly define some differential structure on so that we can possibly take the differential of and write something sensible like where is a continuous linear functional, then we can define to be the intensive quantities at . A proper comparison with differential geometry is that we may analogly call be a covector field on defined as the differential of the scalar field .
However, as I have said before, I did not postulate there to be any differential structure on , so the intensive quantities should not be generally defined in this way.
Slicing
A good notion about thermal systems is that we can get new thermal systems from existing ones (although they are physically essentially the same system, they have different mathematical structure and contain different amount of information about them). There are two ways of constructing new thermal systems from existing ones:
- By fixing some extensive quantities. I call this way slicing.
- By allowing some extensive quantities to change freely. I call this way contracting.
I chose the words “slicing” and “contracting”. They are not present in actual physics textbooks, but I found the notion of them necesesary.
Slicing fixes extensive quantities. How we do it is to pick out a subset of and make it our new accessible values of extensive quantities. I find a special way of picking out such a subset is especially useful: picking it from an affine subspace of . In this way, we can use a smaller affine space as the underlying space of our new thermal system. Then we see why I chose the word “slicing”: we are slicing the original affine space into parallel pieces, and picking one piece as our new affine space, and picking the corresponding accessible values of extensive quantities and possible microstates within that piece to form our new thermal system.
Definition. A slicing of a space of extensive quantities is a pair , where
- is an affine subspace of ;
- is non-empty, and it is Polish as a topological subspace of ; and
- is a non-trivial σ-finite Borel measure on , where is a σ-algebra on that contains the Borel σ-algebra on .
This constructs a new space of extensive quantities , called a slice of the original space of extensive quantities .
Definition. A slice of a thermal system defined by the slicing of is a new thermal system constructed as such:
- is the slice of corrsponding to the given slicing; and
- .
The idea behind slicing is to make some extensive quantities become extrinsic parameters and not part of the system itself. It would physically mean fixing some extensive quantities. However, here is a problem: if we fix some extensive quantities, the dimension (“dimension” as in “dimensional analysis”) of the volume element in the space of extensive quantities would be changed. In other words, the dimension of does not agree with . This is physically not desirable because we want to keep the number of microstates dimensionless so that its logarithm does not depend on the units we use. However, this is not a problem because here is an argument: in any physical construction of a thermal system, it is fine to have dimensionful number of microstates, the cost is that the model must not be valid under low temperature; in mathematical construction, dimension is never a thing, so we do not even need to worry about it. In low temperature, we must use quantum statistical mechanics, where all quantities are quantized so that the number of microstates is literally the number of microstates, which must be dimensionless. In high temperature, we do not need the third law of thermodynamics, which is the only law that restricts how we should choose the zero (ground level) of the entropy, and in this case we may freely change our units because it only affects the entropy by an additive constant.
Example. In the example of a system of ideal gas, we may slice the space of extensive quantities to the slice to fix the volume.
Isolations and the microcanonical ensemble
Here is a special type of slicing. Because a single point is an (zero-dimensional) affine subspace, it may form a slicing. Such a slicing fixes all of the extensive quantities. We may call it an isolating.
A thermal system with a zero-dimensional space of extensive quantities is called an isolated system. The physical meaning of such a system is that it is isolated from the outside so that it cannot exchange any extensive quantities with the outside. We may construct an isolated system out of an existing thermal system by the process of isolating.
Definition. An isolating (at ) of a space of extensive quantities is a slicing of it, constructed as where .
Definition. An isolated system is a thermal system whose underlying affine space of its space of extensive quantities is a single-element set.
Definition. An isolation (at ) of a thermal system is the slice of it corresponding to the isolating at of . An isolation is an isolated system.
Here is an obvious property of isolated systems: the measured value of extensive quantities of any state of an isolated system is , the only possible value of the extensive quantities.
After introducing isolated systems, we can now introduce the equal a priori probability postulate. Although we may alternatively use other set of axioms to develop the theory of statistical ensembles, using the equal a priori probability postulate is a simple and traditional way to do it. Most importantly, this is a way that does not require us to define concepts like the temperature beforehand, which is a good thing for a mathematical formulation because it would require less mathematical structures or objects that are hard to well define at this stage.
Axiom (the equal a priori probability postulate). The equilibrium state of an isolated system is the uniform distribution.
Actually, instead of saying that this is an axiom, we may say that formally this is a definition of equilibrium states. However, I still prefer to call it an axiom because it only defines the equilibrium state of isolated systems rather than any thermal systems.
The equilibrium state of an isolated system may be written mathematically as (the circle in the superscript denotes equilibrium state). After writing this out, we have successfully derived the microcanonical ensemble. We can then calculate the entropy of the state, which is Mentioning the entropy, a notable feature about the equilibrium state of an isolated system is that it is the state of the system that has the maximum entropy, and any state different from it has a lower entropy.
Theorem. For an isolated system, for any state of it, where is the entropy of the equilibrium state of it. The equality holds iff is the same state as the equilibrium state.
Proof
Proof. Define a probability measure on by then is a probability space. Any state , as a function on , can be regarded as a random variable in the probability space .
Define the real function It is a convex function, so according to the probabilistic form of Jensen’s inequality, In other words, Then, it follows immediately that . The equality holds iff is linear on a convex set such that the value of the random variable is -almost surely in . However, because non-linear on any set with more than two points, the only possibility is that the value of is -almost surely a constant, which means that the probability distribution defined by the probability density function is equal to the uniform distribution -almost everywhere. Therefore, the equality holds iff is the same state as the equilibrium state.
This theorem is the well-known relation between the entropy and the equilibrium state: for an isolated system, the equilibrium state is the state with the maximum entropy.
By Equation 5, we can now derive the relationship between the entropy and the extensive quantities at equilibrium states by the process of isolating. Define a family of states , where each state is the equilibrium state of the system isolated at . Then, we have the fundamental equation where is called the counting function (I invented the phrase), which is the microscopic characteristic function of microcanonical ensembles. This defines a function , which may be used to give a fundamental equation in the form of Equation 4, and it is the macroscopic characteristic function of microcanonical ensembles.
We will encounter microscopic or macroscopic characteristic functions for other ensembles later.
Example. In the example of a system of a tank of ideal atomic gas, we have the fundamental equation where is the surface area of an -sphere with radius , which is proportional to . Taking its derivative w.r.t. and taking the thermodynamic limit will recover familiar results.
Contracting
I have previously mentioned that the other way of deriving a new system out of an existing one is called contracting. Now we should introduce this concept because it is very useful later when we need to define the contact between subsystems of a composite system (whose definition will be given later).
The idea behind contracting is also to reduce the dimension of the space of extensive quantities. However, rather than making some of the extensive quantities extrinsic parameters, it makes them “intrinsic” within the space of microstates. A vivid analogy is this: imagine a thermal system as many boxes of microstates with each box labeled by specific values of extensive quantities, then we partition those boxes to classify them, and put all the boxes in each partition into one larger box. The new set of larger boxes are labeled by a specific values of fewer extensive quantities, and it is the so-called contraction of the origional set of boxes.
I call it contracting because it is like contracting the affine space of extensive quantities into a flat sheet of its subspace. The way we do this should be described by a projection. A projection in affine space maps the whole space into one of its affine subspace, and the preimage of each point in the subspace is another affine subspace of the original space. The preimages forms a family of parallel affine subspaces labeled by their image under the projection. The family of affine subspaces may be used to define a family of slices of the space of extensive quantities or the thermal system, which are useful when defining the contraction of the space of extensive quantities or the system.
Definition. A contracting of a space of extensive quantities is given by a tuple , where
- is a projection map from to an affine subspace of ;
- , the image of under , is equipped with the minimal topology so that is continuous, and the topology makes Polish;
- is a non-trivial σ-finite Borel measure on , where is a σ-algebra of that contains the Borel σ-algebra of ; and
- For any , iff .
This contracting defines a new space of extensive quantities , called a contraction of the original space of extensive quantities .
Definition. The contractive slicings of a space of extensive quantities defined by a contracting of it is a family of slicings , where
- is the preimage of under , an affine subspace of ; and
- is a Borel measure; the family of measures is the disintegration of w.r.t. and .
Definition. A contraction of a thermal system defined by the contracting of is a new thermal system constructed as such:
- is the contraction of corresponding to the given contracting;
- , where for each , ; the family of systems (labeled by ) are slices of corresponding to the contractive slicings of defined by the contracting ; the measure equipped on is the measure of number of microstates of .
In some cases, the total number of microstates in is not finite for some , then the contraction is not defined in this case.
Example. For the thermal system of a solid consisting of spin- particles, define a constracting by Then the corresponding contraction of the thermal system may be written as a thermal system , where
Different from a slice of a system, a contraction of a system does not have the problem about the dimension (“dimension” as in “dimensional analysis”) of the measure on the space of extensive quantities. Although the dimension of is different from , the dimension of (the measure on ) is also different from , and they change together in such a way that the resultant (the measure of number of microstates on ) has the same dimension as .
This fact actually hints us that a contraction of a thermal system is essentially the same as the original thermal system in such a sense that the microstates in the two systems are naturally one-to-one connected. Indeed, the natural bijection from to is given by . It is obvious that for any measurable function on we have Using this map, we can pull back any function on to become a function on by and the other way around. I want to call the contractional pullback of under and call the contractional pushforward of under . Specially, we may pull back any state of a contraction to become a state on the original thermal system. We will see that pullbacks of states are rather useful.
Obviously, the family of affine subspaces are parallel to each other. Therefore, their associated vector subspaces are the same vector subspace of , which is a complement of the vector subspace , the vector space that is associated with. We can write Each point in can be written in the form of , where and . Furthermore, for any , the map is a bijection from to . This bijection can then push forward linear operations from to . For example, we can define the action of some continuous linear functional on a point as where is just .
However, we need to remember that there is no generally physically meaningful linear structure on . The linear structure that we have constructed is just for convenience in notations.
An interesting fact about slicing, isolating, and contracting is that: an isolation of a contraction is a contraction of a slice.
Suppose we have a thermal system , and by a contracting we derive its contraction .
Now, consider one of its contractive slices , where . Then, we contract this slice by the contracting , where is the same as used above but whose domain is restricted to , and is the counting measure. Because the whole is mapped to under , the contraction becomes an isolated system whose only possible value of extensive quantities is . Its spaces of microstates consist of only one measure space, which is .
On the other hand, consider isolating at . Its isolation at is an isolated system whose only possible value of extensive quantities is . Its spaces of microstates consist of only one measure space, which is , which is the same as .
Therefore, an isolation of a contraction is a contraction of a slice.
This fact is useful because it enables us to find the equilibrium state of a slice. Using microcanonical ensemble, we can already find the equilibrium state of any isolated system, so we can find the equilibrium state of an isolation of a contraction. Then, it is the equilibrium state of a contraction of a slice. Then, by the contractional pullback, it is the equilibrium state of a slice.
Thermal contact
Composite systems are systems that are composed of other systems. This is a useful concept because it allows us to treat multiple systems as a whole. The motivation of develop this concept is that we should use it to derive the canonical ensemble and the grand canonical ensemble. In those ensembles, the system is not isolated but in contact with a bath. To consider them as a whole system, we need to define composite systems.
The simplest case of a composite system is where the subsystems are independent of each other. Physically, this means that the subsystems do not have any thermodynamic contact between each other. I would like to call the simplest case a product thermal system just as how mathematicians name their product spaces constructed out of existing spaces.
Definition. The product space of extensive quantities of two spaces of extensive quantities and is a space of extensive quantities constructed as such:
- is the product affine space of and ;
- is the product topological space as well as the product measure space of and ; and
- is the product measure of and , whose uniqueness is guaranteed by the σ-finiteness of and .
Definition. The product thermal system of two thermal systems and is a thermal system constructed as such:
- is the product space of extensive quantities of and ; and
- , where is the product measure space of and , equipped with measure , the product measure of and .
By this definition, is naturally identified with , and the measure of number of microstates on is in this sense the same as the product measure of and (the measures of number of microstates on and ). We can project elements in back into and by the map and the map .
This hints us that a probability distribution on (which may be given by a state of ) can be viewed as a joint probability distribution of the two random variables on : and . As we all know, a joint distribution encodes conditional distributions and marginal distributions. Therefore, given any state of a product thermal system, we can define its conditional states and marginal states of the subsystems. Conditional states are not very useful because they are not physically observed states of subsystems. The physically observed states of subsystems are marginal states, so marginal states are of special interest.
Definition. Given a state of the product thermal system of and , its marginal state of the subsystem is a state of the system defined by
Physically, if a product thermal system is in equilibrium, then each of its subsystems is in equilibrium as well. Therefore, if is an equilibrium state of the product thermal system, then the marginal states of are equilibrium states of the subsystems.
Now, we need to consider how to describe the thermodynamic contact between subsystems. In the simplest case, where there is no thermodynamic contact between subsystems, the composite system is just the product thermal system of the subsystems, and the dimension of its space of extensive quantities is the sum of the that of the subsystems’. If there is some thermal contact between subsystems, then the dimension of the space of extensive quantities of the composite system will be less than that of the product thermal system. For example, if the subsystems are allowed to exchange energy, then two original extensive quantities (the energy of the first subsystem and that of the second subsystem) will be replaced by a single extensive quantity (the total energy of the composite system). Such a reduction in the dimension of the space of extensive quantities is the same as contracting that we defined above. Therefore, we can define a thermally composite system as a contraction of the product thermal system. Denote the projection map of the contracting as . (From now on in this section, composite systems refer to thermally composite system. I will introduce non-thermally composite systems later (in part 2), which describe non-thermal contacts between subsystems and are more complicated.)
Besides being the contraction of the product thermal system, there is an additional requirement. Given the extensive quantities of the composite system and those of one of the subsystems, we should be able to deduce those of the other subsystem. For example, if the subsystems are allowed to exchange energy, then the total energy of the composite system minus the energy of one of the subsystems should be the energy of the other subsystem, which is uniquely determined (if this is an allowed energy). Mathematically, thie means that for any and , the two maps and are both injections.
Definition. A (thermally) composite thermal system of two thermal systems is the contraction of their product thermal system corresponding to a contracting , where satisfies that for any and , the two maps and are both injections.
We may define projection maps to get the extensive quantities of the subsystems from those of the composite system: Then, for each , the two spaces are respectively affine subspaces of and , where . The two affine subspaces are actually isomorphic to each other because of our additional requirement on the projection map . Because is an injection, for any there is a unique such that , and vice versa. This gives a correspondence between the two affine subspaces. In other words, for each , there is a unique bijection such that The bijection is an affine isomorphism from to .
What is more, is an affine isomorphism from to , and is an affine isomorphism from to . The three affine spaces are then mutually isomorphic.
Example. Suppose we have two thermal systems, each of them have two extensive quantities called the energy and the number of particles. We write them as and . They are in thermal contact so that they can exchange energy but not particles. Then, the extensive quantities of the composite system may be written as , with defined as The isomorphism is then The contracting is not unique. For example, is another valid projection for constructing the composite thermal system, and it has exactly the same physical meaning as the one I constructed above.
The isomorphism from can push forward the measure on to a new measure on . Then, is a slicing of , and we can get a slice of out of this slicing. I would like to call this slice the compositing slice of at . Similarly, we define compositing slices of , denoted as .
Similarly to how we can define marginal states of subsystems of a product thermal system, we can define marginal states of the compositing slices given a state of a contractive slice of the composite system. However, this time, there is a key difference: the subsystems (compositing slices) have isomorphic and completely dependent (deterministic) extensive quantities instead of having completely independent extensive quantities. Taken this into account, we can define marginal states of compositing slices as follows: where is a state of , and is a state of (a contractive slice of the composite system).
There is an additional property that has.
As we all know, an affine map is a linear map combined with a translation: where is a fixed point in , and