1. Home
  2. Explore
  3. Physics
  4. Thermodynamics Fundamentals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Thermodynamics Fundamentals

Thermodynamics: Study Notes

Foundations: systems, states, and energy transfer

Thermodynamics studies how heat energy is transferred and transformed into work and other forms of energy. It also describes the limits on those transformations. A gas expanding in a piston, water boiling in a kettle, and steam turning a turbine are different applications of the same basic idea: energy crosses a system boundary, and some of that energy may appear as mechanical work.

The basic vocabulary

  • System: The part of the universe chosen for study.

  • Surroundings: Everything outside the system.

  • Boundary: The real or imagined surface separating the system from its surroundings.

  • State: The system’s condition, described by its properties or parameters.

  • Process: A change from one state to another.

  • Equilibrium: A condition in which the system’s macroscopic properties are no longer changing with time.

Thermodynamic reasoning begins by defining the system and its boundary. The next question is what crosses that boundary. The main forms of transfer tracked in introductory thermodynamics are matter and energy.

Types of systems

  • Open system: Exchanges both matter and energy with its surroundings.

  • Closed system: Exchanges energy but not matter with its surroundings.

  • Isolated system: Exchanges neither matter nor energy with its surroundings.

An isolated system is an idealization that provides a particularly clear setting for conservation laws.

State variables and thermodynamic properties

The main variables used to describe a system include:

  • Pressure, PPP

  • Volume, VVV

  • Temperature, TTT

  • Internal energy, UUU

  • Amount of substance, often measured in moles, nnn

Properties are classified according to how they change when the system’s size changes.

  • Extensive properties depend on the amount or size of the system. If a system is doubled while its state remains otherwise the same, an extensive property doubles. Examples include volume, mass, and total internal energy.

  • Intensive properties do not depend on the amount or size of the system. Pressure and temperature are examples.

A ratio of two extensive properties is generally intensive. For example, density is mass per volume, so doubling both mass and volume leaves density unchanged.

A system is in thermal equilibrium when its macroscopic properties—including pressure, volume, temperature, and composition—are no longer changing with time. Informally, the system has settled into a stable macroscopic condition.

Adiabatic and diathermic boundaries

A boundary can determine whether heat may pass between a system and its surroundings.

  • An adiabatic wall prevents heat transfer. It may still move, so work can occur even though no heat crosses the wall. An insulated, movable piston is an example.

  • A diathermic wall allows heat to pass. If two systems are separated by such a wall and are left in contact, heat flows until they reach the same temperature.

The terms adiabatic and diathermic describe heat transfer across a boundary, not whether the boundary can move.


Work and internal energy

Pressure–volume work

When a gas expands or is compressed, it can exchange mechanical energy with its surroundings. Under the sign convention used here, work done by the system is positive.

For a constant-pressure change, the work is

W=PΔV=P(Vf−Vi).W=P\Delta V=P(V_f-V_i).W=PΔV=P(Vf​−Vi​).

For a process in which pressure changes as volume changes, the work is

W=∫ViVfP dV.W=\int_{V_i}^{V_f}P\,dV.W=∫Vi​Vf​​PdV.

On a pressure–volume (PPP–VVV) diagram, this integral is the area under the process curve between the initial and final volumes.

  • Expansion: Vf>ViV_f>V_iVf​>Vi​, so W>0W>0W>0. The system pushes on its surroundings.

  • Compression: Vf<ViV_f<V_iVf​<Vi​, so W<0W<0W<0. The surroundings do work on the system.

Work depends on the path taken between the initial and final states. Two processes can connect the same states but have different areas under their PPP–VVV curves, and therefore different work values. A PPP–VVV diagram is thus a useful record of the work associated with a process.

Internal energy

Internal energy, UUU, is the total microscopic energy associated with a system’s molecules. It includes:

  • Kinetic energy from molecular translation, rotation, vibration, and other motion.

  • Potential energy associated with interactions and configurations of molecules.

For an ideal gas, intermolecular forces are treated as negligible, so internal energy depends only on temperature. For real substances, internal energy can also depend on other state variables, such as pressure and volume.

