 #jsDisabledContent { display:none; } My Account |  Register |  Help Flag as Inappropriate This article will be permanently flagged as inappropriate and made unaccessible to everyone. Are you certain this article is inappropriate?          Excessive Violence          Sexual Content          Political / Social Email this Article Email Address:

# Entropy of mixing

Article Id: WHEBN0003021875
Reproduction Date:

 Title: Entropy of mixing Author: World Heritage Encyclopedia Language: English Subject: Collection: Publisher: World Heritage Encyclopedia Publication Date:

### Entropy of mixing

In thermodynamics the entropy of mixing is the increase in the total entropy when several initially separate systems of different composition, each in a thermodynamic state of internal equilibrium, are mixed without chemical reaction by the thermodynamic operation of removal of impermeable partition(s) between them, followed by a time for establishment of a new thermodynamic state of internal equilibrium in the new unpartitioned closed system.

In general, the mixing may be constrained to occur under various prescribed conditions. In the customarily prescribed conditions, the materials are each initially at a common temperature and pressure, and the new system may change its volume, while being maintained at that same constant temperature, pressure, and chemical component masses. The volume available for each material to explore is increased, from that of its initially separate compartment, to the total common final volume. The final volume need not be the sum of the initially separate volumes, so that work can be done on or by the new closed system during the process of mixing, as well as heat being transferred to or from the surroundings, because of the maintenance of constant pressure and temperature.

The internal energy of the new closed system is equal to the sum of the internal energies of the initially separate systems. The reference values for the internal energies should be specified in a way that is constrained to make this so, maintaining also that the internal energies are respectively proportional to the masses of the systems.

For concision in this article, the term 'ideal material' is used to refer to an ideal gas (mixture) or an ideal solution.

In a process of mixing of ideal materials, the final common volume is the sum of the initial separate compartment volumes. There is no heat transfer and no work is done. The entropy of mixing is entirely accounted for by the diffusive expansion of each material into a final volume not initially accessible to it.

On the mixing of non-ideal materials, the total final common volume may be different from the sum of the separate initial volumes, and there may occur transfer of work or heat, to or from the surroundings; also there may be a departure of the entropy of mixing from that of the corresponding ideal case. That departure is the main reason for interest in entropy of mixing. These energy and entropy variables and their temperature dependences provide valuable information about the properties of the materials.

On a molecular level, the entropy of mixing is of interest because it is a macroscopic variable that provides information about constitutive molecular properties. In ideal materials, intermolecular forces are the same between every pair of molecular kinds, so that a molecule feels no difference between other molecules of its own kind and of those of the other kind. In non-ideal materials, there may be differences of intermolecular forces or specific molecular effects between different species, even though they are chemically non-reacting. The entropy of mixing provides information about constitutive differences of intermolecular forces or specific molecular effects in the materials.

The statistical concept of randomness is used for statistical mechanical explanation of the entropy of mixing. Mixing of ideal materials is regarded as random at a molecular level, and, correspondingly, mixing of non-ideal materials may be non-random.

## Contents

• Mixing of ideal materials at constant temperature and pressure 1
• Gibbs free energy of mixing 1.1
• Solutions and temperature dependence of miscibility 2
• Ideal and regular solutions 2.1
• Systems with a lower critical solution temperature 2.2
• Statistical thermodynamical explanation of the entropy of mixing of ideal gases 3
• Proof from statistical mechanics 3.1
• Relationship to information theory 3.2
• Application to gases 3.3
• Application to solutions 3.4
• Mixing under other constraints 4
• Mixing with and without change of available volume 4.1
• Mixing with each gas kept at constant partial volume, with changing total volume 4.1.1
• Mixing at constant total volume and changing partial volumes, with mechanically controlled varying pressure, and constant temperature 4.1.2
• Gibbs' paradox: "mixing" of identical species 5
• References 6
• Cited bibliography 6.1

## Mixing of ideal materials at constant temperature and pressure

In ideal materials, intermolecular forces are the same between every pair of molecular kinds, so that a molecule "feels" no difference between itself and its molecular neighbours. This is the reference case for examining corresponding mixings of non-ideal materials.

