Physics:Second law of thermodynamics
Thermodynamics 

The second law of thermodynamics establishes the concept of entropy as a physical property of a thermodynamic system. Entropy predicts the direction of spontaneous processes, and determines whether they are irreversible or impossible, despite obeying the requirement of conservation of energy, which is established in the first law of thermodynamics. The second law may be formulated by the observation that the entropy of isolated systems left to spontaneous evolution cannot decrease, as they always arrive at a state of thermodynamic equilibrium, where the entropy is highest. If all processes in the system are reversible, the entropy is constant.^{[1]}
An increase in entropy accounts for the irreversibility of natural processes, often referred to in the concept of the arrow of time.^{[2]}
Historically, the second law was an empirical finding that was accepted as an axiom of thermodynamic theory. Statistical mechanics provides a microscopic explanation of the law in terms of probability distributions of the states of large assemblies of atoms or molecules.
The second law has been expressed in many ways. Its first formulation, which preceded the proper definition of entropy and was based on caloric theory, is Carnot's theorem, credited to the French scientist Sadi Carnot, who in 1824 showed that the efficiency of conversion of heat to work in a heat engine has an upper limit.^{[3]}^{[4]} The first rigorous definition of the second law based on the concept of entropy came from German scientist Rudolph Clausius in the 1850s including his statement that heat can never pass from a colder to a warmer body without some other change, connected therewith, occurring at the same time.
The second law of thermodynamics can also be used to define the concept of thermodynamic temperature, but this is usually delegated to the zeroth law of thermodynamics.
Introduction
The first law of thermodynamics provides the definition of the internal energy of a thermodynamic system, and expresses the law of conservation of energy.^{[5]}^{[6]} The second law is concerned with the direction of natural processes.^{[7]} It asserts that a natural process runs only in one sense, and is not reversible. For example, when a path for conduction and radiation is made available, heat always flows spontaneously from a hotter to a colder body. Such phenomena are accounted for in terms of entropy.^{[8]}^{[9]} If an isolated system is held initially in internal thermodynamic equilibrium by internal partitioning impermeable walls, and then some operation makes the walls more permeable, then the system spontaneously evolves to reach a final new internal thermodynamic equilibrium, and its total entropy, S, increases.
In a fictive reversible process, an infinitesimal increment in the entropy (dS) of a system is defined to result from an infinitesimal transfer of heat (δQ) to a closed system (which allows the entry or exit of energy – but not transfer of matter) divided by the common temperature (T) of the system in equilibrium and the surroundings which supply the heat:^{[10]}
 [math]\displaystyle{ \mathrm dS = \frac{\delta Q}{T} \,\, \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \text {(closed system, idealized fictive reversible process)}. }[/math]
Different notations are used for infinitesimal amounts of heat (δ) and infinitesimal amounts of entropy (d) because entropy is a function of state, while heat, like work, is not. For an actually possible infinitesimal process without exchange of mass with the surroundings, the second law requires that the increment in system entropy fulfills the inequality ^{[11]}^{[12]}
 [math]\displaystyle{ \mathrm dS \gt \frac{\delta Q}{T_{surr}} \,\, \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \text {(closed system, actually possible, irreversible process).} }[/math]
This is because a general process for this case may include work being done on the system by its surroundings, which can have frictional or viscous effects inside the system, because a chemical reaction may be in progress, or because heat transfer actually occurs only irreversibly, driven by a finite difference between the system temperature (T) and the temperature of the surroundings (T_{surr}).^{[13]}^{[14]} Note that the equality still applies for pure heat flow,^{[15]}
 [math]\displaystyle{ \mathrm dS = \frac{\delta Q}{T} \,\, \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \text {(actually possible quasistatic irreversible process without composition change).} }[/math]
which is the basis of the accurate determination of the absolute entropy of pure substances from measured heat capacity curves and entropy changes at phase transitions, i.e. by calorimetry.^{[16]}^{[11]} Introducing a set of internal variables [math]\displaystyle{ \xi }[/math] to describe the deviation of a thermodynamic system in physical equilibrium (with the required welldefined uniform pressure P and temperature T)^{[15]} from the chemical equilibrium state, one can record the equality
 [math]\displaystyle{ \mathrm dS = \frac{\delta Q}{T}  \frac{1}{T} \sum_{j} \, \Xi_{j} \,\delta \xi_j \,\, \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \text {(closed system, actually possible quasistatic irreversible process).} }[/math]
The second term represents work of internal variables that can be perturbed by external influences, but the system cannot perform any positive work via internal variables. This statement introduces the impossibility of the reversion of evolution of the thermodynamic system in time and can be considered as a formulation of the second principle of thermodynamics – the formulation, which is, of course, equivalent to the formulation of the principle in terms of entropy.^{[17]}^{[18]}
The zeroth law of thermodynamics in its usual short statement allows recognition that two bodies in a relation of thermal equilibrium have the same temperature, especially that a test body has the same temperature as a reference thermometric body.^{[19]} For a body in thermal equilibrium with another, there are indefinitely many empirical temperature scales, in general respectively depending on the properties of a particular reference thermometric body. The second law allows a distinguished temperature scale, which defines an absolute, thermodynamic temperature, independent of the properties of any particular reference thermometric body.^{[20]}^{[21]}
Various statements of the law
The second law of thermodynamics may be expressed in many specific ways,^{[22]} the most prominent classical statements^{[23]} being the statement by Rudolf Clausius (1854), the statement by Lord Kelvin (1851), and the statement in axiomatic thermodynamics by Constantin Carathéodory (1909). These statements cast the law in general physical terms citing the impossibility of certain processes. The Clausius and the Kelvin statements have been shown to be equivalent.^{[24]}
Carnot's principle
The historical origin^{[25]} of the second law of thermodynamics was in Carnot's principle. It refers to a cycle of a Carnot heat engine, fictively operated in the limiting mode of extreme slowness known as quasistatic, so that the heat and work transfers are between subsystems that are always in their own internal states of thermodynamic equilibrium. The Carnot engine is an idealized device of special interest to engineers who are concerned with the efficiency of heat engines. Carnot's principle was recognized by Carnot at a time when the caloric theory of heat was seriously considered, before the recognition of the first law of thermodynamics, and before the mathematical expression of the concept of entropy. Interpreted in the light of the first law, it is physically equivalent to the second law of thermodynamics, and remains valid today. Carnot's original arguments were made from the viewpoint of the caloric theory, before the discovery of the first law of thermodynamics. Some samples from his book are:
 …wherever there exists a difference of temperature, motive power can be produced.^{[26]}
 The production of motive power is then due in steam engines not to an actual consumption of caloric, but to its transportation from a warm body to a cold body …^{[27]}
 The motive power of heat is independent of the agents employed to realize it; its quantity is fixed solely by the temperatures of the bodies between which is effected, finally, the transfer of caloric.^{[28]}
In modern terms, Carnot's principle may be stated more precisely:
 The efficiency of a quasistatic or reversible Carnot cycle depends only on the temperatures of the two heat reservoirs, and is the same, whatever the working substance. A Carnot engine operated in this way is the most efficient possible heat engine using those two temperatures.^{[29]}^{[30]}^{[31]}^{[32]}^{[33]}^{[34]}
Clausius statement
The German scientist Rudolf Clausius laid the foundation for the second law of thermodynamics in 1850 by examining the relation between heat transfer and work.^{[35]} His formulation of the second law, which was published in German in 1854, is known as the Clausius statement:
Heat can never pass from a colder to a warmer body without some other change, connected therewith, occurring at the same time.^{[36]}
The statement by Clausius uses the concept of 'passage of heat'. As is usual in thermodynamic discussions, this means 'net transfer of energy as heat', and does not refer to contributory transfers one way and the other.
Heat cannot spontaneously flow from cold regions to hot regions without external work being performed on the system, which is evident from ordinary experience of refrigeration, for example. In a refrigerator, heat flows from cold to hot, but only when forced by an external agent, the refrigeration system.
Kelvin statements
Lord Kelvin expressed the second law in several wordings.
 It is impossible for a selfacting machine, unaided by any external agency, to convey heat from one body to another at a higher temperature.
 It is impossible, by means of inanimate material agency, to derive mechanical effect from any portion of matter by cooling it below the temperature of the coldest of the surrounding objects.^{[37]}
