Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Exact differential
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{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}} 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]] <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]]. 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== ===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 <math display="block"> A(x, y, z) \,dx + B(x, y, z) \,dy + C(x, y, z) \,dz </math> is called a [[differential form]]. This form is called ''exact'' on an open domain <math>D \subset \mathbb{R}^3</math> in space if there exists some [[Differentiable function|differentiable]] [[scalar function]] <math>Q = Q(x, y, z)</math> defined on <math>D</math> such that <math display="block"> 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, \quad 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]]). 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. The subscripts outside the parenthesis in the above mathematical expression 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 <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 :<math>\int _{i}^{f} dQ = \int _{i}^{f}\nabla Q (\mathbf {r} )\cdot d \mathbf {r} = Q \left(f \right) - Q \left(i \right)</math> that does not depend on which integral path between the given path endpoints <math>i</math> and <math>f</math> 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 [[Conservative vector field#Path independence|(path independence)]].'' For three dimensional spaces, if <math>\nabla Q</math> defined on an open domain <math>D \subset \mathbb{R}^3</math> is of [[Smoothness#Multivariate differentiability classes|differentiability class]] <math>C^1</math> (equivalently <math>Q</math> is of <math>C^2</math>), then this integral path independence can also be proved by using the [[Vector calculus identity#Curl of gradient is zero|vector calculus identity]] <math>\nabla \times ( \nabla Q ) = \mathbf{0}</math> and [[Stokes' theorem]]. :<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 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 ==== In [[thermodynamics]], when <math>dQ</math> is exact, the function <math>Q</math> is a [[state function]] of the system: a [[Function (mathematics)|mathematical function]] which depends solely on the current [[Thermodynamic equilibrium|equilibrium state]], not on the path taken to reach that state. [[Internal energy]] <math>U</math>, [[Entropy]] <math>S</math>, [[Enthalpy]] <math>H</math>, [[Helmholtz free energy]] <math>A</math>, and [[Gibbs free energy]] <math>G</math> are [[state function]]s. Generally, neither [[Work (thermodynamics)|work]] <math>W</math> nor [[heat]] <math>Q</math> is a state function. (Note: <math>Q</math> 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 :<math>A(x) \, dx</math> is exact [[if and only if]] <math>A</math> has an [[antiderivative]] (but not necessarily one in terms of elementary functions). If <math>A</math> has an antiderivative and let <math>Q</math> be an antiderivative of <math>A</math> so <math>\frac{dQ}{dx} = A</math>, then <math>A(x) \, dx</math> obviously satisfies the condition for exactness. If <math>A</math> does ''not'' have an antiderivative, then we cannot write <math>dQ = \frac{dQ}{dx}dx</math> with <math>A = \frac{dQ}{dx}</math> for a differentiable function <math>Q</math> so <math>A(x) \, dx</math> is inexact. ===Two and three dimensions=== By [[symmetry of second derivatives]], for any "well-behaved" (non-[[Pathological (mathematics)|pathological]]) function <math>Q</math>, we have : <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 :<math>A(x, y)\,dx + B(x, y)\,dy</math> is an exact differential if and only if the equation :<math>\left( \frac{\partial A}{\partial y} \right)_x = \left( \frac{\partial B}{\partial x} \right)_y</math> holds. If it is an exact differential so <math>A=\frac{\partial Q}{\partial x}</math> and <math>B=\frac{\partial Q}{\partial y}</math>, then <math>Q</math> is a differentiable (smoothly continuous) function along <math>x</math> and <math>y</math>, so <math>\left( \frac{\partial A}{\partial y} \right)_x = \frac{\partial ^2 Q}{\partial y \partial x} = \frac{\partial ^2 Q}{\partial x \partial y} = \left( \frac{\partial B}{\partial x} \right)_y</math>. If <math>\left( \frac{\partial A}{\partial y} \right)_x = \left( \frac{\partial B}{\partial x} \right)_y</math> holds, then <math>A</math> and <math>B</math> are differentiable (again, smoothly continuous) functions along <math>y</math> and <math>x</math> respectively, and <math>\left( \frac{\partial A}{\partial y} \right)_x = \frac{\partial ^2 Q}{\partial y \partial x} = \frac{\partial ^2 Q}{\partial x \partial y} = \left( \frac{\partial B}{\partial x} \right)_y</math> is only the case. For three dimensions, in a simply-connected region ''R'' of the ''xyz''-coordinate system, by a similar reason, a differential :<math>dQ = A(x, y, z) \, dx + B(x, y, z) \, dy + C(x, y, z) \, dz</math> is an exact differential if and only if between the functions ''A'', ''B'' and ''C'' there exist the relations :<math>\left( \frac{\partial A}{\partial y} \right)_{x,z} \!\!\!= \left( \frac{\partial B}{\partial x} \right)_{y,z}</math>''';''' <math>\left( \frac{\partial A}{\partial z} \right)_{x,y} \!\!\!= \left( \frac{\partial C}{\partial x} \right)_{y,z}</math>''';''' <math>\left( \frac{\partial B}{\partial z} \right)_{x,y} \!\!\!= \left( \frac{\partial C}{\partial y} \right)_{x,z}.</math> 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''(''X'', ''Y'') = 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]] <math>C(4,2)=6</math>) to satisfy. ==Partial differential relations== If a [[differentiable function]] <math>z(x,y)</math> is [[Injective function|one-to-one (injective)]] for each independent variable, e.g., <math>z(x,y)</math> is one-to-one for <math>x</math> at a fixed <math>y</math> while it is not necessarily one-to-one for <math>(x,y)</math>, then the following [[total differential]]s exist because each independent variable is a differentiable function for the other variables, e.g., <math>x(y,z)</math>. :<math>d x = {\left ( \frac{\partial x}{\partial y} \right )}_z \, d y + {\left ( \frac{\partial x}{\partial z} \right )}_y \,dz</math> :<math>d z = {\left ( \frac{\partial z}{\partial x} \right )}_y \, d x + {\left ( \frac{\partial z}{\partial y} \right )}_x \,dy.</math> Substituting the first equation into the second and rearranging, we obtain :<math>d z = {\left ( \frac{\partial z}{\partial x} \right )}_y \left [ {\left ( \frac{\partial x}{\partial y} \right )}_z d y + {\left ( \frac{\partial x}{\partial z} \right )}_y dz \right ] + {\left ( \frac{\partial z}{\partial y} \right )}_x dy,</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> 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=== Setting the first term in brackets equal to zero yields :<math>{\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial z} \right )}_y = 1.</math> A slight rearrangement gives a reciprocity relation, :<math>{\left ( \frac{\partial z}{\partial x} \right )}_y = \frac{1}{{\left ( \frac{\partial x}{\partial z} \right )}_y}.</math> There are two more [[permutations]] of the foregoing derivation that give a total of three reciprocity relations between <math>x</math>, <math>y</math> and <math>z</math>. ===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 :<math>{\left ( \frac{\partial z}{\partial x} \right )}_y {\left ( \frac{\partial x}{\partial y} \right )}_z = - {\left ( \frac{\partial z}{\partial y} \right )}_x.</math> Using a reciprocity relation for <math>\tfrac{\partial z}{\partial y}</math> on this equation and reordering gives a cyclic relation (the [[triple product rule]]), :<math>{\left ( \frac{\partial x}{\partial y} \right )}_z {\left ( \frac{\partial y}{\partial z} \right )}_x {\left ( \frac{\partial z}{\partial x} \right )}_y = -1.</math> If, ''instead'', reciprocity relations for <math>\tfrac{\partial x}{\partial y}</math> and <math>\tfrac{\partial y}{\partial z}</math> are used with subsequent rearrangement, a [[Implicit function#Formula for two variables|standard form for implicit differentiation]] is obtained: :<math>{\left ( \frac{\partial y}{\partial x} \right )}_z = - \frac { {\left ( \frac{\partial z}{\partial x} \right )}_y }{ {\left ( \frac{\partial z}{\partial y} \right )}_x }.</math> == 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 <math>z,x,y,u</math>, and <math>v</math>. Suppose that the state space is two-dimensional and any of the five quantities are differentiable. Then by the [[chain rule]] {{NumBlk|:|<math> dz = \left(\frac{\partial z}{\partial x}\right)_y dx+ \left(\frac{\partial z}{\partial y}\right)_x dy = \left(\frac{\partial z}{\partial u}\right)_v du +\left(\frac{\partial z}{\partial v}\right)_u dv </math>|{{EquationRef|1}}}} but also by the chain rule: {{NumBlk|:|<math> dx = \left(\frac{\partial x}{\partial u}\right)_v du +\left(\frac{\partial x}{\partial v}\right)_u dv </math>|{{EquationRef|2}}}} and {{NumBlk|:|<math> dy= \left(\frac{\partial y}{\partial u}\right)_v du +\left(\frac{\partial y}{\partial v}\right)_u dv </math>|{{EquationRef|3}}}} so that (by substituting (2) and (3) into (1)): {{NumBlk|:|<math> \begin{align} dz = & \left[ \left(\frac{\partial z}{\partial x}\right)_y \left(\frac{\partial x}{\partial u}\right)_v + \left(\frac{\partial z}{\partial y}\right)_x \left(\frac{\partial y}{\partial u}\right)_v \right] du \\ + & \left[ \left(\frac{\partial z}{\partial x}\right)_y \left(\frac{\partial x}{\partial v}\right)_u + \left(\frac{\partial z}{\partial y}\right)_x \left(\frac{\partial y}{\partial v}\right)_u \right] dv \end{align} </math>|{{EquationRef|4}}}} which implies that (by comparing (4) with (1)): {{NumBlk|:|<math> \left(\frac{\partial z}{\partial u}\right)_v = \left(\frac{\partial z}{\partial x}\right)_y \left(\frac{\partial x}{\partial u}\right)_v + \left(\frac{\partial z}{\partial y}\right)_x \left(\frac{\partial y}{\partial u}\right)_v </math>|{{EquationRef|5}}}} Letting <math>v=y</math> in (5) gives: {{NumBlk|:|<math> \left(\frac{\partial z}{\partial u}\right)_y = \left(\frac{\partial z}{\partial x}\right)_y \left(\frac{\partial x}{\partial u}\right)_y </math>|{{EquationRef|6}}}} Letting <math>u=y</math> in (5) gives: {{NumBlk|:|<math> \left(\frac{\partial z}{\partial y}\right)_v = \left(\frac{\partial z}{\partial x}\right)_y \left(\frac{\partial x}{\partial y}\right)_v + \left(\frac{\partial z}{\partial y}\right)_x </math>|{{EquationRef|7}}}} Letting <math>u=y</math> and <math>v=z</math> in (7) gives: {{NumBlk|:|<math> \left(\frac{\partial z}{\partial y}\right)_x = - \left(\frac{\partial z}{\partial x}\right)_y \left(\frac{\partial x}{\partial y}\right)_z </math>|{{EquationRef|8}}}} using (<math>\partial a/\partial b)_c = 1/(\partial b/\partial a)_c</math> gives the [[triple product rule]]: {{NumBlk|:|<math> \left(\frac{\partial z}{\partial x}\right)_y \left(\frac{\partial x}{\partial y}\right)_z \left(\frac{\partial y}{\partial z}\right)_x =-1 </math>|{{EquationRef|9}}}} == See also == *[[Closed and exact differential forms]] for a higher-level treatment *[[Differential (mathematics)]] *[[Inexact differential equation|Inexact differential]] *[[Integrating factor]] for solving non-exact differential equations by making them exact *[[Exact differential equation]] == References == <references/> *Perrot, P. (1998). ''A to Z of Thermodynamics.'' New York: Oxford University Press. *{{cite book|author=Dennis G. Zill|title=A First Course in Differential Equations|url=https://books.google.com/books?id=BnArjLNjXuYC&q=%22exact+differential%22|date=14 May 2008|publisher=Cengage Learning|isbn=978-0-495-10824-5}} ==External links== *[http://mathworld.wolfram.com/InexactDifferential.html Inexact Differential] – from Wolfram MathWorld *[https://web.archive.org/web/20151016052646/http://www.chem.arizona.edu/~salzmanr/480a/480ants/e%26idiff/e%26idiff.html Exact and Inexact Differentials] – University of Arizona *[http://farside.ph.utexas.edu/teaching/sm1/lectures/node36.html Exact and Inexact Differentials] – University of Texas *[http://mathworld.wolfram.com/ExactDifferential.html Exact Differential] – from Wolfram MathWorld {{DEFAULTSORT:Exact Differential}} [[Category:Thermodynamics]] [[Category:Multivariable calculus]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Cite book
(
edit
)
Template:NumBlk
(
edit
)
Template:Short description
(
edit
)