A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

State Variables and Functions

College Depth 110 in the knowledge graph I know this Set as goal
526topics build on this
643prerequisites beneath it
See this on the map →
Thermodynamic Processes and the PV DiagramIntensive and Extensive PropertiesMaxwell Relations and Thermodynamic ConsistencyPath Functions versus State Functions
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

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication 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 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-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 IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionDouble 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 DiagramIntensive and Extensive PropertiesState Variables and Functions

Longest path: 111 steps · 643 total prerequisite topics

Prerequisites (2)

Leads To (2)