Equivalence of the Clausius and the Kelvin statements
Suppose there is an engine violating the Kelvin statement: i.e., one that drains heat and converts it completely into work in a cyclic fashion without any other result. Now pair it with a reversed Carnot engine as shown by the figure. The efficiency of a normal heat engine is η and so the efficiency of the reversed heat engine is 1/η. The net and sole effect of the combined pair of engines is to transfer heat [math]\displaystyle{ \Delta Q = Q\left(\frac{1}{\eta}1\right) }[/math] from the cooler reservoir to the hotter one, which violates the Clausius statement. (This is a consequence of the first law of thermodynamics, as for the total system's energy to remain the same, [math]\displaystyle{ \text{Input}+\text{Output}=0 \implies Q\frac{Q}{\eta} = Q_c }[/math], so therefore [math]\displaystyle{ Q_c=Q\left( \frac{1}{\eta}1\right) }[/math]). Thus a violation of the Kelvin statement implies a violation of the Clausius statement, i.e. the Clausius statement implies the Kelvin statement. We can prove in a similar manner that the Kelvin statement implies the Clausius statement, and hence the two are equivalent.
Planck's proposition
Planck offered the following proposition as derived directly from experience. This is sometimes regarded as his statement of the second law, but he regarded it as a starting point for the derivation of the second law.
 It is impossible to construct an engine which will work in a complete cycle, and produce no effect except the raising of a weight and cooling of a heat reservoir.^{[38]}^{[39]}
Relation between Kelvin's statement and Planck's proposition
It is almost customary in textbooks to speak of the "KelvinPlanck statement" of the law, as for example in the text by ter Haar and Wergeland.^{[40]}
The Kelvin–Planck statement (or the heat engine statement) of the second law of thermodynamics states that
 It is impossible to devise a cyclically operating device, the sole effect of which is to absorb energy in the form of heat from a single thermal reservoir and to deliver an equivalent amount of work.^{[41]}
Planck's statement
Planck stated the second law as follows.
 Every process occurring in nature proceeds in the sense in which the sum of the entropies of all bodies taking part in the process is increased. In the limit, i.e. for reversible processes, the sum of the entropies remains unchanged.^{[42]}^{[43]}^{[44]}
Rather like Planck's statement is that of Uhlenbeck and Ford for irreversible phenomena.
 … in an irreversible or spontaneous change from one equilibrium state to another (as for example the equalization of temperature of two bodies A and B, when brought in contact) the entropy always increases.^{[45]}
Principle of Carathéodory
Constantin Carathéodory formulated thermodynamics on a purely mathematical axiomatic foundation. His statement of the second law is known as the Principle of Carathéodory, which may be formulated as follows:^{[46]}
In every neighborhood of any state S of an adiabatically enclosed system there are states inaccessible from S.^{[47]}
With this formulation, he described the concept of adiabatic accessibility for the first time and provided the foundation for a new subfield of classical thermodynamics, often called geometrical thermodynamics. It follows from Carathéodory's principle that quantity of energy quasistatically transferred as heat is a holonomic process function, in other words, [math]\displaystyle{ \delta Q=TdS }[/math].^{[48]} ^{[clarification needed]}
Though it is almost customary in textbooks to say that Carathéodory's principle expresses the second law and to treat it as equivalent to the Clausius or to the KelvinPlanck statements, such is not the case. To get all the content of the second law, Carathéodory's principle needs to be supplemented by Planck's principle, that isochoric work always increases the internal energy of a closed system that was initially in its own internal thermodynamic equilibrium.^{[14]}^{[49]}^{[50]}^{[51]} ^{[clarification needed]}
Planck's principle
In 1926, Max Planck wrote an important paper on the basics of thermodynamics.^{[50]}^{[52]} He indicated the principle
 The internal energy of a closed system is increased by an adiabatic process, throughout the duration of which, the volume of the system remains constant.^{[14]}^{[49]}
This formulation does not mention heat and does not mention temperature, nor even entropy, and does not necessarily implicitly rely on those concepts, but it implies the content of the second law. A closely related statement is that "Frictional pressure never does positive work."^{[53]} Planck wrote: "The production of heat by friction is irreversible."^{[54]}^{[55]}
Not mentioning entropy, this principle of Planck is stated in physical terms. It is very closely related to the Kelvin statement given just above.^{[56]} It is relevant that for a system at constant volume and mole numbers, the entropy is a monotonic function of the internal energy. Nevertheless, this principle of Planck is not actually Planck's preferred statement of the second law, which is quoted above, in a previous subsection of the present section of this present article, and relies on the concept of entropy.
A statement that in a sense is complementary to Planck's principle is made by Borgnakke and Sonntag. They do not offer it as a full statement of the second law:
 … there is only one way in which the entropy of a [closed] system can be decreased, and that is to transfer heat from the system.^{[57]}
Differing from Planck's just foregoing principle, this one is explicitly in terms of entropy change. Removal of matter from a system can also decrease its entropy.
Statement for a system that has a known expression of its internal energy as a function of its extensive state variables
The second law has been shown to be equivalent to the internal energy U being a weakly convex function, when written as a function of extensive properties (mass, volume, entropy, ...).^{[58]}^{[59]} ^{[clarification needed]}
Corollaries
Perpetual motion of the second kind
Before the establishment of the second law, many people who were interested in inventing a perpetual motion machine had tried to circumvent the restrictions of first law of thermodynamics by extracting the massive internal energy of the environment as the power of the machine. Such a machine is called a "perpetual motion machine of the second kind". The second law declared the impossibility of such machines.
Carnot theorem
Carnot's theorem (1824) is a principle that limits the maximum efficiency for any possible engine. The efficiency solely depends on the temperature difference between the hot and cold thermal reservoirs. Carnot's theorem states:
 All irreversible heat engines between two heat reservoirs are less efficient than a Carnot engine operating between the same reservoirs.
 All reversible heat engines between two heat reservoirs are equally efficient with a Carnot engine operating between the same reservoirs.
In his ideal model, the heat of caloric converted into work could be reinstated by reversing the motion of the cycle, a concept subsequently known as thermodynamic reversibility. Carnot, however, further postulated that some caloric is lost, not being converted to mechanical work. Hence, no real heat engine could realize the Carnot cycle's reversibility and was condemned to be less efficient.
Though formulated in terms of caloric (see the obsolete caloric theory), rather than entropy, this was an early insight into the second law.
Clausius inequality
The Clausius theorem (1854) states that in a cyclic process
 [math]\displaystyle{ \oint \frac{\delta Q}{T} \leq 0. }[/math]
The equality holds in the reversible case^{[60]} and the strict inequality holds in the irreversible case. The reversible case is used to introduce the state function entropy. This is because in cyclic processes the variation of a state function is zero from state functionality.
Thermodynamic temperature
For an arbitrary heat engine, the efficiency is:

[math]\displaystyle{ \eta = \frac {W_n}{q_H} = \frac{q_Hq_C}{q_H} = 1  \frac{q_C}{q_H} }[/math]
(
)
where W_{n} is for the net work done per cycle. Thus the efficiency depends only on q_{C}/q_{H}.
Carnot's theorem states that all reversible engines operating between the same heat reservoirs are equally efficient. Thus, any reversible heat engine operating between temperatures T_{1} and T_{2} must have the same efficiency, that is to say, the efficiency is the function of temperatures only:

[math]\displaystyle{ \frac{q_C}{q_H} = f(T_H,T_C). }[/math]
(
)
In addition, a reversible heat engine operating between temperatures T_{1} and T_{3} must have the same efficiency as one consisting of two cycles, one between T_{1} and another (intermediate) temperature T_{2}, and the second between T_{2} andT_{3}. This can only be the case if
 [math]\displaystyle{ f(T_1,T_3) = \frac{q_3}{q_1} = \frac{q_2 q_3} {q_1 q_2} = f(T_1,T_2)f(T_2,T_3). }[/math]
Now consider the case where [math]\displaystyle{ T_1 }[/math] is a fixed reference temperature: the temperature of the triple point of water. Then for any T_{2} and T_{3},
 [math]\displaystyle{ f(T_2,T_3) = \frac{f(T_1,T_3)}{f(T_1,T_2)} = \frac{273.16 \cdot f(T_1,T_3)}{273.16 \cdot f(T_1,T_2)}. }[/math]
Therefore, if thermodynamic temperature is defined by
 [math]\displaystyle{ T = 273.16 \cdot f(T_1,T) }[/math]
then the function f, viewed as a function of thermodynamic temperature, is simply
 [math]\displaystyle{ f(T_2,T_3) = \frac{T_3}{T_2}, }[/math]
and the reference temperature T_{1} will have the value 273.16. (Any reference temperature and any positive numerical value could be used – the choice here corresponds to the Kelvin scale.)
Entropy
According to the Clausius equality, for a reversible process
 [math]\displaystyle{ \oint \frac{\delta Q}{T}=0 }[/math]
That means the line integral [math]\displaystyle{ \int_L \frac{\delta Q}{T} }[/math] is path independent for reversible processes.
So we can define a state function S called entropy, which for a reversible process or for pure heat transfer^{[15]} satisfies
 [math]\displaystyle{ dS = \frac{\delta Q}{T} \! }[/math]
With this we can only obtain the difference of entropy by integrating the above formula. To obtain the absolute value, we need the third law of thermodynamics, which states that S = 0 at absolute zero for perfect crystals.
For any irreversible process, since entropy is a state function, we can always connect the initial and terminal states with an imaginary reversible process and integrating on that path to calculate the difference in entropy.
Now reverse the reversible process and combine it with the said irreversible process. Applying the Clausius inequality on this loop,
 [math]\displaystyle{ \Delta S+\int\frac{\delta Q}{T}=\oint\frac{\delta Q}{T}\lt 0 }[/math]
Thus,
 [math]\displaystyle{ \Delta S \ge \int \frac{\delta Q}{T} }[/math]
where the equality holds if the transformation is reversible.
Notice that if the process is an adiabatic process, then [math]\displaystyle{ \delta Q=0 }[/math], so [math]\displaystyle{ \Delta S \ge 0 }[/math].
Energy, available useful work
An important and revealing idealized special case is to consider applying the Second Law to the scenario of an isolated system (called the total system or universe), made up of two parts: a subsystem of interest, and the subsystem's surroundings. These surroundings are imagined to be so large that they can be considered as an unlimited heat reservoir at temperature T_{R} and pressure P_{R} – so that no matter how much heat is transferred to (or from) the subsystem, the temperature of the surroundings will remain T_{R}; and no matter how much the volume of the subsystem expands (or contracts), the pressure of the surroundings will remain P_{R}.
Whatever changes to dS and dS_{R} occur in the entropies of the subsystem and the surroundings individually, according to the Second Law the entropy S_{tot} of the isolated total system must not decrease:
 [math]\displaystyle{ dS_{\mathrm{tot}}= dS + dS_R \ge 0 }[/math]
According to the first law of thermodynamics, the change dU in the internal energy of the subsystem is the sum of the heat δq added to the subsystem, less any work δw done by the subsystem, plus any net chemical energy entering the subsystem d ∑μ_{iR}N_{i}, so that:
 [math]\displaystyle{ dU = \delta q  \delta w + d\left(\sum \mu_{iR}N_i\right) }[/math]
where μ_{iR} are the chemical potentials of chemical species in the external surroundings.
Now the heat leaving the reservoir and entering the subsystem is
 [math]\displaystyle{ \delta q = T_R (dS_R) \le T_R dS }[/math]
where we have first used the definition of entropy in classical thermodynamics (alternatively, in statistical thermodynamics, the relation between entropy change, temperature and absorbed heat can be derived); and then the Second Law inequality from above.
It therefore follows that any net work δw done by the subsystem must obey
 [math]\displaystyle{ \delta w \le  dU + T_R dS + \sum \mu_{iR} dN_i }[/math]
It is useful to separate the work δw done by the subsystem into the useful work δw_{u} that can be done by the subsystem, over and beyond the work p_{R} dV done merely by the subsystem expanding against the surrounding external pressure, giving the following relation for the useful work (exergy) that can be done:
 [math]\displaystyle{ \delta w_u \le d \left(U  T_R S + p_R V  \sum \mu_{iR} N_i \right) }[/math]
It is convenient to define the righthandside as the exact derivative of a thermodynamic potential, called the availability or exergy E of the subsystem,
 [math]\displaystyle{ E = U  T_R S + p_R V  \sum \mu_{iR} N_i }[/math]
The Second Law therefore implies that for any process which can be considered as divided simply into a subsystem, and an unlimited temperature and pressure reservoir with which it is in contact,
 [math]\displaystyle{ dE + \delta w_u \le 0 }[/math]
i.e. the change in the subsystem's exergy plus the useful work done by the subsystem (or, the change in the subsystem's exergy less any work, additional to that done by the pressure reservoir, done on the system) must be less than or equal to zero.
In sum, if a proper infinitereservoirlike reference state is chosen as the system surroundings in the real world, then the Second Law predicts a decrease in E for an irreversible process and no change for a reversible process.
 [math]\displaystyle{ dS_{tot} \ge 0 }[/math] is equivalent to [math]\displaystyle{ dE + \delta w_u \le 0 }[/math]
