Thermodynamic equations
 For a quick reference table of these equations, see: Table of thermodynamic equations
Thermodynamics is expressed by a mathematical framework of thermodynamic equations which relate various thermodynamic quantities and physical properties measured in a laboratory or production process. Thermodynamics is based on a fundamental set of postulates, that became the laws of thermodynamics.
{{#invoke:Sidebar collapsible  bodyclass = plainlist  titlestyle = paddingbottom:0.3em;borderbottom:1px solid #aaa;  title = Thermodynamics  imagestyle = display:block;margin:0.3em 0 0.4em;  image =  caption = The classical Carnot heat engine  listtitlestyle = background:#ddf;textalign:center;  expanded = Equations
 list1name = branches  list1title = Branches  list1 = Template:Startflatlist
 list2name = laws  list2title = Laws  list2 = Template:Startflatlist
 list3name = systems  list3title = Systems  list3 =
State 

Processes 
Cycles 
 list4name = sysprop  list4title = System properties
 list4 =
Functions of state 

Process functions 
 list5name = material  list5title = Material properties  list5 =
 list6name = equations  list6title = Equations  list6 = Template:Startflatlist
 Maxwell relations
 Onsager reciprocal relations
 Bridgman's equations
 Table of thermodynamic equations
 list7name = potentials  list7title = Potentials  list7 = Template:Startflatlist
 list8name = hist/cult  list8title = Template:Hlist  list8 =
History 

Philosophy 
Theories 

Key publications 
Timelines 
Template:Hlist 
 list9name = scientists  list9title = Scientists  list9 = Template:Startflatlist
 Bernoulli
 Carnot
 Clapeyron
 Clausius
 Carathéodory
 Duhem
 Gibbs
 von Helmholtz
 Joule
 Maxwell
 von Mayer
 Onsager
 Rankine
 Smeaton
 Stahl
 Thompson
 Thomson
 Waterston
 below = Book:Thermodynamics
}}
Introduction
One of the fundamental thermodynamic equations is the description of thermodynamic work in analogy to mechanical work, or weight lifted through an elevation against gravity, as defined in 1824 by French physicist Sadi Carnot. Carnot used the phrase motive power for work. In the footnotes to his famous On the Motive Power of Fire, he states: “We use here the expression motive power to express the useful effect that a motor is capable of producing. This effect can always be likened to the elevation of a weight to a certain height. It has, as we know, as a measure, the product of the weight multiplied by the height to which it is raised.” With the inclusion of a unit of time in Carnot's definition, one arrives at the modern definition for power:
During the latter half of the 19th century, physicists such as Rudolf Clausius, Peter Guthrie Tait, and Willard Gibbs worked to develop the concept of a thermodynamic system and the correlative energetic laws which govern its associated processes. The equilibrium state of a thermodynamic system is described by specifying its "state". The state of a thermodynamic system is specified by a number of extensive quantities, the most familiar of which are volume, internal energy, and the amount of each constituent particle (particle numbers). Extensive parameters are properties of the entire system, as contrasted with intensive parameters which can be defined at a single point, such as temperature and pressure. The extensive parameters (except entropy) are generally conserved in some way as long as the system is "insulated" to changes to that parameter from the outside. The truth of this statement for volume is trivial, for particles one might say that the total particle number of each atomic element is conserved. In the case of energy, the statement of the conservation of energy is known as the first law of thermodynamics.
A thermodynamic system is in equilibrium when it is no longer changing in time. This may happen in a very short time, or it may happen with glacial slowness. A thermodynamic system may be composed of many subsystems which may or may not be "insulated" from each other with respect to the various extensive quantities. If we have a thermodynamic system in equilibrium in which we relax some of its constraints, it will move to a new equilibrium state. The thermodynamic parameters may now be thought of as variables and the state may be thought of as a particular point in a space of thermodynamic parameters. The change in the state of the system can be seen as a path in this state space. This change is called a thermodynamic process. Thermodynamic equations are now used to express the relationships between the state parameters at these different equilibrium state.
The concept which governs the path that a thermodynamic system traces in state space as it goes from one equilibrium state to another is that of entropy. The entropy is first viewed as an extensive function of all of the extensive thermodynamic parameters. If we have a thermodynamic system in equilibrium, and we release some of the extensive constraints on the system, there are many equilibrium states that it could move to consistent with the conservation of energy, volume, etc. The second law of thermodynamics specifies that the equilibrium state that it moves to is in fact the one with the greatest entropy. Once we know the entropy as a function of the extensive variables of the system, we will be able to predict the final equilibrium state. Template:Harv
Notation
Some of the most common thermodynamic quantities are:
The conjugate variable pairs are the fundamental state variables used to formulate the thermodynamic functions.
p Pressure V Volume T Temperature S Entropy μ Chemical potential N Particle number
The most important thermodynamic potentials are the following functions:
Thermodynamic systems are typically affected by the following types of system interactions. The types under consideration are used to classify systems as open systems, closed systems, and isolated systems.
Common material properties determined from the thermodynamic functions are the following:
ρ Density is defined as mass of material per unit volume C_{V} Heat capacity at constant volume C_{p} Heat capacity at constant pressure Isothermal compressibility Adiabatic compressibility Coefficient of thermal expansion
The following constants are constants that occur in many relationships due to the application of a standard system of units.
k_{B} Boltzmann constant R Ideal gas constant N_{A} Avogadro constant
Laws of thermodynamics
The behavior of a thermodynamic system is summarized in the laws of thermodynamics, which concisely are:
 Zeroth law of thermodynamics
 If A, B, C are thermodynamic systems such that A is in thermal equilibrium with B and B is in thermal equilibrium with C, then A is in thermal equilibrium with C.
 The zeroth law is of importance in thermometry, because it implies the existence of temperature scales. In practice, C is a thermometer, and the zeroth law says that systems that are in thermodynamic equilibrium with each other have the same temperature. The law was actually the last of the laws to be formulated.
 The first law is the law of conservation of energy. The symbol instead of the plain d, originated in the work of German mathematician Carl Gottfried Neumann^{[1]} and is used to denote an inexact differential and to indicate that Q and W are pathdependent (i.e., they are not state functions). In some fields such as physical chemistry, positive work is conventionally considered work done on the system rather than by the system, and the law is expressed as .
 A concept related to the second law which is important in thermodynamics is that of reversibility. A process within a given isolated system is said to be reversible if throughout the process the entropy never increases (i.e. the entropy remains unchanged).
 The third law of thermodynamics states that at the absolute zero of temperature, the entropy is zero for a perfect crystalline structure.
 Onsager reciprocal relations – sometimes called the Fourth law of thermodynamics
 The fourth law of thermodynamics is not yet an agreed upon law (many supposed variations exist); historically, however, the Onsager reciprocal relations have been frequently referred to as the fourth law.
 Zeroth law of thermodynamics
