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 Functions→→Exact 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 Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Center of Mass → Conservation of Linear Momentum → Elastic Collisions → Inelastic Collisions → Coefficient of Restitution → Collision Analysis and Real-World Applications → Two-Body Collisions in the Center-of-Mass Frame → Reduced Mass and Two-Body Problems → Kinematics in Two Dimensions → Projectile Motion → Circular Motion: Kinematics → Rotational Kinematics → Torque → Moment of Inertia → Rotational Kinetic Energy → The Work-Energy Theorem → Conservation of Mechanical Energy → First Law of Thermodynamics → Thermodynamic Processes and the PV Diagram → Intensive and Extensive Properties → State Variables and Functions → Path Functions versus State Functions

Longest path: 112 steps · 644 total prerequisite topics

Prerequisites (2)

Leads To (2)