This expression together with the associated reference state permits a design engineer working at the macroscopic scale (above the thermodynamic limit) to utilize the Second Law without directly measuring or considering entropy change in a total isolated system. (Also, see process engineer). Those changes have already been considered by the assumption that the system under consideration can reach equilibrium with the reference state without altering the reference state. An efficiency for a process or collection of processes that compares it to the reversible ideal may also be found (See second law efficiency.)
This approach to the Second Law is widely utilized in engineering practice, environmental accounting, systems ecology, and other disciplines.
The second law in chemical thermodynamics
For a spontaneous chemical process in a closed system at constant temperature and pressure without nonPV work, the Clausius inequality ΔS > Q/T_{surr} transforms into a condition for the change in Gibbs free energy
 [math]\displaystyle{ \Delta G \lt 0 }[/math]
or dG < 0. For a similar process at constant temperature and volume, the change in Helmholtz free energy must be negative, [math]\displaystyle{ \Delta A \lt 0 }[/math]. Thus, a negative value of the change in free energy (G or A) is a necessary condition for a process to be spontaneous. This is the most useful form of the second law of thermodynamics in chemistry, where freeenergy changes can be calculated from tabulated enthalpies of formation and standard molar entropies of reactants and products.^{[16]} ^{[11]} The chemical equilibrium condition at constant T and p without electrical work is dG = 0.
History
The first theory of the conversion of heat into mechanical work is due to Nicolas Léonard Sadi Carnot in 1824. He was the first to realize correctly that the efficiency of this conversion depends on the difference of temperature between an engine and its environment.
Recognizing the significance of James Prescott Joule's work on the conservation of energy, Rudolf Clausius was the first to formulate the second law during 1850, in this form: heat does not flow spontaneously from cold to hot bodies. While common knowledge now, this was contrary to the caloric theory of heat popular at the time, which considered heat as a fluid. From there he was able to infer the principle of Sadi Carnot and the definition of entropy (1865).
Established during the 19th century, the KelvinPlanck statement of the Second Law says, "It is impossible for any device that operates on a cycle to receive heat from a single reservoir and produce a net amount of work." This was shown to be equivalent to the statement of Clausius.
The ergodic hypothesis is also important for the Boltzmann approach. It says that, over long periods of time, the time spent in some region of the phase space of microstates with the same energy is proportional to the volume of this region, i.e. that all accessible microstates are equally probable over a long period of time. Equivalently, it says that time average and average over the statistical ensemble are the same.
There is a traditional doctrine, starting with Clausius, that entropy can be understood in terms of molecular 'disorder' within a macroscopic system. This doctrine is obsolescent.^{[61]}^{[62]}^{[63]}
Account given by Clausius
In 1856, the German physicist Rudolf Clausius stated what he called the "second fundamental theorem in the mechanical theory of heat" in the following form:^{[64]}
 [math]\displaystyle{ \int \frac{\delta Q}{T} = N }[/math]
where Q is heat, T is temperature and N is the "equivalencevalue" of all uncompensated transformations involved in a cyclical process. Later, in 1865, Clausius would come to define "equivalencevalue" as entropy. On the heels of this definition, that same year, the most famous version of the second law was read in a presentation at the Philosophical Society of Zurich on April 24, in which, in the end of his presentation, Clausius concludes:
The entropy of the universe tends to a maximum.
This statement is the bestknown phrasing of the second law. Because of the looseness of its language, e.g. universe, as well as lack of specific conditions, e.g. open, closed, or isolated, many people take this simple statement to mean that the second law of thermodynamics applies virtually to every subject imaginable. This is not true; this statement is only a simplified version of a more extended and precise description.
In terms of time variation, the mathematical statement of the second law for an isolated system undergoing an arbitrary transformation is:
 [math]\displaystyle{ \frac{dS}{dt} \ge 0 }[/math]
where
 S is the entropy of the system and
 t is time.
The equality sign applies after equilibration. An alternative way of formulating of the second law for isolated systems is:
 [math]\displaystyle{ \frac{dS}{dt} = \dot S_{i} }[/math] with [math]\displaystyle{ \dot S_{i} \ge 0 }[/math]
with [math]\displaystyle{ \dot S_{i} }[/math] the sum of the rate of entropy production by all processes inside the system. The advantage of this formulation is that it shows the effect of the entropy production. The rate of entropy production is a very important concept since it determines (limits) the efficiency of thermal machines. Multiplied with ambient temperature [math]\displaystyle{ T_{a} }[/math] it gives the socalled dissipated energy [math]\displaystyle{ P_{diss}=T_{a}\dot S_{i} }[/math].
The expression of the second law for closed systems (so, allowing heat exchange and moving boundaries, but not exchange of matter) is:
 [math]\displaystyle{ \frac{dS}{dt} = \frac{\dot Q}{T}+\dot S_{i} }[/math] with [math]\displaystyle{ \dot S_{i} \ge 0 }[/math]
Here
 [math]\displaystyle{ \dot Q }[/math] is the heat flow into the system
 [math]\displaystyle{ T }[/math] is the temperature at the point where the heat enters the system.
The equality sign holds in the case that only reversible processes take place inside the system. If irreversible processes take place (which is the case in real systems in operation) the >sign holds. If heat is supplied to the system at several places we have to take the algebraic sum of the corresponding terms.
For open systems (also allowing exchange of matter):
 [math]\displaystyle{ \frac{dS}{dt} = \frac{\dot Q}{T}+\dot S+\dot S_{i} }[/math] with [math]\displaystyle{ \dot S_{i} \ge 0 }[/math]