For example, two ideal gases, at the same temperature and pressure, are initially separated by a dividing partition.

Upon removal of the dividing partition, they expand into a final common volume (the sum of the two initial volumes), and the entropy of mixing \Delta S_{mix}\, is given by

\Delta S_{mix} = -nR(x_1\ln x_1 + x_2\ln x_2)\,.

where R\, is the gas constant, n\, the total number of moles and x_i\, the mole fraction of component i\,, which initially occupies volume V_i = x_iV\,. After the removal of the partition, the n_i = nx_i\, moles of component i\, may explore the combined volume V\,, which causes an entropy increase equal to nx_i R \ln(V/V_i) = - nR x_i \ln x_i\, for each component gas.

In this case, the increase in entropy is due entirely to the irreversible processes of expansion of the two gases, and involves no heat or work flow between the system and its surroundings.

### Gibbs free energy of mixing

The Gibbs free energy change \Delta G_{mix} = \Delta H_{mix} - T\Delta S_{mix}\, determines whether mixing at constant (absolute) temperature \ T and pressure \ p is a spontaneous process. This quantity combines two physical effects—the enthalpy of mixing, which is a measure of the energy change, and the entropy of mixing considered here.

For an ideal gas mixture or an ideal solution, there is no enthalpy of mixing (\Delta H_{mix} \,), so that the Gibbs free energy of mixing is given by the entropy term only:

\Delta G_{mix} = - T\Delta S_{mix}\,

For an ideal solution, the Gibbs free energy of mixing is always negative, meaning that mixing of ideal solutions is always spontaneous. The lowest value is when the mole fraction is 0.5 for a mixture of two components, or 1/n for a mixture of n components.

## Solutions and temperature dependence of miscibility

### Ideal and regular solutions

The above equation for the entropy of mixing of ideal gases is valid also for certain liquid (or solid) solutions—those formed by completely random mixing so that the components move independently in the total volume. Such random mixing of solutions occurs if the interaction energies between unlike molecules are similar to the average interaction energies between like molecules. The value of the entropy corresponds exactly to random mixing for ideal solutions and for regular solutions, and approximately so for many real solutions.

For binary mixtures the entropy of random mixing can be considered as a function of the mole fraction of one component.

\Delta S_{mix} = -nR(x_1\ln x_1 + x_2\ln x_2) = -nR[x\ln x + (1-x) \ln (1-x)]\,

For all possible mixtures, 0 < x < 1, so that \ln x and \ln (1-x) are both negative and the entropy of mixing \Delta S_{mix}\, is positive and favors mixing of the pure components.

Also the curvature of \Delta S_{mix}\, as a function of x is given by the second derivative \left(\frac{\partial^2 \Delta S_{mix}}{\partial x^2}\right)_{T,P} = -nR\left( \frac{1}{x} +\frac{1}{1-x} \right)

This curvature is negative for all possible mixtures (0 < x < 1), so that mixing two solutions to form a solution of intermediate composition also increases the entropy of the system. Random mixing therefore always favors miscibility and opposes phase separation.

For ideal solutions, the enthalpy of mixing is zero so that the components are miscible in all proportions. For regular solutions a positive enthalpy of mixing may cause incomplete miscibility (phase separation for some compositions) at temperatures below the upper critical solution temperature (UCST). This is the minimum temperature at which the -T \Delta S_{mix}\, term in the Gibbs energy of mixing is sufficient to produce miscibility in all proportions.

### Systems with a lower critical solution temperature

Nonrandom mixing with a lower entropy of mixing can occur when the attractive interactions between unlike molecules are significantly stronger (or weaker) than the mean interactions between like molecules. For some systems this can lead to a lower critical solution temperature (LCST) or lower limiting temperature for phase separation.

