User talk:Paul Wormer/scratchbook: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Paul Wormer
No edit summary
imported>Paul Wormer
No edit summary
Line 1: Line 1:
The '''second law of thermodynamics''', as formulated in the middle of the 19th century by [[William Thomson]] (Lord Kelvin) and [[Rudolf Clausius]], states that it is impossible to gain mechanical energy from  heat flowing from a ''cold'' to a ''hot'' body.  Clausius postulated that the opposite is the case, namely, that it always requires input of  mechanical energy (work)  to transport heat from a low- to a high-temperature body.  
The '''second law of thermodynamics''', as formulated in the middle of the 19th century by [[William Thomson]] (Lord Kelvin) and [[Rudolf Clausius]], states that it is impossible to gain mechanical energy from  heat flowing from a ''cold'' to a ''hot'' body.  Clausius postulated that the opposite is the case, namely, that it always requires input of  mechanical energy (work)  to transport heat from a low- to a high-temperature object.  


Thomson formulated the principle in a slightly different, but equivalent way. He said that it is impossible to extract work from a single source of heat in a cyclic process. In a cyclic process the heat source ends up in an  thermodynamic state that is identical to the state at the beginning of the process; the heat source does not lose any net [[internal energy]]. In order that this cyclic process is in agreement with the [[first law of thermodynamics]] (i.e., conserves energy), it is necessary that the heat generated by the work is returned to the heat source.
Thomson formulated the principle in a slightly different, but equivalent way. He said that it is impossible to extract work from a single source of heat in a cyclic process. In a cyclic process the heat source finishes in an  thermodynamic state that is identical to the state at the beginning of the process; the heat source does not lose any net [[internal energy]]. In order that a cyclic process is in agreement with the [[first law of thermodynamics]] (i.e., conserves energy), it is necessary that the heat generated by the work is returned to the heat source.


If the second law would not hold, there would be no energy shortage. For example, it would be possible—as already pointed out by Lord Kelvin—to propel ships by energy extracted from sea water. After all, the oceans contain immense amounts of internal energy.  When it would be possible to extract a small portion of this energy—whereby a slight cooling of the sea water would occur—and to use this energy to propel a ship (a form of work), then ships could move without any net consumption of energy.  It would ''not'' violate the [[first law of thermodynamics]], because the ship's rotating propellers would again heat the water and in total the energy of the supersystem "ship-plus-ocean" would be conserved, in agreement with the first law, and the total process would be cyclic.  Unfortunately, it is not possible, no work can be extracted from  the  water, because it is  the single source of heat. Clausius would explain the impossibility by observing that  ships are warmer than sea water (or at least they are not colder) and hence it needs work to transport heat from the sea to the ship.  
Without the second law there would be no energy shortage. For example, it would be possible—as already pointed out by Lord Kelvin—to propel ships by energy extracted from sea water. After all, the oceans contain immense amounts of internal energy.  When one could extract a small portion of it—whereby a slight cooling of the sea water would occur—and  use this energy to propel a ship (a form of work), then ships could move without any net consumption of energy.  It would ''not'' violate the [[first law of thermodynamics]], because the ship's rotating propellers would again heat the water and in total the energy of the supersystem "ship-plus-ocean" would be conserved, in agreement with the first law.  Unfortunately, it is not possible, no work can be extracted from  the  water, because it is  a single source of heat. Clausius would explain the impossibility by observing that  ships are warmer than sea water (or at least they are not colder) and hence it needs work to transport heat from the sea to the ship.  


A similar setup on land, where energy extracted from the earth, would, say, charge batteries, and heat dissipated by electric currents generated by the batteries would be given back to the earth, is also impossible because of the same fundamental law of physics.
{{Image|Second law.png|right|250px|Fig. 1. Second law: If ''W'' > 0 then ''T''<sub>1</sub> > ''T''<sub>2</sub> and ''Q''<sub>out</sub> &ne; 0.}}
A similar setup on land, where energy extracted from the earth, would charge batteries, and heat, dissipated by electric currents generated by the batteries, would be given back to the earth, is also out of the question because of the same fundamental law.


