State Variables and Properties
State variables in thermodynamic systems
A state variable is any property that describes a thermodynamic system at equilibrium. The defining feature: state variables depend only on the current condition of the system, not on how it got there. Temperature, pressure, volume, and mass are the most common examples.
Think of it like elevation on a mountain. Your altitude at the summit is the same whether you hiked the north trail or the south trail. The path doesn't matter; only where you are now matters. That's exactly how state variables work.
Because state variables are path-independent, you can use them to calculate other important thermodynamic quantities:
- Internal energy ()
- Enthalpy ()
- Entropy ()
These derived quantities are themselves state functions, meaning they too depend only on the current state of the system.

Intensive vs. extensive properties
Thermodynamic properties fall into two categories based on whether they scale with system size.
Intensive properties don't depend on how much matter is present. If you split a system in half, each half retains the same value for these properties:
- Temperature
- Pressure
- Density
Extensive properties do depend on the amount of matter. They're additive, so combining two subsystems means summing their values:
- Volume
- Mass
- Total energy
A useful trick for remembering the difference: if you pour half a glass of water into another container, the temperature (intensive) stays the same, but the volume (extensive) in each container is now half the original.
You can often convert an extensive property into an intensive one by dividing by the amount of substance. For example, dividing volume (extensive) by the number of moles gives you molar volume (intensive).

Ideal Gas Law and Equations of State
Applications of the ideal gas law
An equation of state is a mathematical relationship connecting the state variables of a substance. The simplest and most widely used is the ideal gas law:
where:
- = pressure of the gas
- = volume of the gas
- = number of moles
- = universal gas constant ()
- = absolute temperature (in Kelvin)
An "ideal gas" is a hypothetical gas whose molecules have no intermolecular forces and occupy zero volume. No real gas behaves this way perfectly, but many gases approximate ideal behavior well at moderate temperatures and low pressures.
When you know any three of the four variables (, , , ), you can solve for the fourth. For example, to find the volume of 2 mol of gas at 300 K and 1 atm (101,325 Pa):
Equations of state for real substances
Real gases deviate from ideal behavior, especially at high pressures (molecules are forced close together) and low temperatures (molecules move slowly enough for attractive forces to matter). To handle this, more sophisticated equations of state account for intermolecular forces and the finite volume molecules actually occupy.
Two common examples:
- Van der Waals equation:
The constant corrects for intermolecular attractions (which reduce pressure below the ideal prediction), and corrects for the actual volume occupied by the molecules. Both are substance-specific and looked up in tables.
- Redlich-Kwong equation:
This provides better accuracy than Van der Waals for many gases, particularly at higher pressures, while still using only two substance-specific constants.
In both equations above, represents the molar volume (volume per mole), not the total volume. This is a common source of confusion when comparing these to the ideal gas law written with .
The key takeaway: the ideal gas law is your starting point and works well in many situations. When conditions push a gas far from ideal behavior, these more complex equations give significantly better predictions.