# The Ideal Gas: The basis for "mass action" and a window into free-energy/work relations

## Primary tabs

## The Ideal Gas: The basis for "mass action" and a window into free-energy/work relations

The simplest possible multi-particle system, the ideal gas, is a surprisingly valuable tool for gaining insight into biological systems - from mass-action models to gradient-driven transporters. The word "ideal" really means non-interacting, so in an ideal gas all molecules behave as if no others are present. The gas molecules only feel a force from the walls of their container, which merely redirects their momenta like billiard balls. Not surprisingly, it is possible to do exact calculations fairly simply under such extreme assumptions. What's amazing is how relevant those calculations turn out to be, particularly for understanding the basic mechanisms of biological machines and chemical-reaction systems.

Although ideal particles do not react or bind, their statistical/thermodynamic behavior in the various states (e.g., bound or not, reacted or not) can be used to build powerful models - e.g., for transporters.

### Mass-action kinetics are ideal-gas kinetics

The key assumption behind mass-action models is that events (binding, reactions, ...) occur precisely in proportion to the concentration(s) of the participating molecules. This certainly cannot be true for *all* concentrations, because all molecules interact with one another at close enough distances - i.e., at high enough concentrations. In reality, beyond a certain concentration, simple crowding effects due to steric/excluded-volume effects mean that each molecule can have only a maximum number of neighbors.

But in the ideal gas - and in mass-action kinetics - no such crowding effects occur. All molecules are treated as point particles. They do not interact with one another, although virtual/effective interactions occur in a mass-action picture. (We can say these interactions are "virtual" because the only effect is to change the number of particles - no true forces or interactions occur.)

### Pressure and work in an ideal gas

Ideal gases can perform work directly using pressure. The molecules of an ideal gas exert a pressure on the walls of the container holding them due to collisions, as sketched above. The amount of this pressure depends on the number of molecules colliding with each unit area of the wall per second, as well as the speed of these collisions. These quantities can be calculated based on the mass $m$ of each molecule, the total number of molecules, $N$, the total volume of the container $V$ and the temperature, $T$. In turn, $T$ determines the average speed via the relation $(3/2) \, N \, k_B T = \avg{(1/2) \, m \, v^2}$. See the book by Zuckerman for more details.

All these facts can be combined - consult a physics book - to yield the ideal gas law relating **pressure** $P$ to the other quantities:

We can calculate the **work** done by an ideal gas to change the size of its container by pushing one wall a distance $d$ as shown above. We use the basic rule of physics that work is force ($f$) multiplied by distance and the definition of pressure as force per unit area. If we denote the area of the wall by $A$, we have

If $d$ is small enough so that the pressure is nearly constant, we can calculate $P$ using (1) at either the beginning or end of the expansion. More generally, for a volume change of arbitrary size (from $V_i$ to $V_f$) in an ideal gas, we need to integrate:

which assumes the expansion is performed slowly enough so that (1) applies throughout the process.

### Free energy and work in an ideal gas

The free energy of the ideal gas can be calculated exactly in the limit of large $N$ (see below). We will see that it does, in fact, correlate precisely with the expression for work just derived. The free energy depends on temperature, volume, and the number of molecules; for large $N$, it is given by

where $\lambda$ is a constant for fixed temperature. For reference, it is given by $\lambda = h / \sqrt{2 \pi m k_B T}$ with $h$ being Planck's constant and $m$ the mass of an atom. See the book by Zuckerman for full details.

Does the free energy tell us anything about work? If we examine the **free energy change** occuring during the same expansion as above, from $V_i$ to $V_f$ at constant $T$, we get

Comparing to (3), **this is exactly the negative of the work done!** In other words, the free energy of the ideal gas decreases by exactly the amount of work done (when the expansion is performed slowly). More generally, the work can be no greater than the free energy decrease. The ideal gas has allowed us to demonstrate this principle concretely.

### The ideal gas free energy from statistical mechanics

The free energy is derived from the "partition function" $Z$, which is simply a sum/integral over Boltzmann factors for all possible configurations/states of a system. Summing over all possibilities is why the free energy encompasses the full thermodynamic behavior of a system.

where $\lambda(T) \propto 1/\sqrt(T)$ is the thermal de Broglie wavelength (which is not important for the phenomena of interest here), $\rall$ is the set of $(x,y,z)$ coordinates for all molecules and $U$ is the potential energy function. The factor $1/N!$ accounts for interchangeability of identical molecules, and the integral is over all volume allowed to each molecule. For more information, see the book by Zuckerman, or any statistical mechanics book.

The partition function can be evaluated exactly for the case of the ideal gas because the non-interaction assumption can be formulated as $U(\rall) = 0$ for all configurations - in other words, the locations of the molecules do not change the energy or lead to forces. This makes the Boltzmann factor exactly $1$ for all $\rall$, and so each molecule's inegration over the full volume yields a factor of $V$, making the final result

Although (8) assumes there are no degrees of freedom internal to the molecule - which might be more reasonable in some cases (ions) than others (flexible molecules) - the expression is sufficient for most of the biophysical explorations undertaken here.

The combination of (6) and (8) can be used to derive (4) in conjunction with Stirling's approximation for large $N$. See a statistical mechanics book for details.

### References

- Any basic physics textbook.
- D.M. Zuckerman, "Statistical Physics of Biomolecules: An Introduction," (CRC Press, 2010), Chapters 5, 7.