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 Computation→→Legendre 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 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 → Exact and Inexact Differentials

Longest path: 113 steps · 645 total prerequisite topics

Prerequisites (2)

Leads To (2)