Internal energy is a state function: its value depends on the system’s state, not on the path used to reach that state. Consequently, the change in internal energy between two states depends only on the endpoints, even when the heat and work transfers depend on the process.


The Zeroth and First Laws

The Zeroth Law: defining temperature

The Zeroth Law of Thermodynamics states that if system AAA is in thermal equilibrium with system CCC, and system BBB is also in thermal equilibrium with system CCC, then AAA and BBB are in thermal equilibrium with each other:

TA=TC,TB=TC⟹TA=TB.T_A=T_C,\qquad T_B=T_C \quad\Longrightarrow\quad T_A=T_B.TA​=TC​,TB​=TC​⟹TA​=TB​.

This law makes temperature a well-defined property and provides the basis for thermometers. A thermometer placed in contact with a system reaches thermal equilibrium with it, allowing the thermometer’s temperature reading to represent the system’s temperature.

The Zeroth Law is logically prior to the First and Second Laws: temperature must be defined before thermal energy changes and temperature-based laws can be described consistently.

The First Law: conservation of energy

With the sign convention that Q>0Q>0Q>0 when heat enters the system and W>0W>0W>0 when the system does work on its surroundings, the First Law is

ΔQ=ΔU+W.\Delta Q=\Delta U+W.ΔQ=ΔU+W.

In differential form,

δQ=dU+δW.\delta Q=dU+\delta W.δQ=dU+δW.

For pressure–volume work, δW=P dV\delta W=P\,dVδW=PdV, giving

δQ=dU+P dV.\delta Q=dU+P\,dV.δQ=dU+PdV.

The First Law is energy bookkeeping: heat entering the system is divided between the increase in internal energy and the work done by the system. Energy is conserved; it is not created or destroyed.

The First Law tracks how energy changes, but it does not determine which direction heat will flow or whether a process can occur. Those questions are addressed by the Second Law.

Heat and work are modes of energy transfer, not properties stored in a system. A system has internal energy UUU; heat and work describe energy crossing its boundary during a process.


Thermodynamic processes

A thermodynamic process is described by the conditions imposed on the system as it changes state. The prefix iso- means “same,” and the rest of the name identifies the property held constant. The idealized process curves below are typically treated as quasi-static: the changes are slow enough for the system to pass through states that remain close to equilibrium.

Isothermal process: constant temperature

An isothermal process occurs at constant temperature. For a fixed amount of ideal gas, the ideal-gas law implies

PV=constant,PV=\text{constant},PV=constant,

which is Boyle’s law. An isotherm on a PPP–VVV diagram is a rectangular hyperbola.

For an ideal gas, internal energy depends only on temperature. Therefore, for an isothermal change,

ΔU=0.\Delta U=0.ΔU=0.

The First Law then gives

Q=W.Q=W.Q=W.

All heat absorbed by the gas is converted into work done by the gas; during compression, work done on the gas is transferred out as heat if the temperature is to remain constant.

For an ideal gas undergoing an isothermal change, the work is

W=nRTln⁡ ⁣(VfVi)=nRTln⁡ ⁣(PiPf),W=nRT\ln\!\left(\frac{V_f}{V_i}\right) =nRT\ln\!\left(\frac{P_i}{P_f}\right),W=nRTln(Vi​Vf​​)=nRTln(Pf​Pi​​),

where nnn is the amount of gas in moles, RRR is the gas constant, and TTT is the absolute temperature. The equivalent base-10 logarithm form is

W=2.3026 nRTlog⁡10 ⁣(VfVi).W=2.3026\,nRT\log_{10}\!\left(\frac{V_f}{V_i}\right).W=2.3026nRTlog10​(Vi​Vf​​).

The sign follows the volume change: an isothermal expansion has positive work, while an isothermal compression has negative work.

For an ideal gas on an isotherm, PV=constantPV=\text{constant}PV=constant implies

(dPdV)T=−PV.\left(\frac{dP}{dV}\right)_T=-\frac{P}{V}.(dVdP​)T​=−VP​.

The isothermal bulk modulus is therefore

KT=−V(dPdV)T=P.K_T=-V\left(\frac{dP}{dV}\right)_T=P.KT​=−V(dVdP​)T​=P.

Phase changes such as melting and boiling can also occur at constant temperature under appropriate conditions.