For example, triethylamine and water are miscible in all proportions below 19 °C, but above this critical temperature, solutions of certain compositions separate into two phases at equilibrium with each other. This means that \Delta G_{mix}\, is negative for mixing of the two phases below 19 °C and positive above this temperature. Therefore \Delta S_{mix} = -\left(\frac{\partial \Delta G_{mix}}{\partial T}\right)_P is negative for mixing of these two equilibrium phases. This is due to the formation of attractive hydrogen bonds between the two components that prevent random mixing. Triethylamine molecules cannot form hydrogen bonds with each other but only with water molecules, so in solution they remain associated to water molecules with loss of entropy. The mixing that occurs below 19 °C is due not to entropy but to the enthalpy of formation of the hydrogen bonds.

Lower critical solution temperatures also occur in many polymer-solvent mixtures. For polar systems such as polyacrylic acid in 1,4-dioxane, this is often due to the formation of hydrogen bonds between polymer and solvent. For nonpolar systems such as polystyrene in cyclohexane, phase separation has been observed in sealed tubes (at high pressure) at temperatures approaching the liquid-vapor critical point of the solvent. At such temperatures the solvent expands much more rapidly than the polymer, whose segments are covalently linked. Mixing therefore requires contraction of the solvent for compatibility of the polymer, resulting in a loss of entropy.

## Statistical thermodynamical explanation of the entropy of mixing of ideal gases

Since thermodynamic entropy can be related to statistical mechanics or to information theory, it is possible to calculate the entropy of mixing using these two approaches. Here we consider the simple case of mixing ideal gases.

### Proof from statistical mechanics

Assume that the molecules of two different substances are approximately the same size, and regard space as subdivided into a square lattice whose cells are the size of the molecules. (In fact, any lattice would do, including close packing.) This is a crystal-like conceptual model to identify the molecular centers of mass. If the two phases are liquids, there is no spatial uncertainty in each one individually. (This is, of course, an approximation. Liquids have a "free volume". This is why they are (usually) less dense than solids.) Everywhere we look in component 1, there is a molecule present, and likewise for component 2. After the two different substances are intermingled (assuming they are miscible), the liquid is still dense with molecules, but now there is uncertainty about what kind of molecule is in which location. Of course, any idea of identifying molecules in given locations is a thought experiment, not something one could do, but the calculation of the uncertainty is well-defined.

We can use Boltzmann's equation for the entropy change as applied to the mixing process

\Delta S_{mix}= k_B \ln\Omega\,

where k_B \, is Boltzmann's constant. We then calculate the number of ways \Omega \, of arranging N_1\, molecules of component 1 and N_2\, molecules of component 2 on a lattice, where

N = N_1 + N_2 \,

is the total number of molecules, and therefore the number of lattice sites. Calculating the number of permutations of N\, objects, correcting for the fact that N_1\, of them are identical to one another, and likewise for N_2\,,

\Omega = N!/N_1!N_2!\,

After applying Stirling's approximation for the factorial of a large integer m:

\ln m! = \sum_k \ln k \approx \int_{1}^{m}dk \ln k = m\ln m - m ,

the result is \Delta S_{mix} = -k_B[N_1\ln(N_1/N) + N_2\ln(N_2/N)] = -k_B N[x_1\ln x_1 + x_2\ln x_2]\,

where we have introduced the mole fractions, which are also the probabilities of finding any particular component in a given lattice site.

x_1 = N_1/N = p_1 \;\;\text{and} \;\;x_2 = N_2/N = p_2\,

Since the Boltzmann constant k_B = R / N_A\,, where N_A\, is Avogadro's number, and the number of molecules N = nN_A\,, we recover the thermodynamic expression for the mixing of two ideal gases, \Delta S_{mix} = -nR[x_1\ln x_1 + x_2\ln x_2]\,

This expression can be generalized to a mixture of r\, components, N_i\,, with i = 1, 2, 3,\ldots, r\,

\Delta S_{mix} =-k_B\sum_{i=1}^r N_i\ln(N_i/N) = -N k_B\sum_{i=1}^r x_i\ln x_i = -n R\sum_{i=1}^r x_i\ln x_i\,\!

### Relationship to information theory

