Exact differential

From HandWiki
Short description: Type of infinitesimal in calculus


In multivariate calculus, a differential or differential form is said to be exact or perfect (exact differential), as contrasted with an inexact differential, if it is equal to the general differential dQ for some differentiable function Q in an orthogonal coordinate system (hence Q is a multivariable function whose variables are independent, as they are always expected to be when treated in multivariable calculus).

An exact differential is sometimes also called a total differential, or a full differential, or, in the study of differential geometry, it is termed an exact form.

The integral of an exact differential over any integral path is path-independent, and this fact is used to identify state functions in thermodynamics.

Overview

Definition

Even if we work in three dimensions here, the definitions of exact differentials for other dimensions are structurally similar to the three dimensional definition. In three dimensions, a form of the type

A(x,y,z)dx+B(x,y,z)dy+C(x,y,z)dz

is called a differential form. This form is called exact on an open domain D3 in space if there exists some differentiable scalar function Q=Q(x,y,z) defined on D such that

dQ(Qx)y,zdx+(Qy)x,zdy+(Qz)x,ydz,   dQ=Adx+Bdy+Cdz

throughout D, where x,y,z are orthogonal coordinates (e.g., Cartesian, cylindrical, or spherical coordinates). In other words, in some open domain of a space, a differential form is an exact differential if it is equal to the general differential of a differentiable function in an orthogonal coordinate system.

Note: In this mathematical expression, the subscripts outside the parenthesis indicate which variables are being held constant during differentiation. Due to the definition of the partial derivative, these subscripts are not required, but they are explicitly shown here as reminders.

Integral path independence

The exact differential for a differentiable scalar function Q defined in an open domain Dn is equal to dQ=Qd𝐫, where Q is the gradient of Q, represents the scalar product, and d𝐫 is the general differential displacement vector, if an orthogonal coordinate system is used. If Q is of differentiability class C1 (continuously differentiable), then Q is a conservative vector field for the corresponding potential Q by the definition. For three dimensional spaces, expressions such as d𝐫=(dx,dy,dz) and Q=(Qx,Qy,Qz) can be made.

The gradient theorem states

ifdQ=ifQ(𝐫)d𝐫=Q(f)Q(i)

that does not depend on which integral path between the given path endpoints i and f is chosen. So it is concluded that the integral of an exact differential is independent of the choice of an integral path between given path endpoints (path independence).

For three dimensional spaces, if Q defined on an open domain D3 is of differentiability class C1 (equivalently Q is of C2), then this integral path independence can also be proved by using the vector calculus identity ×(Q)=𝟎 and the Stokes' theorem.

ΣQd𝐫=Σ(×Q)d𝐚=0

for a simply closed loop Σ with the smooth oriented surface Σ in it. If the open domain D is simply connected open space (roughly speaking, a single piece open space without a hole within it), then any irrotational vector field (defined as a C1 vector field 𝐯 which curl is zero, i.e., ×𝐯=𝟎) has the path independence by the Stokes' theorem, so the following statement is made; In a simply connected open region, any C1 vector field that has the path-independence property (so it is a conservative vector field.) must also be irrotational and vise versa. The equality of the path independence and conservative vector fields is shown here.

Thermodynamic state function

In thermodynamics, when dQ is exact, the function Q is a state function of the system: a mathematical function which depends solely on the current equilibrium state, not on the path taken to reach that state. Internal energy U, Entropy S, Enthalpy H, Helmholtz free energy A, and Gibbs free energy G are state functions. Generally, neither work W nor heat Q is a state function. (Note: Q is commonly used to represent heat in physics. It should not be confused with the use earlier in this article as the parameter of an exact differential.)

One dimension

In one dimension, a differential form

A(x)dx

is exact if and only if A has an antiderivative (but not necessarily one in terms of elementary functions). If A has an antiderivative and let Q be an antiderivative of A so dQdx=A, then A(x)dx obviously satisfies the condition for exactness. If A does not have an antiderivative, then we cannot write dQ=dQdxdx with A=dQdx for a differentiable function Q so A(x)dx is inexact.

Two and three dimensions

By symmetry of second derivatives, for any "well-behaved" (non-pathological) function Q, we have

2Qxy=2Qyx.

Hence, in a simply-connected region R of the xy-plane, where x,y are independent,[1] a differential form

A(x,y)dx+B(x,y)dy

is an exact differential if and only if the equation

(Ay)x=(Bx)y

holds. If it is an exact differential so A=Qx and B=Qy, then Q is a differentiable (smoothly continuous) function along x and y, so (Ay)x=2Qyx=2Qxy=(Bx)y. If (Ay)x=(Bx)y holds, then A and B are differentiable (again, smoothly continuous) functions along y and x respectively, and (Ay)x=2Qyx=2Qxy=(Bx)y is only the case.

