An exact differential is a differential form that can be written as the differential of a single-valued function on its entire domain. In several variables, an expression is exact if there is a function whose partial derivatives satisfy . Exactness connects differentiation with integration: integrating along a path gives the difference between the values of at the endpoints, independently of the path taken.
Definition and the total differential
Let be an open subset of Euclidean space , and let be continuously differentiable. Its total differential is
At a point , the differential is a linear functional on displacement vectors , given by
It describes the first-order change of :
Thus the differential is not generally identical to a finite change in the function; it is the linear part of that change.
Conversely, suppose a differential one-form is given:
It is exact on if there exists a globally defined function on such that
The function is called a potential or primitive. On a connected open domain it is unique up to an additive constant. On a disconnected domain, the constant may be chosen separately on each connected component.
“Total differential” and “exact differential” emphasize different questions. A total differential is constructed from a known function; exactness asks whether a given differential expression is the total differential of some function.
In one variable, this reduces to the familiar antiderivative problem. Every continuous expression on an interval has a primitive. In several variables, compatibility conditions and the shape of the domain become essential.
Path independence and closed-loop integrals
Let be a piecewise continuously differentiable curve. If , the chain rule gives
This is the line-integral form of the fundamental theorem of calculus. It has two immediate consequences:
The line integral depends only on the endpoints, not on the path.
The integral around every closed curve is zero:
Conversely, for a continuous one-form on a connected open subset of , path independence implies exactness. Fixing a base point , one defines
Path independence makes this definition unambiguous, and differentiation gives . Equivalently, exactness can be characterized by the vanishing of integrals around all piecewise smooth closed curves.
Using the Euclidean inner product, a form
corresponds to a vector field . Exactness then means
where is the gradient of a scalar potential.
The mixed-partial test
In two variables, write
with and continuously differentiable. If , then
Equality of the mixed partial derivatives therefore requires
In variables, the corresponding conditions are
Under the stated regularity assumptions, these conditions are necessary for exactness. They are sufficient locally, but not necessarily on the whole domain.
Closed versus exact forms
The exterior derivative expresses these compatibility conditions without choosing a particular coordinate system. In two variables,
A form is closed if . Since exterior differentiation satisfies
every sufficiently regular exact form is closed.
The converse depends on the domain:
- Every closed one-form is locally exact.
- On a star-shaped open domain, every closed one-form is globally exact.
- More generally, on a simply connected open domain, every closed one-form is exact.
Local exactness is an instance of the Poincaré lemma. A convex open domain is a particularly useful sufficient case, because it is star-shaped.
Thus the mixed-partial test must be used together with information about the domain. Equality of mixed partials alone does not establish global exactness.
A closed form that is not exact
On the punctured plane
consider
Its coefficients satisfy the mixed-partial conditions everywhere in , so it is closed.
However, along the counterclockwise unit circle
the pullback of is . Consequently,
The form cannot be exact on the entire punctured plane.
Locally it is the differential of an angle coordinate, . The obstruction is that no continuous, single-valued angle function exists on the whole punctured plane. Removing a suitable ray permits a branch of the angle and makes the restricted form exact.
This example shows how topology enters a differentiation problem: the local derivative conditions hold, but loops surrounding the missing point prevent a global potential.
Finding a potential
For an exact form in two variables, a potential can often be reconstructed by successive integration.
Consider
The mixed-partial test gives
The coefficients are defined on all of , so the form is exact. Integrating the first coefficient with respect to ,
where the “constant of integration” may depend on . Differentiation with respect to gives
Matching the second coefficient requires , hence
On a star-shaped domain, a potential can also be constructed by integrating along straight segments from a fixed point :
For a closed continuously differentiable one-form, differentiating this expression yields .
Exact differential equations and integrating factors
A first-order differential equation written as
is called exact when the form on the left is exact. If it equals , its solution curves lie in level sets
Where , such a level set can locally be expressed as a graph , satisfying
Critical points of require separate care because the level set may fail to be a regular curve there.
A nonexact equation may become exact after multiplication by a nonvanishing integrating factor . The condition is
In useful special cases:
An integrating factor depending only on can be found if
giving
An integrating factor depending only on can be found if
giving
These formulas apply on regions where the denominators are nonzero. They enforce closedness; global exactness still depends on the domain.
Differential-geometric generalization
On a smooth manifold, an exact one-form is again a form for a globally defined smooth function. At each point , acts on the tangent space at . This formulation does not require a preferred coordinate system or a metric.
The terminology extends to higher-degree forms: a -form , with , is exact if
for some -form . Exact forms are closed because , but closed forms need not be exact.
De Rham cohomology measures this difference:
For degree one, vanishing of this group means that every closed one-form has a global potential. The generalized Stokes' theorem relates these derivative conditions to integrals over boundaries.
Physical interpretation
In classical mechanics, a force with potential energy satisfies
Its work form is therefore exact:
Work between two points depends only on the endpoints. A local derivative test alone is insufficient to establish this globally if the accessible region has nontrivial topology.
In thermodynamics, a state function such as internal energy has an exact differential . Heat and work are process-dependent transfers and are conventionally written and , rather than as differentials of state functions. With work done by the system taken as positive, the first law is
For a reversible process,
where is thermodynamic entropy and is absolute temperature. Here acts as an integrating factor for reversible heat, illustrating how a path-dependent transfer can be related to an exact state differential.