Heat Transfer and the Second Law of Thermodynamics

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 .
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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


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.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+