For three dimensions, in a simply-connected region R of the xyz-coordinate system, by a similar reason, a differential

dQ=A(x,y,z)dx+B(x,y,z)dy+C(x,y,z)dz

is an exact differential if and only if between the functions A, B and C there exist the relations

(Ay)x,z=(Bx)y,z; (Az)x,y=(Cx)y,z; (Bz)x,y=(Cy)x,z.

These conditions are equivalent to the following sentence: If G is the graph of this vector valued function then for all tangent vectors X,Y of the surface G then s(XY) = 0 with s the symplectic form.

These conditions, which are easy to generalize, arise from the independence of the order of differentiations in the calculation of the second derivatives. So, in order for a differential dQ, that is a function of four variables, to be an exact differential, there are six conditions (the combination C(4,2)=6) to satisfy.

Partial differential relations

If a differentiable function z(x,y) is one-to-one (injective) for each independent variable, e.g., z(x,y) is one-to-one for x at a fixed y while it is not necessarily one-to-one for (x,y), then the following total differentials exist because each independent variable is a differentiable function for the other variables, e.g., x(y,z).

dx=(xy)zdy+(xz)ydz
dz=(zx)ydx+(zy)xdy.

Substituting the first equation into the second and rearranging, we obtain

dz=(zx)y[(xy)zdy+(xz)ydz]+(zy)xdy,
dz=[(zx)y(xy)z+(zy)x]dy+(zx)y(xz)ydz,
[1(zx)y(xz)y]dz=[(zx)y(xy)z+(zy)x]dy.

Since y and z are independent variables, dy and dz may be chosen without restriction. For this last equation to generally hold, the bracketed terms must be equal to zero.[2] The left bracket equal to zero leads to the reciprocity relation while the right bracket equal to zero goes to the cyclic relation as shown below.

Reciprocity relation

Setting the first term in brackets equal to zero yields

(zx)y(xz)y=1.

A slight rearrangement gives a reciprocity relation,

(zx)y=1(xz)y.

There are two more permutations of the foregoing derivation that give a total of three reciprocity relations between x, y and z.

Cyclic relation

The cyclic relation is also known as the cyclic rule or the Triple product rule. Setting the second term in brackets equal to zero yields

(zx)y(xy)z=(zy)x.

Using a reciprocity relation for zy on this equation and reordering gives a cyclic relation (the triple product rule),

(xy)z(yz)x(zx)y=1.

If, instead, reciprocity relations for xy and yz are used with subsequent rearrangement, a standard form for implicit differentiation is obtained:

(yx)z=(zx)y(zy)x.

Some useful equations derived from exact differentials in two dimensions

(See also Bridgman's thermodynamic equations for the use of exact differentials in the theory of thermodynamic equations)

Suppose we have five state functions z,x,y,u, and v. Suppose that the state space is two-dimensional and any of the five quantities are differentiable. Then by the chain rule

dz=(zx)ydx+(zy)xdy=(zu)vdu+(zv)udv

 

 

 

 

(1)

but also by the chain rule:

dx=(xu)vdu+(xv)udv

 

 

 

 

(2)

and

dy=(yu)vdu+(yv)udv

 

 

 

 

(3)

so that (by substituting (2) and (3) into (1)):

dz=[(zx)y(xu)v+(zy)x(yu)v]du+[(zx)y(xv)u+(zy)x(yv)u]dv

 

 

 

 

(4)

which implies that (by comparing (4) with (1)):

(zu)v=(zx)y(xu)v+(zy)x(yu)v

 

 

 

 

(5)

Letting v=y in (5) gives:

(zu)y=(zx)y(xu)y

 

 

 

 

(6)

Letting u=y in (5) gives:

(zy)v=(zx)y(xy)v+(zy)x

 

 

 

 

(7)

Letting u=y and v=z in (7) gives:

(zy)x=(zx)y(xy)z

 

 

 

 

(8)

using (a/b)c=1/(b/a)c gives the triple product rule:

(zx)y(xy)z(yz)x=1

 

 

 

 

(9)

See also

References

  1. If the pair of independent variables (x,y) is a (locally reversible) function of dependent variables (u,v), all that is needed for the following theorem to hold, is to replace the partial derivatives with respect to x or to y, by the partial derivatives with respect to u and to v involving their Jacobian components. That is: A(u,v)du+B(u,v)dv, is an exact differential, if and only if: Auuy+Avvy=Buux+Bvvx.
  2. Çengel, Yunus A.; Boles, Michael A.; Kanoğlu, Mehmet (2019). "Thermodynamics Property Relations" (in English). Thermodynamics - An Engineering Approach (9th ed.). New York: McGraw-Hill Education. pp. 647-648. ISBN 978-1-259-82267-4.