Here [math]\displaystyle{ \dot S }[/math] is the flow of entropy into the system associated with the flow of matter entering the system. It should not be confused with the time derivative of the entropy. If matter is supplied at several places we have to take the algebraic sum of these contributions.
Statistical mechanics
Statistical mechanics gives an explanation for the second law by postulating that a material is composed of atoms and molecules which are in constant motion. A particular set of positions and velocities for each particle in the system is called a microstate of the system and because of the constant motion, the system is constantly changing its microstate. Statistical mechanics postulates that, in equilibrium, each microstate that the system might be in is equally likely to occur, and when this assumption is made, it leads directly to the conclusion that the second law must hold in a statistical sense. That is, the second law will hold on average, with a statistical variation on the order of 1/√N where N is the number of particles in the system. For everyday (macroscopic) situations, the probability that the second law will be violated is practically zero. However, for systems with a small number of particles, thermodynamic parameters, including the entropy, may show significant statistical deviations from that predicted by the second law. Classical thermodynamic theory does not deal with these statistical variations.
Derivation from statistical mechanics
The first mechanical argument of the Kinetic theory of gases that molecular collisions entail an equalization of temperatures and hence a tendency towards equilibrium was due to James Clerk Maxwell in 1860;^{[65]} Ludwig Boltzmann with his Htheorem of 1872 also argued that due to collisions gases should over time tend toward the Maxwell–Boltzmann distribution.
Due to Loschmidt's paradox, derivations of the Second Law have to make an assumption regarding the past, namely that the system is uncorrelated at some time in the past; this allows for simple probabilistic treatment. This assumption is usually thought as a boundary condition, and thus the second Law is ultimately a consequence of the initial conditions somewhere in the past, probably at the beginning of the universe (the Big Bang), though other scenarios have also been suggested.^{[66]}^{[67]}^{[68]}
Given these assumptions, in statistical mechanics, the Second Law is not a postulate, rather it is a consequence of the fundamental postulate, also known as the equal prior probability postulate, so long as one is clear that simple probability arguments are applied only to the future, while for the past there are auxiliary sources of information which tell us that it was low entropy.^{[citation needed]} The first part of the second law, which states that the entropy of a thermally isolated system can only increase, is a trivial consequence of the equal prior probability postulate, if we restrict the notion of the entropy to systems in thermal equilibrium. The entropy of an isolated system in thermal equilibrium containing an amount of energy of [math]\displaystyle{ E }[/math] is:
 [math]\displaystyle{ S = k_{\mathrm B} \ln\left[\Omega\left(E\right)\right] }[/math]
where [math]\displaystyle{ \Omega\left(E\right) }[/math] is the number of quantum states in a small interval between [math]\displaystyle{ E }[/math] and [math]\displaystyle{ E +\delta E }[/math]. Here [math]\displaystyle{ \delta E }[/math] is a macroscopically small energy interval that is kept fixed. Strictly speaking this means that the entropy depends on the choice of [math]\displaystyle{ \delta E }[/math]. However, in the thermodynamic limit (i.e. in the limit of infinitely large system size), the specific entropy (entropy per unit volume or per unit mass) does not depend on [math]\displaystyle{ \delta E }[/math].
Suppose we have an isolated system whose macroscopic state is specified by a number of variables. These macroscopic variables can, e.g., refer to the total volume, the positions of pistons in the system, etc. Then [math]\displaystyle{ \Omega }[/math] will depend on the values of these variables. If a variable is not fixed, (e.g. we do not clamp a piston in a certain position), then because all the accessible states are equally likely in equilibrium, the free variable in equilibrium will be such that [math]\displaystyle{ \Omega }[/math] is maximized as that is the most probable situation in equilibrium.
If the variable was initially fixed to some value then upon release and when the new equilibrium has been reached, the fact the variable will adjust itself so that [math]\displaystyle{ \Omega }[/math] is maximized, implies that the entropy will have increased or it will have stayed the same (if the value at which the variable was fixed happened to be the equilibrium value). Suppose we start from an equilibrium situation and we suddenly remove a constraint on a variable. Then right after we do this, there are a number [math]\displaystyle{ \Omega }[/math] of accessible microstates, but equilibrium has not yet been reached, so the actual probabilities of the system being in some accessible state are not yet equal to the prior probability of [math]\displaystyle{ 1/\Omega }[/math]. We have already seen that in the final equilibrium state, the entropy will have increased or have stayed the same relative to the previous equilibrium state. Boltzmann's Htheorem, however, proves that the quantity H increases monotonically as a function of time during the intermediate out of equilibrium state.
Derivation of the entropy change for reversible processes
The second part of the Second Law states that the entropy change of a system undergoing a reversible process is given by:
 [math]\displaystyle{ dS =\frac{\delta Q}{T} }[/math]
where the temperature is defined as:
 [math]\displaystyle{ \frac{1}{k_{\mathrm B} T}\equiv\beta\equiv\frac{d\ln\left[\Omega\left(E\right)\right]}{dE} }[/math]
See here for the justification for this definition. Suppose that the system has some external parameter, x, that can be changed. In general, the energy eigenstates of the system will depend on x. According to the adiabatic theorem of quantum mechanics, in the limit of an infinitely slow change of the system's Hamiltonian, the system will stay in the same energy eigenstate and thus change its energy according to the change in energy of the energy eigenstate it is in.
The generalized force, X, corresponding to the external variable x is defined such that [math]\displaystyle{ X dx }[/math] is the work performed by the system if x is increased by an amount dx. For example, if x is the volume, then X is the pressure. The generalized force for a system known to be in energy eigenstate [math]\displaystyle{ E_{r} }[/math] is given by:
 [math]\displaystyle{ X = \frac{dE_{r}}{dx} }[/math]
Since the system can be in any energy eigenstate within an interval of [math]\displaystyle{ \delta E }[/math], we define the generalized force for the system as the expectation value of the above expression:
 [math]\displaystyle{ X = \left\langle\frac{dE_{r}}{dx}\right\rangle\, }[/math]
To evaluate the average, we partition the [math]\displaystyle{ \Omega\left(E\right) }[/math] energy eigenstates by counting how many of them have a value for [math]\displaystyle{ \frac{dE_{r}}{dx} }[/math] within a range between [math]\displaystyle{ Y }[/math] and [math]\displaystyle{ Y + \delta Y }[/math]. Calling this number [math]\displaystyle{ \Omega_{Y}\left(E\right) }[/math], we have:
 [math]\displaystyle{ \Omega\left(E\right)=\sum_{Y}\Omega_{Y}\left(E\right)\, }[/math]
The average defining the generalized force can now be written:
 [math]\displaystyle{ X = \frac{1}{\Omega\left(E\right)}\sum_{Y} Y\Omega_{Y}\left(E\right)\, }[/math]
We can relate this to the derivative of the entropy with respect to x at constant energy E as follows. Suppose we change x to x + dx. Then [math]\displaystyle{ \Omega\left(E\right) }[/math] will change because the energy eigenstates depend on x, causing energy eigenstates to move into or out of the range between [math]\displaystyle{ E }[/math] and [math]\displaystyle{ E+\delta E }[/math]. Let's focus again on the energy eigenstates for which [math]\displaystyle{ \frac{dE_{r}}{dx} }[/math] lies within the range between [math]\displaystyle{ Y }[/math] and [math]\displaystyle{ Y + \delta Y }[/math]. Since these energy eigenstates increase in energy by Y dx, all such energy eigenstates that are in the interval ranging from E – Y dx to E move from below E to above E. There are
 [math]\displaystyle{ N_{Y}\left(E\right)=\frac{\Omega_{Y}\left(E\right)}{\delta E} Y dx\, }[/math]
such energy eigenstates. If [math]\displaystyle{ Y dx\leq\delta E }[/math], all these energy eigenstates will move into the range between [math]\displaystyle{ E }[/math] and [math]\displaystyle{ E+\delta E }[/math] and contribute to an increase in [math]\displaystyle{ \Omega }[/math]. The number of energy eigenstates that move from below [math]\displaystyle{ E+\delta E }[/math] to above [math]\displaystyle{ E+\delta E }[/math] is given by [math]\displaystyle{ N_{Y}\left(E+\delta E\right) }[/math]. The difference
 [math]\displaystyle{ N_{Y}\left(E\right)  N_{Y}\left(E+\delta E\right)\, }[/math]
is thus the net contribution to the increase in [math]\displaystyle{ \Omega }[/math]. Note that if Y dx is larger than [math]\displaystyle{ \delta E }[/math] there will be the energy eigenstates that move from below E to above [math]\displaystyle{ E+\delta E }[/math]. They are counted in both [math]\displaystyle{ N_{Y}\left(E\right) }[/math] and [math]\displaystyle{ N_{Y}\left(E+\delta E\right) }[/math], therefore the above expression is also valid in that case.
Expressing the above expression as a derivative with respect to E and summing over Y yields the expression:
 [math]\displaystyle{ \left(\frac{\partial\Omega}{\partial x}\right)_{E} = \sum_{Y}Y\left(\frac{\partial\Omega_{Y}}{\partial E}\right)_{x}= \left(\frac{\partial\left(\Omega X\right)}{\partial E}\right)_{x}\, }[/math]
The logarithmic derivative of [math]\displaystyle{ \Omega }[/math] with respect to x is thus given by:
 [math]\displaystyle{ \left(\frac{\partial\ln\left(\Omega\right)}{\partial x}\right)_{E} = \beta X +\left(\frac{\partial X}{\partial E}\right)_{x}\, }[/math]
The first term is intensive, i.e. it does not scale with system size. In contrast, the last term scales as the inverse system size and will thus vanish in the thermodynamic limit. We have thus found that:
 [math]\displaystyle{ \left(\frac{\partial S}{\partial x}\right)_{E} = \frac{X}{T}\, }[/math]
Combining this with
 [math]\displaystyle{ \left(\frac{\partial S}{\partial E}\right)_{x} = \frac{1}{T}\, }[/math]
Gives:
 [math]\displaystyle{ dS = \left(\frac{\partial S}{\partial E}\right)_{x}dE+\left(\frac{\partial S}{\partial x}\right)_{E}dx = \frac{dE}{T} + \frac{X}{T} dx=\frac{\delta Q}{T}\, }[/math]
Derivation for systems described by the canonical ensemble
If a system is in thermal contact with a heat bath at some temperature T then, in equilibrium, the probability distribution over the energy eigenvalues are given by the canonical ensemble:
 [math]\displaystyle{ P_{j}=\frac{\exp\left(\frac{E_{j}}{k_{\mathrm B} T}\right)}{Z} }[/math]