The entropy of mixing is also proportional to the Shannon entropy or compositional uncertainty of information theory, which is defined without requiring Stirling's approximation. Claude Shannon introduced this expression for use in information theory, but similar formulas can be found as far back as the work of Ludwig Boltzmann and J. Willard Gibbs. The Shannon uncertainty is completely unrelated to the Heisenberg uncertainty principle in quantum mechanics, and is defined by

H = - \sum_{i=1}^r p_i \ln (p_i)

To relate this quantity to the entropy of mixing, we consider that the summation is over the various chemical species, so that this is the uncertainty about which kind of molecule is in any one site. It must be multiplied by the number of sites N\, to get the uncertainty for the whole system. Since the probability p_i\, of finding species i\, in a given site equals the mole fraction x_i\,, we again obtain the entropy of mixing on multiplying by the Boltzmann constant k_B\,.

\Delta S_{mix} = -N k_B\sum_{i=1}^r x_i\ln x_i \,\!

### Application to gases

In gases there is a lot more spatial uncertainty because most of their volume is merely empty space. We can regard the mixing process as allowing the contents of the two originally separate contents to expand into the combined volume of the two conjoined containers. The two lattices that allow us to conceptually localize molecular centers of mass also join. The total number of empty cells is the sum of the numbers of empty cells in the two components prior to mixing. Consequently, that part of the spatial uncertainty concerning whether any molecule is present in a lattice cell is the sum of the initial values, and does not increase upon "mixing".

Almost everywhere we look, we find empty lattice cells. Nevertheless, we do find molecules in a few occupied cells. When there is real mixing, for each of those few occupied cells, there is a contingent uncertainty about which kind of molecule it is. When there is no real mixing because the two substances are identical, there is no uncertainty about which kind of molecule it is. Using conditional probabilities, it turns out that the analytical problem for the small subset of occupied cells is exactly the same as for mixed liquids, and the increase in the entropy, or spatial uncertainty, has exactly the same form as obtained previously. Obviously the subset of occupied cells is not the same at different times. But only when there is real mixing and an occupied cell is found do we ask which kind of molecule is there.

See also: Gibbs paradox, in which it would seem that "mixing" two samples of the same gas would produce entropy.

### Application to solutions

If the solute is a crystalline solid, the argument is much the same. A crystal has no spatial uncertainty at all, except for crystallographic defects, and a (perfect) crystal allows us to localize the molecules using the crystal symmetry group. The fact that volumes do not add when dissolving a solid in a liquid is not important for condensed phases. If the solute is not crystalline, we can still use a spatial lattice, as good an approximation for an amorphous solid as it is for a liquid.

The Flory–Huggins solution theory provides the entropy of mixing for polymer solutions, in which the macromolecules are huge compared to the solvent molecules. In this case, the assumption is made that each monomer subunit in the polymer chain occupies a lattice site.

Note that solids in contact with each other also slowly interdiffuse, and solid mixtures of two or more components may be made at will (alloys, semiconductors, etc.). Again, the same equations for the entropy of mixing apply, but only for homogeneous, uniform phases.

## Mixing under other constraints

### Mixing with and without change of available volume

In the established customary usage, expressed in the lead section of this article, the entropy of mixing comes from two mechanisms, the intermingling and possible interactions of the distinct molecular species, and the change in the volume available for each molecular species, or the change in concentration of each molecular species. For ideal gases, the entropy of mixing at prescribed common temperature and pressure has nothing to do with mixing in the sense of intermingling and interactions of molecular species, but is only to do with expansion into the common volume.

According to Fowler and Guggenheim (1939/1965), the conflating of the just-mentioned two mechanisms for the entropy of mixing is well established in customary terminology, but can be confusing unless it is borne in mind that the independent variables are the common initial and final temperature and total pressure; if the respective partial pressures or the total volume are chosen as independent variables instead of the total pressure, the description is different.

#### Mixing with each gas kept at constant partial volume, with changing total volume

