Thermodynamics: Core Concepts
Systems and Surroundings
A thermodynamic system is whatever part of the universe you've chosen to study. It could be a gas in a cylinder, a solution in a beaker, or a biological cell. Everything outside the system that can interact with it is called the surroundings.
The boundary separating system from surroundings can be a real physical barrier (like the walls of a container) or an imaginary surface you define for convenience. How that boundary behaves determines the type of system:
- Open system: exchanges both matter and energy with surroundings (e.g., an open beaker of water that can lose vapor and heat)
- Closed system: exchanges energy but not matter (e.g., a sealed piston that can expand or compress)
- Isolated system: exchanges neither energy nor matter (e.g., an ideal thermos, or the universe as a whole)
State Variables and Equilibrium
State variables (also called state functions) describe the condition of a system at equilibrium. Their values depend only on the current state, not on how the system got there. The key state variables are pressure (), volume (), temperature (), and amount of substance ().
Thermodynamic equilibrium means the macroscopic properties of the system aren't changing with time. There's no net flow of energy or matter between system and surroundings. A system must simultaneously be in thermal, mechanical, and chemical equilibrium.
State variables fall into two categories:
- Intensive properties don't depend on system size: temperature, pressure, density, molar heat capacity
- Extensive properties scale with the amount of material: volume, mass, entropy, enthalpy, internal energy
An extensive property becomes intensive when you divide by the amount of substance. For example, volume (, extensive) becomes molar volume (, intensive).
First Law of Thermodynamics: Applications
Conservation of Energy
The first law says that energy is conserved. For a closed system, the change in internal energy equals the heat added to the system minus the work done by the system:
This sign convention (sometimes called the "physics convention") treats when heat flows into the system and when the system does work on the surroundings. Some textbooks use with for work done on the system (the "chemistry convention"). Check which your course uses.
- Heat (): energy transfer driven by a temperature difference, flowing from hotter to cooler regions. Measured in joules (J) or calories (cal).
- Work (): energy transfer through a force acting over a distance. In thermodynamics, this most often means pressure-volume work (a gas expanding or compressing against an external pressure). Measured in joules (J) or liter-atmospheres (L·atm), where .
Neither heat nor work is a state function. They depend on the path taken between two states, not just the endpoints.
Thermodynamic Processes
Each named process holds one variable constant, which simplifies the first law:
- Isothermal (constant ): For an ideal gas, because internal energy depends only on temperature. Therefore . Example: slow expansion of a gas in thermal contact with a heat bath.
- Adiabatic (): No heat exchange with surroundings. , so the temperature changes as work is done. Example: rapid compression in a diesel engine heats the gas enough to ignite fuel.
- Isobaric (constant ): The heat transferred equals the enthalpy change: . Example: boiling water in an open container at atmospheric pressure.
- Isochoric (constant ): No pressure-volume work is done (). . Example: heating a gas in a sealed rigid container.

Heat, Work, and Internal Energy: Interrelationships
Internal Energy
Internal energy () is the total kinetic and potential energy of all particles in the system. This includes translational, rotational, vibrational, and electronic contributions. Because is a state function, between two states is the same regardless of path.
Two important consequences:
- In an isolated system, (no heat or work crosses the boundary).
- In a cyclic process (system returns to its initial state), , so over the full cycle.
Heat and Work
Heat capacity () quantifies how much heat is needed to raise a system's temperature by one degree:
- Specific heat capacity (): heat capacity per unit mass, in units of J/(g·K)
- Molar heat capacity (): heat capacity per mole, in units of J/(mol·K)
For an ideal gas, differs depending on whether heating occurs at constant volume () or constant pressure (), and they're related by .
Pressure-volume work for a process against external pressure :
For a reversible expansion or compression, equals the system pressure at every instant. For an irreversible process against a constant external pressure, . The reversible process always yields the maximum work for an expansion (or minimum work input for a compression).
Enthalpy
Enthalpy () is defined as:
It's a state function, and its real usefulness is that at constant pressure, . This makes enthalpy the natural quantity for tracking heat flow in most chemical reactions (which typically occur at atmospheric pressure).
Key applications:
- Standard enthalpy of formation (): the enthalpy change when one mole of a compound forms from its elements in their standard states (1 bar, 25°C by convention). By definition, for elements in their standard states.
- Standard enthalpy of reaction:
- Hess's law: Because enthalpy is a state function, for a reaction is independent of the pathway. You can combine known reactions to find for an unknown reaction.
Ideal Gas Law: Applications

