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

Exact and Inexact Differentials

College Depth 112 in the knowledge graph I know this Set as goal
447topics build on this
645prerequisites beneath it
See this on the map →
Path Functions versus State FunctionsPartial Derivatives: Definition and ComputationLegendre Transformations and Thermodynamic PotentialsMaxwell Relations and Thermodynamic Consistency
mathematics differentials path-dependence

Core Idea

An exact differential dZ represents a state function—integrating it between two states always yields the same result regardless of path, symbolized by the line integral ∮ dZ = 0 around any closed path. An inexact differential đQ (heat) or đW (work) depends on the path taken and cannot be written as a state function differential; this is indicated by the bar through the d. Recognizing which differentials are exact is essential for identifying which quantities are state functions.

How It's Best Learned

Test exactness using the condition ∂M/∂y = ∂N/∂x for a differential M dx + N dy. Apply to internal energy and heat in simple thermodynamic processes.

Common Misconceptions

Explainer

In calculus you learned to write the differential of a function F(x,y) as dF = (∂F/∂x)dx + (∂F/∂y)dy. The key property is that dF is exact: integrating it between two points gives F(final) − F(initial), regardless of the path taken. Thermodynamics forces you to confront differentials that do not have this property — quantities like heat and work that depend on *how* you get from state A to state B, not just on where A and B are. The mathematical distinction between exact and inexact differentials is therefore not abstract: it is the formal expression of the difference between state functions and path functions.

A general differential expression M(x,y)dx + N(x,y)dy is exact if and only if ∂M/∂y = ∂N/∂x — the cross-partial derivatives must be equal. This is the exactness criterion (also called the integrability condition). When it holds, there exists a potential function F such that M = ∂F/∂x and N = ∂F/∂y, and the integral along any path between the same two endpoints gives the same result. When it fails, no such potential function exists, and different paths between the same two states give different integral values. The closed-path integral ∮ M dx + N dy equals zero for exact differentials and is generally nonzero for inexact ones.

In thermodynamics, internal energy U is a state function, so dU is exact: the change in U between two equilibrium states is path-independent. But the heat absorbed đQ and the work done đW in a process depend entirely on the specific path — compress a gas quickly (adiabatically) versus slowly (isothermally) and you do different amounts of work even though the initial and final states are identical. This is why thermodynamics uses the special notation đQ and đW (with a bar through the d): to signal that these are inexact differentials, not derivatives of a state function called Q or W (no such function exists in general). The first law dU = đQ − đW is an equation relating three differentials: one exact (dU) and two inexact (đQ, đW) whose difference happens to be exact.

The exactness condition has profound consequences. Starting from dU = T dS − P dV, you can apply the cross-partial condition (∂T/∂V)_S = −(∂P/∂S)_V. This is a Maxwell relation — one of four that emerge from requiring the mixed partials of U, H, F, and G to be equal. The entire machinery of Maxwell relations is simply the exactness condition applied to thermodynamic potentials. The most fundamental application is entropy itself: the inexact differential đQ_rev becomes exact when divided by T, yielding the exact differential dS = đQ_rev/T. An integrating factor (here, 1/T) converts an inexact differential into an exact one — and the fact that such a factor exists for reversible heat is the mathematical content of the second law.

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 FunctionsExact and Inexact Differentials

Longest path: 113 steps · 645 total prerequisite topics

Prerequisites (2)

Leads To (2)