 # Heat Transfer and the Second Law of Thermodynamics

Initializing live version Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Two thermal reservoirs at the same temperature, , can, in concept, exchange an increment of heat in either direction. Since it can just as easily flow in the opposite direction, this represents what is known as a reversible process and can be designated . By convention, is positive if heat flows into a reservoir and negative ( ) if it flows out. When , it is a matter of experience that flows spontaneously (or irreversibly) from the hotter to the cooler reservoir. One can still set if one conceptualized an infinite number of intermediate reservoirs at temperature increments varying infinitesimally between and .

[more]

An increment represents the process of heat exchange between two systems. Neither system can be said to possess a quantity of heat . In the usual terminology, is not a "function of state" for a thermodynamic system. However, turns out to represent the differential of a new function of state, , where is known as the entropy. A derivation of this relation is given in Details for the case of an ideal gas.

A compact statement of the second law of thermodynamics is that the entropy of an isolated system (or of the whole universe) always increases in a spontaneous process, . The reverse process is unattainable—as Bertrand Russell put it, "You cannot unscramble eggs." The limiting case pertains to reversible processes (themselves an idealization).

An operational statement of the second law is due to Clausius: "It is impossible in a cyclic process to produce no other effect than the transfer of heat from a cooler to a warmer body." Of course, refrigerators do this all the time, but this requires coupling to other devices, such as motors and condensers.

In this Demonstration, you can vary the temperatures and and the quantity of heat transferred, . The total entropy change of the system is then calculated using . Recall that is counted as negative when a reservoir gives off heat. The system of two reservoirs is presumed to be isolated from its surroundings.

[less]

Contributed by: S. M. Blinder (April 2011)
Open content licensed under CC BY-NC-SA

## Snapshots   ## Details

A differential statement of the first law of thermodynamics can be written , where , , and represent heat, work, and energy, respectively. Applied to a reversible process in an ideal gas, this can be specialized to , where is the heat capacity at constant volume (equal to per mole for a monatomic ideal gas). Using the ideal gas law for 1 mole, , we can write , which is not an exact differential—showing that is not a function of state. Clearly, however, is an integrating factor for this expression, giving . This introduces a new function of state with , where is called the entropy. This turns out to be a general result applicable to all thermodynamic systems.

See any textbook on physical chemistry and many on general chemistry.

## Permanent Citation

S. M. Blinder

 Feedback (field required) Email (field required) Name Occupation Organization Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback. Send