==Entropy==
The second law is summarized in figure 1. Two heat reservoirs are shown, one of absolute [[temperature]] ''T''<sub>1</sub> and the other of temperature ''T''<sub>2</sub>. They are coupled by a [[heat engine]] (green circle), a  construct that can convert heat ''Q''<sub>in</sub> into work ''W''. The "rest heat" ''Q''<sub>out</sub> is delivered to reservoir 2.
Clausius was able to give a mathematical expression of the second law of thermodynamics. To that end he needed a totally new thermodynamic concept, one that had no mechanical analogy and that had no intuitive meaning like  temperature. He called the new thermodynamic property  [[entropy]] from the classical Greek έν + τροπη (tropè = change, en = at). Following in his footsteps entropy will be introduced in this section.  


The state of a [[thermodynamic system]] (a point in state space) is characterized by a number of variables, such as [[pressure]] ''p'', [[temperature]] ''T'', amount of substance ''n'', volume ''V'', etcAny thermodynamic parameter  can be seen as a function of an arbitrary independent set of other thermodynamic variables, hence the terms "property", "parameter",  "variable" and "function" are used interchangeably. The number of ''independent'' thermodynamic variables of a system is equal to the number of energy contacts  of the system with its surroundings.
The scheme shown in figure 1, invented by [[Sadi Carnot]], is  an idealized representation  of many power-generating machinesTake for instance, an ordinary motor car. The first heat bath is formed by the cylinders in which gasoline is burned, the second heat bath is the environment of the car—the rest heat is delivered to it through the car's radiator. The heat engine is formed by the moving pistons that perform the actual work.  


An example of a reversible (quasi-static) energy contact is offered by the prototype thermodynamical system, a gas-filled cylinder with piston. Such a cylinder can perform work on its surroundings,
When net work ''W'' (positive) is performed, the Kelvin principle states that ''Q''<sub>out</sub> &ne; 0, because otherwise there would be a single heat source. The Clausius principle states that necessarily ''T''<sub>1</sub> > ''T''<sub>2</sub>.  Hence the second law states that it is not possible to convert all the heat ''Q''<sub>in</sub> delivered by the first reservoir into work, part of it goes into  rest heat ''Q''<sub>out</sub> that is transported to a second reservoir of lower temperature. In the case of a car it means that only part of the combustion energy of the gasoline is converted into work, and that a running car by necessity heats up its environment.  
:<math>
DW = pdV, \quad dV > 0,
</math> 
where ''dV'' stands for a small increment of the volume ''V'' of the cylinder, ''p'' is the pressure inside the cylinder and ''DW'' stands for a small amount of work.  Work by expansion is a form of energy contact between the cylinder and its surroundings. This process can be reverted, the volume of the cylinder can be decreased, the gas is compressed and the surroundings perform work  ''DW'' = ''pdV''  ''on'' the cylinder. 
 
The small amount of work is indicated by ''D'', and not by ''d'', because ''DW'' is not necessarily a differential of a  function.  However, when we divide ''DW'' by ''p'' the quantity ''DW''/''p'' becomes obviously equal to the differential ''dV'' of the differentiable state function ''V''. State functions depend only on the actual values of the thermodynamic  parameters (they are local), and ''not'' on the path along which the state was reached (the history of the state). Mathematically this means that integration from point 1 to point 2 along path I  in state space is equal to integration along a different path II,
:<math>
V_2 -  V_1 = {\int\limits_1\limits^2}_{{\!\!}^{(I)}} dV
= {\int\limits_1\limits^2}_{{\!\!}^{(II)}} dV
\;\Longrightarrow\; {\int\limits_1\limits^2}_{{\!\!}^{(I)}} \frac{DW}{p} =
{\int\limits_1\limits^2}_{{\!\!}^{(II)}} \frac{DW}{p}
</math>
The amount of work (divided by ''p'') performed along path I is equal to the amount of work (divided by ''p'')  along path II. This condition is necessary and sufficient that  ''DW''/''p'' is a differentiable state function. So, although ''DW'' is not a differential, the quotient ''DW''/''p'' is one.
 
