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

Path Functions versus State Functions

College Depth 111 in the knowledge graph I know this Set as goal
525topics build on this
644prerequisites beneath it
See this on the map →
First Law of ThermodynamicsState Variables and FunctionsExact and Inexact DifferentialsTypes of Work: Mechanical PdV and Beyond
first-law energy process-dependence

Core Idea

Heat and work are path functions—their values depend on the specific process (path) followed between two states, so ∫đQ and ∫đW must be specified for a particular path. State functions like internal energy, entropy, and enthalpy are path-independent, meaning their change ΔU, ΔS, ΔH depends only on initial and final states, not the route taken. The first law of thermodynamics relates these: ΔU = Q - W, combining a state function change with two path functions.

How It's Best Learned

Calculate Q and W for the same state change via different paths (isothermal vs. adiabatic, etc.). Verify that ΔU is path-independent while Q and W vary.

Common Misconceptions

Explainer

The distinction between state functions and path functions is one of the most conceptually important ideas in thermodynamics, and a clean analogy makes it intuitive: think of a hiker going from sea level to the top of a mountain. The altitude gain is a state function — it depends only on the starting and ending elevations, regardless of the route. The distance walked is a path function — it depends entirely on the route taken. A direct steep scramble and a long winding trail both end at the same altitude, but the hiker walks very different distances. In thermodynamics, internal energy U plays the role of altitude, and heat Q and work W play the role of distance walked.

From the first law, you know ΔU = Q − W. The left side, ΔU, is a state function: its value is completely determined by the initial and final thermodynamic states (temperature, pressure, volume), independent of how the system got from one to the other. The right side consists of two path functions. You can take a gas from state A (low T, low P) to state B (high T, high P) along infinitely many different paths — isothermal compression followed by heating at constant volume, or adiabatic compression followed by isobaric heating, or any combination. For each path, Q and W will differ. But ΔU will always be the same, because U depends only on the state. This is why we write the first law with δQ and δW (inexact differentials, path-dependent) but dU (an exact differential, path-independent).

A concrete numerical illustration cements this. Suppose a gas expands isothermally and reversibly from V₁ to V₂ at temperature T. The work done by the gas is W = nRT ln(V₂/V₁). For an ideal gas, U depends only on T, so ΔU = 0 for an isothermal process, and therefore Q = W — all the heat absorbed went into doing work. Now take the same gas through the same initial and final states, but via a free expansion into vacuum (irreversible). The gas does no work (W = 0) against the vacuum, and for an ideal gas in thermal isolation, no heat is exchanged (Q = 0). So Q and W are both zero — completely different from the isothermal case — yet ΔU = 0 in both cases. The state didn't change; only the path did.

Recognizing whether a quantity is a state or path function is a practical skill for every thermodynamic calculation. Entropy S, enthalpy H = U + PV, and Gibbs free energy G = H − TS are all state functions — their changes can be computed from initial and final states alone, and they can be used in cycle analyses where the system returns to its starting point. The fact that ΔG = 0 around any reversible cycle, for example, is central to chemical equilibrium. Heat and work, being path functions, cannot be used this way: you cannot define the "heat content" of a system in a given state, because the heat exchanged depends on how the system arrived there. The common misconception of treating "heat" as a stored quantity is precisely this error — treating a path function as if it were a state function.

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 FunctionsPath Functions versus State Functions

Longest path: 112 steps · 644 total prerequisite topics

Prerequisites (2)

Leads To (2)