Here Z is a factor that normalizes the sum of all the probabilities to 1, this function is known as the partition function. We now consider an infinitesimal reversible change in the temperature and in the external parameters on which the energy levels depend. It follows from the general formula for the entropy:
 [math]\displaystyle{ S = k_{\mathrm B}\sum_{j}P_{j}\ln\left(P_{j}\right) }[/math]
that
 [math]\displaystyle{ dS = k_{\mathrm B}\sum_{j}\ln\left(P_{j}\right)dP_{j} }[/math]
Inserting the formula for [math]\displaystyle{ P_{j} }[/math] for the canonical ensemble in here gives:
 [math]\displaystyle{ dS = \frac{1}{T}\sum_{j}E_{j}dP_{j}=\frac{1}{T}\sum_{j}d\left(E_{j}P_{j}\right)  \frac{1}{T}\sum_{j}P_{j}dE_{j}= \frac{dE + \delta W}{T}=\frac{\delta Q}{T} }[/math]
Initial conditions at the Big Bang
As elaborated above, it is thought that the second law of thermodynamics is a result of the very lowentropy initial conditions at the Big Bang. From a statistical point of view, these were very special conditions. On the other hand, they were quite simple, as the universe  or at least the part thereof from which the observable universe developed  seem to have been extremely uniform.^{[69]}
This may seem somewhat paradoxical, since in many physical systems uniform conditions (e.g. mixed rather than separated gases) have high entropy. The paradox is solved once realizing that gravitational systems have negative heat capacity, so that when gravity is important, uniform conditions (e.g. gas of uniform density) in fact have lower entropy compared to nonuniform ones (e.g. black holes in empty space).^{[70]} Yet another approach is that the universe had high (or even maximal) entropy given its size, but as the universe grew it rapidly came out of thermodynamic equilibrium, its entropy only slightly increased compared to the increase in maximal possible entropy, and thus it has arrived at a very low entropy when compared to the much larger possible maximum given its later size.^{[71]}
As for the reason why initial conditions were such, one suggestion is that cosmological inflation was enough to wipe off nonsmoothness, while another is that the universe was created spontaneously where the mechanism of creation implies lowentropy initial conditions.^{[72]}
Living organisms
There are two principal ways of formulating thermodynamics, (a) through passages from one state of thermodynamic equilibrium to another, and (b) through cyclic processes, by which the system is left unchanged, while the total entropy of the surroundings is increased. These two ways help to understand the processes of life. The thermodynamics of living organisms has been considered by many authors, such as Erwin Schrödinger, Léon Brillouin^{[73]} and Isaac Asimov.
To a fair approximation, living organisms may be considered as examples of (b). Approximately, an animal's physical state cycles by the day, leaving the animal nearly unchanged. Animals take in food, water, and oxygen, and, as a result of metabolism, give out breakdown products and heat. Plants take in radiative energy from the sun, which may be regarded as heat, and carbon dioxide and water. They give out oxygen. In this way they grow. Eventually they die, and their remains rot away, turning mostly back into carbon dioxide and water. This can be regarded as a cyclic process. Overall, the sunlight is from a high temperature source, the sun, and its energy is passed to a lower temperature sink, i.e. radiated into space. This is an increase of entropy of the surroundings of the plant. Thus animals and plants obey the second law of thermodynamics, considered in terms of cyclic processes.
Furthermore, the ability of living organisms to grow and increase in complexity, as well as to form correlations with their environment in the form of adaption and memory, is not opposed to the second law – rather, it is akin to general results following from it: Under some definitions, an increase in entropy also results in an increase in complexity,^{[74]} and for a finite system interacting with finite reservoirs, an increase in entropy is equivalent to an increase in correlations between the system and the reservoirs.^{[75]}
Living organisms may be considered as open systems, because matter passes into and out from them. Thermodynamics of open systems is currently often considered in terms of passages from one state of thermodynamic equilibrium to another, or in terms of flows in the approximation of local thermodynamic equilibrium. The problem for living organisms may be further simplified by the approximation of assuming a steady state with unchanging flows. General principles of entropy production for such approximations are subject to unsettled current debate or research.
Gravitational systems
Commonly, systems for which gravity is not important have a positive heat capacity, meaning that their temperature rises with their internal energy. Therefore, when energy flows from a hightemperature object to a lowtemperature object, the source temperature decreases while the sink temperature is increased; hence temperature differences tend to diminish over time.
This is not always the case for systems in which the gravitational force is important: systems that are bound by their own gravity, such as stars, can have negative heat capacities. As they contract, both their total energy and their entropy decrease^{[76]} but their internal temperature may increase. This can be significant for protostars and even gas giant planets such as Jupiter.
As gravity is the most important force operating on cosmological scales, it may be difficult or impossible to apply the second law to the universe as a whole.^{[77]}
Nonequilibrium states
The theory of classical or equilibrium thermodynamics is idealized. A main postulate or assumption, often not even explicitly stated, is the existence of systems in their own internal states of thermodynamic equilibrium. In general, a region of space containing a physical system at a given time, that may be found in nature, is not in thermodynamic equilibrium, read in the most stringent terms. In looser terms, nothing in the entire universe is or has ever been truly in exact thermodynamic equilibrium.^{[77]}^{[78]}
For purposes of physical analysis, it is often enough convenient to make an assumption of thermodynamic equilibrium. Such an assumption may rely on trial and error for its justification. If the assumption is justified, it can often be very valuable and useful because it makes available the theory of thermodynamics. Elements of the equilibrium assumption are that a system is observed to be unchanging over an indefinitely long time, and that there are so many particles in a system, that its particulate nature can be entirely ignored. Under such an equilibrium assumption, in general, there are no macroscopically detectable fluctuations. There is an exception, the case of critical states, which exhibit to the naked eye the phenomenon of critical opalescence. For laboratory studies of critical states, exceptionally long observation times are needed.
In all cases, the assumption of thermodynamic equilibrium, once made, implies as a consequence that no putative candidate "fluctuation" alters the entropy of the system.
It can easily happen that a physical system exhibits internal macroscopic changes that are fast enough to invalidate the assumption of the constancy of the entropy. Or that a physical system has so few particles that the particulate nature is manifest in observable fluctuations. Then the assumption of thermodynamic equilibrium is to be abandoned. There is no unqualified general definition of entropy for nonequilibrium states.^{[79]}
There are intermediate cases, in which the assumption of local thermodynamic equilibrium is a very good approximation,^{[80]}^{[81]}^{[82]}^{[83]} but strictly speaking it is still an approximation, not theoretically ideal.
For nonequilibrium situations in general, it may be useful to consider statistical mechanical definitions of other quantities that may be conveniently called 'entropy', but they should not be confused or conflated with thermodynamic entropy properly defined for the second law. These other quantities indeed belong to statistical mechanics, not to thermodynamics, the primary realm of the second law.
The physics of macroscopically observable fluctuations is beyond the scope of this article.
Arrow of time
The second law of thermodynamics is a physical law that is not symmetric to reversal of the time direction. This does not conflict with symmetries observed in the fundamental laws of physics (particularly CPT symmetry) since the second law applies statistically on timeasymmetric boundary conditions.^{[84]} The second law has been related to the difference between moving forwards and backwards in time, or to the principle that cause precedes effect (the causal arrow of time, or causality).^{[85]}
Irreversibility
Irreversibility in thermodynamic processes is a consequence of the asymmetric character of thermodynamic operations, and not of any internally irreversible microscopic properties of the bodies. Thermodynamic operations are macroscopic external interventions imposed on the participating bodies, not derived from their internal properties. There are reputed "paradoxes" that arise from failure to recognize this.
Loschmidt's paradox
Loschmidt's paradox, also known as the reversibility paradox, is the objection that it should not be possible to deduce an irreversible process from the timesymmetric dynamics that describe the microscopic evolution of a macroscopic system.
In the opinion of Schrödinger, "It is now quite obvious in what manner you have to reformulate the law of entropy – or for that matter, all other irreversible statements – so that they be capable of being derived from reversible models. You must not speak of one isolated system but at least of two, which you may for the moment consider isolated from the rest of the world, but not always from each other."^{[86]} The two systems are isolated from each other by the wall, until it is removed by the thermodynamic operation, as envisaged by the law. The thermodynamic operation is externally imposed, not subject to the reversible microscopic dynamical laws that govern the constituents of the systems. It is the cause of the irreversibility. The statement of the law in this present article complies with Schrödinger's advice. The cause–effect relation is logically prior to the second law, not derived from it.
Poincaré recurrence theorem
The Poincaré recurrence theorem considers a theoretical microscopic description of an isolated physical system. This may be considered as a model of a thermodynamic system after a thermodynamic operation has removed an internal wall. The system will, after a sufficiently long time, return to a microscopically defined state very close to the initial one. The Poincaré recurrence time is the length of time elapsed until the return. It is exceedingly long, likely longer than the life of the universe, and depends sensitively on the geometry of the wall that was removed by the thermodynamic operation. The recurrence theorem may be perceived as apparently contradicting the second law of thermodynamics. More obviously, however, it is simply a microscopic model of thermodynamic equilibrium in an isolated system formed by removal of a wall between two systems. For a typical thermodynamical system, the recurrence time is so large (many many times longer than the lifetime of the universe) that, for all practical purposes, one cannot observe the recurrence. One might wish, nevertheless, to imagine that one could wait for the Poincaré recurrence, and then reinsert the wall that was removed by the thermodynamic operation. It is then evident that the appearance of irreversibility is due to the utter unpredictability of the Poincaré recurrence given only that the initial state was one of thermodynamic equilibrium, as is the case in macroscopic thermodynamics. Even if one could wait for it, one has no practical possibility of picking the right instant at which to reinsert the wall. The Poincaré recurrence theorem provides a solution to Loschmidt's paradox. If an isolated thermodynamic system could be monitored over increasingly many multiples of the average Poincaré recurrence time, the thermodynamic behavior of the system would become invariant under time reversal.
Maxwell's demon
James Clerk Maxwell imagined one container divided into two parts, A and B. Both parts are filled with the same gas at equal temperatures and placed next to each other, separated by a wall. Observing the molecules on both sides, an imaginary demon guards a microscopic trapdoor in the wall. When a fasterthanaverage molecule from A flies towards the trapdoor, the demon opens it, and the molecule will fly from A to B. The average speed of the molecules in B will have increased while in A they will have slowed down on average. Since average molecular speed corresponds to temperature, the temperature decreases in A and increases in B, contrary to the second law of thermodynamics.
One response to this question was suggested in 1929 by Leó Szilárd and later by Léon Brillouin. Szilárd pointed out that a reallife Maxwell's demon would need to have some means of measuring molecular speed, and that the act of acquiring information would require an expenditure of energy.
Maxwell's 'demon' repeatedly alters the permeability of the wall between A and B. It is therefore performing thermodynamic operations on a microscopic scale, not just observing ordinary spontaneous or natural macroscopic thermodynamic processes.
Quotations
The law that entropy always increases holds, I think, the supreme position among the laws of Nature. If someone points out to you that your pet theory of the universe is in disagreement with Maxwell's equations – then so much the worse for Maxwell's equations. If it is found to be contradicted by observation – well, these experimentalists do bungle things sometimes. But if your theory is found to be against the second law of thermodynamics I can give you no hope; there is nothing for it but to collapse in deepest humiliation.—Sir Arthur Stanley Eddington, The Nature of the Physical World (1927)
There have been nearly as many formulations of the second law as there have been discussions of it.—Philosopher / Physicist P.W. Bridgman, (1941)
Clausius is the author of the sibyllic utterance, "The energy of the universe is constant; the entropy of the universe tends to a maximum." The objectives of continuum thermomechanics stop far short of explaining the "universe", but within that theory we may easily derive an explicit statement in some ways reminiscent of Clausius, but referring only to a modest object: an isolated body of finite size.—Truesdell, C., Muncaster, R. G. (1980). Fundamentals of Maxwell's Kinetic Theory of a Simple Monatomic Gas, Treated as a Branch of Rational Mechanics, Academic Press, New York, ISBN:0127013504, p. 17.
See also
 Clausius–Duhem inequality
 Fluctuation theorem
 Heat death of the universe
 History of thermodynamics
 Jarzynski equality
 Laws of thermodynamics
 Maximum entropy thermodynamics
 Quantum thermodynamics
 Reflections on the Motive Power of Fire
 Relativistic heat conduction
 Thermal diode
 Thermodynamic equilibrium
