Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
No edit summary
No edit summary
 
(410 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{Thermodynamics|cTopic=[[Thermodynamic equations|Equations]]}}
This is a preview for the new '''MathML rendering mode''' (with SVG fallback), which is availble in production for registered users.
{{For|electromagnetic equations|Maxwell's equations}}
'''Maxwell's relations''' are a set of equations in [[thermodynamics]] which are derivable from the definitions of the [[thermodynamic potentials]]. These relations are named for the nineteenth-century physicist [[James Clerk Maxwell]].


==Equation==
If you would like use the '''MathML''' rendering mode, you need a wikipedia user account that can be registered here [[https://en.wikipedia.org/wiki/Special:UserLogin/signup]]
* Only registered users will be able to execute this rendering mode.
* Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.


The Maxwell relations are statements of equality among the second derivatives of the thermodynamic potentials. They follow directly from the fact that the order of differentiation of an [[analytic function]] of two variables is irrelevant. If Φ is a thermodynamic potential and ''x<sub>i</sub>'' and ''x<sub>j</sub>'' are two different [[Thermodynamic potential#Natural variables|natural variables]] for that potential, then the Maxwell relation for that potential and those variables is:
Registered users will be able to choose between the following three rendering modes:  


{{Equation box 1
'''MathML'''
|title = '''Maxwell's relations''' ''(general)''
:<math forcemathmode="mathml">E=mc^2</math>
|indent =:
|equation = <math>\frac{\partial }{\partial x_j}\left(\frac{\partial \Phi}{\partial x_i}\right)=
\frac{\partial }{\partial x_i}\left(\frac{\partial \Phi}{\partial x_j}\right)
</math>
|border colour = #50C878
|background colour = #ECFCF4}}


where the [[partial derivatives]] are taken with all other natural variables held constant. It is seen that for every thermodynamic potential there are ''n''(''n'' − 1)/2 possible Maxwell relations where ''n'' is the number of natural variables for that potential.
<!--'''PNG''' (currently default in production)
:<math forcemathmode="png">E=mc^2</math>


== The four most common Maxwell relations ==
'''source'''
:<math forcemathmode="source">E=mc^2</math> -->


The four most common Maxwell relations are the equalities of the second derivatives of each of the four thermodynamic potentials, with respect to their thermal natural variable ([[temperature]] ''T''; or [[entropy]] ''S'') and their ''mechanical'' natural variable ([[pressure]] ''P''; or [[volume]] ''V''):
<span style="color: red">Follow this [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering link] to change your Math rendering settings.</span> You can also add a [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering-skin Custom CSS] to force the MathML/SVG rendering or select different font families. See [https://www.mediawiki.org/wiki/Extension:Math#CSS_for_the_MathML_with_SVG_fallback_mode these examples].


{{Equation box 1
==Demos==
|title = '''Maxwell's relations''' ''(common)''
|indent =:
|equation =  


<math> \begin{align}
Here are some [https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Frederic.wang demos]:
+\left(\frac{\partial T}{\partial V}\right)_S &=& -\left(\frac{\partial P}{\partial S}\right)_V &=& \frac{\partial^2 U }{\partial S \partial V}\\


+\left(\frac{\partial T}{\partial P}\right)_S &=& +\left(\frac{\partial V}{\partial S}\right)_P &=& \frac{\partial^2 H }{\partial S \partial P}\\
+\left(\frac{\partial S}{\partial V}\right)_T &=& +\left(\frac{\partial P}{\partial T}\right)_V &=& -\frac{\partial^2 A }{\partial T \partial V}\\


-\left(\frac{\partial S}{\partial P}\right)_T &=& +\left(\frac{\partial V}{\partial T}\right)_P &=& \frac{\partial^2 G }{\partial T \partial P}
* accessibility:
\end{align}\,\!</math>
** Safari + VoiceOver: [https://commons.wikimedia.org/wiki/File:VoiceOver-Mac-Safari.ogv video only], [[File:Voiceover-mathml-example-1.wav|thumb|Voiceover-mathml-example-1]], [[File:Voiceover-mathml-example-2.wav|thumb|Voiceover-mathml-example-2]], [[File:Voiceover-mathml-example-3.wav|thumb|Voiceover-mathml-example-3]], [[File:Voiceover-mathml-example-4.wav|thumb|Voiceover-mathml-example-4]], [[File:Voiceover-mathml-example-5.wav|thumb|Voiceover-mathml-example-5]], [[File:Voiceover-mathml-example-6.wav|thumb|Voiceover-mathml-example-6]], [[File:Voiceover-mathml-example-7.wav|thumb|Voiceover-mathml-example-7]]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Audio-Windows7-InternetExplorer.ogg Internet Explorer + MathPlayer (audio)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-SynchronizedHighlighting-WIndows7-InternetExplorer.png Internet Explorer + MathPlayer (synchronized highlighting)]
** [https://commons.wikimedia.org/wiki/File:MathPlayer-Braille-Windows7-InternetExplorer.png Internet Explorer + MathPlayer (braille)]
** NVDA+MathPlayer: [[File:Nvda-mathml-example-1.wav|thumb|Nvda-mathml-example-1]], [[File:Nvda-mathml-example-2.wav|thumb|Nvda-mathml-example-2]], [[File:Nvda-mathml-example-3.wav|thumb|Nvda-mathml-example-3]], [[File:Nvda-mathml-example-4.wav|thumb|Nvda-mathml-example-4]], [[File:Nvda-mathml-example-5.wav|thumb|Nvda-mathml-example-5]], [[File:Nvda-mathml-example-6.wav|thumb|Nvda-mathml-example-6]], [[File:Nvda-mathml-example-7.wav|thumb|Nvda-mathml-example-7]].
** Orca: There is ongoing work, but no support at all at the moment [[File:Orca-mathml-example-1.wav|thumb|Orca-mathml-example-1]], [[File:Orca-mathml-example-2.wav|thumb|Orca-mathml-example-2]], [[File:Orca-mathml-example-3.wav|thumb|Orca-mathml-example-3]], [[File:Orca-mathml-example-4.wav|thumb|Orca-mathml-example-4]], [[File:Orca-mathml-example-5.wav|thumb|Orca-mathml-example-5]], [[File:Orca-mathml-example-6.wav|thumb|Orca-mathml-example-6]], [[File:Orca-mathml-example-7.wav|thumb|Orca-mathml-example-7]].
** From our testing, ChromeVox and JAWS are not able to read the formulas generated by the MathML mode.


|border colour = #0073CF
==Test pages ==
|background colour=#F5FFFA}}


where the potentials as functions of their natural thermal and mechanical variables are the [[internal energy]] ''U''(''S, V''), [[Enthalpy]] ''H''(''S, P''), [[Helmholtz free energy]] ''A''(''T, V'') and [[Gibbs free energy]] ''G''(''T, P''). The [[thermodynamic square]] can be used as a [[mnemonic]] to recall and derive these relations.
To test the '''MathML''', '''PNG''', and '''source''' rendering modes, please go to one of the following test pages:
*[[Displaystyle]]
*[[MathAxisAlignment]]
*[[Styling]]
*[[Linebreaking]]
*[[Unique Ids]]
*[[Help:Formula]]


=== Derivation ===
*[[Inputtypes|Inputtypes (private Wikis only)]]
 
*[[Url2Image|Url2Image (private Wikis only)]]
Maxwell relations are based on simple partial differentiation rules, in particular the [[Total derivative|total]] [[differential of a function]] and the symmetry of evaluating second order partial derivatives.
==Bug reporting==
 
If you find any bugs, please report them at [https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=Math&version=master&short_desc=Math-preview%20rendering%20problem Bugzilla], or write an email to math_bugs (at) ckurs (dot) de .
:{| class="toccolours collapsible collapsed" width="80%" style="text-align:left"
!Derivation
|-
|Derivation of the Maxwell relations can be deduced from the differential forms of the [[thermodynamic potentials]]:
 
:<math>\begin{align}
dU &=& TdS-PdV \\
dH &=& TdS+VdP \\
dA &=& -SdT-PdV \\
dG &=& -SdT+VdP \\
\end{align}\,\!</math>
 
These equations resemble [[Total derivative|total differentials]] of the form
 
:<math>dz = \left(\frac{\partial z}{\partial x}\right)_y\!dx +
\left(\frac{\partial z}{\partial y}\right)_x\!dy</math>
 
And indeed, it can be shown for any equation of the form
 
:<math>dz = Mdx + Ndy \,</math>
 
that
 
:<math>M = \left(\frac{\partial z}{\partial x}\right)_y, \quad
N = \left(\frac{\partial z}{\partial y}\right)_x</math>
 
Consider, as an example, the equation <math>dH=TdS+VdP\,</math>. We can now immediately see that
 
:<math>T = \left(\frac{\partial H}{\partial S}\right)_P, \quad
      V = \left(\frac{\partial H}{\partial P}\right)_S</math>
 
Since we also know that for functions with continuous second derivatives, the mixed partial derivatives are identical ([[Symmetry of second derivatives]]), that is, that
 
:<math>\frac{\partial}{\partial y}\left(\frac{\partial z}{\partial x}\right)_y =
\frac{\partial}{\partial x}\left(\frac{\partial z}{\partial y}\right)_x =
\frac{\partial^2 z}{\partial y \partial x} = \frac{\partial^2 z}{\partial x \partial y}</math>
 
we therefore can see that
 
:<math> \frac{\partial}{\partial P}\left(\frac{\partial H}{\partial S}\right)_P =
\frac{\partial}{\partial S}\left(\frac{\partial H}{\partial P}\right)_S </math>
 
and therefore that
 
:<math>\left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P</math>
 
Each of the four Maxwell relationships given above follows similarly from one of the [[Gibbs equations]].
|}
 
:{| class="toccolours collapsible collapsed" width="80%" style="text-align:left"
!Extended derivation
|-
|Combined form first and second law of thermodynamics,
:<math>TdS = dU+PdV</math> (Eq.1)
 
U, S, and V are state functions.
Let,
:<math>U = U(x,y)</math>
:<math>S = S(x,y)</math>
:<math>V = V(x,y)</math>
:<math>dU = \left(\frac{\partial U}{\partial x}\right)_y\!dx +
\left(\frac{\partial U}{\partial y}\right)_x\!dy</math>
 
:<math>dS = \left(\frac{\partial S}{\partial x}\right)_y\!dx +
\left(\frac{\partial S}{\partial y}\right)_x\!dy</math>
 
:<math>dV = \left(\frac{\partial V}{\partial x}\right)_y\!dx +
\left(\frac{\partial V}{\partial y}\right)_x\!dy</math>
 
Substitute them in Eq.1 and one gets,
:<math>T\left(\frac{\partial S}{\partial x}\right)_y\!dx +
T\left(\frac{\partial S}{\partial y}\right)_x\!dy = \left(\frac{\partial U}{\partial x}\right)_y\!dx +
\left(\frac{\partial U}{\partial y}\right)_x\!dy + P\left(\frac{\partial V}{\partial x}\right)_y\!dx +
P\left(\frac{\partial V}{\partial y}\right)_x\!dy</math>
 
And also written as,
:<math>\left(\frac{\partial U}{\partial x}\right)_y\!dx +
\left(\frac{\partial U}{\partial y}\right)_x\!dy = T\left(\frac{\partial S}{\partial x}\right)_y\!dx +
T\left(\frac{\partial S}{\partial y}\right)_x\!dy - P\left(\frac{\partial V}{\partial x}\right)_y\!dx -
P\left(\frac{\partial V}{\partial y}\right)_x\!dy</math>
 
comparing the coefficient of dx and dy, one gets
:<math>\left(\frac{\partial U}{\partial x}\right)_y = T\left(\frac{\partial S}{\partial x}\right)_y - P\left(\frac{\partial V}{\partial x}\right)_y</math>
:<math>\left(\frac{\partial U}{\partial y}\right)_x = T\left(\frac{\partial S}{\partial y}\right)_x - P\left(\frac{\partial V}{\partial y}\right)_x</math>
 
Differentiating above equations by y, x respectively<br />
:<math>\left(\frac{\partial^2U}{\partial y\partial x}\right) = \left(\frac{\partial T}{\partial y}\right)_x \left(\frac{\partial S}{\partial x}\right)_y + T\left(\frac{\partial^2 S}{\partial y\partial x}\right) - \left(\frac{\partial P}{\partial y}\right)_x \left(\frac{\partial V}{\partial x}\right)_y - P\left(\frac{\partial^2 V}{\partial y\partial x}\right)</math> (Eq.2)
:and
:<math>\left(\frac{\partial^2U}{\partial x\partial y}\right) = \left(\frac{\partial T}{\partial x}\right)_y \left(\frac{\partial S}{\partial y}\right)_x + T\left(\frac{\partial^2 S}{\partial x\partial y}\right) - \left(\frac{\partial P}{\partial x}\right)_y \left(\frac{\partial V}{\partial y}\right)_x - P\left(\frac{\partial^2 V}{\partial x\partial y}\right)</math> (Eq.3)
 
U, S, and V are exact differentials, therefore,
:<math>\left(\frac{\partial^2U}{\partial y\partial x}\right) = \left(\frac{\partial^2U}{\partial x\partial y}\right)</math>
:<math>\left(\frac{\partial^2S}{\partial y\partial x}\right) = \left(\frac{\partial^2S}{\partial x\partial y}\right)
:\left(\frac{\partial^2V}{\partial y\partial x}\right) = \left(\frac{\partial^2V}{\partial x\partial y}\right)</math>
 
Subtract eqn(2) and (3) and one gets<br />
:<math>\left(\frac{\partial T}{\partial y}\right)_x \left(\frac{\partial S}{\partial x}\right)_y - \left(\frac{\partial P}{\partial y}\right)_x \left(\frac{\partial V}{\partial x}\right)_y = \left(\frac{\partial T}{\partial x}\right)_y \left(\frac{\partial S}{\partial y}\right)_x - \left(\frac{\partial P}{\partial x}\right)_y \left(\frac{\partial V}{\partial y}\right)_x</math>
:''Note: The above is called the general expression for Maxwell's thermodynamical relation.''
 
;Maxwell's first relation
:Allow x = S and y = V and one gets
:<math>\left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V</math>
 
;Maxwell's second relation
:Allow x = T and y = V and one gets
:<math>\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V</math>
 
;Maxwell's third relation
:Allow x = S and y = P and one gets
:<math>\left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P</math>
 
;Maxwell's fourth relation
:Allow x = T and y = P and one gets
:<math>\left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P</math>
 
;Maxwell's fifth relation
:Allow x = P and y = V
:<math>\left(\frac{\partial T}{\partial P}\right)_V \left(\frac{\partial S}{\partial V}\right)_P</math><math>-\left(\frac{\partial T}{\partial V}\right)_P \left(\frac{\partial S}{\partial P}\right)_V</math> = 1
 
;Maxwell's sixth relation
:Allow x = T and y = S and one gets
:<math>\left(\frac{\partial P}{\partial T}\right)_S \left(\frac{\partial V}{\partial S}\right)_T -\left(\frac{\partial P}{\partial S}\right)_T \left(\frac{\partial V}{\partial T}\right)_S</math> = 1
|}
 
== General Maxwell relationships ==
 
The above are not the only Maxwell relationships. When other work terms involving other natural variables besides the volume work are considered or when the [[Particle number|number of particles]] is included as a natural variable, other Maxwell relations become apparent. For example, if we have a single-component gas, then the number of particles ''N''&nbsp; is also a natural variable of the above four thermodynamic potentials. The Maxwell relationship for the enthalpy with respect to pressure and particle number would then be:
 
:<math>
\left(\frac{\partial \mu}{\partial P}\right)_{S, N} =
\left(\frac{\partial V}{\partial N}\right)_{S, P}\qquad=
\frac{\partial^2 H }{\partial P \partial N}
</math>
 
where μ is the [[chemical potential]]. In addition, there are other thermodynamic potentials besides the four that are commonly used, and each of these potentials will yield a set of Maxwell relations.
 
Each equation can be re-expressed using the relationship
 
:<math>\left(\frac{\partial y}{\partial x}\right)_z
=
1\left/\left(\frac{\partial x}{\partial y}\right)_z\right.</math>
 
which are sometimes also known as Maxwell relations.
 
== See also ==
* [[Table of thermodynamic equations]]
* [[Thermodynamic equations]]
 
==External links==
*http://theory.ph.man.ac.uk/~judith/stat_therm/node48.html a partial derivation of Maxwell's relations
 
 
[[Category:Thermodynamics]]
[[Category:Concepts in physics]]
[[Category:James Clerk Maxwell]]
[[Category:Thermodynamic equations]]
 
[[ar:علاقات ماكسويل]]
[[ca:Relacions de Maxwell]]
[[cs:Maxwellovy relace]]
[[de:Maxwell-Beziehung]]
[[fa:روابط ماکسول (ترمودینامیک)]]
[[fr:Relations de Maxwell]]
[[ko:맥스웰 관계식]]
[[it:Relazioni di Maxwell]]
[[he:קשרי מקסוול]]
[[ja:マクスウェルの関係式]]
[[pl:Relacje Maxwella]]
[[sv:Maxwells relationer]]
[[th:ความสัมพันธ์ของแมกซ์เวลล์]]
[[zh:麦克斯韦关系式]]

Latest revision as of 22:52, 15 September 2019

This is a preview for the new MathML rendering mode (with SVG fallback), which is availble in production for registered users.

If you would like use the MathML rendering mode, you need a wikipedia user account that can be registered here [[1]]

  • Only registered users will be able to execute this rendering mode.
  • Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere.

Registered users will be able to choose between the following three rendering modes:

MathML

E=mc2


Follow this link to change your Math rendering settings. You can also add a Custom CSS to force the MathML/SVG rendering or select different font families. See these examples.

Demos

Here are some demos:


Test pages

To test the MathML, PNG, and source rendering modes, please go to one of the following test pages:

Bug reporting

If you find any bugs, please report them at Bugzilla, or write an email to math_bugs (at) ckurs (dot) de .