Ideal Gas Equation
The ideal gas law relates four state variables:
where is the universal gas constant.
The model assumes gas particles have negligible volume, experience no intermolecular forces, and undergo perfectly elastic collisions. Real gases approximate ideal behavior at high temperatures and low pressures (where particles are far apart).
For mixtures, Dalton's law states that the total pressure is the sum of each component's partial pressure:
Each partial pressure is , where is the mole fraction of component .
Gas Laws
These are all special cases of the ideal gas law with certain variables held constant:
- Boyle's law (constant , ): . Doubling the volume halves the pressure.
- Charles's law (constant , ): . Volume scales linearly with absolute temperature.
- Gay-Lussac's law (constant , ): . Pressure scales linearly with absolute temperature.
- Combined gas law (constant ):
Always use absolute temperature (Kelvin) in these equations. Using Celsius will give wrong answers.
Kinetic Molecular Theory
The kinetic molecular theory (KMT) provides the microscopic basis for ideal gas behavior. Its postulates:
- Gas particles are in constant, random motion.
- Particle volumes are negligible compared to the container volume.
- Collisions between particles and with walls are perfectly elastic (kinetic energy is conserved).
- There are no attractive or repulsive forces between particles.
From KMT, the average translational kinetic energy per molecule depends only on temperature:
where is the Boltzmann constant. This means at a given temperature, all ideal gases have the same average kinetic energy regardless of molecular identity.
The root-mean-square speed is:
where is the molar mass. Lighter molecules move faster: at 300 K, for ( kg/mol) is about 1930 m/s, while for ( kg/mol) it's about 483 m/s.
Entropy: Spontaneity of Processes
Entropy and the Second Law
Entropy () quantifies the number of microstates (microscopic arrangements) available to a system. More microstates means higher entropy.
The second law of thermodynamics states that for any spontaneous process, the total entropy of the universe (system + surroundings) increases:
For a reversible process, . All real processes are irreversible, so the universe's entropy always increases.
For a reversible process, the entropy change is calculated as:
For an irreversible process between the same two states, of the system is the same (it's a state function), but is greater than zero.
The third law of thermodynamics states that the entropy of a perfect crystalline substance approaches zero as . At absolute zero, a perfect crystal has exactly one microstate. This provides the reference point for tabulating absolute (third-law) entropies.
Gibbs Free Energy
The Gibbs free energy combines enthalpy and entropy into a single criterion for spontaneity at constant and :
The sign of tells you everything:
| Meaning | |
|---|---|
| Spontaneous (forward direction favored) | |
| Non-spontaneous (reverse direction favored) | |
| System is at equilibrium |
Spontaneity depends on the competition between and :
- Exothermic + entropy increase (, ): spontaneous at all temperatures
- Endothermic + entropy decrease (, ): non-spontaneous at all temperatures
- Mixed signs: temperature determines which term dominates. For example, ice melting is endothermic () but increases entropy (), so it becomes spontaneous above 273 K where .
The standard Gibbs energy change connects to the equilibrium constant:
A reaction with has and favors products under standard conditions.
Statistical Interpretation of Entropy
The Boltzmann equation gives entropy a molecular meaning:
where is the number of microstates accessible to the system. A gas has far more microstates than a solid at the same temperature, which is why gases have higher entropy.
This equation provides the molecular basis for the second law: systems evolve toward the macrostate with the greatest number of microstates because that state is overwhelmingly more probable. The free expansion of a gas into a vacuum is spontaneous because the number of accessible position microstates increases enormously.
For systems where microstates have unequal probabilities, the more general Gibbs entropy formula applies:
where is the probability of microstate . This reduces to the Boltzmann equation when all microstates are equally probable (). At 0 K, a perfect crystal has one microstate (), giving , consistent with the third law.