References
 ↑ "5.2 Axiomatic Statements of the Laws of Thermodynamics". Massachusetts Institute of Technology. http://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node38.html#SECTION05224000000000000000.
 ↑ Zohuri, Bahman (2016). Dimensional Analysis Beyond the Pi Theorem. Springer. p. 111. ISBN 9783319457260. https://books.google.com/books?id=pRVuDQAAQBAJ.
 ↑ Jaffe, R.L.; Taylor, W. (2018). The Physics of Energy. Cambridge UK: Cambridge University Press. p. 150,n259, 772, 743. ISBN 9781107016651. https://books.google.com/books?id=drZDDwAAQBAJ.
 ↑ David L. Chandler (20110519). "Explained: The Carnot Limit". http://news.mit.edu/2010/explainedcarnot0519.
 ↑ Planck, M. (1897/1903), pp. 40–41.
 ↑ Munster A. (1970), pp. 8–9, 50–51.
 ↑ Mandl 1988
 ↑ Planck, M. (1897/1903), pp. 79–107.
 ↑ Bailyn, M. (1994), Section 71, pp. 113–154.
 ↑ Bailyn, M. (1994), p. 120.
 ↑ ^{11.0} ^{11.1} ^{11.2} Mortimer, R.G. (2008). Physical Chemistry. Elsevier Science. p. 120. ISBN 9780123706171. https://books.google.com/books?id=5CXWAQAACAAJ.
 ↑ Fermi, E. (2012). Thermodynamics. Dover Books on Physics. Dover Publications. p. 48. ISBN 9780486134857. https://books.google.com/books?id=xCjDAgAAQBAJ.
 ↑ Adkins, C.J. (1968/1983), p. 75.
 ↑ ^{14.0} ^{14.1} ^{14.2} Münster, A. (1970), p. 45.
 ↑ ^{15.0} ^{15.1} ^{15.2} SchmidtRohr, Klaus (16 December 2013). "Expansion Work without the External Pressure and Thermodynamics in Terms of Quasistatic Irreversible Processes". Journal of Chemical Education (American Chemical Society (ACS)) 91 (3): 402–409. doi:10.1021/ed3008704. ISSN 00219584.
 ↑ ^{16.0} ^{16.1} Oxtoby, D. W; Gillis, H.P., Butler, L. J. (2015).Principles of Modern Chemistry, Brooks Cole. p. 617. ISBN:9781305079113
 ↑ Pokrovskii V.N. (2005) Extended thermodynamics in a discretesystem approach, Eur. J. Phys. vol. 26, 769–781.
 ↑ Pokrovskii, Vladimir N. (2013). "A Derivation of the Main Relations of Nonequilibrium Thermodynamics". ISRN Thermodynamics 2013: 1–9. doi:10.1155/2013/906136.
 ↑ J. S. Dugdale (1996). Entropy and its Physical Meaning. Taylor & Francis. p. 13. ISBN 9780748405695. https://archive.org/details/entropyitsphysic00dugd. "This law is the basis of temperature."
 ↑ Zemansky, M.W. (1968), pp. 207–209.
 ↑ Quinn, T.J. (1983), p. 8.
 ↑ "Concept and Statements of the Second Law". web.mit.edu. http://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node37.html.
 ↑ Lieb & Yngvason (1999).
 ↑ Rao (2004), p. 213.
 ↑ Carnot, S. (1824/1986).
 ↑ Carnot, S. (1824/1986), p. 51.
 ↑ Carnot, S. (1824/1986), p. 46.
 ↑ Carnot, S. (1824/1986), p. 68.
 ↑ Truesdell, C. (1980), Chapter 5.
 ↑ Adkins, C.J. (1968/1983), pp. 56–58.
 ↑ Münster, A. (1970), p. 11.
 ↑ Kondepudi, D., Prigogine, I. (1998), pp.67–75.
 ↑ Lebon, G., Jou, D., CasasVázquez, J. (2008), p. 10.
 ↑ Eu, B.C. (2002), pp. 32–35.
 ↑ Clausius (1850).
 ↑ Clausius (1854), p. 86.
 ↑ Thomson (1851).
 ↑ Planck, M. (1897/1903), p. 86.
 ↑ Roberts, J.K., Miller, A.R. (1928/1960), p. 319.
 ↑ ter Haar, D., Wergeland, H. (1966), p. 17.
 ↑ Rao, Y. V. C. (1997). Chemical Engineering Thermodynamics. Universities Press. p. 158. ISBN 9788173710483.
 ↑ Planck, M. (1897/1903), p. 100.
 ↑ Planck, M. (1926), p. 463, translation by Uffink, J. (2003), p. 131.
 ↑ Roberts, J.K., Miller, A.R. (1928/1960), p. 382. This source is partly verbatim from Planck's statement, but does not cite Planck. This source calls the statement the principle of the increase of entropy.
 ↑ Uhlenbeck, G.E., Ford, G.W. (1963), p. 16.
 ↑ Carathéodory, C. (1909).
 ↑ Buchdahl, H.A. (1966), p. 68.
 ↑ Sychev, V. V. (1991). The Differential Equations of Thermodynamics. Taylor & Francis. ISBN 9781560321217.
 ↑ ^{49.0} ^{49.1} Lieb & Yngvason (1999), p. 49.
 ↑ ^{50.0} ^{50.1} Planck, M. (1926).
 ↑ Buchdahl, H.A. (1966), p. 69.
 ↑ Uffink, J. (2003), pp. 129–132.
 ↑ Truesdell, C., Muncaster, R.G. (1980). Fundamentals of Maxwell's Kinetic Theory of a Simple Monatomic Gas, Treated as a Branch of Rational Mechanics, Academic Press, New York, ISBN:0127013504, p. 15.
 ↑ Planck, M. (1897/1903), p. 81.
 ↑ Planck, M. (1926), p. 457, Wikipedia editor's translation.
 ↑ Lieb, E.H., Yngvason, J. (2003), p. 149.
 ↑ Borgnakke, C., Sonntag., R.E. (2009), p. 304.
 ↑ van Gool, W.; Bruggink, J.J.C. (Eds) (1985). Energy and time in the economic and physical sciences. NorthHolland. pp. 41–56. ISBN 9780444877482.
 ↑ Grubbström, Robert W. (2007). "An Attempt to Introduce Dynamics Into Generalised Exergy Considerations". Applied Energy 84 (7–8): 701–718. doi:10.1016/j.apenergy.2007.01.003.
 ↑ Clausius theorem at Wolfram Research
 ↑ Denbigh, K.G., Denbigh, J.S. (1985). Entropy in Relation to Incomplete Knowledge, Cambridge University Press, Cambridge UK, ISBN:0521256771, pp. 43–44.
 ↑ Grandy, W.T., Jr (2008). Entropy and the Time Evolution of Macroscopic Systems, Oxford University Press, Oxford, ISBN:9780199546176, pp. 55–58.
 ↑ Entropy Sites — A Guide Content selected by Frank L. Lambert
 ↑ Clausius (1867).
 ↑ Gyenis, Balazs (2017). "Maxwell and the normal distribution: A colored story of probability, independence, and tendency towards equilibrium". Studies in History and Philosophy of Modern Physics 57: 53–65. doi:10.1016/j.shpsb.2017.01.001. Bibcode: 2017SHPMP..57...53G.
 ↑ Hawking, SW (1985). "Arrow of time in cosmology". Phys. Rev. D 32 (10): 2489–2495. doi:10.1103/PhysRevD.32.2489. PMID 9956019. Bibcode: 1985PhRvD..32.2489H.
 ↑ Greene, Brian (2004). The Fabric of the Cosmos. Alfred A. Knopf. p. 171. ISBN 9780375412882. https://archive.org/details/fabricofcosmossp00gree.
 ↑ Lebowitz, Joel L. (September 1993). "Boltzmann's Entropy and Time's Arrow". Physics Today 46 (9): 32–38. doi:10.1063/1.881363. Bibcode: 1993PhT....46i..32L. http://users.df.uba.ar/ariel/materias/FT3_2008_1C/papers_pdf/lebowitz_370.pdf. Retrieved 20130222.
 ↑ Carroll, S. (2017). The big picture: on the origins of life, meaning, and the universe itself. Penguin.
 ↑ Greene, B. (2004). The fabric of the cosmos: Space, time, and the texture of reality. Knopf.
 ↑ Davies, P. C. (1983). Inflation and time asymmetry in the universe. Nature, 301(5899), 398400.
 ↑ Physicists Debate Hawking’s Idea That the Universe Had No Beginning. Wolchover, N. Quantmagazine, June 6, 2019. Retrieved 20201128
 ↑ Brillouin, L. (2013). Science and Information Theory. Dover Books on Physics. Dover Publications, Incorporated. ISBN 9780486497556. https://books.google.com/books?id=tPXVbiw_1P0C. Retrieved 26 March 2021.
 ↑ Ladyman, James; Lambert, James; Wiesner, Karoline (19 June 2012). "What is a complex system?". European Journal for Philosophy of Science (Springer Science and Business Media LLC) 3 (1): 33–67. doi:10.1007/s1319401200568. ISSN 18794912.
 ↑ Esposito, Massimiliano; Lindenberg, Katja; Van den Broeck, Christian (15 January 2010). "Entropy production as correlation between system and reservoir". New Journal of Physics (IOP Publishing) 12 (1). doi:10.1088/13672630/12/1/013013. ISSN 13672630.
 ↑ Baez, John (7 August 2000). "Can Gravity Decrease Entropy?". University of California Riverside. http://math.ucr.edu/home/baez/entropy.html. "... gravitationally bound ball of gas has a negative specific heat!"
 ↑ ^{77.0} ^{77.1} Grandy, W.T. (Jr) (2008), p. 151.
 ↑ Callen, H.B. (1960/1985), p. 15.
 ↑ Lieb, E.H., Yngvason, J. (2003), p. 190.
 ↑ Gyarmati, I. (1967/1970), pp. 414.
 ↑ Glansdorff, P., Prigogine, I. (1971).
 ↑ Müller, I. (1985).
 ↑ Müller, I. (2003).
 ↑ Callender, Craig (29 July 2011). "Thermodynamic Asymmetry in Time". Stanford Encyclopedia of Philosophy. https://plato.stanford.edu/archives/fall2011/entries/timethermo/.
 ↑ Halliwell, J.J. (1994). Physical Origins of Time Asymmetry. Cambridge. ISBN 9780521568371. chapter 6
 ↑ Schrödinger, E. (1950), p. 192.