In contrast to the established customary usage, "mixing" might be conducted reversibly at constant volume for each of two fixed masses of gases of equal volume, being mixed by gradually merging their initially separate volumes by use of two ideal semipermeable membranes, each permeable only to one of the respective gases, so that the respective volumes available to each gas remain constant during the merge. Either one of the common temperature or the common pressure is chosen to be independently controlled by the experimenter, the other being allowed to vary so as to maintain constant volume for each mass of gas. In this kind of "mixing", the final common volume is equal to each of the respective separate initial volumes, and each gas finally occupies the same volume as it did initially.

This constant volume kind of "mixing", in the special case of perfect gases, is referred to in what is sometimes called Gibbs' theorem. It states that the entropy of such "mixing" of perfect gases is zero.

#### Mixing at constant total volume and changing partial volumes, with mechanically controlled varying pressure, and constant temperature

An experimental demonstration may be considered. The two distinct gases, in a cylinder of constant total volume, are at first separated by two contiguous pistons made respectively of two suitably specific ideal semipermeable membranes. Ideally slowly and fictively reversibly, at constant temperature, the gases are allowed to mix in the volume between the separating membranes, forcing them apart, thereby supplying work to an external system. The energy for the work comes from the heat reservoir that keeps the temperature constant. Then, by externally forcing ideally slowly the separating membranes together, back to contiguity, work is done on the mixed gases, fictively reversibly separating them again, so that heat is returned to the heat reservoir at constant temperature. Because the mixing and separation are ideally slow and fictively reversible, the work supplied by the gases as they mix is equal to the work done in separating them again. Passing from fictive reversibility to physical reality, some amount of additional work, that remains external to the gases and the heat reservoir, must be provided from an external source for this cycle, as required by the second law of thermodynamics, because this cycle has only one heat reservoir at constant temperature, and the external provision of work cannot be completely efficient.

## Gibbs' paradox: "mixing" of identical species

The molecular species must be constitutively detectably distinct for the entropy of mixing to exist. Thus arises the so-called Gibbs paradox, as follows. If molecular species are identical, there is no entropy change, because, defined in thermodynamic terms, there is no process and no mixing. Yet the slightest detectable difference in constitutive properties between the two species yields a thermodynamically recognized process of mixing and a considerable entropy change, namely the entropy of mixing.

The "paradox" is that a slightest detectable constitutive distinction can lead to a considerably large change in amount of entropy: on the hypothesis that the distinction might tend continuously to zero, with a continuous change in the properties of the materials, the entropy would change discontinuously.

This is paradoxical from a general physical viewpoint, but not from a specifically thermodynamic viewpoint. The distinguishability of two materials is constitutive difference, not thermodynamic difference, for materials universally obey the laws of thermodynamics. It does not seem paradoxical from the viewpoint of thermodynamics, because in that discipline the constitutive difference is not questioned; Gibbs himself did not see it as paradoxical.

Physically, however, the constitutive difference between any two chemical substances cannot be continuously decreased till it actually vanishes. For example, ortho- and para-hydrogen differ by a finite amount. A difference smaller than that is hard to think of. The hypothesis, that the distinction might tend continuously to zero, is unphysical. This is neither examined nor explained by thermodynamics. Differences of constitution are explained by quantum mechanics.

For a detectable distinction, some means should be physically available. One theoretical means would be through an ideal semi-permeable membrane. It should allow passage, backwards and forwards, of one species, while passage of the other is prevented entirely. The entirety of prevention should include perfect efficacy over a practically infinite time, in view of the nature of thermodynamic equilibrium. Even the slightest departure from ideality, as assessed over a finite time, would extend to utter non-ideality, as assessed over a practically infinite time. Such quantum phenomena as tunneling ensure that nature does not allow the membrane ideality that would support the theoretically demanded continuous decrease, to zero, of detectable distinction.

For ideal gases, the entropy of mixing does not depend on the degree of difference between the distinct molecular species, but only on the fact that they are distinct; for non-ideal gases, the entropy of mixing can depend on the degree of difference of the distinct molecular species. But the suggested 'mixing' of identical molecular species is not in thermodynamic terms a mixing at all, because thermodynamics refers to states specified by state variables, and does not permit an imaginary labelling of particles. Only if the molecular species are different is there mixing in the thermodynamic sense.