Skip to content

Physics · Ch 11 — Thermodynamics

Thermodynamic State Variables and Equation of State

11.7

Thermodynamic State Variables and Equation of State

Thermodynamic State Variables

A thermodynamic system is described by certain measurable quantities called state variables. These are properties that depend only on the current state of the system, not on how it reached that state. Common examples include pressure (PP), volume (VV), temperature (TT), internal energy (UU), and mass (mm).

The state of a system is fully specified when all its state variables are known. However, for a simple system (like a fixed mass of gas in a cylinder), only two independent state variables are needed to determine the rest. This is because these variables are connected by a relationship called the equation of state.

Note

State variables are path-independent — their change depends only on the initial and final states, not on the process. This is what distinguishes them from quantities like heat and work, which are path-dependent.

Equation of State

The equation of state is the mathematical relation connecting the state variables of a system. For a given system, it tells you how one variable changes when others are altered.

For an ideal gas, the equation of state is the well-known ideal gas law:

PV=nRTPV = nRT

where:

  • PP = pressure of the gas
  • VV = volume of the gas
  • nn = number of moles of the gas
  • RR = universal gas constant (8.314 J mol−1K−18.314\ \text{J mol}^{-1}\text{K}^{-1})
  • TT = absolute temperature (in Kelvin)

This equation shows that for a fixed amount of gas (nn constant), if you know any two of PP, VV, or TT, the third is determined.

PV=nRTPV = nRT

Properties of State Variables

The textbook lists three key properties that state variables satisfy. Each is derived from the fact that state variables depend only on the state, not the path.

Property 1: The change in a state variable is path-independent

If a system goes from an initial state ii to a final state ff, the change in any state variable XX is:

ΔX=Xf−Xi\Delta X = X_f - X_i

This change depends only on the initial and final values, not on the specific path taken between them.

Proof:

By definition, a state variable XX has a unique value for every equilibrium state. If the system goes from state ii to state ff along path A, and then returns from ff to ii along path B, the net change around the closed loop must be zero:

∮dX=0\oint dX = 0

This is because after returning to the initial state, XX must have its original value. Therefore:

∫ifdX (along path A)+∫fidX (along path B)=0\int_{i}^{f} dX \ (\text{along path A}) + \int_{f}^{i} dX \ (\text{along path B}) = 0

∫ifdX (along path A)=−∫fidX (along path B)=∫ifdX (along path B)\int_{i}^{f} dX \ (\text{along path A}) = -\int_{f}^{i} dX \ (\text{along path B}) = \int_{i}^{f} dX \ (\text{along path B})

Thus the change from ii to ff is the same regardless of path.

Important

This property is what makes state variables useful — you can compute ΔX\Delta X without knowing the process details.

Property 2: The differential of a state variable is an exact differential

If XX is a state variable, its infinitesimal change dXdX is an exact differential. This means there exists a function XX such that dXdX can be written as:

dX=M dx+N dydX = M\,dx + N\,dy

where xx and yy are independent state variables, and the mixed partial derivatives satisfy:

∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

Proof:

Since XX is a function of state, it can be expressed as X=X(x,y)X = X(x,y) for two independent variables xx and yy. The total differential is:

dX=(∂X∂x)ydx+(∂X∂y)xdydX = \left(\frac{\partial X}{\partial x}\right)_y dx + \left(\frac{\partial X}{\partial y}\right)_x dy

Let M=(∂X∂x)yM = \left(\frac{\partial X}{\partial x}\right)_y and N=(∂X∂y)xN = \left(\frac{\partial X}{\partial y}\right)_x. By Clairaut's theorem (equality of mixed partials for well-behaved functions):

∂M∂y=∂2X∂y∂x=∂2X∂x∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial^2 X}{\partial y \partial x} = \frac{\partial^2 X}{\partial x \partial y} = \frac{\partial N}{\partial x}

This condition is the test for exactness. For state variables, it always holds.

Watch out

Heat (QQ) and work (WW) are not state variables — their differentials (dQdQ, dWdW) are inexact. You cannot write QQ as a function of state alone.

Property 3: State variables can be classified as intensive or extensive

State variables fall into two categories:

  • Intensive variables: Independent of the size or mass of the system (e.g., pressure PP, temperature TT, density ρ\rho).
  • Extensive variables: Proportional to the size or mass of the system (e.g., volume VV, internal energy UU, mass mm).

Proof of scaling behaviour: …

Figure 11.6(a) The partition in the box is suddenly removed leading to free expansion of the gas. (b) A mixture of gases undergoing an explosive chemical reaction. In both situations, the gas is not in equilibrium and cannot be described by state variables.
Fig. 11.6 — (a) The partition in the box is suddenly removed leading to free expansion of the gas. (b) A mixture of gases undergoing an explosive chemical reaction. In both situations, the gas is not in equilibrium and cannot be described by state variables.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Figure 11.6 in the NCERT textbook shows two situations where a system is not in thermodynamic equilibrium. The left panel (a) depicts a rigid container divided into two halves by a thick black partition. The left half contains a gas; the right half is a vacuum. An arrow leads to a second drawing of the same container, now with the partition removed — the gas has spread to fill the entire volume. This is free expansion: the gas rushes into the vacuum without doing any work and without exchanging heat with the surroundings. During the expansion itself, pressure and temperature are not uniform throughout the container; the gas is in a highly non-equilibrium state. Only after the gas settles (some time later) does it reach a new equilibrium.

The right panel (b) shows a grey cylinder with a piston on the right side. Inside the cylinder, a red centre with radiating explosion lines indicates an explosive chemical reaction. The explosion drives the piston outward. Here, the reaction is rapid and violent — the gas mixture burns, releasing heat and increasing pressure dramatically. Again, during the explosion, the gas is not in equilibrium: temperature, pressure, and composition vary wildly from point to point. The piston moves because the system is not balanced.

Important

Both free expansion and an explosive reaction are irreversible processes. They proceed through non-equilibrium states. Thermodynamic state variables (pressure PP, volume VV, temperature TT) are defined only for equilibrium states. You cannot write an equation of state like PV=nRTPV = nRT for the gas during the expansion or explosion — only for the initial and final equilibrium states.

The textbook uses these examples to motivate why we need the concept of thermodynamic state variables and an equation of state. For a system in equilibrium, any two intensive variables (like PP and TT) determine the third (like VV) through a relation such as the ideal gas law:

PV=nRTPV = nRT

where PP is pressure, VV is volume, nn is the number of moles, RR is the universal gas constant (8.314 J mol−1K−18.314\ \text{J mol}^{-1}\text{K}^{-1}), and TT is absolute temperature. This equation holds only when the system is in thermal, mechanical, and chemical equilibrium — exactly the condition that is violated in both panels of Fig. 11.6. …