The fundamental equation
{{#invoke:mainmain}} The first and second law of thermodynamics are the most fundamental equations of thermodynamics. They may be combined into what is known as fundamental thermodynamic relation which describes all of the thermodynamic properties of a system. As a simple example, consider a system composed of a number of k different types of particles and has the volume as its only external variable. The fundamental thermodynamic relation may then be expressed in terms of the internal energy as:
Some important aspects of this equation should be noted: Template:Harv, Template:Harv, Template:Harv
 The thermodynamic space has k+2 dimensions
 The differential quantities (U, S, V, N_{i}) are all extensive quantities. The coefficients of the differential quantities are intensive quantities (temperature, pressure, chemical potential). Each pair in the equation are known as a conjugate pair with respect to the internal energy. The intensive variables may be viewed as a generalized "force". An imbalance in the intensive variable will cause a "flow" of the extensive variable in a direction to counter the imbalance.
 The equation may be seen as a particular case of the chain rule. In other words:
 from which the following identifications can be made:
 These equations are known as "equations of state" with respect to the internal energy. (Note  the relation between pressure, volume, temperature, and particle number which is commonly called "the equation of state" is just one of many possible equations of state.) If we know all k+2 of the above equations of state, we may reconstitute the fundamental equation and recover all thermodynamic properties of the system.
 The fundamental equation can be solved for any other differential and similar expressions can be found. For example, we may solve for and find that
Thermodynamic potentials
By the principle of minimum energy, the second law can be restated by saying that for a fixed entropy, when the constraints on the system are relaxed, the internal energy assumes a minimum value. This will require that the system be connected to its surroundings, since otherwise the energy would remain constant.
By the principle of minimum energy, there are a number of other state functions which may be defined which have the dimensions of energy and which are minimized according to the second law under certain conditions other than constant entropy. These are called thermodynamic potentials. The four most common thermodynamic potentials are:
Name  Symbol  Formula  Natural variables 

Internal energy  
Helmholtz free energy  
Enthalpy  
Gibbs free energy 
After each potential is shown its "natural variables". These variables are important because if the thermodynamic potential is expressed in terms of its natural variables, then it will contain all of the thermodynamic relationships necessary to derive any other relationship. In other words, it too will be a fundamental equation. For the above four potentials, the fundamental equations are expressed as:
The thermodynamic square can be used as a tool to recall and derive these potentials.
First order equations
{{#invoke:mainmain}}  General system {{#invoke:mainmain}}  Particular systems
Just as with the internal energy version of the fundamental equation, the chain rule can be used on the above equations to find k+2 equations of state with respect to the particular potential. If Φ is a thermodynamic potential, then the fundamental equation may be expressed as:
where the are the natural variables of the potential. If is conjugate to then we have the equations of state for that potential, one for each set of conjugate variables.
Only one equation of state will not be sufficient to reconstitute the fundamental equation. All equations of state will be needed to fully characterize the thermodynamic system. Note that what is commonly called "the equation of state" is just the "mechanical" equation of state involving the Helmholtz potential and the volume:
For an ideal gas, this becomes the familiar PV=Nk_{B}T.
Euler integrals
Because all of natural variables of the internal energy U are extensive quantities, it follows from Euler's homogeneous function theorem that
Substituting into the expressions for the other main potentials we have the following expressions for the thermodynamic potentials:
Note that the Euler integrals are sometimes also referred to as fundamental equations.
Gibbs–Duhem relationship
{{#invoke:mainmain}} Differentiating the Euler equation for the internal energy and combining with the fundamental equation for internal energy, it follows that:
which is known as the GibbsDuhem relationship. The GibbsDuhem is a relationship among the intensive parameters of the system. It follows that for a simple system with r components, there will be r+1 independent parameters, or degrees of freedom. For example, a simple system with a single component will have two degrees of freedom, and may be specified by only two parameters, such as pressure and volume for example. The law is named after Willard Gibbs and Pierre Duhem.
Second order equations
There are many relationships that follow mathematically from the above basic equations. See Exact differential for a list of mathematical relationships. Many equations are expressed as second derivatives of the thermodynamic potentials (see Bridgman equations).
Maxwell relations
Maxwell relations are equalities involving the second derivatives of thermodynamic potentials with respect to their natural variables. They follow directly from the fact that the order of differentiation does not matter when taking the second derivative. The four most common Maxwell relations are:
The thermodynamic square can be used as a tool to recall and derive these relations.
Material properties
{{#invoke:mainmain}} Second derivatives of thermodynamic potentials generally describe the response of the system to small changes. The number of second derivatives which are independent of each other is relatively small, which means that most material properties can be described in terms of just a few "standard" properties. For the case of a single component system, there are three properties generally considered "standard" from which all others may be derived:
 Compressibility at constant temperature or constant entropy
 Heat capacity at constant pressure or constant volume
These properties are seen to be the three possible second derivative of the Gibbs free energy with respect to temperature and pressure.
Notes
 ↑ Carl G. Neumann, Vorlesungen über die mechanische Theorie der Wärme, 1875.
References
 {{#invoke:Citation/CS1citation
CitationClass=journal }}
 Template:Cite web
 {{#invoke:citation/CS1citation
CitationClass=book }}
 {{#invoke:citation/CS1citation
CitationClass=book }}
 Chapters 1  10, Part 1: Equilibrium.
 {{#invoke:Citation/CS1citation
CitationClass=journal }}
 {{#invoke:citation/CS1citation
CitationClass=book }} (reprinted from Oxford University Press, 1978)
 {{#invoke:citation/CS1citation
CitationClass=book }}
 {{#invoke:citation/CS1citation
CitationClass=book }}
 {{#invoke:citation/CS1citation
CitationClass=book }}