Reversible absorption of a small amount of heat ''DQ'' is another energy contact of a system with its surroundings;  ''DQ'' is again not a differential of a certain function.  In a completely analogous manner to ''DW''/''p'', the following result  can be shown for the heat ''DQ'' (divided by ''T'')  absorbed by the system along two different paths (along both paths the absorption is reversible):
 
<div style="text-align: right;" >
<div style="float: left;  margin-left: 35px;" >
<math>{\int\limits_1\limits^2}_{{\!\!}^{(I)}}\frac{DQ}{T} = {\int\limits_1\limits^2}_{{\!\!}^{(II)}} \frac{DQ}{T} .
</math>
</div>
<span id="(1)" style="margin-right: 200px; vertical-align: -40px; ">(1)</span>
</div>
<br><br>
Hence the quantity ''dS'' defined  by
:<math>
dS \;\stackrel{\mathrm{def}}{=}\; \frac{DQ}{T}
</math>
is the differential of a state variable ''S'', the ''entropy'' of the system. In a later subsection  equation (1) will be proved from the Clausius/Kelvin principle.  Observe that this definition of entropy  only fixes entropy differences:
:<math>
S_2-S_1 \equiv \int_1^2 dS = \int_1^2 \frac{DQ}{T}
</math>
Note further that entropy has the dimension energy per degree temperature (joule per degree kelvin) and recalling the [[first law of thermodynamics]]  (the differential ''dU'' of the  [[internal energy]] satisfies ''dU'' = ''DQ'' &minus; ''DW''), it follows that
:<math>
dU = TdS - pdV.\,
</math>
(For convenience sake  only a single work term was considered here, namely ''DW'' = ''pdV'', work done ''by'' the system).
The internal energy is an extensive quantity, that is, when the system is doubled, ''U'' is doubled too. The temperature ''T'' is an intensive property, independent of the size of the system. The entropy ''S'', then, is an extensive property. In that sense the entropy resembles the volume of the system.
 
An important difference between ''V'' and ''S'' is that  the former is a state function with a well-defined mechanical  meaning, whereas entropy is introduced by analogy and is not  easily visualized. Indeed, as is shown in the next subsection, it requires a fairly elaborate reasoning to prove that ''S'' is a state function, i.e., equation [[#(1)|(1)]] to hold.
 
 
 
 
===Proof that entropy is a state function===
When equation [[#(1)|(1)]] has been proven, the entropy ''S''  is shown to be a state function. The standard proof, as given now, is physical,  by means of [[Carnot cycle]]s, and is based on the Clausius/Kelvin formulation of the second law given in the introduction.
{{Image|Entropy.png|right|350px|Fig. 1.  ''T'' > ''T''<sub>0</sub>. (I): Carnot engine E moves  heat from  heat reservoir R to "condensor" C and needs input of work DW<sub>in</sub>. (II): E generates work DW<sub>out</sub> from the heat flow from C to R. }} An alternative, more mathematical proof, postulates the existence of a state variable ''S'' with certain properties and derives the existence of [[thermodynamical temperature]] and the second law from these properties.
 
In figure 1  a finite heat bath C ("condensor")<ref>Because of a certain similarity of C with the condensor of a steam engine C is referred as "condensor". The quotes are used to remind us that nothing condenses, unlike the steam engine where steam condenses to water</ref> of constant volume and variable temperature ''T'' is shown. It is connected to an infinite heat reservoir R through a reversible Carnot engine E. Because R is infinite its temperature ''T''<sub>0</sub> is constant, addition or extraction of heat does not change ''T''<sub>0</sub>.  It is assumed that always ''T'' &ge; ''T''<sub>0</sub>.  One may think of the system E-plus-C as a ship and the heat reservoir R as the sea. The following argument then deals with an attempt of extracting energy from the sea in order to move the ship, i.e., with an attempt to let E perform net outgoing work in a cyclic (i.e., along a closed path in the state space of C) process.
 
A Carnot engine performs reversible cycles (in the state space of E, not be confused with cycles in the state space of C) and per cycle either generates work ''DW''<sub>out</sub> when heat is transported from high temperature to low temperature (II), or needs work  ''DW''<sub>in</sub> when heat is transported from low to high temperature (I), in accordance with the Clausius/Kelvin formulation of the second law.
 
The definition of [[thermodynamical temperature]] (a positive quantity) is such that for  II,
:<math>
\frac{DW_\mathrm{out}}{DQ} = \frac{T-T_0}{T},
</math>
while for  I
:<math>
\frac{DW_\mathrm{in}}{DQ_0} = \frac{T-T_0}{T_0}.
</math>
 
The first law of thermodynamics states for  I and II, respectively,
:<math>
-DW_\mathrm{in}  -DQ_0 + DQ=0\quad\hbox{and}\quad DW_\mathrm{out} + DQ_0-DQ=0
</math>
{{Image|Cycle entropy.png|right|150px|Fig. 2. Two paths in the state space of the "condensor" C.}}
For  I,
:<math>
\begin{align}
\frac{DW_\mathrm{in}}{DQ_0} &= \frac{DQ- DQ_0}{DQ_0} = \frac{DQ}{DQ_0} -1 \\
&=\frac{T-T_0}{T_0} =  \frac{T}{T_0} - 1 \;
\Longrightarrow DQ_0 = T_0 \left(\frac{DQ}{T}\right)
\end{align}
</math>
 
For II we find the same result,
:<math>
\begin{align}
\frac{DW_\mathrm{out}}{DQ} &= \frac{DQ- DQ_0}{DQ} = 1- \frac{DQ_0}{DQ} \\
&=\frac{T-T_0}{T} =  1- \frac{T_0}{T}
\;\Longrightarrow DQ_0 = T_0 \left(\frac{DQ}{T}\right)
\end{align}
</math>
In figure 2 the state diagram of the "condensor" C is shown. Along path I the Carnot engine needs input of work to transport heat from the colder reservoir R to the hotter C and the absorption of heat by C raises its temperature and pressure. Integration of ''DW''<sub>in</sub> = ''DQ'' &minus; ''DQ''<sub>0</sub> (that is, summation  over many cycles of the engine E) along path I gives
:<math>
W_\mathrm{in} = Q_\mathrm{in} - T_0 {\int\limits_1\limits^2}_{{\!\!}^{(I)}} \frac{DQ}{T} \quad\hbox{with}\quad  Q_\mathrm{in} \equiv  {\int\limits_1\limits^2}_{{\!\!}^{(I)}} DQ.  
</math>
Along path II the Carnot engine delivers work while transporting heat from C to R. Integration of ''DW''<sub>out</sub> = ''DQ'' &minus; ''DQ''<sub>0</sub> along path II gives
:<math>
W_\mathrm{out} = Q_\mathrm{out} - T_0 {\int\limits_2\limits^1}_{{\!\!}^{(II)}} \frac{DQ}{T}
\quad\hbox{with}\quad  Q_\mathrm{out} \equiv  {\int\limits_2\limits^1}_{{\!\!}^{(II)}} DQ
</math>


Assume now that the amount of heat ''Q''<sub>out</sub> extracted (along path II) from C and the heat ''Q''<sub>in</sub> delivered (along I) to C are the same in absolute value. In other words,  after having gone along a closed path in the state diagram of figure 2, the condensor C has not gained or lost heat. That is,
It can be derived that the efficiency &eta; &equiv; ''W'' / ''Q''<sub>in</sub> has the maximum
:<math>
:<math>
Q_\mathrm{in} + Q_\mathrm{out} = 0, \,
\eta \le \frac{T_1-T_2}{T_1}.
</math>
</math>
then
Thus, when the car cylinders operate at 500 °C &asymp; 800 K and the environment is about 300 K, then
:<math>
&eta; &le; 500/800 = 62%. <ref>In reality most cars run at an efficiency of about 25%, far from the thermodynamic limit.</ref> It is important to note that this efficiency is a consequence of the second law of thermodynamics, and can only be raised by higher ''T''<sub>1</sub> not by a better streamline or other design improvements.  
W_\mathrm{in} + W_\mathrm{out} = - T_0 {\int\limits_1\limits^2}_{{\!\!}^{(I)}} \frac{DQ}{T}
- T_0 {\int\limits_2\limits^1}_{{\!\!}^{(II)}} \frac{DQ}{T}.
</math>
If the total net work ''W''<sub>in</sub> + ''W''<sub>out</sub> is positive (outgoing), this work is done by  heat obtained from R, which is not possible because of the Clausius/Kelvin principle.  If the total net work ''W''<sub>in</sub> + ''W''<sub>out</sub> is negative, then by inverting all reversible processes, i.e., by going down path I and going up along II, the net work changes sign and becomes positive (outgoing). Again the Clausius/Kelvin principle is violated. The conclusion is that the net work is zero and that
:<math>
T_0 {\int\limits_1\limits^2}_{{\!\!}^{(I)}} \frac{DQ}{T} +
T_0 {\int\limits_2\limits^1}_{{\!\!}^{(II)}} \frac{DQ}{T} = 0
\;\Longrightarrow\;  {\int\limits_1\limits^2}_{{\!\!}^{(I)}} \frac{DQ}{T} =  {\int\limits_1\limits^2}_{{\!\!}^{(II)}} \frac{DQ}{T}.
</math>
From this independence of path it is concluded that
:<math>
dS \equiv \frac{DQ}{T}
</math>
is a state (local) variable.
==Mathematical expression of the second law==
==Mathematical expression of the second law==
Recall the following  property of path integrals,
Recall the following  property of path integrals,
Line 137: Line 31:


Many, in fact most, thermodynamic processes are  spontaneous and irreversible. A well-known spontaneous process is the flow of heat from a hot to a cold body. The opposite process—the transport of heat from a cold to a hot body—needs work (by the Clausius principle), the process is not spontaneous and accordingly not the reverse of the spontaneous flow of heat from hot to cold bodies. Another example of an irreversible process is [[Count Rumford]]'s seminal cannon boring experiment where work is converted by  friction into heat. It is impossible to revert this process, which is intuitively clear, but  also contradicts the Kelvin principle, the  impossibility of obtaining work from a single source of heat. The [[Joule-Thomson effect]] is yet another example of an irreversible process.
Many, in fact most, thermodynamic processes are  spontaneous and irreversible. A well-known spontaneous process is the flow of heat from a hot to a cold body. The opposite process—the transport of heat from a cold to a hot body—needs work (by the Clausius principle), the process is not spontaneous and accordingly not the reverse of the spontaneous flow of heat from hot to cold bodies. Another example of an irreversible process is [[Count Rumford]]'s seminal cannon boring experiment where work is converted by  friction into heat. It is impossible to revert this process, which is intuitively clear, but  also contradicts the Kelvin principle, the  impossibility of obtaining work from a single source of heat. The [[Joule-Thomson effect]] is yet another example of an irreversible process.


==References==
==References==

Revision as of 09:25, 30 October 2009

The second law of thermodynamics, as formulated in the middle of the 19th century by William Thomson (Lord Kelvin) and Rudolf Clausius, states that it is impossible to gain mechanical energy from heat flowing from a cold to a hot body. Clausius postulated that the opposite is the case, namely, that it always requires input of mechanical energy (work) to transport heat from a low- to a high-temperature object.

Thomson formulated the principle in a slightly different, but equivalent way. He said that it is impossible to extract work from a single source of heat in a cyclic process. In a cyclic process the heat source finishes in an thermodynamic state that is identical to the state at the beginning of the process; the heat source does not lose any net internal energy. In order that a cyclic process is in agreement with the first law of thermodynamics (i.e., conserves energy), it is necessary that the heat generated by the work is returned to the heat source.

Without the second law there would be no energy shortage. For example, it would be possible—as already pointed out by Lord Kelvin—to propel ships by energy extracted from sea water. After all, the oceans contain immense amounts of internal energy. When one could extract a small portion of it—whereby a slight cooling of the sea water would occur—and use this energy to propel a ship (a form of work), then ships could move without any net consumption of energy. It would not violate the first law of thermodynamics, because the ship's rotating propellers would again heat the water and in total the energy of the supersystem "ship-plus-ocean" would be conserved, in agreement with the first law. Unfortunately, it is not possible, no work can be extracted from the water, because it is a single source of heat. Clausius would explain the impossibility by observing that ships are warmer than sea water (or at least they are not colder) and hence it needs work to transport heat from the sea to the ship.

PD Image
Fig. 1. Second law: If W > 0 then T1 > T2 and Qout ≠ 0.

A similar setup on land, where energy extracted from the earth, would charge batteries, and heat, dissipated by electric currents generated by the batteries, would be given back to the earth, is also out of the question because of the same fundamental law.

The second law is summarized in figure 1. Two heat reservoirs are shown, one of absolute temperature T1 and the other of temperature T2. They are coupled by a heat engine (green circle), a construct that can convert heat Qin into work W. The "rest heat" Qout is delivered to reservoir 2.

The scheme shown in figure 1, invented by Sadi Carnot, is an idealized representation of many power-generating machines. Take for instance, an ordinary motor car. The first heat bath is formed by the cylinders in which gasoline is burned, the second heat bath is the environment of the car—the rest heat is delivered to it through the car's radiator. The heat engine is formed by the moving pistons that perform the actual work.

When net work W (positive) is performed, the Kelvin principle states that Qout ≠ 0, because otherwise there would be a single heat source. The Clausius principle states that necessarily T1 > T2. Hence the second law states that it is not possible to convert all the heat Qin delivered by the first reservoir into work, part of it goes into rest heat Qout that is transported to a second reservoir of lower temperature. In the case of a car it means that only part of the combustion energy of the gasoline is converted into work, and that a running car by necessity heats up its environment.

It can be derived that the efficiency η ≡ W / Qin has the maximum

Thus, when the car cylinders operate at 500 °C ≈ 800 K and the environment is about 300 K, then η ≤ 500/800 = 62%. [1] It is important to note that this efficiency is a consequence of the second law of thermodynamics, and can only be raised by higher T1 not by a better streamline or other design improvements.

Mathematical expression of the second law

Recall the following property of path integrals,

Using this one finds immediately from equation (1) the second law for a reversible cyclic (a closed path in state space) process, where the suffix "rev" is added to stress that this law holds only for reversible processes,

Many, in fact most, thermodynamic processes are spontaneous and irreversible. A well-known spontaneous process is the flow of heat from a hot to a cold body. The opposite process—the transport of heat from a cold to a hot body—needs work (by the Clausius principle), the process is not spontaneous and accordingly not the reverse of the spontaneous flow of heat from hot to cold bodies. Another example of an irreversible process is Count Rumford's seminal cannon boring experiment where work is converted by friction into heat. It is impossible to revert this process, which is intuitively clear, but also contradicts the Kelvin principle, the impossibility of obtaining work from a single source of heat. The Joule-Thomson effect is yet another example of an irreversible process.


References

C. S. Helrich, Modern Thermodynamics with Statistical Mechanics, Springer (2009). Google books

  1. In reality most cars run at an efficiency of about 25%, far from the thermodynamic limit.