Sources
 Adkins, C. J. (1983). Equilibrium thermodynamics (1st ed. 1968, 3rd ed.). Cambridge UK: Cambridge University Press. ISBN 0521254450. OCLC 9132054.
 Atkins, P.W., de Paula, J. (2006). Atkins' Physical Chemistry, eighth edition, W.H. Freeman, New York, ISBN:9780716787594.
 Attard, P. (2012). Nonequilibrium Thermodynamics and Statistical Mechanics: Foundations and Applications, Oxford University Press, Oxford UK, ISBN:9780199662760.
 Baierlein, R. (1999). Thermal Physics, Cambridge University Press, Cambridge UK, ISBN:0521590825.
 Bailyn, M. (1994). A Survey of Thermodynamics, American Institute of Physics, New York, ISBN:0883187973.
 Blundell, Stephen J.; Blundell, Katherine M. (2010). Concepts in thermal physics (2nd ed.). Oxford: Oxford University Press. doi:10.1093/acprof:oso/9780199562091.001.0001. ISBN 9780199562107. OCLC 607907330. http://cds.cern.ch/record/1235139.
 Boltzmann, L. (1896/1964). Lectures on Gas Theory, translated by S.G. Brush, University of California Press, Berkeley.
 Borgnakke, C., Sonntag., R.E. (2009). Fundamentals of Thermodynamics, seventh edition, Wiley, ISBN:9780470041925.
 Buchdahl, H.A. (1966). The Concepts of Classical Thermodynamics, Cambridge University Press, Cambridge UK.
 Bridgman, P.W. (1943). The Nature of Thermodynamics, Harvard University Press, Cambridge MA.
 Callen, H.B. (1960/1985). Thermodynamics and an Introduction to Thermostatistics, (1st edition 1960) 2nd edition 1985, Wiley, New York, ISBN:0471862568.
 C. Carathéodory (1909). "Untersuchungen über die Grundlagen der Thermodynamik". Mathematische Annalen 67 (3): 355–386. doi:10.1007/bf01450409. http://gdz.sub.unigoettingen.de/index.php?id=11&PPN=PPN235181684_0067&DMDID=DMDLOG_0033&L=1. "Axiom II: In jeder beliebigen Umgebung eines willkürlich vorgeschriebenen Anfangszustandes gibt es Zustände, die durch adiabatische Zustandsänderungen nicht beliebig approximiert werden können. (p.363)".. A translation may be found here. Also a mostly reliable translation is to be found at Kestin, J. (1976). The Second Law of Thermodynamics, Dowden, Hutchinson & Ross, Stroudsburg PA.
 Carnot, S. (1824/1986). Reflections on the motive power of fire, Manchester University Press, Manchester UK, ISBN:0719017416. Also here.
 Chapman, S., Cowling, T.G. (1939/1970). The Mathematical Theory of Nonuniform gases. An Account of the Kinetic Theory of Viscosity, Thermal Conduction and Diffusion in Gases, third edition 1970, Cambridge University Press, London.
 Clausius, R. (1850). "Ueber Die Bewegende Kraft Der Wärme Und Die Gesetze, Welche Sich Daraus Für Die Wärmelehre Selbst Ableiten Lassen". Annalen der Physik 79 (4): 368–397, 500–524. doi:10.1002/andp.18501550403. Bibcode: 1850AnP...155..500C. http://gallica.bnf.fr/ark:/12148/bpt6k15164w/f518.image. Retrieved 26 June 2012. Translated into English: Clausius, R. (July 1851). "On the Moving Force of Heat, and the Laws regarding the Nature of Heat itself which are deducible therefrom". London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science. 4th 2 (VIII): 1–21; 102–119. doi:10.1080/14786445108646819. https://archive.org/stream/londonedinburghd02lond#page/1/mode/1up. Retrieved 26 June 2012.
 Clausius, R. (1854). "Über eine veränderte Form des zweiten Hauptsatzes der mechanischen Wärmetheorie". Annalen der Physik xciii (12): 481–506. doi:10.1002/andp.18541691202. Bibcode: 1854AnP...169..481C. http://zfbb.thulb.unijena.de/servlets/MCRFileNodeServlet/jportal_derivate_00140956/18541691202_ftp.pdf. Retrieved 24 March 2014. Translated into English: Clausius, R. (July 1856). "On a Modified Form of the Second Fundamental Theorem in the Mechanical Theory of Heat". London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science. 4th 2: 86. https://www.biodiversitylibrary.org/item/20044#page/100/mode/1up. Retrieved 24 March 2014. Reprinted in: Clausius, R. (1867). The Mechanical Theory of Heat – with its Applications to the Steam Engine and to Physical Properties of Bodies. London: John van Voorst. https://archive.org/details/mechanicaltheor04claugoog. Retrieved 19 June 2012. "editions:PwR_Sbkwa8IC."
 Denbigh, K. (1954/1981). The Principles of Chemical Equilibrium. With Applications in Chemistry and Chemical Engineering, fourth edition, Cambridge University Press, Cambridge UK, ISBN:0521236827.
 Eu, B.C. (2002). Generalized Thermodynamics. The Thermodynamics of Irreversible Processes and Generalized Hydrodynamics, Kluwer Academic Publishers, Dordrecht, ISBN:1402007884.
 Gibbs, J.W. (1876/1878). On the equilibrium of heterogeneous substances, Trans. Conn. Acad., 3: 108–248, 343–524, reprinted in The Collected Works of J. Willard Gibbs, Ph.D, LL. D., edited by W.R. Longley, R.G. Van Name, Longmans, Green & Co., New York, 1928, volume 1, pp. 55–353.
 Griem, H.R. (2005). Principles of Plasma Spectroscopy (Cambridge Monographs on Plasma Physics), Cambridge University Press, New York ISBN:0521619416.
 Glansdorff, P., Prigogine, I. (1971). Thermodynamic Theory of Structure, Stability, and Fluctuations, WileyInterscience, London, 1971, ISBN:0471302805.
 Grandy, Walter T. (2008). Entropy and the time evolution of macroscopic systems. Oxford New York: Oxford University Press. ISBN 9780199546176. OCLC 190843367. http://global.oup.com/academic/product/entropyandthetimeevolutionofmacroscopicsystems9780199546176.
 Greven, A., Keller, G., Warnecke (editors) (2003). Entropy, Princeton University Press, Princeton NJ, ISBN:0691113386.
 Guggenheim, E.A. (1949). 'Statistical basis of thermodynamics', Research, 2: 450–454.
 Guggenheim, E.A. (1967). Thermodynamics. An Advanced Treatment for Chemists and Physicists, fifth revised edition, North Holland, Amsterdam.
 Gyarmati, I. (1967/1970) Nonequilibrium Thermodynamics. Field Theory and Variational Principles, translated by E. Gyarmati and W.F. Heinz, Springer, New York.
 Kittel, C., Kroemer, H. (1969/1980). Thermal Physics, second edition, Freeman, San Francisco CA, ISBN:0716710889.
 Kondepudi, D., Prigogine, I. (1998). Modern Thermodynamics: From Heat Engines to Dissipative Structures, John Wiley & Sons, Chichester, ISBN:0471973939.
 Lebon, G., Jou, D., CasasVázquez, J. (2008). Understanding Nonequilibrium Thermodynamics: Foundations, Applications, Frontiers, SpringerVerlag, Berlin, ISBN:9783540742524.
 Lieb, E. H.; Yngvason, J. (1999). "The Physics and Mathematics of the Second Law of Thermodynamics". Physics Reports 310 (1): 1–96. doi:10.1016/S03701573(98)000829. Bibcode: 1999PhR...310....1L.
 Lieb, E.H., Yngvason, J. (2003). The Entropy of Classical Thermodynamics, pp. 147–195, Chapter 8 of Entropy, Greven, A., Keller, G., Warnecke (editors) (2003).
 Mandl, F. (1988). Statistical physics (second ed.). Wiley & Sons. ISBN 9780471915331.
 Maxwell, J.C. (1867). "On the dynamical theory of gases". Phil. Trans. R. Soc. Lond. 157: 49–88. doi:10.1098/rstl.1867.0004.
 Müller, I. (1985). Thermodynamics, Pitman, London, ISBN:0273085778.
 Müller, I. (2003). Entropy in Nonequilibrium, pp. 79–109, Chapter 5 of Entropy, Greven, A., Keller, G., Warnecke (editors) (2003).
 Münster, A. (1970), Classical Thermodynamics, translated by E.S. Halberstadt, Wiley–Interscience, London, ISBN:0471624306.
 Pippard, A.B. (1957/1966). Elements of Classical Thermodynamics for Advanced Students of Physics, original publication 1957, reprint 1966, Cambridge University Press, Cambridge UK.
 Planck, M. (1897/1903). Treatise on Thermodynamics, translated by A. Ogg, Longmans Green, London, p. 100.
 Planck. M. (1914). The Theory of Heat Radiation, a translation by Masius, M. of the second German edition, P. Blakiston's Son & Co., Philadelphia.
 Planck, M. (1926). Über die Begründung des zweiten Hauptsatzes der Thermodynamik, Sitzungsberichte der Preussischen Akademie der Wissenschaften: Physikalischmathematische Klasse: 453–463.
 Pokrovskii V.N. (2005) Extended thermodynamics in a discretesystem approach, Eur. J. Phys. vol. 26, 769–781.
 Pokrovskii, Vladimir N. (2013). "A Derivation of the Main Relations of Nonequilibrium Thermodynamics". ISRN Thermodynamics 2013: 1–9. doi:10.1155/2013/906136.
 Quinn, T.J. (1983). Temperature, Academic Press, London, ISBN:0125696809.
 Rao, Y.V.C. (2004). An Introduction to thermodynamics. Universities Press. p. 213. ISBN 9788173714610. https://books.google.com/books?id=iYWiCXziWsEC&pg=PA213.
 Roberts, J.K., Miller, A.R. (1928/1960). Heat and Thermodynamics, (first edition 1928), fifth edition, Blackie & Son Limited, Glasgow.
 Schrödinger, E. (1950). Irreversibility, Proc. R. Ir. Acad., A53: 189–195.
 ter Haar, D., Wergeland, H. (1966). Elements of Thermodynamics, AddisonWesley Publishing, Reading MA.
 Thomson, W. (1851). "On the Dynamical Theory of Heat, with numerical results deduced from Mr Joule's equivalent of a Thermal Unit, and M. Regnault's Observations on Steam". Transactions of the Royal Society of Edinburgh XX (part II): 261–268; 289–298. https://www.biodiversitylibrary.org/item/126047#page/295/mode/1up. Also published in Thomson, W. (December 1852). "On the Dynamical Theory of Heat, with numerical results deduced from Mr Joule's equivalent of a Thermal Unit, and M. Regnault's Observations on Steam". Philos. Mag.. 4 IV (22): 13. https://archive.org/stream/londonedinburghp04maga#page/12/mode/2up. Retrieved 25 June 2012.
 Thomson, W. (1852). On the universal tendency in nature to the dissipation of mechanical energy Philosophical Magazine, Ser. 4, p. 304.
 Tisza, L. (1966). Generalized Thermodynamics, M.I.T Press, Cambridge MA.
 Truesdell, C. (1980). The Tragicomical History of Thermodynamics 1822–1854, Springer, New York, ISBN:0387904034.
 Uffink, J. (2001). Bluff your way in the second law of thermodynamics, Stud. Hist. Phil. Mod. Phys., 32(3): 305–394.
 Uffink, J. (2003). Irreversibility and the Second Law of Thermodynamics, Chapter 7 of Entropy, Greven, A., Keller, G., Warnecke (editors) (2003), Princeton University Press, Princeton NJ, ISBN:0691113386.
 Uhlenbeck, G.E., Ford, G.W. (1963). Lectures in Statistical Mechanics, American Mathematical Society, Providence RI.
 Zemansky, M.W. (1968). Heat and Thermodynamics. An Intermediate Textbook, fifth edition, McGrawHill Book Company, New York.
