State Variables and Functions

College Depth 94 in the knowledge graph I know this Set as goal
Unlocks 6 downstream topics
properties functions path-independence

Core Idea

State variables (or state functions) are properties that depend only on the current state of a system, not on how it reached that state—examples include temperature, pressure, volume, and entropy. They uniquely determine the thermodynamic state of a system and can be written as mathematical functions of other state variables. The existence of state functions is what allows thermodynamics to be a predictive science despite path-dependent processes.

How It's Best Learned

Compare paths between two states: different heating/cooling paths that yield the same ΔU or ΔS, versus paths that give different Q or W. Plot processes on P-V diagrams.

Common Misconceptions

Explainer

From your study of thermodynamic processes, you learned to describe what happens to a gas along specific paths: isothermal, adiabatic, isobaric, and isochoric. Each process traces a different curve on the P-V diagram between two states. Now step back from the paths and ask: what is special about the endpoints themselves? Two states are connected by infinitely many different paths — you could heat the gas at constant pressure, then cool it at constant volume to reach the same final (P, V, T). The heat transferred Q and work done W differ along each path. But the internal energy change ΔU = Q − W is the same regardless of path. Internal energy U is a state function — it depends only on which state the system is in, not on the history of how it got there.

A state function can always be written as a function of other state variables: U = U(T, V) for an ideal gas, or more generally U = U(T, V, n, …). The defining mathematical property is that its differential dU is exact — the integral ∫dU between two states gives the same result no matter which path you integrate along. Geometrically, if you return to the original state by any closed path, the net change is zero: ∮dU = 0. Temperature T, pressure P, volume V, entropy S, enthalpy H = U + PV, and Gibbs free energy G = H − TS are all state functions with this property. You can tabulate their values at each equilibrium state and use those tabulated values for any process, without caring how the system arrived at that state.

Contrast this with path functions Q (heat) and W (work). These are not properties of a state; they are properties of a process. You cannot say "the heat content of a gas at 300 K and 1 atm is X joules" — the gas has no stored Q. You can only say "during this particular process, Q joules flowed in." To see why this matters, consider two routes from state A to state B: isothermal expansion versus adiabatic expansion followed by isochoric heating. Each route has a different Q and a different W, but the same ΔU (first law). The function dQ is inexact — the integral ∫dQ depends on the path. Mathematically, inexact differentials are written with a bar through the d (đQ, đW) to signal they are not proper differentials of any function.

The practical power of state functions is enormous. Because ΔU, ΔH, and ΔS depend only on initial and final states, you can calculate them via any convenient hypothetical path — even one that would be physically unrealizable — as long as both endpoints are equilibrium states. This is the basis of Hess's law in chemistry (enthalpy of reaction is path-independent), of entropy calculations along reversible paths (even for irreversible processes), and of the entire framework of thermodynamic potentials. The existence of state functions is not obvious — it is a consequence of the First and Second Laws. The First Law guarantees U is a state function. The Second Law guarantees S is a state function. Without them, thermodynamics would be unable to make predictions about any process without tracking every intermediate step.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsCenter of MassConservation of Linear MomentumElastic CollisionsInelastic CollisionsCoefficient of RestitutionCollision Analysis and Real-World ApplicationsTwo-Body Collisions in the Center-of-Mass FrameReduced Mass and Two-Body ProblemsKinematics in Two DimensionsProjectile MotionCircular Motion: KinematicsRotational KinematicsTorqueMoment of InertiaRotational Kinetic EnergyThe Work-Energy TheoremConservation of Mechanical EnergyFirst Law of ThermodynamicsThermodynamic Processes and the PV DiagramState Variables and Functions

Longest path: 95 steps · 419 total prerequisite topics

Prerequisites (1)

Leads To (1)