chemistry2u
Tier
⌕ Search ⌘K
Result

Entropy of mixing

T-037Home CU-201Threads thermo
Statement

For ideal gases or ideal solutions mixed at constant temperature and pressure, \(\Delta S_{\text{mix}}=-nR\sum_i x_i\ln x_i\), where \(x_i\) are mole fractions; since each \(x_i\) satisfies \(0

Why it matters

This result explains, from the same thermodynamic machinery already established in this unit, one of the most universally observed everyday phenomena: gases and miscible liquids spontaneously mix and never spontaneously separate on their own. It is a direct, elegant application of gibbs-equilibrium-constant's chemical potential formula, extended from chemical reactions and phase equilibrium to the mixing process itself, closing out this unit's progressive build from the first law through to a fully quantitative account of mixing.

Hypotheses
Mixing is ideal: no new intermolecular interactions form between the different components upon mixing.This is a genuine idealisation, directly analogous to the ideal-gas assumptions already flagged in van-der-waals-equation. Real mixtures generally do have some nonzero \(\Delta H_{\text{mix}}\) — positive (unfavourable) for components that interact less favourably with each other than with themselves, negative (favourable) for components with strong new interactions (e.g. hydrogen bonding) upon mixing — and this real-world departure from ideality is exactly what explains limited or zero miscibility for some substance pairs (Fails without). Mixing occurs at constant temperature and pressure.Consistent with the constant-\(T,P\) condition used throughout this unit for Gibbs free energy (gibbs-free-energy) and the equilibrium relations built on it.
Proof
1
\mu_i(\text{mixture}) = \mu_i^\circ + RT\ln\frac{P}{P^\circ} + RT\ln x_i
Using gibbs-equilibrium-constant's chemical potential formula with the partial pressure \(P_i=x_iP\) (Dalton's law, for an ideal gas mixture at total pressure \(P\)) splits the logarithm into a term shared by every component (independent of \(x_i\)) and a term depending explicitly on mole fraction. A
2
\Delta G_{\text{mix}} = G_{\text{mixture}} - \sum_i G_{i,\text{pure}} = RT\sum_i n_i\ln x_i
Comparing the total Gibbs free energy after mixing (summing Step 1 over all components, weighted by moles \(n_i\)) against the sum of each component's Gibbs free energy as a separate pure substance at the same total pressure \(P\): the shared, \(x_i\)-independent term is identical before and after mixing and cancels exactly, leaving only the mole-fraction-dependent contribution. A
3
\Delta H_{\text{mix}}=0 \ (\text{ideal, Hypotheses}) \ \Longrightarrow\ \Delta G_{\text{mix}} = -T\Delta S_{\text{mix}}
Since ideal mixing has no enthalpy change, \(\Delta G_{\text{mix}}=\Delta H_{\text{mix}}-T\Delta S_{\text{mix}}\) (gibbs-free-energy) reduces to purely the entropy term. A
4
\Delta S_{\text{mix}} = -\frac{\Delta G_{\text{mix}}}{T} = -R\sum_i n_i\ln x_i = -nR\sum_i x_i\ln x_i
Solving Step 3 for \(\Delta S_{\text{mix}}\) using Step 2's result, and writing \(n_i=x_in\) (total moles \(n\)) gives the standard entropy-of-mixing formula. Since each \(x_i\in(0,1)\), \(\ln x_i<0\), so each term \(-x_i\ln x_i>0\) — the sum, and hence \(\Delta S_{\text{mix}}\), is always strictly positive whenever more than one component is genuinely present. A
Result
\Delta S_{\text{mix}} = -nR\sum_i x_i\ln x_i \ > 0\ \text{always}, \qquad \Delta G_{\text{mix}} = -T\Delta S_{\text{mix}} < 0\ \text{always (ideal mixing)}

Reading. Mixing distinguishable ideal components always increases entropy and always decreases Gibbs free energy, regardless of which specific substances are involved or in what proportion — spontaneous mixing is a purely statistical, entropy-driven consequence, not something requiring any favourable enthalpic interaction between the components.

Scope. Requires ideal mixing (Hypotheses); real, non-ideal mixtures can have \(\Delta H_{\text{mix}}\ne0\), which can, in extreme cases, overcome the entropy term and prevent spontaneous mixing altogether (Fails without).

Corollaries & converses
  • For a two-component mixture, \(\Delta S_{\text{mix}}\) is maximised at an equimolar composition (\(x_1=x_2=0.5\)), by the symmetry of \(-x\ln x-(1-x)\ln(1-x)\) about \(x=0.5\); highly unequal mixtures (e.g. \(x_1=0.9\), \(x_2=0.1\)) give a noticeably smaller entropy of mixing (Worked examples, Problems).
  • Mixing more distinct components generally increases the total entropy of mixing further, since additional terms (each individually positive) are added to the sum — a three-component equal mixture has a larger \(\Delta S_{\text{mix}}\) per mole than a two-component equal mixture.
  • Converse: since \(\Delta S_{\text{mix}}\) depends only on the number of distinguishable components and their mole fractions, not on which specific substances are involved, it says nothing at all about \(\Delta H_{\text{mix}}\) or real-world miscibility — a real mixture's actual spontaneity still requires \(\Delta G_{\text{mix}}=\Delta H_{\text{mix}}-T\Delta S_{\text{mix}}<0\) overall, not \(\Delta S_{\text{mix}}>0\) alone.
Fails without
  • Assume all substances mix spontaneously in all proportions, since \(\Delta S_{\text{mix}}\) is always positive (drop Hypotheses): oil and water are the classic real-world counterexample — their mutual intermolecular interactions are sufficiently unfavourable (a substantial positive \(\Delta H_{\text{mix}}\), driven by water's strong hydrogen-bonding network being disrupted) that \(\Delta G_{\text{mix}}=\Delta H_{\text{mix}}-T\Delta S_{\text{mix}}\) remains positive despite the always-favourable entropy term, and the two liquids remain largely immiscible at ordinary temperature.
  • Apply the formula naively to mixing two samples of the identical gas (indistinguishable particles): the formula as derived assumes distinguishable components; mixing identical particles involves no actual physical rearrangement that could be detected or reversed, and careful treatment (accounting for particle indistinguishability, a statistical-mechanics refinement beyond this introductory scope) shows the true entropy change in that specific case is exactly zero, not the positive value a naive application of the formula to "\(x_1=x_2=0.5\) of the same substance" would suggest — the well-known historical "Gibbs paradox" (Discussion).
Common errors
  • Dropping or mishandling the leading negative sign in the formula, since \(\ln x_i\) is always negative for \(0
  • Assuming a positive \(\Delta S_{\text{mix}}\) alone guarantees spontaneous mixing for any real substance pair, without checking \(\Delta H_{\text{mix}}\) (Fails without, first bullet).
  • Applying the distinguishable-components formula to mixing identical particles (Fails without, second bullet, the Gibbs paradox).
  • Using mass fraction or volume fraction in place of mole fraction \(x_i\) in the formula, which requires mole fractions specifically.
Discussion

Entropy of mixing became clearly understood once Gibbs's chemical potential framework (gibbs-free-energy's Discussion) was applied specifically to solutions and gas mixtures in the late 19th century. The formula's derivation also surfaces a genuinely famous historical puzzle, the "Gibbs paradox": naively applying the mixing-entropy formula to combining two samples of the identical gas predicts a nonzero entropy increase, even though physically nothing has actually changed — swapping the positions of indistinguishable particles produces no detectable difference at all. The resolution, only fully understood with the later development of statistical mechanics and quantum indistinguishability, is that the classical derivation implicitly (and incorrectly, for identical particles) treats every particle as distinguishable; correctly accounting for particle indistinguishability removes the paradoxical prediction entirely for the identical-gas case, while leaving the ordinary formula (Result) fully valid whenever the mixed components are genuinely distinct substances.

The always-positive nature of \(\Delta S_{\text{mix}}\) for ideal mixing is a direct, quantitative instance of the broader statistical-mechanical principle (briefly touched on in entropy-second-law's Hypotheses) that entropy measures the number of accessible microscopic arrangements: a mixed state has vastly more ways to arrange the same total number of particles among the same total volume than a fully separated state does, and this combinatorial abundance is precisely what the logarithmic mole-fraction terms in the Result quantify.

Common misconception: that entropy of mixing being always positive means all substances are always miscible. As the oil-and-water example demonstrates directly (Fails without), real-world miscibility is governed by the full \(\Delta G_{\text{mix}}=\Delta H_{\text{mix}}-T\Delta S_{\text{mix}}\), not by the entropy term in isolation; \(\Delta S_{\text{mix}}>0\) is a universal, always-favourable contribution toward mixing, not a guarantee of it.

Worked examples
1
1.00\,\text{mol gas A} + 1.00\,\text{mol gas B (equimolar, } n=2.00\,\text{mol), at }298\,\text{K}: \quad \Delta S_{\text{mix}}=-(2.00)(8.314)\left[0.5\ln0.5+0.5\ln0.5\right]\approx11.53\,\text{J/K}
A direct application of the Result to the maximum-entropy (equimolar) two-component case; \(\Delta G_{\text{mix}}=-T\Delta S_{\text{mix}}=-(298)(11.53)\approx-3.43\,\text{kJ}\), confirming spontaneous mixing with zero enthalpic contribution, purely from the entropy term. A
2
\text{Air-like mixture: } 3.00\,\text{mol N}_2 + 1.00\,\text{mol O}_2\ (x_{\text{N}_2}=0.75,\ x_{\text{O}_2}=0.25,\ n=4.00\,\text{mol})
\(\Delta S_{\text{mix}}=-(4.00)(8.314)\left[0.75\ln0.75+0.25\ln0.25\right]\approx18.70\,\text{J/K}\) — larger in absolute terms than Worked example 1's equimolar case, since more total moles are involved, though this specific, unequal \(3{:}1\) ratio gives a smaller per-mole entropy of mixing than a perfectly equimolar mixture would (Corollaries, first bullet). A
\text{Equimolar (1:1): } \Delta S_{\text{mix}}\approx11.53\,\text{J/K}; \qquad \text{Air-like (3:1), } n=4\,\text{mol: } \Delta S_{\text{mix}}\approx18.70\,\text{J/K}

Reading. The formula applies identically to any mole-fraction composition and any total amount of substance, always giving a positive entropy of mixing.

Scope. Both examples treat the gases as ideal, per the Result's scope restriction.

Problems
  1. Compute \(\Delta S_{\text{mix}}\) for an equimolar three-component mixture (\(1.00\,\text{mol}\) each of three different ideal gases, \(x_i=1/3\) each, \(n=3.00\,\text{mol}\) total) at \(298\,\text{K}\), and compare with the two-component equimolar result from Worked example 1.
    Solution\(\Delta S_{\text{mix}}=-(3.00)(8.314)\left[3\times\left(\tfrac13\ln\tfrac13\right)\right]\approx27.40\,\text{J/K}\), substantially larger than the two-component equimolar result (\(11.53\,\text{J/K}\)), consistent with the Corollaries' claim that mixing more distinct components increases total entropy of mixing further.
  2. Compute \(\Delta S_{\text{mix}}\) for an unequal, \(0.900{:}0.100\) mole-fraction two-component mixture (\(n=2.00\,\text{mol}\) total), and compare with Worked example 1's equimolar (\(0.500{:}0.500\)) result to confirm the equimolar case gives the maximum entropy of mixing.
    Solution\(\Delta S_{\text{mix}}=-(2.00)(8.314)\left[0.900\ln0.900+0.100\ln0.100\right]\approx5.41\,\text{J/K}\), noticeably smaller than the equimolar result (\(11.53\,\text{J/K}\)), confirming numerically that a highly unequal composition gives a smaller entropy of mixing than the equimolar (\(x=0.5\)) case, consistent with the Corollaries' maximum-at-equimolar claim.
  3. Explain why oil and water do not spontaneously mix into a single homogeneous phase, despite \(\Delta S_{\text{mix}}\) being positive for any composition, using the Result and Fails without.
    Solution\(\Delta S_{\text{mix}}>0\) is a genuine, universal contribution favouring mixing for any substances, but real spontaneity is governed by the full \(\Delta G_{\text{mix}}=\Delta H_{\text{mix}}-T\Delta S_{\text{mix}}\), not the entropy term alone. Oil and water have a substantially positive \(\Delta H_{\text{mix}}\), since mixing them requires disrupting water's extensive hydrogen-bonding network without forming comparably favourable new interactions with the largely nonpolar oil molecules; this unfavourable enthalpy term is large enough to make \(\Delta G_{\text{mix}}>0\) overall despite the favourable entropy contribution, so the two liquids remain largely immiscible — a direct, real-world instance of Fails without's first bullet.
  4. Explain, using the Discussion's account of the Gibbs paradox, why mixing two samples of the exact same pure gas does not actually increase entropy, even though naively substituting \(x_1=x_2=0.5\) into the Result's formula (as if the two samples were distinguishable) would suggest a positive \(\Delta S_{\text{mix}}\).
    SolutionThe Result's derivation (Step 2 onward) implicitly assumes the mixed components are distinguishable, different substances; the entropy increase it predicts comes from the vastly larger number of distinguishable arrangements available once different types of particles can occupy the combined volume. When the two "components" being mixed are actually identical particles, there is no genuine new distinguishable arrangement created by combining them — swapping identical particles' positions produces no physically detectable difference at all — so the true entropy change is exactly zero, not the positive value the naive formula would give if (incorrectly) treated as if the two samples were distinguishable. This resolution, requiring careful accounting of particle indistinguishability, is precisely the historical Gibbs paradox.