Adiabatic process: no heat transfer

An adiabatic process is one in which no heat crosses the system boundary:

Q=0.Q=0.Q=0.

For a reversible or quasi-static adiabatic change of an ideal gas, Poisson’s relations are

PVγ=constant,PV^\gamma=\text{constant},PVγ=constant,
TVγ−1=constant,TV^{\gamma-1}=\text{constant},TVγ−1=constant,

and

TγPγ−1=constant,\frac{T^\gamma}{P^{\gamma-1}}=\text{constant},Pγ−1Tγ​=constant,

where γ=CP/CV\gamma=C_P/C_Vγ=CP​/CV​ is the ratio of the heat capacities.

Because Q=0Q=0Q=0, the First Law becomes

ΔU=−W.\Delta U=-W.ΔU=−W.

When an ideal gas expands adiabatically, it does positive work. Its internal energy decreases, so its temperature falls. During adiabatic compression, work is done on the gas, increasing its internal energy and temperature.

For an ideal gas, the work in an adiabatic process can be written

W=nR(Ti−Tf)γ−1.W=\frac{nR(T_i-T_f)}{\gamma-1}.W=γ−1nR(Ti​−Tf​)​.

An adiabatic curve falls more steeply than an isothermal curve on a PPP–VVV diagram. During expansion, both the increasing volume and the decreasing temperature act to reduce pressure.

The heat transferred in an adiabatic process is zero, so the effective heat capacity along that constraint, when defined as heat transfer per temperature change, is zero. This does not mean that the temperature cannot change; it often does change substantially.

Examples of approximately adiabatic processes include rapid gas expansion, rapid compression in an insulated piston, and the propagation of sound waves in air.

Isobaric process: constant pressure

An isobaric process occurs at constant pressure. For an ideal gas,

VT=constant.\frac{V}{T}=\text{constant}.TV​=constant.

On a PPP–VVV diagram, an isobaric process is a horizontal line. Expansion proceeds toward larger volume; compression proceeds toward smaller volume.

The work is

W=PΔV.W=P\Delta V.W=PΔV.

The First Law remains

δQ=dU+P dV.\delta Q=dU+P\,dV.δQ=dU+PdV.

For an ideal gas, the heat capacities satisfy Mayer’s relation

CP−CV=RC_P-C_V=RCP​−CV​=R

when CPC_PCP​ and CVC_VCV​ are molar heat capacities. The additional heat capacity at constant pressure accounts for energy used to do expansion work as well as energy that raises internal energy.

Isochoric process: constant volume

An isochoric process occurs at constant volume. For an ideal gas,

PT=constant.\frac{P}{T}=\text{constant}.TP​=constant.

A constant-volume process appears as a vertical line on a PPP–VVV diagram. Because the volume does not change, pressure–volume work is zero:

W=0.W=0.W=0.

The First Law reduces to

Q=ΔU.Q=\Delta U.Q=ΔU.

For an ideal gas with constant molar heat capacity CVC_VCV​,

ΔQ=ΔU=nCVΔT.\Delta Q=\Delta U=nC_V\Delta T.ΔQ=ΔU=nCV​ΔT.

Thus, heat entering the system goes into changing its internal energy; none is transferred as pressure–volume work.

Cyclic process: return to the initial state

A cyclic process carries a system through a sequence of changes and returns it to its initial state. Since internal energy is a state function, its net change over a complete cycle is zero:

ΔUcycle=0.\Delta U_{\text{cycle}}=0.ΔUcycle​=0.

The First Law therefore gives

Qnet=Wnet.Q_{\text{net}}=W_{\text{net}}.Qnet​=Wnet​.

The net work in one cycle is the area enclosed by the loop on a PPP–VVV diagram.

  • A clockwise cycle has positive net work done by the system and can represent a heat engine.

  • An anticlockwise cycle has negative net work done by the system: net work is supplied to the system, as in a refrigerator or heat pump.

For a heat engine, the thermal efficiency is the useful work output divided by the heat absorbed from the hot source.


The Second Law and entropy

Limits on heat engines and heat flow

