Jump to content

Exact differential: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
GreyDuvet (talk | contribs)
m Thermodynamic state function: Copyediting to remove parenthetical expressions so the text is easier to read
m Integral path independence: correct parentheses
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Short description|Type of infinitesimal in calculus}}
{{about| the concept from elementary [[differential calculus]]| the generalized advanced mathematical concept from [[differential topology]] and [[differential geometry]] | closed and exact differential forms}}
{{about| the concept from elementary [[differential calculus]]| the generalized advanced mathematical concept from [[differential topology]] and [[differential geometry]] | closed and exact differential forms}}


In [[multivariate calculus]], a [[differential (infinitesimal)|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 <math>dQ</math> for some [[differentiable function]]&nbsp;<math>Q</math> in an [[Orthogonal coordinates|orthogonal coordinate system]].<ref name=":0" />
In [[multivariate calculus]], a [[differential (infinitesimal)|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 <math>dQ</math> for some [[differentiable function]]&nbsp;<math>Q</math> in an [[Orthogonal coordinates|orthogonal coordinate system]] (hence <math>Q</math> is a multivariable function [[Dependent and independent variables#In pure mathematics|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]].
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 [[Conservative vector field#Path independence|path-independent]], and this fact is used to identify [[State function|state functions]] in [[thermodynamics]].
The integral of an exact differential over any integral path is [[Conservative vector field#Path independence|path-independent]], and this fact is used to identify [[state function]]s in [[thermodynamics]].


==Overview==
==Overview==
Line 18: Line 19:
:<math> dQ \equiv \left ( \frac{\partial Q}{\partial x} \right )_{y,z} \, dx + \left ( \frac{\partial Q}{\partial y} \right )_{x,z} \, dy + \left ( \frac{\partial Q}{\partial z} \right )_{x,y} \, dz,</math> {{pad|3em}} <math>dQ = A \, dx + B \, dy + C \, dz</math>
:<math> dQ \equiv \left ( \frac{\partial Q}{\partial x} \right )_{y,z} \, dx + \left ( \frac{\partial Q}{\partial y} \right )_{x,z} \, dy + \left ( \frac{\partial Q}{\partial z} \right )_{x,y} \, dz,</math> {{pad|3em}} <math>dQ = A \, dx + B \, dy + C \, dz</math>


throughout <math>D</math>, where <math>x,y,z</math> are [[orthogonal coordinates]] (e.g., [[Cartesian coordinate system|Cartesian]], [[cylindrical]], or [[Spherical coordinate system|spherical coordinates]]).<ref name=":0">Need to verify if exact differentials in non-orthogonal coordinate systems can also be defined.</ref> 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.
throughout <math>D</math>, where <math>x,y,z</math> are [[orthogonal coordinates]] (e.g., [[Cartesian coordinate system|Cartesian]], [[cylindrical]], or [[Spherical coordinate system|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.
::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 ===
=== Integral path independence ===
The exact differential for a differentiable scalar function <math>Q</math> defined in an open domain <math>D \subset \mathbb{R}^n</math> is equal to <math>dQ = \nabla Q \cdot d \mathbf{r}</math>, where <math>\nabla Q</math> is the [[gradient]] of <math>Q</math>, <math>\cdot</math> represents the [[Dot product|scalar product]], and <math>d \mathbf{r}</math> is the general differential displacement vector, if an orthogonal coordinate system is used. If <math> Q</math> is of differentiability class <math>C^1</math> ([[Smoothness#Multivariate differentiability classes|continuously differentiable]]), then <math>\nabla Q</math> is a [[conservative vector field]] for the corresponding potential <math>Q</math> by the definition. For three dimensional spaces, expressions such as <math>d \mathbf{r} = (dx, dy, dz)</math> and <math>\nabla Q = (\frac{\partial Q}{\partial x}, \frac{\partial Q}{\partial y},\frac{\partial Q}{\partial z})</math> can be made.
The exact differential for a differentiable scalar function <math>Q</math> defined in an open domain <math>D \subset \mathbb{R}^n</math> is equal to <math>dQ = \nabla Q \cdot d \mathbf{r}</math>, where <math>\nabla Q</math> is the [[gradient]] of <math>Q</math>, <math>\cdot</math> represents the [[Dot product|scalar product]], and <math>d \mathbf{r}</math> is the general differential displacement vector, if an orthogonal coordinate system is used. If <math> Q</math> is of differentiability class <math>C^1</math> ([[Smoothness#Multivariate differentiability classes|continuously differentiable]]), then <math>\nabla Q</math> is a [[conservative vector field]] for the corresponding potential <math>Q</math> by the definition. For three dimensional spaces, expressions such as <math>d \mathbf{r} = (dx, dy, dz)</math> and <math>\nabla Q = \left(\frac{\partial Q}{\partial x}, \frac{\partial Q}{\partial y},\frac{\partial Q}{\partial z}\right)</math> can be made.


The [[gradient theorem]] states
The [[gradient theorem]] states
Line 34: Line 35:


:<math>\oint _{\partial \Sigma }\nabla Q \cdot d \mathbf {r} = \iint _{\Sigma }(\nabla \times \nabla Q)\cdot d \mathbf {a} = 0</math>
:<math>\oint _{\partial \Sigma }\nabla Q \cdot d \mathbf {r} = \iint _{\Sigma }(\nabla \times \nabla Q)\cdot d \mathbf {a} = 0</math>
for a simply closed loop <math>\partial \Sigma</math> with the smooth oriented surface <math>\Sigma</math> in it. If the open domain <math>D</math> is [[Simply connected space|simply connected open space]] (roughly speaking, a single piece open space without a hole within it), then any irrotational vector field (defined as a <math>C^1</math> vector field <math>\mathbf{v}</math> which curl is zero, i.e., <math>\nabla \times \mathbf{v} = \mathbf{0}</math>) has the path independence by the Stokes' theorem, so the following statement is made; ''In a simply connected open region, any'' <math>C^1</math> ''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 [[Conservative vector field#Path independence and conservative vector field|here]].
for a simply closed loop <math>\partial \Sigma</math> with the smooth oriented surface <math>\Sigma</math> in it. If the open domain <math>D</math> is [[Simply connected space|simply connected open space]] (roughly speaking, a single piece open space without a hole within it), then any irrotational vector field (defined as a <math>C^1</math> vector field <math>\mathbf{v}</math> which curl is zero, i.e., <math>\nabla \times \mathbf{v} = \mathbf{0}</math>) has the path independence by the Stokes' theorem, so the following statement is made; ''In a simply connected open region, any'' <math>C^1</math> ''vector field that has the path-independence property (so it is a conservative vector field.) must also be irrotational and vice versa.'' The equality of the path independence and conservative vector fields is shown [[Conservative vector field#Path independence and conservative vector field|here]].


==== Thermodynamic state function ====
==== Thermodynamic state function ====
Line 49: Line 50:
: <math>\frac{\partial ^2 Q}{\partial x \, \partial y} = \frac{\partial ^2 Q}{\partial y \, \partial x}.</math>
: <math>\frac{\partial ^2 Q}{\partial x \, \partial y} = \frac{\partial ^2 Q}{\partial y \, \partial x}.</math>


Hence, in a [[simply-connected]] region ''R'' of the ''xy''-plane, where <math>x,y</math> are independent,<ref name=":0">If the pair of independent variables <math>(x,y)</math> is a (locally reversible) function of dependent variables <math>(u,v)</math>, all that is needed for the following theorem to hold, is to replace the partial derivatives with respect to <math>x</math> or to <math>y</math>, by the partial derivatives with respect to <math>u</math> and to <math>v</math> involving their [[Jacobian]] components. That is: <math>A(u, v)du + B(u, v)dv,</math> is an exact differential, if and only if: <math>\frac{\partial A}{\partial u}\frac{\partial u}{\partial y} + \frac{\partial A}{\partial v}\frac{\partial v}{\partial y} = \frac{\partial B}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial B}{\partial v}\frac{\partial v}{\partial x}.</math></ref> a differential form
Hence, in a [[simply-connected]] region ''R'' of the ''xy''-plane, a differential form


:<math>A(x, y)\,dx + B(x, y)\,dy</math>
:<math>A(x, y)\,dx + B(x, y)\,dy</math>
Line 83: Line 84:
:<math>d z = \left [ {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial y} \right )}_z + {\left ( \frac{\partial z}{\partial y} \right )}_x \right ] d y + {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial z} \right )}_y dz,</math>
:<math>d z = \left [ {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial y} \right )}_z + {\left ( \frac{\partial z}{\partial y} \right )}_x \right ] d y + {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial z} \right )}_y dz,</math>
:<math>\left [ 1 - {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial z} \right )}_y \right ] dz = \left [ {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial y} \right )}_z + {\left ( \frac{\partial z}{\partial y} \right )}_x \right ] d y.</math>
:<math>\left [ 1 - {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial z} \right )}_y \right ] dz = \left [ {\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial y} \right )}_z + {\left ( \frac{\partial z}{\partial y} \right )}_x \right ] d y.</math>
Since <math>y</math> and <math>z</math> are independent variables, <math>d y</math> and <math>d z</math> may be chosen without restriction. For this last equation to generally hold, the bracketed terms must be equal to zero.<ref name="Cengel1998">{{cite book|last=Çengel|first=Yunus A.|title=Thermodynamics - An Engineering Approach|author2=Boles, Michael A.|last3=Kanoğlu|first3=Mehmet|publisher=McGraw-Hill Education|year=2019|isbn=978-1-259-82267-4|edition=9th|location=New York|pages=647-648|language=English|chapter=Thermodynamics Property Relations|orig-year=1989}}</ref> 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.
Since <math>y</math> and <math>z</math> are independent variables, <math>d y</math> and <math>d z</math> may be chosen without restriction. For this last equation to generally hold, the bracketed terms must be equal to zero.<ref name="Cengel1998">{{cite book|last=Çengel|first=Yunus A.|title=Thermodynamics - An Engineering Approach|author2=Boles, Michael A.|last3=Kanoğlu|first3=Mehmet|publisher=McGraw-Hill Education|year=2019|isbn=978-1-259-82267-4|edition=9th|location=New York|pages=647–648|language=English|chapter=Thermodynamics Property Relations|orig-year=1989}}</ref> 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===
===Reciprocity relation===

Latest revision as of 02:29, 9 December 2024

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 for some differentiable function  in an orthogonal coordinate system (hence 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

[edit]

Definition

[edit]

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

is called a differential form. This form is called exact on an open domain in space if there exists some differentiable scalar function defined on such that

 

throughout , where 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

[edit]

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

The gradient theorem states

that does not depend on which integral path between the given path endpoints and 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 defined on an open domain is of differentiability class (equivalently is of ), then this integral path independence can also be proved by using the vector calculus identity and the Stokes' theorem.

for a simply closed loop with the smooth oriented surface in it. If the open domain 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 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 vector field that has the path-independence property (so it is a conservative vector field.) must also be irrotational and vice versa. The equality of the path independence and conservative vector fields is shown here.

Thermodynamic state function

[edit]

In thermodynamics, when is exact, the function 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 , Entropy , Enthalpy , Helmholtz free energy , and Gibbs free energy are state functions. Generally, neither work nor heat is a state function. (Note: 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

[edit]

In one dimension, a differential form

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

Two and three dimensions

[edit]

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

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

is an exact differential if and only if the equation

holds. If it is an exact differential so and , then is a differentiable (smoothly continuous) function along and , so . If holds, then and are differentiable (again, smoothly continuous) functions along and respectively, and is only the case.

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

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

; ; 

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 ) to satisfy.

Partial differential relations

[edit]

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

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

Since and are independent variables, and 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

[edit]

Setting the first term in brackets equal to zero yields

A slight rearrangement gives a reciprocity relation,

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

Cyclic relation

[edit]

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

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

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

Some useful equations derived from exact differentials in two dimensions

[edit]

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

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

but also by the chain rule:

and

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

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

Letting in (5) gives:

Letting in (5) gives:

Letting and in (7) gives:

using ( gives the triple product rule:

See also

[edit]

References

[edit]
  1. ^ If the pair of independent variables is a (locally reversible) function of dependent variables , all that is needed for the following theorem to hold, is to replace the partial derivatives with respect to or to , by the partial derivatives with respect to and to involving their Jacobian components. That is: is an exact differential, if and only if:
  2. ^ Çengel, Yunus A.; Boles, Michael A.; Kanoğlu, Mehmet (2019) [1989]. "Thermodynamics Property Relations". Thermodynamics - An Engineering Approach (9th ed.). New York: McGraw-Hill Education. pp. 647–648. ISBN 978-1-259-82267-4.
[edit]