Skip to content

1. Path and State Variables

Why Thermodynamics Needs Both State and Path Functions
Watch on YouTube

Why Thermodynamics Needs Both State and Path Functions

⏱ 16:40YouTube 4K / 1080p

1. The Core Dilemma: Hidden Internal Energy

Section titled “1. The Core Dilemma: Hidden Internal Energy”

We cannot directly place a sensor inside a gas to count the kinetic and potential energies of 102310^{23} molecules. Instead, thermodynamics relies on an ingenious dual system:

  • State Functions (U,H,S,G,T,P,VU, H, S, G, T, P, V): Depend solely on the current equilibrium state of the system, independent of how it got there.
  • Path Functions (w,qw, q): Depend entirely on the specific trajectory taken through state space.
ΔU=q+w\Delta U = q + w

While internal energy change ΔU\Delta U is path-independent, the split between heat qq and work ww varies with every path!


The defining mathematical test of a state function is that its cyclic integral around any closed loop is identically zero:

∮dU=0,∮dH=0\oint dU = 0, \quad \oint dH = 0

However, for path-dependent quantities like work and heat, the cyclic integral represents the net work produced or absorbed by the engine:

∮dw=wnet≠0,∮dq=qnet≠0\oint dw = w_{\text{net}} \neq 0, \quad \oint dq = q_{\text{net}} \neq 0

This non-zero cyclic area in PP-VV indicator diagrams is what allows heat engines to power civilization.


To tabulate hidden state functions, we force systems through constrained paths where path functions become exact:

  1. Constant Volume (dV=0dV = 0): Since dw=−PextdV=0dw = -P_{ext} dV = 0: qV=ΔUq_V = \Delta U
  2. Constant Pressure (dP=0dP = 0): qP=ΔH=Δ(U+PV)q_P = \Delta H = \Delta(U + PV)

Problem 1: Cyclic Integral of an Ideal Gas Loop

An ideal gas undergoes a closed thermodynamic cycle returning to its initial state (P1,V1,T1)(P_1, V_1, T_1). What is the net change in internal energy ΔU\Delta U, and does the net work wnetw_{\text{net}} have to be zero?

💡 View Hint
Recall the First Law: \Delta U = q + w for a complete thermodynamic cycle.
📝 Worked Solution & Video Walkthrough

Because internal energy UU is a state function:

ΔUcycle=∮dU=0\Delta U_{\text{cycle}} = \oint dU = 0

By the First Law:

ΔU=qnet+wnet=0  ⟹  wnet=−qnet\Delta U = q_{\text{net}} + w_{\text{net}} = 0 \implies w_{\text{net}} = -q_{\text{net}}

The net work wnetw_{\text{net}} equals the enclosed area on the PP-VV diagram and is generally non-zero.