The Second Law of Thermodynamics places limits on energy transformations that the First Law alone does not describe. In particular, no heat engine operating in a cycle can convert all the heat it absorbs into work. Some heat must be rejected to a colder reservoir.

Equivalent formulations include:

  • Kelvin–Planck statement: No cyclic heat engine can take heat from a single reservoir and convert it completely into work.

  • Clausius statement: Heat cannot, by itself, flow from a colder body to a hotter body. Transferring heat from cold to hot requires an external input of work.

These statements express the same fundamental limitation in different ways. The First Law requires energy conservation; the Second Law constrains the direction and effectiveness of energy transfer.

Entropy

Entropy, SSS, is a state property that characterizes the dispersal of energy and the number of microscopic arrangements consistent with a system’s macroscopic state. It is often introduced as a measure of molecular disorder or randomness, but it is more reliable to understand it through its thermodynamic definition.

For a reversible transfer of heat at absolute temperature TTT,

dS=δQrevT.dS=\frac{\delta Q_{\mathrm{rev}}}{T}.dS=TδQrev​​.

For a phase change at constant temperature,

ΔS=QrevT=±mLT,\Delta S=\frac{Q_{\mathrm{rev}}}{T} =\pm\frac{mL}{T},ΔS=TQrev​​=±TmL​,

where mmm is the mass and LLL is the latent heat per unit mass. The sign is positive when the system absorbs heat, as in melting or vaporization, and negative when it releases heat, as in freezing or condensation.

If a substance of mass mmm has constant specific heat capacity sss while its temperature changes from T1T_1T1​ to T2T_2T2​, then

ΔS=msln⁡ ⁣(T2T1).\Delta S=ms\ln\!\left(\frac{T_2}{T_1}\right).ΔS=msln(T1​T2​​).

Equivalently,

ΔS=2.303 mslog⁡10 ⁣(T2T1).\Delta S=2.303\,ms\log_{10}\!\left(\frac{T_2}{T_1}\right).ΔS=2.303mslog10​(T1​T2​​).

Temperatures in entropy and thermal-efficiency formulas must be absolute temperatures. For an isolated system, the Second Law states that total entropy does not decrease: it increases for irreversible processes and remains constant for an ideal reversible process. This directionality gives macroscopic physical processes an arrow of time.


Reference summary of ideal-gas processes

Isothermal

  • Held constant: Temperature, TTT

  • Process relation: PV=constantPV=\text{constant}PV=constant

  • Internal-energy change: ΔU=0\Delta U=0ΔU=0 for an ideal gas

  • First Law: Q=WQ=WQ=W

Adiabatic

  • Held constant: Heat transfer is zero, Q=0Q=0Q=0

  • Process relation: PVγ=constantPV^\gamma=\text{constant}PVγ=constant

  • First Law: ΔU=−W\Delta U=-WΔU=−W

Isobaric

  • Held constant: Pressure, PPP

  • Process relation: V/T=constantV/T=\text{constant}V/T=constant

  • Work: W=PΔVW=P\Delta VW=PΔV

  • Heat-capacity relation: CP−CV=RC_P-C_V=RCP​−CV​=R for molar heat capacities

Isochoric

  • Held constant: Volume, VVV

  • Process relation: P/T=constantP/T=\text{constant}P/T=constant

  • Work: W=0W=0W=0

  • First Law: Q=ΔUQ=\Delta UQ=ΔU

Cyclic

  • Defining feature: The system returns to its initial state

  • Net internal-energy change: ΔUcycle=0\Delta U_{\text{cycle}}=0ΔUcycle​=0

  • First Law: Qnet=WnetQ_{\text{net}}=W_{\text{net}}Qnet​=Wnet​

  • Net work: Equal to the area enclosed by the cycle on a PPP–VVV diagram


Heat engines and thermal efficiency

A heat engine is a device that operates in a cycle, absorbs heat from a hot source, produces net work, and rejects some heat to a colder sink. Let Q1Q_1Q1​ denote the magnitude of heat absorbed from the hot reservoir and Q2Q_2Q2​ the magnitude of heat rejected to the cold reservoir. Over a complete cycle,

W=Q1−Q2.W=Q_1-Q_2.W=Q1​−Q2​.

The thermal efficiency is the work output divided by the heat input:

η=WQ1=1−Q2Q1.\eta=\frac{W}{Q_1} =1-\frac{Q_2}{Q_1}.η=Q1​W​=1−Q1​Q2​​.

Because the Second Law requires some heat to be rejected, an engine cannot attain 100%100\%100% efficiency.

Engines are commonly grouped by where combustion occurs:

  • External-combustion engines: Fuel burns outside the main working body, as in a steam engine. Practical efficiencies are often around 12%12\%12%–16%16\%16%.

  • Internal-combustion engines: Fuel burns inside the engine, as in petrol and diesel engines. Representative practical efficiencies are about 26%26\%26% for petrol engines and 40%40\%40% for diesel engines.

Real engines fall well below ideal limits because of friction, heat leakage, and combustion that takes place in finite time.


The Carnot cycle and maximum efficiency

A Carnot engine is an ideal, reversible engine operating between a hot reservoir at absolute temperature T1T_1T1​ and a cold reservoir at absolute temperature T2T_2T2​, with T1>T2T_1>T_2T1​>T2​. Its cycle consists of four quasi-static processes:

  1. Isothermal expansion at T1T_1T1​: The engine absorbs heat from the hot reservoir. For an ideal gas, internal energy remains constant during this isothermal step.

  2. Adiabatic expansion: No heat enters or leaves. The gas does work and cools until it reaches T2T_2T2​.

  3. Isothermal compression at T2T_2T2​: Heat is rejected to the cold reservoir. For an ideal gas, internal energy remains constant during this isothermal step.

  4. Adiabatic compression: No heat enters or leaves. Work is done on the gas, raising its temperature back to T1T_1T1​.

Because the cycle is reversible, the heat absorbed and rejected satisfy

Q2Q1=T2T1.\frac{Q_2}{Q_1}=\frac{T_2}{T_1}.Q1​Q2​​=T1​T2​​.

Substituting this ratio into the efficiency formula gives the Carnot efficiency:

ηCarnot=1−T2T1.\eta_{\mathrm{Carnot}}=1-\frac{T_2}{T_1}.ηCarnot​=1−T1​T2​​.

Carnot’s theorem establishes two important results:

  • No engine working between the same two reservoir temperatures can be more efficient than a reversible Carnot engine.

  • All reversible engines working between the same two temperatures have the same efficiency, regardless of the working substance.

The only way to raise the ideal maximum efficiency is to increase the temperature difference between the hot source and cold sink—for example, by increasing T1T_1T1​ or decreasing T2T_2T2​. The choice of working substance does not alter the Carnot limit.


Refrigerators and heat pumps

A refrigerator is a heat engine operated in reverse. It uses external work to extract heat from a cold reservoir and transfer it to a warmer one. If Q2Q_2Q2​ is the heat extracted from the cold reservoir, Q1Q_1Q1​ is the heat delivered to the hot reservoir, and WWW is the work supplied, then

Q1=Q2+W.Q_1=Q_2+W.Q1​=Q2​+W.

A heat pump uses the same kind of device; the difference is which effect is considered useful. A refrigerator is valued for cooling the cold space, whereas a heat pump is valued for warming the space receiving the rejected heat.

The coefficient of performance for a refrigerator is

β=Q2W=Q2Q1−Q2.\beta=\frac{Q_2}{W} =\frac{Q_2}{Q_1-Q_2}.β=WQ2​​=Q1​−Q2​Q2​​.

For a reversible refrigerator operating between reservoirs at T1T_1T1​ and T2T_2T2​, where T1>T2T_1>T_2T1​>T2​,

βCarnot=T2T1−T2.\beta_{\mathrm{Carnot}}=\frac{T_2}{T_1-T_2}.βCarnot​=T1​−T2​T2​​.

A refrigerator’s coefficient of performance can exceed 111 because it measures heat moved from the cold reservoir per unit of work supplied; it is not a heat-engine efficiency. For a heat engine and refrigerator operating between the same two reservoirs, their ideal measures are related by

β=1−ηη.\beta=\frac{1-\eta}{\eta}.β=η1−η​.

The Second Law still imposes a maximum coefficient of performance, given by the reversible Carnot value.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent