Mercurial > jaynes
view org/stat-mech.org @ 4:299a098a30da
Saving progress...
author | Dylan Holmes <ocsenave@gmail.com> |
---|---|
date | Sun, 29 Apr 2012 17:49:18 -0500 |
parents | 8f3b6dcb9add |
children | e7185b523c80 |
line wrap: on
line source
1 #+TITLE: Statistical Mechanics2 #+AUTHOR: E.T. Jaynes; edited by Dylan Holmes3 #+EMAIL: rlm@mit.edu4 #+KEYWORDS: statistical mechanics, thermostatics, thermodynamics, temperature, paradoxes, Jaynes5 #+SETUPFILE: ../../aurellem/org/setup.org6 #+INCLUDE: ../../aurellem/org/level-0.org7 #+MATHJAX: align:"left" mathml:t path:"http://www.aurellem.org/MathJax/MathJax.js"9 # "extensions/eqn-number.js"11 #+begin_quote12 *Note:* The following is a typeset version of13 [[../sources/stat.mech.1.pdf][this unpublished book draft]], written by [[http://en.wikipedia.org/wiki/Edwin_Thompson_Jaynes][E.T. Jaynes]]. I have only made14 minor changes, e.g. to correct typographical errors, add references, or format equations. The15 content itself is intact. --- Dylan16 #+end_quote18 * Development of Thermodynamics19 Our first intuitive, or \ldquo{}subjective\rdquo{} notions of temperature20 arise from the sensations of warmth and cold associated with our21 sense of touch . Yet science has been able to convert this qualitative22 sensation into an accurately defined quantitative notion,23 which can be applied far beyond the range of our direct experience.24 Today an experimentalist will report confidently that his25 spin system was at a temperature of 2.51 degrees Kelvin; and a26 theoretician will report with almost as much confidence that the27 temperature at the center of the sun is about \(2 \times 10^7\) degrees28 Kelvin.30 The /fact/ that this has proved possible, and the main technical31 ideas involved, are assumed already known to the reader;32 and we are not concerned here with repeating standard material33 already available in a dozen other textbooks . However34 thermodynamics, in spite of its great successes, firmly established35 for over a century, has also produced a great deal of confusion36 and a long list of \ldquo{}paradoxes\rdquo{} centering mostly37 around the second law and the nature of irreversibility.38 For this reason and others noted below, we want to dwell here at39 some length on the /logic/ underlying the development of40 thermodynamics . Our aim is to emphasize certain points which,41 in the writer's opinion, are essential for clearing up the42 confusion and resolving the paradoxes; but which are not43 sufficiently ernphasized---and indeed in many cases are44 totally ignored---in other textbooks.46 This attention to logic47 would not be particularly needed if we regarded classical48 thermodynamics (or, as it is becoming called increasingly,49 /thermostatics/) as a closed subject, in which the fundamentals50 are already completely established, and there is51 nothing more to be learned about them. A person who believes52 this will probably prefer a pure axiomatic approach, in which53 the basic laws are simply stated as arbitrary axioms, without54 any attempt to present the evidence for them; and one proceeds55 directly to working out their consequences.56 However, we take the attitude here that thermostatics, for57 all its venerable age, is very far from being a closed subject,58 we still have a great deal to learn about such matters as the59 most general definitions of equilibrium and reversibility, the60 exact range of validity of various statements of the second and61 third laws, the necessary and sufficient conditions for62 applicability of thermodynamics to special cases such as63 spin systems, and how thermodynamics can be applied to such64 systems as putty or polyethylene, which deform under force,65 but retain a \ldquo{}memory\rdquo{} of their past deformations.66 Is it possible to apply thermodynamics to a system such as a vibrating quartz crystal? We can by67 no means rule out the possibility that still more laws of68 thermodynamics exist, as yet undiscovered, which would be69 useful in such applications.72 It is only by careful examination of the logic by which73 present thermodynamics was created, asking exactly how much of74 it is mathematical theorems, how much is deducible from the laws75 of mechanics and electrodynamics, and how much rests only on76 empirical evidence, how compelling is present evidence for the77 accuracy and range of validity of its laws; in other words,78 exactly where are the boundaries of present knowledge, that we79 can hope to uncover new things. Clearly, much research is still80 needed in this field, and we shall be able to accomplish only a81 small part of this program in the present review.84 It will develop that there is an astonishingly close analogy85 with the logic underlying statistical theory in general, where86 again a qualitative feeling that we all have (for the degrees of87 plausibility of various unproved and undisproved assertions) must88 be convertefi into a precisely defined quantitative concept89 (probability). Our later development of probability theory in90 Chapter 6,7 will be, to a considerable degree, a paraphrase91 of our present review of the logic underlying classical92 thermodynamics.94 ** The Primitive Thermometer96 The earliest stages of our97 story are necessarily speculative, since they took place long98 before the beginnings of recorded history. But we can hardly99 doubt that primitive man learned quickly that objects exposed100 to the sun‘s rays or placed near a fire felt different from101 those in the shade away from fires; and the same difference was102 noted between animal bodies and inanimate objects.105 As soon as it was noted that changes in this feeling of106 warmth were correlated with other observable changes in the107 behavior of objects, such as the boiling and freezing of water,108 cooking of meat, melting of fat and wax, etc., the notion of109 warmth took its first step away from the purely subjective110 toward an objective, physical notion capable of being studied111 scientifically.113 One of the most striking manifestations of warmth (but far114 from the earliest discovered) is the almost universal expansion115 of gases, liquids, and solids when heated . This property has116 proved to be a convenient one with which to reduce the notion117 of warmth to something entirely objective. The invention of the118 /thermometer/, in which expansion of a mercury column, or a gas,119 or the bending of a bimetallic strip, etc. is read off on a120 suitable scale, thereby giving us a /number/ with which to work,121 was a necessary prelude to even the crudest study of the physical122 nature of heat. To the best of our knowledge, although the123 necessary technology to do this had been available for at least124 3,000 years, the first person to carry it out in practice was125 Galileo, in 1592.127 Later on we will give more precise definitions of the term128 \ldquo{}thermometer.\rdquo{} But at the present stage we129 are not in a position to do so (as Galileo was not), because130 the very concepts needed have not yet been developed;131 more precise definitions can be132 given only after our study has revealed the need for them. In133 deed, our final definition can be given only after the full134 mathematical formalism of statistical mechanics is at hand.136 Once a thermometer has been constructed, and the scale137 marked off in a quite arbitrary way (although we will suppose138 that the scale is at least monotonic: i.e., greater warmth always139 corresponds to a greater number), we are ready to begin scien140 tific experiments in thermodynamics. The number read eff from141 any such instrument is called the /empirical temperature/, and we142 denote it by \(t\). Since the exact calibration of the thermometer143 is not specified), any monotonic increasing function144 \(t‘ = f(t)\) provides an equally good temperature scale for the145 present.148 ** Thermodynamic Systems150 The \ldquo{}thermodynamic systems\rdquo{} which151 are the objects of our study may be, physically, almost any152 collections of objects. The traditional simplest system with153 which to begin a study of thermodynamics is a volume of gas.154 We shall, however, be concerned from the start also with such155 things as a stretched wire or membrane, an electric cell, a156 polarized dielectric, a paramagnetic body in a magnetic field, etc.158 The /thermodynamic state/ of such a system is determined by159 specifying (i.e., measuring) certain macrcoscopic physical160 properties. Now, any real physical system has many millions of such161 preperties; in order to have a usable theory we cannot require162 that /all/ of them be specified. We see, therefore, that there163 must be a clear distinction between the notions of164 \ldquo{}thermodynamic system\rdquo{} and \ldquo{}physical165 system.\rdquo{}166 A given /physical/ system may correspond to many different167 /thermodynamic systems/, depending168 on which variables we choose to measure or control; and which169 we decide to leave unmeasured and/or uncontrolled.172 For example, our physical system might consist of a crystal173 of sodium chloride. For one set of experiments we work with174 temperature, volume, and pressure; and ignore its electrical175 properties. For another set of experiments we work with176 temperature, electric field, and electric polarization; and177 ignore the varying stress and strain. The /physical/ system,178 therefore, corresponds to two entirely different /thermodynamic/179 systems. Exactly how much freedom, then, do we have in choosing180 the variables which shall define the thermodynamic state of our181 system? How many must we choose? What [criteria] determine when182 we have made an adequate choice? These questions cannot be183 answered until we say a little more about what we are trying to184 accomplish by a thermodynamic theory. A mere collection of185 recorded data about our system, as in the [[http://en.wikipedia.org/wiki/CRC_Handbook_of_Chemistry_and_Physics][/Handbook of Physics and186 Chemistry/]], is a very useful thing, but it hardly constitutes187 a theory. In order to construct anything deserving of such a188 name, the primary requirement is that we can recognize some kind189 of reproducible connection between the different properties con190 sidered, so that information about some of them will enable us191 to predict others. And of course, in order that our theory can192 be called thermodynamics (and not some other area of physics),193 it is necessary that the temperature be one of the quantities194 involved in a nontrivial way.196 The gist of these remarks is that the notion of197 \ldquo{}thermodynamic system\rdquo{} is in part198 an anthropomorphic one; it is for us to199 say which set of variables shall be used. If two different200 choices both lead to useful reproducible connections, it is quite201 meaningless to say that one choice is any more \ldquo{}correct\rdquo{}202 than the other. Recognition of this fact will prove crucial later in203 avoiding certain ancient paradoxes.205 At this stage we can determine only empirically which other206 physical properties need to be introduced before reproducible207 connections appear. Once any such connection is established, we208 can analyze it with the hope of being able to (1) reduce it to a209 /logical/ connection rather than an empirical one; and (2) extend210 it to an hypothesis applying beyond the original data, which211 enables us to predict further connections capable of being212 tested by experiment. Examples of this will be given presently.215 There will remain, however, a few reproducible relations216 which to the best of present knowledge, are not reducible to217 logical relations within the context of classical thermodynamics218 (and. whose demonstration in the wider context of mechanics,219 electrodynamics, and quantum theory remains one of probability220 rather than logical proof); from the standpoint of thermodynamics221 these remain simply statements of empirical fact which must be222 accepted as such without any deeper basis, but without which the223 development of thermodynamics cannot proceed. Because of this224 special status, these relations have become known as the225 \ldquo{}laws\rdquo{}226 of thermodynamics . The most fundamental one is a qualitative227 rather than quantitative relation, the \ldquo{}zero'th law.\rdquo{}229 ** Equilibrium; the Zeroth Law231 It is a common experience232 that when objects are placed in contact with each other but233 isolated from their surroundings, they may undergo observable234 changes for a time as a result; one body may become warmer,235 another cooler, the pressure of a gas or volume of a liquid may236 change; stress or magnetization in a solid may change, etc. But237 after a sufficient time, the observable macroscopic properties238 settle down to a steady condition, after which no further changes239 are seen unless there is a new intervention from the outside.240 When this steady condition is reached, the experimentalist says241 that the objects have reached a state of /equilibrium/ with each242 other. Once again, more precise definitions of this term will243 be needed eventually, but they require concepts not yet developed.244 In any event, the criterion just stated is almost the only one245 used in actual laboratory practice to decide when equilibrium246 has been reached.249 A particular case of equilibrium is encountered when we250 place a thermometer in contact with another body. The reading251 \(t\) of the thermometer may vary at first, but eventually it reach es252 a steady value. Now the number \(t\) read by a thermometer is always.253 by definition, the empirical temperature /of the thermometer/ (more254 precisely, of the sensitive element of the thermometer). When255 this number is constant in time, we say that the thermometer is256 in /thermal equilibrium/ with its surroundings; and we then extend257 the notion of temperature, calling the steady value \(t\) also the258 /temperature of the surroundings/.260 We have repeated these elementary facts, well known to every261 child, in order to emphasize this point: Thermodynamics can be262 a theory /only/ of states of equilibrium, because the very263 procedure by which the temperature of a system is defined by264 operational means, already presupposes the attainment of265 equilibrium. Strictly speaking, therefore, classical266 thermodynamics does not even contain the concept of a267 \ldquo{}time-varying temperature.\rdquo{}269 Of course, to recognize this limitation on conventional270 thermodynamics (best emphasized by calling it instead,271 thermostatics) in no way rules out the possibility of272 generalizing the notion of temperature to nonequilibrium states.273 Indeed, it is clear that one could define any number of274 time-dependent quantities all of which reduce, in the special275 case of equilibrium, to the temperature as defined above.276 Historically, attempts to do this even antedated the discovery277 of the laws of thermodynamics, as is demonstrated by278 \ldquo{}Newton's law of cooling.\rdquo{} Therefore, the279 question is not whether generalization is /possible/, but only280 whether it is in any way /useful/; i.e., does the temperature so281 generalized have any connection with other physical properties282 of our system, so that it could help us to predict other things?283 However, to raise such questions takes us far beyond the284 domain of thermostatics; and the general laws of nonequilibrium285 behavior are so much more complicated that it would be virtually286 hopeless to try to unravel them by empirical means alone. For287 example, even if two different kinds of thermometer are calibrated288 so that they agree with each other in equilibrium situations,289 they will not agree in general about the momentary value a290 \ldquo{}time-varying temperature.\rdquo{} To make any real291 progress in this area, we have to supplement empirical observation by the guidance292 of a rather hiqhly-developed theory. The notion of a293 time-dependent temperature is far from simple conceptually, and we294 will find that nothing very helpful can be said about this until295 the full mathematical apparatus of nonequilibrium statistical296 mechanics has been developed.298 Suppose now that two bodies have the same temperature; i.e.,299 a given thermometer reads the same steady value when in contact300 with either. In order that the statement, \ldquo{}two bodies have the301 same temperature\rdquo{} shall describe a physical property of the bodies,302 and not merely an accidental circumstance due to our having used303 a particular kind of thermometer, it is necessary that /all/304 thermometers agree in assigning equal temperatures to them if305 /any/ thermometer does . Only experiment is competent to determine306 whether this universality property is true. Unfortunately, the307 writer must confess that he is unable to cite any definite308 experiment in which this point was subjected to a careful test.309 That equality of temperatures has this absolute meaning, has310 evidently been taken for granted so much that (like absolute311 sirnultaneity in pre-relativity physics) most of us are not even312 consciously aware that we make such an assumption in313 thermodynamics. However, for the present we can only take it as a familiar314 empirical fact that this condition does hold, not because we can315 cite positive evidence for it, but because of the absence of316 negative evidence against it; i.e., we think that, if an317 exception had ever been found, this would have created a sensation in318 physics, and we should have heard of it.320 We now ask: when two bodies are at the same temperature,321 are they then in thermal equilibrium with each other? Again,322 only experiment is competent to answer this; the general323 conclusion, again supported more by absence of negative evidence324 than by specific positive evidence, is that the relation of325 equilibrium has this property:326 #+begin_quote327 /Two bodies in thermal equilibrium328 with a third body, are thermal equilibrium with each other./329 #+end_quote331 This empirical fact is usually called the \ldquo{}zero'th law of332 thermodynamics.\rdquo{} Since nothing prevents us from regarding a333 thermometer as the \ldquo{}third body\rdquo{} in the above statement,334 it appears that we may also state the zero'th law as:335 #+begin_quote336 /Two bodies are in thermal equilibrium with each other when they are337 at the same temperature./338 #+end_quote339 Although from the preceding discussion it might appear that340 these two statements of the zero'th law are entirely equivalent341 (and we certainly have no empirical evidence against either), it342 is interesting to note that there are theoretical reasons, arising343 from General Relativity, indicating that while the first344 statement may be universally valid, the second is not. When we345 consider equilibrium in a gravitational field, the verification346 that two bodies have equal temperatures may require transport347 of the thermometer through a gravitational potential difference;348 and this introduces a new element into the discussion. We will349 consider this in more detail in a later Chapter, and show that350 according to General Relativity, equilibrium in a large system351 requires, not that the temperature be uniform at all points, but352 rather that a particular function of temperature and gravitational353 potential be constant (the function is \(T\cdot \exp{(\Phi/c^2})\), where354 \(T\) is the Kelvin temperature to be defined later, and \(\Phi\) is the355 gravitational potential).357 Of course, this effect is so small that ordinary terrestrial358 experiments would need to have a precision many orders of359 magnitude beyond that presently possible, before one could hope even360 to detect it; and needless to say, it has played no role in the361 development of thermodynamics. For present purposes, therefore,362 we need not distinguish between the two above statements of the363 zero'th law, and we take it as a basic empirical fact that a364 uniform temperature at all points of a system is an essential365 condition for equilibrium. It is an important part of our366 ivestigation to determine whether there are other essential367 conditions as well. In fact, as we will find, there are many368 different kinds of equilibrium; and failure to distinguish between369 them can be a prolific source of paradoxes.371 ** Equation of State372 Another important reproducible connection is found when373 we consider a thermodynamic system defined by374 three parameters; in addition to the temperature we choose a375 \ldquo{}displacement\rdquo{} and a conjugate \ldquo{}force.\rdquo{}376 Subject to some qualifications given below, we find experimentally377 that these parameters are not independent, but are subject to a constraint.378 For example, we cannot vary the equilibrium pressure, volume,379 and temperature of a given mass of gas independently; it is found380 that a given pressure and volume can be realized only at one381 particular temperature, that the gas will assume a given tempera~382 ture and volume only at one particular pressure, etc. Similarly,383 a stretched wire can be made to have arbitrarily assigned tension384 and elongation only if its temperature is suitably chosen, a385 dielectric will assume a state of given temperature and386 polarization at only one value of the electric field, etc.387 These simplest nontrivial thermodynamic systems (three388 parameters with one constraint) are said to possess two389 /degrees of freedom/; for the range of possible equilibrium states is defined390 by specifying any two of the variables arbitrarily, whereupon the391 third, and all others we may introduce, are determined.392 Mathematically, this is expressed by the existence of a functional393 relationship of the form[fn:: Edit: The set of solutions to an equation394 like /f(X,x,t)=/ const. is called a /level set/. Here, Jaynes is395 saying that the quantities /X/, /x/, and /t/ follow a \ldquo{}functional396 rule\rdquo{}, so the set of physically allowed combinations of /X/,397 /x/, and /t/ in equilibrium states can be398 expressed as the level set of a function.400 But not every function expresses a constraint relation; for some401 functions, you can specify two of the variables, and the third will402 still be undetermined. (For example, if f=X^2+x^2+t^2-3,403 the level set /f(X,x,t)=0/ is a sphere, and specifying /x=1/, /t=1/404 leaves you with two potential possibilities for /X/ =\pm 1.)406 A function like /f/ has to possess one more propery in order for its407 level set to express a constraint relationship: it must be monotonic in408 each of its variables /X/, /x/, and /t/.409 #the partial derivatives of /f/ exist for every allowed combination of410 #inputs /x/, /X/, and /t/.411 In other words, the level set has to pass a sort of412 \ldquo{}vertical line test\rdquo{} for each of its variables.]414 #Edit Here, Jaynes415 #is saying that it is possible to express the collection of allowed combinations \(\langle X,x,t \rangle\) of force, quantity, and temperature as a416 #[[http://en.wikipedia.org/wiki/Level_set][level set]] of some function \(f\). However, not all level sets represent constraint relations; consider \(f(X,x,t)=X^2+x^2+t^2-1\)=0.417 #In order to specify419 \begin{equation}420 f(X,x,t) = O421 \end{equation}423 where $X$ is a generalized force (pressure, tension, electric or424 magnetic field, etc.), $x$ is the corresponding generalized425 displacement (volume, elongation, electric or magnetic polarization,426 etc.), and $t$ is the empirical temperature. Equation (1-1) is427 called /the equation of state/.429 At the risk of belaboring it, we emphasize once again that430 all of this applies only for a system in equilibrium; for431 otherwise not only.the temperature, but also some or all of the other432 variables may not be definable. For example, no unique pressure433 can be assigned to a gas which has just suffered a sudden change434 in volume, until the generated sound waves have died out.436 Independently of its functional form, the mere fact of the437 /existence/ of an equation of state has certain experimental438 consequences. For example, suppose that in experiments on oxygen439 gas, in which we control the temperature and pressure440 independently, we have found that the isothermal compressibility $K$441 varies with temperature, and the thermal expansion coefficient442 \alpha varies with pressure $P$, so that within the accuracy of the data,444 \begin{equation}445 \frac{\partial K}{\partial t} = - \frac{\partial \alpha}{\partial P}446 \end{equation}448 Is this a particular property of oxygen; or is there reason to449 believe that it holds also for other substances? Does it depend450 on our particular choice of a temperature scale?452 In this case, the answer is found at once; for the definitions of $K$,453 \alpha are455 \begin{equation}456 K = -\frac{1}{V}\frac{\partial V}{\partial P},\qquad457 \alpha=\frac{1}{V}\frac{\partial V}{\partial t}458 \end{equation}460 which is simply a mathematical expression of the fact that the461 volume $V$ is a definite function of $P$ and $t$; i.e., it depends462 only463 on their present values, and not how those values were attained.464 In particular, $V$ does not depend on the direction in the \((P, t)\)465 plane through which the present values were approached; or, as we466 usually say it, \(dV\) is an /exact differential/.468 Therefore, although at first glance the relation (1-2) appears469 nontrivial and far from obvious, a trivial mathematical analysis470 convinces us that it must hold regardless of our particular471 temperature scale, and that it is true not only of oxygen; it must472 hold for any substance, or mixture of substances, which possesses a473 definite, reproducible equation of state \(f(P,V,t)=0\).475 But this understanding also enables us to predict situations in which476 (1-2) will /not/ hold. Equation (1-2), as we have just learned, expresses477 the fact that an equation of state exists involving only the three478 variables \((P,V,t)\). Now suppose we try to apply it to a liquid such479 as nitrobenzene. The nitrobenzene molecule has a large electric dipole480 moment; and so application of an electric field (as in the481 [[http://en.wikipedia.org/wiki/Kerr_effect][electro-optical Kerr cell]]) causes an alignment of molecules which, as482 accurate measurements will verify, changes the pressure at a given483 temperature and volume. Therefore, there can no longer exist any484 unique equation of state involving \((P, V, t)\) only; with485 sufficiently accurate measurements, nitrobenzene must be regarded as a486 thermodynamic system with at least three degrees of freedom, and the487 general equation of state must have at least a complicated a form as488 \(f(P,V,t,E) = 0\).490 But if we introduce a varying electric field $E$ into the discussion,491 the resulting varying electric polarization $M$ also becomes a new492 thermodynamic variable capable of being measured. Experimentally, it493 is easiest to control temperature, pressure, and electric field494 independently, and of course we find that both the volume and495 polarization are then determined; i.e., there must exist functional496 relations of the form \(V = V(P,t,E)\), \(M = M(P,t,E)\), or in more497 symmetrical form499 \begin{equation}500 f(V,P,t,E) = 0 \qquad g(M,P,t,E)=0.501 \end{equation}503 In other words, if we regard nitrobenzene as a thermodynamic system of504 three degrees of freedom (i.e., having specified three parameters505 arbitrarily, all others are then determined), it must possess two506 independent equations of state.508 Similarly, a thermodynamic system with four degrees of freedom,509 defined by the termperature and three pairs of conjugate forces and510 displacements, will have three independent equations of state, etc.512 Now, returning to our original question, if nitrobenzene possesses513 this extra electrical degree of freedom, under what circumstances do514 we exprect to find a reproducible equation of state involving515 \((p,V,t)\) only? Evidently, if $E$ is held constant, then the first516 of equations (1-5) becomes such an equation of state, involving $E$ as517 a fixed parameter; we would find many different equations of state of518 the form \(f(P,V,t) = 0\) with a different function $f$ for each519 different value of the electric field. Likewise, if \(M\) is held520 constant, we can eliminate \(E\) between equations (1-5) and find a521 relation \(h(P,V,t,M)=0\), which is an equation of state for522 \((P,V,t)\) containing \(M\) as a fixed parameter.524 More generally, if an electrical constraint is imposed on the system525 (for example, by connecting an external charged capacitor to the526 electrodes) so that \(M\) is determined by \(E\); i.e., there is a527 functional relation of the form529 \begin{equation}530 g(M,E) = \text{const.}531 \end{equation}533 then (1-5) and (1-6) constitute three simultaneous equations, from534 which both \(E\) and \(M\) may be eliminated mathematically, leading535 to a relation of the form \(h(P,V,t;q)=0\), which is an equation of536 state for \((P,V,t)\) involving the fixed parameter \(q\).538 We see, then, that as long as a fixed constraint of the form (1-6) is539 imposed on the electrical degree of freedom, we can still observe a540 reproducible equation of state for nitrobenzene, considered as a541 thermodynamic system of only two degrees of freedom. If, however, this542 electrical constraint is removed, so that as we vary $P$ and $t$, the543 values of $E$ and $M$ vary in an uncontrolled way over a544 /two-dimensional/ region of the \((E, M)\) plane, then we will find no545 definite equation of state involving only \((P,V,t)\).547 This may be stated more colloqually as follows: even though a system548 has three degrees of freedom, we can still consider only the variables549 belonging to two of them, and we will find a definite equation of550 state, /provided/ that in the course of the experiments, the unused551 degree of freedom is not \ldquo{}tampered with\rdquo{} in an552 uncontrolled way.554 We have already emphasized that any physical system corresponds to555 many different thermodynamic systems, depending on which variables we556 choose to control and measure. In fact, it is easy to see that any557 physical system has, for all practical purposes, an /arbitrarily558 large/ number of degrees of freedom. In the case of nitrobenzene, for559 example, we may impose any variety of nonuniform electric fields on560 our sample. Suppose we place $(n+1)$ different electrodes, labelled561 \(\{e_0,e_1, e_2 \ldots e_n\}\) in contact with the liquid in various562 positions. Regarding \(e_0\) as the \ldquo{}ground\rdquo{}, maintained563 at zero potential, we can then impose $n$ different potentials564 \(\{v_1, \ldots, v_n\}\) on the other electrodes independently, and we565 can also measure the $n$ different conjugate displacements, as the566 charges \(\{q_1,\ldots, q_n\}\) accumulated on electrodes567 \(\{e_1,\ldots e_n\}\). Together with the pressure (understood as the568 pressure measured at one given position), volume, and temperature, our569 sample of nitrobenzene is now a thermodynamic system of $(n+1)$570 degrees of freedom. This number may be as large as we please, limited571 only by our patience in constructing the apparatus needed to control572 or measure all these quantities.574 We leave it as an exercise for the reader (Problem 1) to find the most575 general condition on the variables \(\{v_1, q_1, v_2, q_2, \ldots576 v_n,q_n\}\) which will ensure that a definite equation of state577 $f(P,V,t)=0$ is observed in spite of all these new degrees of578 freedom. The simplest special case of this relation is, evidently, to579 ground all electrodes, thereby inposing the conditions $v_1 = v_2 =580 \ldots = v_n = 0$. Equally well (if we regard nitrobenzene as having581 negligible electrical conductivity) we may open-circuit all582 electrodes, thereby imposing the conditions \(q_i = \text{const.}\) In583 the latter case, in addition to an equation of state of the form584 \(f(P,V,t)=0\), which contains these constants as fixed parameters,585 there are \(n\) additional equations of state of the form $v_i =586 v_i(P,t)$. But if we choose to ignore these voltages, there will be no587 contradiction in considering our nitrobenzene to be a thermodynamic588 system of two degrees of freedom, involving only the variables589 \(P,V,t\).591 Similarly, if our system of interest is a crystal, we may impose on it592 a wide variety of nonuniform stress fields; each component of the593 stress tensor $T_{ij}$ may bary with position. We might expand each of594 these functions in a complete orthonormal set of functions595 \(\phi_k(x,y,z)\):597 \begin{equation}598 T_{ij}(x,y,z) = \sum_k a_{ijk} \phi_k(x,y,z)599 \end{equation}601 and with a sufficiently complicated system of levers which in various602 ways squeeze and twist the crystal, we might vary each of the first603 1,000 expansion coefficients $a_{ijk}$ independently, and measure the604 conjugate displacements $q_{ijk}$. Our crystal is then a thermodynamic605 system of over 1,000 degrees of freedom.607 The notion of \ldquo{}numbers of degrees of freedom\rdquo{} is608 therefore not a /physical property/ of any system; it is entirely609 anthropomorphic, since any physical system may be regarded as a610 thermodynamic system with any number of degrees of freedom we please.612 If new thermodynamic variables are always introduced in pairs,613 consisting of a \ldquo{}force\rdquo{} and conjugate614 \ldquo{}displacement\rdquo{}, then a thermodynamic system of $n$615 degrees of freedom must possess $(n-1)$ independent equations of616 state, so that specifying $n$ quantities suffices to determine all617 others.619 This raises an interesting question; whether the scheme of classifying620 thermodynamic variables in conjugate pairs is the most general621 one. Why, for example, is it not natural to introduce three related622 variables at a time? To the best of the writer's knowledge, this is an623 open question; there seems to be no fundamental reason why variables624 /must/ always be introduced in conjugate pairs, but there seems to be625 no known case in which a different scheme suggests itself as more626 appropriate.628 ** Heat629 We are now in a position to consider the results and interpretation of630 a number of elementary experiments involving631 thermal interaction, which can be carried out as soon as a primitive632 thermometer is at hand. In fact these experiments, which we summarize633 so quickly, required a very long time for their first performance, and634 the essential conclusions of this Section were first arrived at only635 about 1760---more than 160 years after Galileo's invention of the636 thermometer---[[http://web.lemoyne.edu/~giunta/blackheat.html][by Joseph Black]], who was Professor of Chemistry at637 Glasgow University. Black's analysis of calorimetric experiments638 initiated by G. D. Fahrenheit before 1736 led to the first recognition639 of the distinction between temperature and heat, and prepared the way640 for the work of his better-known pupil, James Watt.642 We first observe that if two bodies at different temperatures are643 separated by walls of various materials, they sometimes maintain their644 temperature difference for a long time, and sometimes reach thermal645 equilibrium very quickly. The differences in behavior observed must be646 ascribed to the different properties of the separating walls, since647 nothing else is changed. Materials such as wood, asbestos, porous648 ceramics (and most of all, modern porous plastics like styrofoam), are649 able to sustain a temperature difference for a long time; a wall of an650 imaginary material with this property idealized to the point where a651 temperature difference is maintained indefinitely is called an652 /adiabatic wall/. A very close approximation to a perfect adiabatic653 wall is realized by the Dewar flask (thermos bottle), of which the654 walls consist of two layers of glass separated by a vacuum, with the655 surfaces silvered like a mirror. In such a container, as we all know,656 liquids may be maintained hot or cold for days.658 On the other hand, a thin wall of copper or silver is hardly able to659 sustain any temperature difference at all; two bodies separated by660 such a partition come to thermal equilibrium very quickly. Such a wall661 is called /diathermic/. It is found in general that the best662 diathermic materials are the metals and good electrical conductors,663 while electrical insulators make fairly good adiabatic walls. There664 are good theoretical reasons for this rule; a particular case of it is665 given by the [[http://en.wikipedia.org/wiki/Wiedemann_franz_law][Wiedemann-Franz law]] of solid-state theory.667 Since a body surrounded by an adiabatic wall is able to maintain its668 temperature independently of the temperature of its surroundings, an669 adiabatic wall provides a means of thermally /isolating/ a system from670 the rest of the universe; it is to be expected, therefore, that the671 laws of thermal interaction between two systems will assume the672 simplest form if they are enclosed in a common adiabatic container,673 and that the best way of carrying out experiments on thermal674 peroperties of substances is to so enclose them. Such an apparatus, in675 which systems are made to interact inside an adiabatic container676 supplied with a thermometer, is called a /calorimeter/.678 Let us imagine that we have a calorimeter in which there is initially679 a volume $V_W$ of water at a temperature $t_1$, and suspended above it680 a volume $V_I$ of some other substance (say, iron) at temperature681 $t_2$. When we drop the iron into the water, they interact thermally682 (and the exact nature of this interaction is one of the things we hope683 to learn now), the temperature of both changing until they are in684 thermal equilibrium at a final temperature $t_0$.686 Now we repeat the experiment with different initial temperatures687 $t_1^\prime$ and $t_2^\prime$, so that a new equilibrium is reached at688 temperature $t_0^\prime$. It is found that, if the temperature689 differences are sufficiently small (and in practice this is not a690 serious limitation if we use a mercury thermometer calibrated with691 uniformly spaced degree marks on a capillary of uniform bore), then692 whatever the values of $t_1^\prime$, $t_2^\prime$, $t_1$, $t_2$, the693 final temperatures $t_0^\prime$, $t_0$ will adjust themselves so that694 the following relation holds:696 \begin{equation}697 \frac{t_2 - t_0}{t_0 - t_1} = \frac{t_2^\prime -698 t_0^\prime}{t_0^\prime - t_1^\prime}699 \end{equation}701 in other words, the /ratio/ of the temperature changes of the iron and702 water is independent of the initial temperatures used.704 We now vary the amounts of iron and water used in the calorimeter. It705 is found that the ratio (1-8), although always independent of the706 starting temperatures, does depend on the relative amounts of iron and707 water. It is, in fact, proportional to the mass $M_W$ of water and708 inversely proportional to the mass $M_I$ of iron, so that710 \begin{equation}711 \frac{t_2-t_0}{t_0-t_1} = \frac{M_W}{K_I M_I}712 \end{equation}714 where $K_I$ is a constant.716 We next repeat the above experiments using a different material in717 place of the iron (say, copper). We find again a relation719 \begin{equation}720 \frac{t_2-t_0}{t_0-t_1} = \frac{M_W}{K_C \cdot M_C}721 \end{equation}723 where $M_C$ is the mass of copper; but the constant $K_C$ is different724 from the previous $K_I$. In fact, we see that the constant $K_I$ is a725 new physical property of the substance iron, while $K_C$ is a physical726 property of copper. The number $K$ is called the /specific heat/ of a727 substance, and it is seen that according to this definition, the728 specific heat of water is unity.730 We now have enough experimental facts to begin speculating about their731 interpretation, as was first done in the 18th century. First, note732 that equation (1-9) can be put into a neater form that is symmetrical733 between the two substances. We write $\Delta t_I = t_0 - t_2$, $\Delta734 t_W = t_0 - t_1$ for the temperature changes of iron and water735 respectively, and define $K_W \equiv 1$ for water. Equation (1-9) then736 becomes738 \begin{equation}739 K_W M_W \Delta t_W + K_I M_I \Delta t_I = 0740 \end{equation}742 The form of this equation suggests a new experiment; we go back into743 the laboratory, and find $n$ substances for which the specific heats744 \(\{K_1,\ldots K_n\}\) have been measured previously. Taking masses745 \(\{M_1, \ldots, M_n\}\) of these substances, we heat them to $n$746 different temperatures \(\{t_1,\ldots, t_n\}\) and throw them all into747 the calorimeter at once. After they have all come to thermal748 equilibrium at temperature $t_0$, we find the differences $\Delta t_j749 = t_0 - t_j$. Just as we suspected, it turns out that regardless of750 the $K$'s, $M$'s, and $t$'s chosen, the relation751 \begin{equation}752 \sum_{j=0}^n K_j M_j \Delta t_j = 0753 \end{equation}754 is always satisfied. This sort of process is an old story in755 scientific investigations; although the great theoretician Boltzmann756 is said to have remarked: \ldquo{}Elegance is for tailors\rdquo{}, it757 remains true that the attempt to reduce equations to the most758 symmetrical form has often suggested important generalizations of759 physical laws, and is a great aid to memory. Witness Maxwell's760 \ldquo{}displacement current\rdquo{}, which was needed to fill in a761 gap and restore the symmetry of the electromagnetic equations; as soon762 as it was put in, the equations predicted the existence of763 electromagnetic waves. In the present case, the search for a rather764 rudimentary form of \ldquo{}elegance\rdquo{} has also been fruitful,765 for we recognize that (1-12) has the standard form of a /conservation766 law/; it defines a new quantity which is conserved in thermal767 interactions of the type just studied.769 The similarity of (1-12) to conservation laws in general may be seen770 as follows. Let $A$ be some quantity that is conserved; the \(i\)th771 system has an amount of it $A_i$. Now when the systems interact such772 that some $A$ is transferred between them, the amount of $A$ in the773 \(i\)th system is changed by a net amount \(\Delta A_i = (A_i)_{final} -774 (A_i)_{initial}\); and the fact that there is no net change in the775 total amount of $A$ is expressed by the equation \(\sum_i \Delta776 A_i = 0\). Thus, the law of conservation of matter in a chemical777 reaction is expressed by \(\sum_i \Delta M_i = 0\), where $M_i$ is the778 mass of the \(i\)th chemical component.780 What is this new conserved quantity? Mathematically, it can be defined781 as $Q_i = K_i\cdot M_i \cdot t_i$; whereupon (1-12) becomes783 \begin{equation}784 \sum_i \Delta Q_i = 0785 \end{equation}787 and at this point we can correct a slight quantitative inaccuracy. As788 noted, the above relations hold accurately only when the temperature789 differences are sufficiently small; i.e., they are really only790 differential laws. On sufficiently accurate measurements one find that791 the specific heats $K_i$ depend on temperature; if we then adopt the792 integral definition of $\Delta Q_i$,793 \begin{equation}794 \Delta Q_i = \int_{t_{i}}^{t_0} K_i(t) M_i dt795 \end{equation}797 the conservation law (1-13) will be found to hold in calorimetric798 experiments with liquids and solids, to any accuracy now feasible. And799 of course, from the manner in which the $K_i(t)$ are defined, this800 relation will hold however our thermometers are calibrated.802 Evidently, the stage is now set for a \ldquo{}new\rdquo{} physical803 theory to account for these facts. In the 17th century, both Francis804 Bacon and Isaac Newton had expressed their opinions that heat was a805 form of motion; but they had no supporting factual evidence. By the806 latter part of the 18th century, one had definite factual evidence807 which seemed to make this view untenable; by the calorimetric808 \ldquo{}mixing\rdquo{} experiments just described, Joseph Black had809 recognized the distinction between temperature $t$ as a measure of810 \ldquo{}hotness\rdquo{}, and heat $Q$ as a measure of /quantity/ of811 something, and introduced the notion of heat capacity. He also812 recognized the latent heats of freezing and vaporization. To account813 for the conservation laws thus discovered, the theory then suggested814 itself, naturally and almost inevitably, that heat was /fluid/,815 indestructable and uncreatable, which had no appreciable weight and816 was attracted differently by different kinds of matter. In 1787,817 Lavoisier invented the name \ldquo{}caloric\rdquo{} for this fluid.819 Looking down today from our position of superior knowledge (i.e.,820 hindsight) we perhaps need to be reminded that the caloric theory was821 a perfectly respectable scientific theory, fully deserving of serious822 consideration; for it accounted quantitatively for a large body of823 experimental fact, and made new predictions capable of being tested by824 experiment.826 One of these predictions was the possibility of accounting for the827 thermal expansion of bodies when heated; perhaps the increase in828 volume was just a measure of the volume of caloric fluid829 absorbed. This view met with some disappointment as a result of830 experiments which showed that different materials, on absorbing the831 same quantity of heat, expanded by different amounts. Of course, this832 in itself was not enough to overthrow the caloric theory, because one833 could suppose that the caloric fluid was compressible, and was held834 under different pressure in different media.836 Another difficulty that seemed increasingly serious by the end of the837 18th century was the failure of all attempts to weigh this fluid. Many838 careful experiments were carried out, by Boyle, Fordyce, Rumford and839 others (and continued by Landolt almost into the 20th century), with840 balances capable of detecting a change of weight of one part in a841 million; and no change could be detected on the melting of ice,842 heating of substances, or carrying out of chemical reactions. But even843 this is not really a conclusive argument against the caloric theory,844 since there is no /a priori/ reason why the fluid should be dense845 enough to weigh with balances (of course, we know today from846 Einstein's $E=mc^2$ that small changes in weight should indeed exist847 in these experiments; but to measure them would require balances about848 10^7 times more sensitive than were available).850 Since the caloric theory derives entirely from the empirical851 conservation law (1-33), it can be refuted conclusively only by852 exhibiting new experimental facts revealing situations in which (1-13)853 is /not/ valid. The first such case was [[http://www.chemteam.info/Chem-History/Rumford-1798.html][found by Count Rumford (1798)]],854 who was in charge of boring cannon in the Munich arsenal, and noted855 that the cannon and chips became hot as a result of the cutting. He856 found that heat could be produced indefinitely, as long as the boring857 was continued, without any compensating cooling of any other part of858 the system. Here, then, was a clear case in which caloric was /not/859 conserved, as in (1-13); but could be created at will. Rumford wrote860 that he could not conceive of anything that could be produced861 indefinitely by the expenditure of work, \ldquo{}except it be /motion/\rdquo{}.863 But even this was not enough to cause abandonment of the caloric864 theory; for while Rumford's observations accomplished the negative865 purpose of showing that the conservation law (1-13) is not universally866 valid, they failed to accomplish the positive one of showing what867 specific law should replace it (although he produced a good hint, not868 sufficiently appreciated at the time, in his crude measurements of the869 rate of heat production due to the work of one horse). Within the870 range of the original calorimetric experiments, (1-13) was still871 valid, and a theory successful in a restricted domain is better than872 no theory at all; so Rumford's work had very little impact on the873 actual development of thermodynamics.875 (This situation is a recurrent one in science, and today physics offers876 another good example. It is recognized by all that our present quantum877 field theory is unsatisfactory on logical, conceptual, and878 mathematical grounds; yet it also contains some important truth, and879 no responsible person has suggested that it be abandoned. Once again,880 a semi-satisfactory theory is better than none at all, and we will881 continue to teach it and to use it until we have something better to882 put in its place.)884 # what is "the specific heat of a gas at constant pressure/volume"?885 # changed t for temperature below from capital T to lowercase t.886 Another failure of the conservation law (1-13) was [[http://web.lemoyne.edu/~giunta/mayer.html][noted in 1842]] by887 R. Mayer, a German physician, who pointed out that the data already888 available showed that the specific heat of a gas at constant pressure,889 C_p, was greater than at constant volume $C_v$. He surmised that the890 difference was due to the work done in expansion of the gas against891 atmospheric pressure, when measuring $C_p$. Supposing that the892 difference $\Delta Q = (C_p - C_v)\Delta t$ calories, in the heat893 required to raise the temperature by $\Delta t$ was actually a894 measure of amount of energy, he could estimate from the amount895 $P\Delta V$ ergs of work done the amount of mechanical energy (number896 of ergs) corresponding to a calorie of heat; but again his work had897 very little impact on the development of thermodynamics, because he898 merely offered this notion as an interpretation of the data without899 performing or suggesting any new experiments to check his hypothesis900 further.902 Up to the point, then, one has the experimental fact that a903 conservation law (1-13) exists whenever purely thermal interactions904 were involved; but in processes involving mechanical work, the905 conservation law broke down.907 ** The First Law908 Corresponding to the partially valid law of \ldquo{}conservation of909 heat\rdquo{}, there had long been known another partially valid910 conservation law in mechanics. The principle of conservation of911 mechanical energy had been given by Leibnitz in 1693 in noting that,912 according to the laws of Newtonian mechanics, one could define913 potential and kinetic energy so that in mechanical processes they were914 interconverted into each other, the total energy remaining915 constant. But this too was not universally valid---the mechanical916 energy was conserved only in the absence of frictional forces. In917 processes involving friction, the mechanical energy seemed to918 disappear.920 So we had a law of conservation of heat, which broke down whenever921 mechanical work was done; and a law of conservation of mechanical922 energy, which broke down when frictional forces were present. If, as923 Mayer had suggested, heat was itself a form of energy, then one had924 the possibility of accounting for both of these failures in a new law925 of conservation of /total/ (mechanical + heat) energy. On one hand,926 the difference $C_p-C_v$ of heat capacities of gases would be927 accounted for by the mechanical work done in expansion; on the other928 hand, the disappearance of mechanical energy would be accounted for by929 the heat produced by friction.931 But to establish this requires more than just suggesting the idea and932 illustrating its application in one or two cases --- if this is really933 a new conservation law adequate to replace the two old ones, it must934 be shown to be valid for /all/ substances and /all/ kinds of935 interaction. For example, if one calorie of heat corresponded to $E$936 ergs of mechanical energy in the gas experiments, but to a different937 amoun $E^\prime$ in heat produced by friction, then there would be no938 universal conservation law. This \ldquo{}first law\rdquo{} of939 thermodynamics must therefore take the form:940 #+begin_quote941 There exists a /universal/ mechanical equivalent of heat, so that the942 total (mechanical energy) + (heat energy) remeains constant in all943 physical processes.944 #+end_quote946 It was James Prescott Joule who provided the [[http://www.chemteam.info/Chem-History/Joule-Heat-1845.html][first experimental data]]947 indicating this universality, and providing the first accurate948 numerical value of this mechanical equivalent. The calorie had been949 defined as the amount of heat required to raise the temperature of one950 gram of water by one degree Centigrade (more precisely, to raise it951 from 14.5 to 15.5$^\circ C$). Joule measured the heating of a number952 of different liquids due to mechanical stirring and electrical953 heating, and established that, within the experimental accuracy (about954 one percent) a /calorie/ of heat always corresponded to the same955 amount of energy. Modern measurements give this numerical value as: 1956 calorie = 4.184 \times 10^7 ergs = 4.184 joules.957 # capitalize Joules? I think the convention is to spell them out in lowercase.959 The circumstances of this important work are worth noting. Joule was960 in frail health as a child, and was educated by private tutors,961 including the chemist, John Dalton, who had formulated the atomic962 hypothesis in the early nineteenth century. In 1839, when Joule was963 nineteen, his father (a wealthy brewer) built a private laboratory for964 him in Manchester, England; and the good use he made of it is shown by965 the fact that, within a few months of the opening of this laboratory966 (1840), he had completed his first important piece of work, at the967 age of twenty. This was his establishment of the law of \ldquo{}Joule968 heating,\rdquo{} $P=I^2 R$, due to the electric current in a969 resistor. He then used this effect to determine the universality and970 numerical value of the mechanical equivalent of heat, reported971 in 1843. His mechanical stirring experiments reported in 1849 yielded972 the value 1 calorie = 4.154 \times 10^7 ergs, amount 0.7% too low;973 this determination was not improved upon for several decades.975 The first law of thermodynamics may then be stated mathematically as976 follows:978 #+begin_quote979 There exists a state function (i.e., a definite function of the980 thermodynamic state) $U$, representing the total energy of any system,981 such that in any process in which we change from one equilibrium to982 another, the net change in $U$ is given by the difference of the heat983 $Q$ supplied to the system, and the mechanical work $W$ done by the984 system.985 #+end_quote986 On an infinitesimal change of state, this becomes988 \begin{equation}989 dU = dQ - dW.990 \end{equation}992 For a system of two degrees of freedom, defined by pressure $P$,993 volume $V$, and temperature $t$, we have $dW = PdV$. Then if we regard994 $U$ as a function $U(V,t)$ of volume and temperature, the fact that995 $U$ is a state function means that $dU$ must be an exact differential;996 i.e., the integral998 \begin{equation}999 \int_1^2 dU = U(V_2,t_2) - U(V_1,t_1)1000 \end{equation}1001 between any two thermodynamic states must be independent of the1002 path. Equivalently, the integral $\oint dU$ over any closed cyclic1003 path (for example, integrate from state 1 to state 2 along path A,1004 then back to state 1 by a different path B) must be zero. From (1-15),1005 this gives for any cyclic integral,1007 \begin{equation}1008 \oint dQ = \oint P dV1009 \end{equation}1011 another form of the first law, which states that in any process in1012 which the system ends in the same thermodynamic state as the initial1013 one, the total heat absorbed by the system must be equal to the total1014 work done.1016 Although the equations (1-15)-(1-17) are rather trivial1017 mathematically, it is important to avoid later conclusions that we1018 understand their exact meaning. In the first place, we have to1019 understand that we are now measuring heat energy and mechanical energy1020 in the same units; i.e. if we measured $Q$ in calories and $W$ in1021 ergs, then (1-15) would of course not be correct. It does1022 not matter whether we apply Joule's mechanical equivalent of heat1023 to express $Q$ in ergs, or whether we apply it in the opposite way1024 to express $U$ and $W$ in calories; each procedure will be useful in1025 various problems. We can develop the general equations of1026 thermodynamics1027 without committing ourselves to any particular units,1028 but of course all terms in a given equation must be expressed1029 in the same units.1031 Secondly, we have already stressed that the theory being1032 developed must, strictly speaking, be a theory only of1033 equilibrium states, since otherwise we have no operational definition1034 of temperature When we integrate over any \ldquo{}path\rdquo{} in the $(V-t)$1035 plane, therefore, it must be understood that the path of1036 integration is, strictly speaking, just a /locus of equilibrium1037 states/; nonequilibrium states cannot be represented by points1038 in the $(V-t)$ plane.1040 But then, what is the relation between path of equilibrium1041 states appearing in our equations, and the sequence of conditions1042 produced experimentally when we change the state of a system in1043 the laboratory? With any change of state (heating, compression,1044 etc.) proceeding at a finite rate we do not have equilibrium in1045 termediate states; and so there is no corresponding \ldquo{}path\rdquo{} in1046 the $(V-t)$ plane ; only the initial and final equilibrium states1047 correspond to definite points. But if we carry out the change1048 of state more and more slowly, the physical states produced are1049 nearer and nearer to equilibrium state. Therefore, we interpret1050 a path of integration in the $(V-t)$ plane, not as representing1051 the intermediate states of any real experiment carried out at1052 a finite rate, but as the /limit/ of this sequence of states, in1053 the limit where the change of state takes place arbitrarily1054 slowly.1056 An arbitrarily slow process, so that we remain arbitrarily1057 near to equilibrium at all times, has another important property.1058 If heat is flowing at an arbitrarily small rate, the temperature1059 difference producing it must be arbitrarily small, and therefore1060 an arbitrarily small temperature change would be able to reverse1061 the direction of heat flow. If the Volume is changing very1062 slowly, the pressure difference responsible for it must be very1063 small; so a small change in pressure would be able to reverse1064 the direction of motion. In other words, a process carried out1065 arbitrarily slowly is /reversible/; if a system is arbitrarily1066 close to equilibrium, then an arbitrarily small change in its1067 environment can reverse the direction of the process.1068 Recognizing this, we can then say that the paths of integra1069 tion in our equations are to be interpreted physically as1070 /reversible paths/ In practice, some systems (such as gases)1071 come to equilibrium so rapidly that rather fast changes of1072 state (on the time scale of our own perceptions) may be quite1073 good approximations to reversible changes; thus the change of1074 state of water vapor in a steam engine may be considered1075 reversible to a useful engineering approximation.1078 ** Intensive and Extensive Parameters1080 The literature of thermodynamics has long recognized a distinction between two1081 kinds of quantities that may be used to define the thermodynamic1082 state. If we imagine a given system as composed of smaller1083 subsystems, we usually find that some of the thermodynamic variables1084 have the same values in each subsystem, while others are additive,1085 the total amount being the sum of the values of each subsystem.1086 These are called /intensive/ and /extensive/ variables, respectively.1087 According to this definition, evidently, the mass of a system is1088 always an extensive quantity, and at equilibrium the temperature1089 is an intensive ‘quantity. Likewise, the energy will be extensive1090 provided that the interaction energy between the subsystems can1091 be neglected.1093 It is important to note, however, that in general the terms1094 \ldquo{}intensive\rdquo{} and \ldquo{}extensive\rdquo{}1095 so defined cannot be regarded as1096 establishing a real physical distinction between the variables.1097 This distinction is, like the notion of number of degrees of1098 freedom, in part an anthropomorphic one, because it may depend1099 on the particular kind of subdivision we choose to imagine. For1100 example, a volume of air may be imagined to consist of a number1101 of smaller contiguous volume elements. With this subdivision,1102 the pressure is the same in all subsystems, and is therefore in1103 tensive; while the volume is additive and therefore extensive1104 But we may equally well regard the volume of air as composed of1105 its constituent nitrogen and oxygen subsystems (or we could re1106 gard pure hydrogen as composed of two subsystems, in which the1107 molecules have odd and even rotational quantum numbers1108 respectively, etc.) With this kind of subdivision the volume is the1109 same in all subsystems, while the pressure is the sum of the1110 partial pressures of its constituents; and it appears that the1111 roles of \ldquo{}intensive\rdquo{} and \ldquo{}extensive\rdquo{}1112 have been interchanged. Note that this ambiguity cannot be removed by requiring1113 that we consider only spatial subdivisions, such that each sub1114 system has the same local composi tion For, consider a s tressed1115 elastic solid, such as a stretched rubber band. If we imagine1116 the rubber band as divided, conceptually, into small subsystems1117 by passing planes through it normal to its axis, then the tension1118 is the same in all subsystems, while the elongation is additive.1119 But if the dividing planes are parallel to the axis, the elonga1120 tion is the same in all subsystems, while the tension is1121 additive; once again, the roles of \ldquo{}extensive\rdquo{} and1122 \ldquo{}intensive\rdquo{} are1123 interchanged merely by imagining a different kind of subdivision.1124 In spite of the fundamental ambiguity of the usual definitions,1125 the notions of extensive and intensive variables are useful,1126 and in practice we seem to have no difficulty in deciding1127 which quantities should be considered intensive. Perhaps the1128 distinction is better characterized, not by considering1129 subdivisions at all, but by adopting a different definition, in which1130 we recognize that some quantities have the nature of a \ldquo{}force\rdquo{}1131 or \ldquo{}potential\rdquo{}, or some other local physical property, and are1132 therefore called intensive, while others have the nature of a1133 \ldquo{}displacement\rdquo{} or a \ldquo{}quantity\rdquo{} of1134 something (i.e. are proportional to the size of the system),1135 and are therefore called extensive. Admittedly, this definition is somewhat vague, in a1136 way that can also lead to ambiguities ; in any event, let us agree1137 to class pressure, stress tensor, mass density, energy density,1138 particle density, temperature, chemical potential, angular1139 velocity, as intensive, while volume, mass, energy, particle1140 numbers, strain, entropy, angular momentum, will be considered1141 extensive.1143 ** The Kelvin Temperature Scale1144 The form of the first law,1145 $dU = dQ - dW$, expresses the net energy increment of a system as1146 the heat energy supplied to it, minus the work done by it. In1147 the simplest systems of two degrees of freedom, defined by1148 pressure and volume as the thermodynamic variables, the work done1149 in an infinitesimal reversible change of state can be separated1150 into a product $dW = PdV$ of an intensive and an extensive quantity.1151 Furthermore, we know that the pressure $P$ is not only the1152 intensive factor of the work; it is also the \ldquo{}potential\rdquo{}1153 which governs mechanical equilibrium (in this case, equilibrium with respect1154 to exchange of volume) between two systems; ie., if they are1155 separated by a flexible but impermeable membrane, the two systems1156 will exchange volume $dV_1 = -dV_2$ in a direction determined by the1157 pressure difference, until the pressures are equalized. The1158 energy exchanged in this way between the systems is a product1159 of the form1160 #+begin_quote1161 (/intensity/ of something) \times (/quantity/ of something exchanged)1162 #+end_quote1164 Now if heat is merely a particular form of energy that can1165 also be exchanged between systems, the question arises whether1166 the quantity of heat energy $dQ$ exchanged in an infinitesimal1167 reversible change of state can also be written as a product of one1168 factor which measures the \ldquo{}intensity\rdquo{} of the heat,1169 times another that represents the \ldquo{}quantity\rdquo{}1170 of something exchanged between1171 the systems, such that the intensity factor governs the1172 conditions of thermal equilibrium and the direction of heat exchange,1173 in the same way that pressure does for volume exchange.1176 But we already know that the /temperature/ is the quantity1177 that governs the heat flow (i.e., heat flows from the hotter to1178 the cooler body until the temperatures are equalized) So the1179 intensive factor in $dQ$ must be essentially the temperature. But1180 our temperature scale is at present still arbitrary, and we can1181 hardly expect that such a factorization will be possible for all1182 calibrations of our thermometers.1184 The same thing is evidently true of pressure; if instead of1185 the pressure $P$ as ordinarily defined, we worked with any mono1186 tonic increasing function $P_1 = P_1 (P)$ we would find that $P_1$ is1187 just as good as $P$ for determining the direction of volume1188 exchange and the condition of mechanical equilibrium; but the work1189 done would not be given by $PdV$; in general, it could not even1190 be expressed in the form $P_1 \cdot dF(V)$, where $F(V)$ is some function1191 of V.1194 Therefore we ask: out of all the monotonic functions $t_1(t)$1195 corresponding to different empirical temperature scales, is1196 there one (which we denote as $T(t)$) which forms a \ldquo{}natural\rdquo{}1197 intensity factor for heat, such that in a reversible change1198 $dQ = TdS$, where $S(U,V)$ is a new function of the thermodynamic1199 state? If so, then the temperature scale $T$ will have a great1200 theoretical advantage, in that the laws of thermodynamics will1201 take an especially simple form in terms of this particular scale,1202 and the new quantity $S$, which we call the /entropy/, will be a1203 kind of \ldquo{}volume\rdquo{} factor for heat.1205 We recall that $dQ = dU + PdV$ is not an exact differential;1206 i.e., on a change from one equilibrium state to another the1207 integral1209 \[\int_1^2 dQ\]1211 cannot be set equal to the difference $Q_2 - Q_1$ of values of any1212 state function $Q(U,V)$, since the integral has different values1213 for different paths connecting the same initial and final states.1214 Thus there is no \ldquo{}heat function\rdquo{} $Q(U,V)$, and the notion of1215 \ldquo{}amount of heat\rdquo{} $Q$ stored in a body has no meaning1216 (nor does the \ldquo{}amount of work\rdquo{} $W$;1217 only the total energy is a well-defined quantity).1218 But we want the entropy $S(U,V)$ to be a definite quantity,1219 like the energy or volume, and so $dS$ must be an exact differential.1220 On an infinitesimal reversible change from one equilibrium state1221 to another, the first law requires that it satisfy[fn:: Edit: The first1222 equality comes from our requirement that $dQ = T\,dS$. The second1223 equality comes from the fact that $dU = dQ - dW$ (the first law) and1224 that $dW = PdV$ in the case where the state has two degrees of1225 freedom, pressure and volume.]1227 \begin{equation}1228 dS(U,V) = \frac{dQ}{T} = \frac{dU}{T} + \frac{P}{T}dV1229 \end{equation}1231 Thus $(1/T)$ must be an /integrating factor/ which converts $dQ$ into1232 an exact differential [[fn::Edit: A differential $M(x,y)dx +1233 N(x,y)dy$ is called /exact/ if there is a scalar function1234 $\Phi(x,y)$ such that $M = \frac{\partial \Phi}{\partial x}$ and1235 $N=\frac{\partial \Phi}{\partial y}$. If there is, \Phi is called the1236 /potential function/ of the differential, Conceptually, this means1237 that M(x,y)dx + N(x,y) dy is the derivative of a scalar potential and1238 so consequently corresponds to a conservative field.1240 Even if there is no such potential function1241 \Phi for the given differential, it is possible to coerce an1242 inexact differential into an exact one by multiplying by an unknown1243 function $\mu(x,y)$ (called an /integrating factor/) and requiring the1244 resulting differential $\mu M\, dx + \mu N\, dy$ to be exact.1246 To complete the analogy, here we have the differential $dQ =1247 dU + PdV$ (by the first law) which is not exact---conceptually, there1248 is no scalar potential nor conserved quantity corresponding to1249 $dQ$. We have introduced a new differential $dS = \frac{1}{T}dQ$, and we1250 are searching for the temperature scale $T(U,V)$ which makes $dS$1251 exact (i.e. which makes $S$ correspond to a conserved quantity). This means1252 that $\frac{1}{T}$ is playing the role of the integrating factor1253 \ldquo{}\mu\rdquo{} for the differential $dQ$.]]1255 Now the question of the existence and properties of1256 integrating factors is a purely mathematical one, which can be1257 investigated independently of the properties of any particular1258 substance. Let us denote this integrating factor for the moment1259 by $w(U,V) = T^{-1}$; then the first law becomes1261 \begin{equation}1262 dS(U,V) = w dU + w P dV1263 \end{equation}1265 from which the derivatives are1267 \begin{equation}1268 \left(\frac{\partial S}{\partial U}\right)_V = w, \qquad1269 \left(\frac{\partial S}{\partial V}\right)_U = wP.1270 \end{equation}1272 The condition that $dS$ be exact is that the cross-derivatives be1273 equal, as in (1-4):1275 \begin{equation}1276 \frac{\partial^2 S}{\partial U \partial V} = \frac{\partial^21277 S}{\partial V \partial U},1278 \end{equation}1280 or1282 \begin{equation}1283 \left(\frac{\partial w}{\partial V}\right)_U = \left(\frac{\partial1284 P}{\partial U}\right)_V + P\cdot \left(\frac{\partial w}{\partial U}\right)_V.1285 \end{equation}1287 Any function $w(U,V)$ satisfying this differential equation is an1288 integrating factor for $dQ$.1290 But if $w(U,V)$ is one such integrating factor, which leads1291 to the new state function $S(U,V)$, it is evident that1292 $w_1(U,V) \equiv w \cdot f(S)$ is an equally good integrating factor, where1293 $f(S)$ is an arbitrary function. Use of $w_1$ will lead to a1294 different state function1296 #what's with the variable collision?1297 \begin{equation}1298 S_1(U,V) = \int^S f(S) dS1299 \end{equation}1301 The mere conversion of into an exact differential is, therefore,1302 not enough to determine any unique entropy function $S(U,V)$.1303 However, the derivative1305 \begin{equation}1306 \left(\frac{dU}{dV}\right)_S = -P1307 \end{equation}1309 is evidently uniquely determined; so also, therefore, is the1310 family of lines of constant entropy, called /adiabats/, in the1311 $(U-V)$ plane. But, as (1-24) shows, the numerical value of $S$ on1312 each adiabat is still completely undetermined.1314 In order to fix the relative values of $S$ on different1315 adiabats we need to add the condition, not yet put into the equations,1316 that the integrating factor $w(U,V) = T^{-1}$ is to define a new1317 temperature scale In other words, we now ask: out of the1318 infinite number of different integrating factors allowed by1319 the differential equation (1-23), is it possible to find one1320 which is a function only of the empirical temperature $t$? If1321 $w=w(t)$, we can write1323 \begin{equation}1324 \left(\frac{\partial w}{\partial V}\right)_U = \frac{dw}{dt}\left(\frac{\partial1325 t}{\partial V}\right)_U1326 \end{equation}1327 \begin{equation}1328 \left(\frac{\partial w}{\partial U}\right)_V = \frac{dw}{dt}\left(\frac{\partial1329 t}{\partial U}\right)_V1330 \end{equation}1333 and (1-23) becomes1334 \begin{equation}1335 \frac{d}{dt}\log{w} = \frac{\left(\frac{\partial P}{\partial1336 U}\right)_V}{\left(\frac{\partial t}{\partial V}\right)_U-P\left(\frac{\partial t}{\partial U}\right)_V}1337 \end{equation}1340 which shows that $w$ will be determined to within a multiplicative1341 factor.1343 Is the temperature scale thus defined independent of the1344 empirical scale from which we started? To answer this, let1345 $t_1 = t_1(t)$ be any monotonic function which defines a different1346 empirical temperature scale. In place of (1-28), we then have1348 \begin{equation}1349 \frac{d}{dt_1}\log{w} \quad=\quad \frac{\left(\frac{\partial P}{\partial1350 U}\right)_V}{\left(\frac{\partial t_1}{\partial V}\right)_U-P\left(\frac{\partial t_1}{\partial U}\right)_V}1351 \quad = \quad1352 \frac{\left(\frac{\partial P}{\partial1353 U}\right)_V}{\frac{dt_1}{dt}\left[ \left(\frac{\partial t}{\partial1354 V}\right)_U-P\left(\frac{\partial t}{\partial U}\right)_V\right]},1355 \end{equation}1356 or1357 \begin{equation}1358 \frac{d}{dt_1}\log{w_1} = \frac{dt}{dt_1}\frac{d}{dt}\log{w}1359 \end{equation}1361 which reduces to $d \log{w_1} = d \log{w}$, or1362 \begin{equation}1363 w_1 = C\cdot w1364 \end{equation}1366 Therefore, integrating factors derived from whatever empirical1367 temperature scale can differ among themselves only by a1368 multiplicative factor. For any given substance, therefore, except1369 for this factor (which corresponds just to our freedom to choose1370 the size of the units in which we measure temperature), there is1371 only /one/ temperature scale $T(t) = 1/w$ with the property that1372 $dS = dQ/T$ is an exact differential.1374 To find a feasible way of realizing this temperature scale1375 experimentally, multiply numerator and denominator of the right1376 hand side of (1-28) by the heat capacity at constant volume,1377 $C_V^\prime = (\partial U/\partial t) V$, the prime denoting that1378 it is in terms of the empirical temperature scale $t$.1379 Integrating between any two states denoted 1 and 2, we have1381 \begin{equation}1382 \frac{T_1}{T_2} = \exp\left\{\int_{t_1}^{t_2}1383 \frac{\left(\frac{\partial P}{\partial t}\right)_V dt}{P - C_V^\prime1384 \left(\frac{\partial t}{\partial V}\right)_U} \right\}1385 \end{equation}1387 If the quantities on the right-hand side have been determined1388 experimentally, then a numerical integration yields the ratio1389 of Kelvin temperatures of the two states.1391 This process is particularly simple if we choose for our1392 system a volume of gas with the property found in Joule's famous1393 expansion experiment; when the gas expands freely into a vacuum1394 (i.e., without doing work, or $U = \text{const.}$), there is no change in1395 temperature. Real gases when sufficiently far from their condensation1396 points are found to obey this rule very accurately.1397 But then1399 \begin{equation}1400 \left(\frac{dt}{dV}\right)_U = 01401 \end{equation}1403 and on a change of state in which we heat this gas at constant1404 volume, (1-31) collapses to1406 \begin{equation}1407 \frac{T_1}{T_2} = \exp\left\{\int_{t_1}^{t_2}1408 \frac{1}{P}\left(\frac{\partial P}{\partial t}\right)_V dt\right\} = \frac{P_2}{P_1}.1409 \end{equation}1411 Therefore, with a constant-volume ideal gas thermometer, (or more1412 generally, a thermometer using any substance obeying (1-32) and1413 held at constant volume), the measured pressure is directly1414 proportional to the Kelvin temperature.1416 For an imperfect gas, if we have measured $(\partial t /\partial1417 V)_U$ and $C_V^\prime$, Eq. (1-31) determines the necessary1418 corrections to (1-33). However, an alternative form of (1-31), in1419 which the roles of pressure and volume are interchanged, proves to be1420 more convenient for experimental determinations. To derive it, introduce the1421 enthalpy function1423 \begin{equation}H = U + PV\end{equation}1425 with the property1427 \begin{equation}1428 dH = dQ + VdP1429 \end{equation}1431 Equation (1-19) then becomes1433 \begin{equation}1434 dS = \frac{dH}{T} - \frac{V}{T}dP.1435 \end{equation}1437 Repeating the steps (1-20) to (1-31) of the above derivation1438 starting from (1-36) instead of from (1-19), we arrive at1440 \begin{equation}1441 \frac{T_2}{T_1} = \exp\left\{\int_{t_1}^{t_2}1442 \frac{\left(\frac{dV}{dt}\right)_P dt}{V + C_P^\prime1443 \left(\frac{\partial t}{\partial P}\right)_H}\right\}1444 \end{equation}1446 or1448 \begin{equation}1449 \frac{T_2}{T_1} = \exp\left\{\frac{\alpha^\prime1450 dt}{1+\left(C_P^\prime \cdot \mu^\prime / V\right)}\right\}1451 \end{equation}1453 where1454 \begin{equation}1455 \alpha^\prime \equiv \frac{1}{V}\left(\frac{\partial V}{\partial t}\right)_P1456 \end{equation}1457 is the thermal expansion coefficient,1458 \begin{equation}1459 C_P^\prime \equiv \left(\frac{\partial H}{\partial t}\right)_P1460 \end{equation}1461 is the heat capacity at constant pressure, and1462 \begin{equation}1463 \mu^\prime \equiv \left(\frac{dt}{dP}\right)_H1464 \end{equation}1466 is the coefficient measured in the Joule-Thompson porous plug1467 experiment, the primes denoting again that all are to be measured1468 in terms of the empirical temperature scale $t$.1469 Since $\alpha^\prime$, $C_P^\prime$, $\mu^\prime$ are all1470 easily measured in the laboratory, Eq. (1-38) provides a1471 feasible way of realizing the Kelvin temperature scale experimentally,1472 taking account of the imperfections of real gases.1473 For an account of the work of Roebuck and others based on this1474 relation, see [[http://books.google.com/books?id=KKJKAAAAMAAJ][Zemansky (1943)]]; pp. 252-255.1476 Note that if $\mu^\prime = O$ and we heat the gas at constant1477 pressure, (1-38) reduces to1479 \begin{equation}1480 \frac{T_2}{T_1} = \exp\left\{ \int_{t_1}^{t_2}1481 \frac{1}{V}\left(\frac{\partial V}{\partial t}\right)_P dt \right\} = \frac{V_2}{V_1}1482 \end{equation}1484 so that, with a constant-pressure gas thermometer using a gas for1485 which the Joule-Thomson coefficient is zero, the Kelvin temperature is1486 proportional to the measured volume.1488 Now consider another empirical fact, [[http://en.wikipedia.org/wiki/Boyle%27s_law][Boyle's law]]. For gases1489 sufficiently far from their condensation points---which is also1490 the condition under which (1-32) is satisfied---Boyle found that1491 the product $PV$ is a constant at any fixed temperature. This1492 product is, of course proportional to the number of moles $n$1493 present, and so Boyle's equation of state takes the form1495 \begin{equation}PV = n \cdot f(t)\end{equation}1497 where f(t) is a function that depends on the particular empirical1498 temperature scale used. But from (1-33) we must then have1499 $f(t) = RT$, where $R$ is a constant, the universal gas constant whose1500 numerical value (1.986 calories per mole per degree K), depends1501 on the size of the units in which we choose to measure the Kelvin1502 temperature $T$. In terms of the Kelvin temperature, the ideal gas1503 equation of state is therefore simply1505 \begin{equation}1506 PV = nRT1507 \end{equation}1510 The relations (1-32) and (1-44) were found empirically, but1511 with the development of thermodynamics one could show that they1512 are not logically independent. In fact, all the material needed1513 for this demonstration is now at hand, and we leave it as an1514 exercise for the reader to prove that Joule‘s relation (1-32) is1515 a logical consequence of Boyle's equation of state (1-44) and the1516 first law.1519 Historically, the advantages of the gas thermometer were1520 discovered empirically before the Kelvin temperature scale was1521 defined; and the temperature scale \theta defined by1523 \begin{equation}1524 \theta = \lim_{P\rightarrow 0}\left(\frac{PV}{nR}\right)1525 \end{equation}1527 was found to be convenient, easily reproducible, and independent1528 of the properties of any particular gas. It was called the1529 /absolute/ temperature scale; and from the foregoing it is clear1530 that with the same choice of the numerical constant $R$, the1531 absolute and Kelvin scales are identical.1534 For many years the unit of our temperature scale was the1535 Centigrade degree, so defined that the difference $T_b - T_f$ of1536 boiling and freezing points of water was exactly 100 degrees.1537 However, improvements in experimental techniques have made another1538 method more reproducible; and the degree was redefined by the1539 Tenth General Conference of Weights and Measures in 1954, by1540 the condition that the triple point of water is at 273.l6^\circ K,1541 this number being exact by definition. The freezing point, 0^\circ C,1542 is then 273.15^\circ K. This new degree is called the Celsius degree.1543 For further details, see the U.S. National Bureau of Standards1544 Technical News Bulletin, October l963.1547 The appearance of such a strange and arbitrary-looking1548 number as 273.16 in the /definition/ of a unit is the result of1549 the historical development, and is the means by which much1550 greater confusion is avoided. Whenever improved techniques make1551 possible a new and more precise (i.e., more reproducible)1552 definition of a physical unit, its numerical value is of course chosen1553 so as to be well inside the limits of error with which the old1554 unit could be defined. Thus the old Centigrade and new Celsius1555 scales are the same, within the accuracy with which the1556 Centigrade scale could be realized; so the same notation, ^\circ C, is used1557 for both Only in this way can old measurements retain their1558 value and accuracy, without need of corrections every time a1559 unit is redefined.1561 #capitalize Joules?1562 Exactly the same thing has happened in the definition of1563 the calorie; for a century, beginning with the work of Joule,1564 more and more precise experiments were performed to determine1565 the mechanical equivalent of heat more and more accurately But1566 eventually mechanical and electrical measurements of energy be1567 came far more reproducible than calorimetric measurements; so1568 recently the calorie was redefined to be 4.1840 Joules, this1569 number now being exact by definition. Further details are given1570 in the aforementioned Bureau of Standards Bulletin.1573 The derivations of this section have shown that, for any1574 particular substance, there is (except for choice of units) only1575 one temperature scale $T$ with the property that $dQ = TdS$ where1576 $dS$ is the exact differential of some state function $S$. But this1577 in itself provides no reason to suppose that the /same/ Kelvin1578 scale will result for all substances; i.e., if we determine a1579 \ldquo{}helium Kelvin temperature\rdquo{} and a1580 \ldquo{}carbon dioxide Kelvin temperature\rdquo{} by the measurements1581 indicated in (1-38), and choose the units so that they agree numerically at one point, will they then1582 agree at other points? Thus far we have given no reason to1583 expect that the Kelvin scale is /universal/, other than the empirical1584 fact that the limit (1-45) is found to be the same for all gases.1585 In section 2.0 we will see that this universality is a conse1586 quence of the second law of thermodynamics (i.e., if we ever1587 find two substances for which the Kelvin scale as defined above1588 is different, then we can take advantage of this to make a1589 perpetual motion machine of the second kind).1592 Usually, the second law is introduced before discussing1593 entropy or the Kelvin temperature scale. We have chosen this1594 unusual order so as to demonstrate that the concepts of entropy1595 and Kelvin temperature are logically independent of the second1596 law; they can be defined theoretically, and the experimental1597 procedures for their measurement can be developed, without any1598 appeal to the second law. From the standpoint of logic, there1599 fore, the second law serves /only/ to establish that the Kelvin1600 temperature scale is the same for all substances.1603 ** Entropy of an Ideal Boltzmann Gas1605 At the present stage we are far from understanding the physical1606 meaning of the function $S$ defined by (1-19); but we can investigate1607 its mathematical form and numerical values. Let us do this for a1608 system1609 consisting of $n$ moles of a substance which obeys the ideal gas1610 equation of state1612 \begin{equation}PV = nRT\end{equation}1614 and for which the heat capacity at constant volume1615 $C_V$ is a constant. The difference in entropy between any two states (1)1616 and (2) is from (1-19),1618 \begin{equation}1619 S_2 - S_1 = \int_1^2 \frac{dQ}{T} = \int_1^21620 \left[\left(\frac{\partial S}{\partial V}\right)+\left(\frac{\partial S}{\partial T}\right)_V dT\right]1621 \end{equation}1623 where we integrate over any reversible path connecting the two1624 states. From the manner in which $S$ was defined, this integral1625 must be the same whatever path we choose. Consider, then, a1626 path consisting of a reversible expansion at constant1627 temperature to a state 3 which has the initial temperature $T_1$, and the1628 the final volume $V_2$; followed by heating at constant volume to the1629 final temperature $T_2$.1630 Then (1-47) becomes1632 \begin{equation}1633 S_2 - S_1 = \int_1^3 \left(\frac{\partial S}{\partial V}\right)_T dV +1634 \int_3^2 \left(\frac{\partial S}{\partial T}\right)_V dT1635 \end{equation}1637 To evaluate the integral over $(1\rightarrow 3)$, note that since $dU1638 = TdS - PdV$, the Helmholtz free energy function $F \equiv U -TS$ has1639 the property $dF = -SdT - PdV$; and of course $dF$ is an exact1640 differential since $F$ is a definite state function. The condition1641 that $dF$ be exact is, analogous to (1-22),1643 \begin{equation}1644 \left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial1645 P}{\partial T}\right)_V1646 \end{equation}1648 which is one of the Maxwell relations, discussed further in1649 Chapter 2. But [the value of this expression] is determined by the equation of state1650 (1-46):1652 \begin{equation}1653 \left(\frac{\partial S}{\partial V}\right)_T = \frac{nR}{V}1654 \end{equation}1656 Likewise, along the path $(3\rightarrow 2)$, we have1658 \begin{equation}1659 \left(\frac{\partial S}{\partial T}\right)_V = \frac{n C_V}{T}1660 \end{equation}1662 where $C_V$ is the molar heat capacity at constant volume.1663 Collecting these results, we have1665 \begin{equation}1666 S_2 - S_1 = \int_1^3 \frac{nR}{V} dV + \int_2^3 \frac{n C_V}{T} dT =1667 nR\log{(V_2/V_1)} + nC_V \log{(T_2/T_1)}1668 \end{equation}1670 since $C_V$ was assumed independent of $T$. Thus the entropy function1671 must have the form1673 \begin{equation}1674 S(n,V,T) = nR \log{V} + n C_V \log{T} + (\text{const.})1675 \end{equation}1677 From the derivation, the additive constant must be independent1678 of V and T; but it can still depend on n. We indicate this by1679 writing1681 \begin{equation}1682 S(n,V,T) = n\left[R \log{V} + C_V \log{T}\right] + f(n)1683 \end{equation}1685 where $f(n)$ is a function not determined by the definition (1-47).1686 The form of $f(n)$ is, however, restricted by the condition that1687 the entropy be an extensive quantity; i.e., two identical systems1688 placed together should have twice the entropy of a single system; or1689 more generally,1691 \begin{equation}1692 S(qn, qV, T) = q\cdot S(n,v,T),\qquad 0<q<\infty1693 \end{equation}1695 Substituting (1-54) into (1-55), we find that $f(n)$ must satisfy1696 the functional equation1698 \begin{equation}1699 f(q\cdot n) = q\cdot f(n) - R\cdot n\cdot q\log{q}\end{equation}1702 To solve this, one can differentiate with respect to $q$ and set1703 $q = 1$; we then obtain the differential equation1705 \begin{equation}1706 n\cdot f^\prime(n) - f(n) + R\cdot n = 01707 \end{equation}1708 # xy' - y + rx = 01709 which is readily solved; alternatively, just set $n = 1$ in (1-56)1710 and replace $q$ by $n$ By either procedure we find1712 \begin{equation}1713 f(n) = n\cdot f(1) - R\cdot n \log{n} (1-58)1714 \end{equation}1716 As a check, it is easily verified that this is the solution of (1-56)1717 and (1-57). We then have finally,1719 \begin{equation}1720 S(n,V,t) = n\left[C_v\cdot\log{t} + R\cdot \log{\left(\frac{V}{n}\right)} +1721 A\right]1722 \end{equation}1724 where $A\equiv f(1)$ is still an arbitrary constant, not determined1725 by the definition (1-19), or by the condition (1-55) that $S$ be1726 extensive. However, $A$ is not without physical meaning; we will1727 see in the next Section that the vapor pressure of this1728 substance (and more generally, its chemical potential) depends on1729 $A$. Later, it will appear that the numerical value of $A$ involves1730 Planck's constant, and its theoretical determination therefore1731 requires quantum statistics.1733 #edit: "is constant"1734 We conclude from this that, in any region where experimentally1735 $C_V$ is constant, and the ideal gas equation of state is1736 obeyed, the entropy must have the form (1-59) The fact that1737 classical statistical mechanics does not lead to this result,1738 the term $n\cdot R \cdot \log{(1/n)}$ being missing (Gibbs paradox),1739 was historically one of the earliest clues indicating the need for the1740 quantum theory.1742 In the case of a liquid, the volume does not change1743 appreciably on heating, and so $dS = n\cdot C_V\cdot dT/T$, and if1744 $C_V$ is independent of temperature, we would have in place of (1-59),1746 \begin{equation}1747 S = n\left[C_V\ln{T}+A_\ell\right]1748 \end{equation}1750 where $A_\ell$ is an integration constant, which also has physical1751 meaning in connection with conditions of equilibrium between1752 two different phases.1754 ** The Second Law: Definition1756 Probably no proposition in physics has been the subject of more deep1757 and sustained confusion1758 than the second law of thermodynamics It is not in the province1759 of macroscopic thermodynamics to explain the underlying reason1760 for the second law; but at this stage we should at least be able1761 to /state/ this law in clear and experimentally meaningful terms.1762 However, examination of some current textbooks reveals that,1763 after more than a century, different authors still disagree as1764 to the proper statement of the second law, its physical meaning,1765 and its exact range of validity.1767 Later on in this book it will be one of our major objectives1768 to show, from several different viewpoints, how much clearer and1769 simpler these problems now appear in the light of recent develop1770 ments in statistical mechanics For the present, however, our1771 aim is only to prepare the way for this by pointing out exactly1772 what it is that is to be proved later. As a start on this at1773 tempt, we note that the second law conveys a certain piece of1774 informations about the /direction/ in which processes take place.1775 In application it enables us to predict such things as the final1776 equilibrium state of a system, in situations where the first law1777 alone is insufficient to do this.1780 A concrete example will be helpful. We have a vessel1781 equipped with a piston, containing $N$ moles of carbon dioxide.1783 #changed V_f to V_11784 The system is initially at thermal equilibrium at temperature $T_0$,1785 volume $V_0$ and pressure $P_O$; and under these conditions it contains1786 $n$ moles of CO_2 in the vapor phase and $N-n$ moles in the liquid1787 phase The system is now thermally insulated from its1788 surroundings, and the piston is moved rapidly (i.e., so that $n$ does not1789 change appreciably during the motion) so that the system has a1790 new volume $V_1$; and immediately after the motion, a new pressure1791 $P_1$ The piston is now held fixed in its new position, and the1792 system allowed to come once more to equilibrium. During this1793 process, will the CO_2 tend to evaporate further, or condense further?1794 What will be the final equilibrium temperature $T_{eq}$,1795 the final pressure $P_eq$, and final value of $n_{eq}$?1797 It is clear that the first law alone is incapable of answering1798 these questions; for if the only requirement is conservation of1799 energy, then the CO_2 might condense, giving up its heat of1800 vaporization and raising the temperature of the system; or it might1801 evaporate further, lowering the temperature. Indeed, all values1802 of $n_{eq}$ in $O \leq n_{eq} \leq N$ would be possible without any1803 violation of the first law. In practice, however, this process will be found1804 to go in only one direction and the system will reach a definite1805 final equilibrium state with a temperature, pressure, and vapor1806 density predictable from the second law.1809 Now there are dozens of possible verbal statements of the1810 second law; and from one standpoint, any statement which conveys1811 the same information has equal right to be called \ldquo{}the second1812 law.\rdquo{} However, not all of them are equally direct statements of1813 experimental fact, or equally convenient for applications, or1814 equally general; and it is on these grounds that we ought to1815 choose among them.1817 Some of the mos t popular statements of the second law1818 belong to the class of the well-known \ldquo{}impossibility\rdquo{}1819 assertions; i.e., it is impossible to transfer heat from a lower to a higher1820 temperature without leaving compensating changes in the rest of1821 the universe, it is impossible to convert heat into useful work1822 without leaving compensating changes, it is impossible to make1823 a perpetual motion machine of the second kind, etc.1825 Suoh formulations have one clear logical merit; they are1826 stated in such a way that, if the assertion should be false, a1827 single experiment would suffice to demonstrate that fact1828 conclusively. It is good to have our principles stated in such a1829 clear, unequivocal way.1831 However, impossibility statements also have some1832 disadvantages In the first place, /they are not, and by their very1833 nature cannot be, statements of eiperimental fact/. Indeed, we1834 can put it more strongly; we have no record of anyone having1835 seriously tried to do any of the various things which have been1836 asserted to be impossible, except for one case which actually1837 succeeded. In the experimental realization of negative spin1838 temperatures, one can transfer heat from a lower to a higher1839 temperature without external changes; and so one of the common1840 impossibility statements is now known to be false [for a clear1841 discussion of this, see the [[../sources/Ramsey.pdf][article of N. F. Ramsey (1956)]];1842 experimental details of calorimetry with negative temperature1843 spin systems are given by Abragam and Proctor (1958)]1846 Finally, impossibility statements are of very little use in1847 /applications/ of thermodynamics; the assertion that a certain kind1848 of machine cannot be built, or that a certain laboratory feat1849 cannot be performed, does not tell me very directly whether my1850 carbon dioxide will condense or evaporate. For applications,1851 such assertions must first be converted into a more explicit1852 mathematical form.1855 For these reasons, it appears that a different kind of1856 statement of the second law will be, not necessarily more1857 \ldquo{}correct\rdquo{}, but more useful in practice. Now both Clausius (1875)1858 and Planck (1897) have laid great stress on their conclusion1859 that the most general statement, and also the most immediately1860 useful in applications, is simply the existence of a state1861 function, called the entropy, which tends to increase. More1862 precisely: in an adiabatic change of state, the entropy of1863 a system may increase or may remain constant, but does not1864 decrease. In a process involving heat flow to or from the1865 system, the total entropy of all bodies involved may increase1866 or may remain constant; but does not decrease; let us call this1867 the \ldquo{}weak form\rdquo{} of the second law.1869 The weak form of the second law is capable of answering the1870 first question posed above; thus the carbon dioxide will1871 evaporate further if, and only if, this leads to an increase in the1872 total entropy of the system This alone, however, is not enough1873 to answer the second question; to predict the exact final1874 equilibrium state, we need one more fact.1876 The strong form of the second law is obtained by adding the1877 further assertion that the entropy not only \ldquo{}tends\rdquo{} to increase;1878 in fact it /will/ increase, /to the maximum value permitted by the1879 constraints imposed[fn::Note, however, that the second law has1880 nothing to say about how rapidly this approach to equilibrium takes place.]/. In the case of the carbon dioxide, these1881 constraints are: fixed total energy (first law), fixed total1882 amount of carbon dioxide, and fixed position of the piston. The1883 final equilibrium state is the one which has the maximum entropy1884 compatible with these constraints, and it can be predicted1885 quantitatively from the strong form of the second law if we know,1886 from experiment or theory, the thermodynamic properties of carbon1887 dioxide (ie, heat capacity, equation of state, heat of vapor1888 ization)1890 To illustrate this, we set up the problem in a crude1891 approximation which supposes that (l) in the range of conditions1892 of interest, the molar heat capacity $C_v$ of the vapor, and $C_\ell$ of1893 the liquid, and the molar heat of vaporization $L$, are all con1894 stants, and the heat capacities of cylinder and piston are1895 negligible; (2) the liquid volume is always a small fraction of the1896 total $V$, so that changes in vapor volume may be neglected; (3) the1897 vapor obeys the ideal gas equation of state $PV = nRT$. The1898 internal energy functions of liquid and vapor then have the form1900 \begin{equation}1901 U_\ell = (N-n)\left[C_\ell\cdot T + A\right]1902 \end{equation}1903 \begin{equation}1904 U_v = n\left[C_v\cdot T + A + L\right]1905 \end{equation}1907 where $A$ is a constant which plays no role in the problem. The1908 appearance of $L$ in (1-62) recognizes that the zero from which we1909 measure energy of the vapor is higher than that of the liquid by1910 the energy $L$ necessary to form the vapor. On evaporation of $dn$1911 moles of liquid, the total energy increment is $dU = dU_\ell + dU_v =1912 0$; or1914 \begin{equation}1915 \left[n\cdot C_v + (N-n)C_\ell\right] dT + \left[(C_v-C_\ell)T + L\right]dn = 01916 \end{equation}1918 which is the constraint imposed by the first law. As we found1919 previously (1-59), (1-60) the entropies of vapor and liquid are1920 given by1922 \begin{equation}1923 S_v = n\left[C_v\cdot\ln{T} + R\cdot \ln{\left(V/n\right)} + A_v\right]1924 \end{equation}1925 \begin{equation}1926 S_\ell = (N-n)\left[C_\ell\cdot \ln{T}+A_\ell\right]1927 \end{equation}1929 where $A_v$, $A_\ell$ are the constants of integration discussed in the1930 last Section.1933 We leave it as an exercise for the reader to complete the1934 derivation from this point, and show that the total entropy1935 $S = S_\ell + S_v$ is maximized subject to the constraint (1-63), when1936 the values $n_{eq}$, $T_{eq}$ are related by1938 \begin{equation}1939 \frac{n_{eq}}{V}= B\cdot T_{eq}^a\cdot \exp{\left(-\frac{L}{RT_{eq}}\right)}1940 \end{equation}1942 where $B\equiv \exp{(-1-a-\frac{A_\ell-A_v}{R})}$ and $a\equiv1943 (C_v-C_\ell)/R$ are constants.1946 Equation (1-66) is recognized as an approximate form of the Vapor1947 pressure formula1948 We note that AQ, AV, which appeared first as integration1949 constants for the entropy with no parti cular physical meaning,1950 now play a role in determining the vapor pressure.1952 ** The Second Law: Discussion1954 We have emphasized the distinction between the weak and strong forms1955 of the second law1956 because (with the exception of Boltzmann's original unsuccessful1957 argument based on the H-theorem), most attempts to deduce the1958 second law from statistical mechanics have considered only the1959 weak form; whereas it is evidently the strong form that leads1960 to definite quantitative predictions, and is therefore needed1961 for most applications. As we will see later, a demonstration of1962 the weak form is today almost trivial---given the Hamiltonian form1963 of the equations of motion, the weak form is a necessary1964 condition for any experiment to be reproducible. But demonstration1965 of the strong form is decidedly nontrivial; and we recognize from1966 the start that the job of statistical mechanics is not complete1967 until that demonstration is accomplished.1970 As we have noted, there are many different forms of the1971 seoond law, that have been favored by various authors. With1972 regard to the entropy statement of the second law, we note the1973 following. In the first place, it is a direct statement of1974 experimental fact, verified in many thousands of quantitative1975 measurements, /which have actually been performed/. This is worth a1976 great deal in an age when theoretical physics tends to draw1977 sweeping conclusions from the assumed outcomes of1978 \ldquo{}thought-experiments.\rdqquo{} Secondly, it has stood the test1979 of time; it is the entropy statement which remained valid in the case1980 of negative spin temperatures, where some others failed. Thirdly, it1981 is very easy to apply in practice, the weak form leading1982 immediately to useful predictions as to which processes will go and1983 which will not; the strong form giving quantitative predictions1984 of the equilibrium state. At the present time, therefore, we1985 cannot understand what motivates the unceasing attempts of many1986 textbook authors to state the second law in new and more1987 complicated ways.1989 One of the most persistent of these attempts involves the1990 use of [[http://en.wikipedia.org/wiki/Second_law_of_thermodynamics#Principle_of_Carath.C3.A9odory][Carath\eacute{}odory's principle]]. This states that, in the1991 neighborhood of any thermodynamic state there are other states which1992 cannot be reached by an adiabatic process. After some mathematical1993 analysis1994 [Margenau and Murphy (1943), pp. 26-31; or Wannier (1966),1995 pp. 126-132]1996 one infers the existence of a state function (entropy) which tends1997 to increase; or at least, cannot decrease. From a /mathematical/1998 standpoint there can be no objection at all to this; the analysis1999 is quite rigorous. But from a /physical/ standpoint it is subject2000 to the same objection that its premise is an impossibility2001 statement, and therefore not an experimental fact.2002 Indeed, the conclusion of Carath\eacute{}odory's2003 argument is a far more direct statement of observed fact than its2004 premise; and so it would seem more logical to use the argument2005 backwards. Thus, from the experimental fact that the entropy2006 tends to increase, we would infer that there must exist2007 neighboring states inaccessible in an adiabatic process; but the2008 result is then trivial. In a similar way, other impossibility2009 statements follow trivially from the entropy statement of the2010 second law.2013 Finally, we note that all statements of the second law are2014 subject to a very important qualification, not always sufficiently2015 emphasized. As we stress repeatedly, conventional thermodynamics2016 is a theory only of states of thermal equilibrium; such concepts2017 as temperature and entropy are not even defined for others.2018 Therefore, all the above statements of the second law must be under2019 stood as describing only the /net result/ of processes /which begin2020 and end in states of complete thermal equilibrium/. Classical2021 thermodynamics has nothing to say about processes that do not2022 meet this condition, or about intermediate states of processes2023 that do. Again, it is nuclear magnetic resonance (NMR)2024 experiments which provide the most striking evidence showing how2025 essential this qualification is; the spin-echo experiment2026 (Hahn, 1950) is, as we will see in detail later, a gross violation of2027 any statement of the second law that fails to include it.2030 This situation has some interesting consequences, in that2031 impossibility statements may be misleading if we try to read too2032 much into them. From classical thermodynamics alone, we cannot2033 logically infer the impossibility of a \ldquo{}perpetual motion machine\rdquo{}2034 of the second kind (i.e., a machine which converts heat energy2035 into useful work without requiring any low temperature heat sink,2036 as does the Carnot engine); we can infer only that such a machine2037 cannot operate between equilibrium states. More specifically, if2038 the machine operates by carrying out some cyclic process, then2039 the states of (machine + environment) at the beginning and end2040 of a cycle cannot be states of complete thermal equilibrium, as2041 in the reversible Carnot engine. But no real machine operates2042 between equilibrium states anyway. Without some further analysis2043 involving statistical mechanics, we cannot be at all certain that2044 a sufficiently clever inventor could not find a way to convert2045 heat energy into useful work on a commercially profitable scale;2046 the energy is there, and the only question is whether we could2047 persuade it to \ldquo{}organize\rdquo{} itself enough to perform useful work2048 against pistons, magnets, gravitational or electric fields,2049 chemical activation energy hills, etc.2052 It was Maxwell himself who first ([[../sources/Maxwell-Heat.pdf][1871]])[fn::See also, the [[http://openlibrary.org/books/OL7243600M/Theory_of_heat][Open Library2053 page]], where you can read and download Maxwell's book in a variety of formats.] suggested such2054 possibilities, in his invention of the \ldquo{}Maxwell Demon\rdquo{},2055 an imaginary being (or mechanism) which can regulate valves so as to allow2056 fast molecules to pass through a partition in one direction only,2057 thus heating up one side at the expense of the other. We could2058 then allow the heat to flow back from the hot side to the cold2059 through a conventional Carnot engine, generating useful work; and2060 the whole arrangement would constitute a perpetual motion machine2061 of the second kind.2063 #http://naca.larc.nasa.gov/search.jsp?R=19760010893&qs=Ns%3DLoaded-Date|1%26N%3D42947095972065 Maxwell did not regard such a device as impossible in principle;2066 only very difficult technically. Later authors ([[../sources/Szilard.pdf][Szilard, 1929]];2067 Brillouin, 1951, 1956)2068 have argued, on the basis of quantum2069 theory or connections between entropy and information, that it2070 fundamentally impossible. However, all these arguments seem2071 to contain just enough in the way of questionable assumptions or2072 loopholes in the logic, as to leave the critical reader not quite2073 convinced. This is particularly so when we recall the lessons2074 of history; clever experimenters have, over and over again, made2075 fools of theorists who were too quick to assert that something2076 cannot be done.2079 A recent example worth recalling concerns the Overhauser2080 effect in magnetic resonance (enhancement of the polarization2081 of one set of spins by irradiation of another set coupled to them).2082 When this effect was first proposed, several well-known2083 authorities on thermodynamics and statistical mechanics ridiculed the2084 suggestion and asserted that the effect could not possibly exist,2085 because it violated the second law of thermodynamics. This2086 incident is a valuable reminder of how little we really understand2087 the second law, or how to apply it in new situations.2089 In this connection, there is a fascinating little gadget2090 known as the Hilsch tube or Vortex tube, in which a jet of2091 compressed air is injected into a pipe at right angles to its2092 axis, but off center so that it sets up a rapid rotational2093 motion of the gas. In some manner, this causes a separation of2094 the fast and slow molecules, cold air collecting along the axis2095 of the tube, and hot air at the walls. On one side of the jet,2096 a diaphragm with a small hole at the center allows only the cold2097 air to escape, the other side is left open so that the hot air2098 can escape. The result is that when compressed air at room2099 temperature is injected, one can obtain air from the hot side2100 at +100^\circ F from the cold side at -70^\circ F, in sufficient quantities2101 to be used for quick-freezing small objects, or for cooling2102 photomultiplier tubes [for construction drawings and experi2103 mental data, see Stong (1960); for a partial thermodynamic2104 analysis, see Hilsch (19-47)].2106 Of course, the air could also be cooled by adiabatic expansion2107 (i.e., by doing work against a piston); and it appears that2108 the amount of cooling achieved in vortex tubes is comparable to,2109 but somewhat less than, what could be obtained this way for the2110 same pressure drop. However, the operation of the vortex tube2111 is manifestly not simple adiabatic since no work is2112 done; rather, part of the gas is heated up, at the cost of cooling2113 the rest; i.e., fast and slow molecules are separated spatially.2114 There is, apparently, no violation of the laws of thermodynamics,2115 since work must be supplied to compress the air; nevertheless,2116 the device resembles the Maxwell Demon so much as to make one2117 uncomfortable.. This is so particularly because of our2118 embarrassing inability to explain in detail (i.e., in molecular terms)2119 how such asimple device works. If we did understand it, would2120 we be able to see still more exciting possibilities? No one2121 knows.2124 It is interesting to note in passing that such considerations2125 were very much in Planck's mind also; in his [[http://books.google.com/books?id=kOjy3FQqXPQC&printsec=frontcover][/Treatise on Thermodynamics/]] (Planck, 1897; 116), he begins his discussion2126 of the second law in these words (translation of A. Ogg):2127 #+begin_quote2128 \ldquo{}We2129 $\ldots$ put forward the following proposition $\ldots$ :2130 /it is impossible to construct an engine which will work a complete cycle,2131 and produce no effect except the raising of a weight and the cooling of a heat-reservoir./ Such an engine could be used simultaneously2132 as a motor and a refrigerator without any waste of energy or2133 material, and would in any case be the most profitable engine2134 ever made. It would, it is true, not be equivalent to perpetual2135 motion, for it does not produce work from nothing, but from the2136 heat which it draws from the reservoir. It would not, therefore,2137 like perpetual motion, contradict the principle of energy, but2138 would nevertheless possess for man the essential advantage of2139 perpetual motion, the supply of work without cost; for the in2140 exhaustible supply of heat in the earth, in the atmosphere, and2141 in the sea, would, like the oxygen of the atmosphere, be at2142 everybody ‘s immediate disposal. For this reason we take the2143 above proposition as our starting point. Since we are to deduce2144 the second law from it, we expect, at the same time, to make a2145 most serviceable application of any natural phenomenon which may2146 be discovered to deviate from the second law.\rdquo{}2147 #+end_quote2148 The ammonia maser ([[../sources/Townes-Maser.pdf][Townes, 1954]]) is another example of an2149 experimental device which, at first glance, violates the second2150 law by providing \ldquo{}useful work\rdquo{} in the form of coherent microwave2151 radiation at the expense of thermal energy. The ammonia molecule2152 has two energy levels separated by 24.8 GHz, with a large electric2153 dipole moment matrix element connecting them. We cannot obtain2154 radiation from ordinary ammonia gas because the lower state2155 populations are slightly greater than the upper, as given by2156 the usual Boltzmann factors. However, if we release ammonia gas2157 slowly from a tank into a vacuum so that a well-collimated jet2158 of gas is produced, we can separate the upper state molecules2159 from the lower. In an electric field, there is a quadratic2160 Stark effect, the levels \ldquo{}repelling\rdquo{} each other according to2161 the well-known rule of second-order perturbation theory. Thus,2162 the thermally excited upper-state molecules have their energy2163 raised further by a strong field; and vice versa for the lower2164 state molecules. If the field is inhomogeneous, the result is2165 that upper-state molecules experience a force drawing them into2166 regions of weak field; and lower-state molecules are deflected2167 toward strong field regions. The effect is so large that, in a2168 path length of about 15 cm, one can achieve an almost complete2169 spatial separation. The upper-state molecules then pass through2170 a small hole into a microwave cavity, where they give up their2171 energy in the form of coherent radiation.2174 Again, we have something very similar to a Maxwell Demon;2175 for without performing any work (since no current flows to the2176 electrodes producing the deflecting field) we have separated2177 the high-energy molecules from the low-energy ones, and obtained2178 useful work from the former. This, too, was held to be2179 impossible by some theorists before the experiment succeeded!2181 Later in this course, when we have learned how to formulate2182 a general theory of irreversible processes, we will see that the2183 second law can be extended to a new principle that tells us which2184 nonequilibrium states can be reached, reproducibly, from others;2185 and this will of course have a direct bearing on the question of2186 perpetual motion machines of the second kind. However, the full2187 implications of this generalized second law have not yet been2188 worked out; our understanding has advanced just to the point2189 where confident, dogmatic statements on either side now seem2190 imprudent. For the present, therefore, we leave it as an open2191 question whether such machines can or cannot be made.2194 * COMMENT Appendix2196 | Generalized Force | Generalized Displacement |2197 |--------------------+--------------------------|2198 | force | displacement |2199 | pressure | volume |2200 | electric potential | charge |