Further reading
 Goldstein, Martin, and Inge F., 1993. The Refrigerator and the Universe. Harvard Univ. Press. Chpts. 4–9 contain an introduction to the Second Law, one a bit less technical than this entry. ISBN:9780674753242
 Leff, Harvey S., and Rex, Andrew F. (eds.) 2003. Maxwell's Demon 2 : Entropy, classical and quantum information, computing. Bristol UK; Philadelphia PA: Institute of Physics. ISBN:9780585492377
 Halliwell, J.J. (1994). Physical Origins of Time Asymmetry. Cambridge. ISBN 9780521568371.(technical).
 Carnot, Sadi (1890). Thurston, Robert Henry. ed. Reflections on the Motive Power of Heat and on Machines Fitted to Develop That Power. New York: J. Wiley & Sons. (full text of 1897 ed.) (html)
 Stephen Jay Kline (1999). The LowDown on Entropy and Interpretive Thermodynamics, La Cañada, CA: DCW Industries. ISBN:1928729010.
 Kostic, M (2011). Revisiting The Second Law of Energy Degradation and Entropy Generation: From Sadi Carnot's Ingenious Reasoning to Holistic Generalization. AIP Conference Proceedings. 1411. 327–350. doi:10.1063/1.3665247. ISBN 9780735409859. Bibcode: 2011AIPC.1411..327K. also at [1].
External links
 Stanford Encyclopedia of Philosophy: "Philosophy of Statistical Mechanics" – by Lawrence Sklar.
 Second law of thermodynamics in the MIT Course Unified Thermodynamics and Propulsion from Prof. Z. S. Spakovszky
 E.T. Jaynes, 1988, "The evolution of Carnot's principle," in G. J. Erickson and C. R. Smith (eds.)MaximumEntropy and Bayesian Methods in Science and Engineering, Vol,.1: p. 267.
 Caratheodory, C., "Examination of the foundations of thermodynamics," trans. by D. H. Delphenich
 The Second Law of Thermodynamics, BBC Radio 4 discussion with John Gribbin, Peter Atkins & Monica Grady (In Our Time, Dec. 16, 2004)
 Entropy (journal), 2004
 The Journal of the International Society for the History of Philosophy of Science, 2012
Original source: https://en.wikipedia.org/wiki/ Second law of thermodynamics.
Read more 