Skip to content
Tutorials Center
My learning

Topics

Lesson 10 of 39 · Entropy and Free Energy

Entropy and Disorder

Understand entropy as a count of microstates, learn why gases have more entropy than solids, and use Boltzmann's equation with simple runnable examples.

Why does a hot cup of coffee cool down but never spontaneously heat up by taking energy from the room? Why does a drop of ink spread through water but never gather itself back into a drop? Energy is conserved in both directions, so the first law cannot explain the one-way behavior. Something else does: entropy.

Entropy as a count of arrangements

Imagine four coins. There is only one way to get four heads (HHHH), but there are six ways to get two heads and two tails (HHTT, HTHT, HTTH, THHT, THTH, TTHH). The mixed result is more likely, simply because more arrangements produce it.

Chemistry works the same way with molecules and energy. A microstate is one specific arrangement of particles and their energies. A macrostate is what you measure (temperature, pressure, volume). Many microstates can match one macrostate. Entropy (S) measures how many.

Ludwig Boltzmann gave the relation:

S = k_B ln W

where W is the number of microstates and k_B = 1.380649 × 10⁻²³ J/K is Boltzmann's constant. More microstates means higher entropy. The logarithm makes entropy additive: two independent systems have W₁ × W₂ microstates and S₁ + S₂.

In everyday words, entropy is often described as "disorder" or "spread of energy and matter". "Dispersal" is a better picture than "mess": entropy is high when energy and particles are spread out among many possible arrangements.

Python Counting microstates with coins

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Units and the third law

Entropy has units of joules per kelvin (J/K). For substances we use the molar entropy in J/(mol·K).

The third law of thermodynamics says that a perfect crystal at absolute zero has exactly one microstate, so S = 0 at 0 K. This gives entropy an absolute scale (unlike enthalpy). Tables list standard molar entropies S° at 298 K, and for elements these are not zero.

What makes entropy larger?

  1. Physical state. Gases have far more entropy than liquids, and liquids more than solids, because particles in a gas can be in many more positions with many more speeds.
  2. Temperature. Hotter substances have more entropy, because energy is spread over more possible energy states.
  3. Number of particles. A reaction that produces more moles of gas increases entropy.
  4. Mixing and dissolving. Mixing two gases or dissolving a solid in a liquid usually increases entropy.
  5. Molecular complexity. Bigger, more flexible molecules have more ways to store energy (more vibrations, rotations).

Approximate standard molar entropies at 298 K (J/(mol·K)):

Substance S°
C(diamond) 2.4
C(graphite) 5.7
CaO(s) 38.1
NaCl(s) 72.1
H₂O(l) 69.9
H₂(g) 130.7
N₂(g) 191.6
H₂O(g) 188.8
CO₂(g) 213.8

Notice the jump from H₂O(l) to H₂O(g): 69.9 to 188.8. Rigid diamond has the lowest entropy because its atoms are locked in a strong lattice.

Python Predict the sign of ΔS from the number of gas moles

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Everyday and chemical examples

  • Melting ice: the ordered crystal becomes a more mobile liquid. ΔS > 0.
  • Boiling water: a big increase. ΔS > 0, large.
  • Dissolving sugar: sugar molecules spread through the water. ΔS > 0.
  • Condensing steam: ΔS < 0, the system becomes more ordered.
  • Gas expanding into a vacuum: the molecules can occupy more positions, so ΔS > 0, even though no heat flows.
flowchart LR
    S["Solid<br/>(lowest S)"] -->|"melt"| L["Liquid"]
    L -->|"boil"| G["Gas<br/>(highest S)"]

Entropy rises along solid → liquid → gas.

An entropy decrease does not mean a process cannot happen. Freezing water is a decrease in the water's entropy, yet it happens below 0 °C. The next lessons show how the surroundings' entropy and the enthalpy change decide the matter.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Boltzmann's equation S = k_B ln W says that entropy increases when

    W is the number of microstates compatible with the macrostate. More microstates means higher entropy.
  2. 2. Which has the highest standard molar entropy at 298 K?

    Gases have much higher entropy than liquids and solids; H₂O(g) (188.8) is far above H₂O(l) (69.9).
  3. 3. For N₂(g) + 3 H₂(g) → 2 NH₃(g), ΔS is expected to be

    The number of moles of gas falls from 4 to 2, so there are fewer arrangements and ΔS is negative.
  4. 4. According to the third law, the entropy of a perfect crystal at 0 K is

    A perfect crystal at absolute zero has one microstate, so S = k_B ln 1 = 0.

Summary

  • Entropy measures the number of microstates: S = k_B ln W, in J/K.
  • Gases > liquids > solids; higher temperature and more particles raise entropy.
  • Mixing, dissolving and producing more gas moles usually increase entropy.
  • The third law sets S = 0 for a perfect crystal at 0 K, so S° values are absolute.
  • Entropy alone does not say whether a reaction happens; see the next lessons.

Next: Entropy Change of Reactions