Thermodynamics/The Second Law of Thermodynamics
Introduction
[edit | edit source]The 1st Law of Thermodynamics tells us that an increase in one form of energy, E, must be accompanied by a decrease in another form of energy, E. Likewise the 2nd Law of Thermodynamics tells us which other kinds of processes in nature may or may not occur. For instance, with two objects in thermal contact, heat will spontaneously flow from a warmer to cooler object, but this effect does not spontaneously occur in the opposite direction.
- Irreversible process = processes that occur naturally in only one direction.
- Reversible process = process that can occur in the reverse direction in infinitesimal steps
Why a second law is needed
[edit | edit source]Suppose you have two separate containers each containing 1 kg of water. One container is at 20°C and the other is at 10°C. What temperature will the water be if you mix it? Can you prove it with the first law of thermodynamics?

As you can see, with just the use of the first law of thermodynamics, both of these scenarios are possible. However, intuitively, for this simple example, we know that this will not happen. The process will only end up at 15°C.
| “ | It is impossible for a self-acting machine, unaided by any external agency, to convey heat from one body to another at a higher temperature. | ” |
| — Kelvin (based on Clausius statement). | ||
In addition, if there is only reservoir a fluid, and there is no other reservoir which is at a separate temperature, no work or exchange of energy will naturally occur.

| “ | A cycle in contact with only one source cannot produce any work. | ” |
| — Kelvin-Planck principle. | ||
It can be seen that at least two reservoirs, a relatively hotter one, and a relatively colder reservoir are need to drive a process to produce any work.
Entropy (S)
[edit | edit source]- Isolated systems and physical processes tend towards disorder, and entropy is a measure of this disorder.
- E.g. If all molecules of a gas in a room move together, this is a very ordered, unlikely state. If the molecules move randomly in all directions, changing speed after collisions, this is a very disordered, likely state.
- In a reversible process between 2 equilibrium states, change in entropy is given by:
Where , , and .
- Heat absorbed by the system = +ve dQr and S↑. Heat lost = –ve dQr and S↓.
- The most useful statement of the 2nd law of thermodynamics:
“The entropy of the universe increases in all natural spontaneous processes.”
- For reversible adiabatic process or reversible reactions, .
- For irreversible process or irreversible reactions, .
Where = change in entropy of the system + surroundings (the universe).
Function of state for entropy
[edit | edit source]
See state functions for more information. Essentially, entropy, like internal energy and enthalpy state quantities that through state functions descrbie equilibrium states of the system that depend only on the cur4rent thermodynamic state of the system and not the path taken by the system to reach that state. You can compare entropy, enthalpy and enthalpy to processes such as heat and work, which are path functions.
Entropy exchange types
[edit | edit source]Entropy changes due to either of the two processes:
- External processes
- Internal processes
Types of external entropy exchange
[edit | edit source]- Heat exchange
- Mass exchange
Types of internal entropy exchange
[edit | edit source]- Internal dissipation
- Friction
- Dissipation
- Chemical reaction
Entropy change due to internal processes, are always, even in ideal system equal to or greater than 0. Entropy change due to internal processes can never be negative.
For reversible adiabatic process, no heat is transferred between system and surroundings, so .
For Carnot engine, . Since , then .
Entropy steady-state power formulation
[edit | edit source]
Entropy closed system formulation
[edit | edit source]
Adiabatic system
[edit | edit source]
The Carnot Engine
[edit | edit source]Theorem: Carnot's Theorem
Carnot’s theorem: No real (irreversible) engine operating between 2 heat reservoirs can be more efficient than a Carnot (reversible) engine operating between the same 2 reservoirs.
- Carnot made the most efficient heat engine. Net work taken from the Carnot cycle is the largest possible for a given amount of heat supplied.
- Carnot’s theorem: No real (irreversible) engine operating between 2 heat reservoirs can be more efficient than a Carnot (reversible) engine operating between the same 2 reservoirs.
- Carnot used an ideal gas contained in a cylinder with a movable piston at one end. The cylinder walls and the piston are thermally non–conducting.
- The Carnot cycle consists of 2 adiabatic and 2 isothermal processes, all reversible:
Isothermal expansion of a gas placed in thermal contact with a heat reservoir at temperature .
During the process, the gas absorbs heat from the base of the cylinder and does a work in raising the piston.
Adiabatic expansion by replacing the base of the cylinder by a thermally non–conducting wall.
During the process, temperature, , falls from to and the gas does work in raising the piston.
Isothermal compression by placing the gas in thermal contact with a heat reservoir at temp. Tc.
During the process, the gas expels heat to the reservoir and the work is done on the gas by external agent.
Adiabatic compression by replacing the base of the cylinder by a non–conducting wall.
During the process, temperature, , increases from to and the work is done on the gas by external agent.

- Net work done in this reversible cyclic process = area enclosed by the path = net heat transferred into the system, since .
- Since the internal . of an ideal gas depends only on absolute , then in and , and hence remain constant. From the 1st law of thermodynamics:
- By dividing the equations,
- For and ,
- By dividing the equations and taking the th root,
- Thus,
(And this of course applies also to heat pumps and refrigerators. i.e., in their formulas, you can switch the and by and respectively).
Heat engines
[edit | edit source]
Device that converts thermal energy, (i.e. ) into mechanical or electrical .
During the cycle heat () is absorbed from a source at a high and work, , is done by the engine.
Heat () is expelled to a source at a lower .
Since it is a cyclic process, . Thus,
only if , i.e. a perfect heat engine would convert all of the absorbed heat into mechanical work. From the 2nd law of thermodynamics, this is impossible: only a fraction of heat is converted to mechanical E.
E.g. η of automobile engines = 20%.
| “ | It is impossible by a cycle to take heat from a hot reservoir and convert it into work without, at the same time, transferring an amount of heat from hot to cold reservoir. | ” |
| — Kelvin–Planck form of the 2nd law of thermodynamics. | ||
Heat pumps
[edit | edit source]Heat pumps are devices that convert work into useful thermal energy transfer (), which are used to heat/cool homes. During the cycle, heat, (), is absorbed from a source at low (e.g. outside air or food) by a circulating fluid, usually a refrigerant.
Work is done on the engine by a compressor. Heat () is expelled to a source at higher (e.g. room).
Since it is a cyclic process: . Thus,
can be much larger than 100% (denominator < 1).
Refrigerators
[edit | edit source]| “ | It is impossible to use a cyclic process to transfer heat from a colder to a hotter body without doing work on the system. | ” |
| — Clausius form of the 2nd law of thermodynamics | ||
In other words heat will not flow spontaneously from a cold to a hot object.
Refrigerators are devices that convert work into thermal energy, , ().
During the cycle,
Heat () is absorbed from a source at low (e.g. outside air or food) by a circulating fluid.
Work is done on the engine by a compressor.
Heat () is expelled to a source at higher (e.g. room ambient temperature).
Since it is a cyclic process, . Thus,
can be much larger than 100% (denominator < 1).
A perfect refrigerator would transfer heat from a colder body to a hotter body without doing any work. From 2nd law of thermodynamics, this is impossible. For example the of a refrigerator is around 5 or 6.
The thermodynamic temperature scale (absolute T)
[edit | edit source]Since the efficiency of a Carnot engine is:
The zero point of the thermodynamic scale must be fixed as the of the cold reservoir at which η = 1 and hence and . T must be the absolute scale because otherwise it may have –ve values, and hence the engine will perform work more than the heat given by the source. i.e. we would create E. from nothing, which is in contradiction to 1st law of thermodynamics. Thus, T = 0 is the lowest T in all scales i.e. the absolute zero.
Quasi–static reversible process for an ideal gas
[edit | edit source]For an ideal gas undergoing a quasi–static reversible process from to ,
; . Since it’s an ideal gas,
; . Thus,
. Dividing by ,
. Assuming is constant,
by integration, . Thus, is independent of the reversible path and depends only on initial and final states. For a cyclic process, and , so .
Heat conduction
[edit | edit source]- When heat transfers from a hot to cold reservoirs, the entropy of the cold reservoir increases by and the entropy of the hot reservoir decreases by .
- Since , total change in entropy of the system (universe) > 0
- Thus, if , the process cannot occur. For example heat transfer from cold to hot body will never occur without artificial assistance.
Free expansion
[edit | edit source]- An ideal gas in an insulated container occupies a volume . A membrane separating it from a vacuum is suddenly broken and the gas expands irreversibly to .
- Work done against the vacuum = 0. Since walls are perfectly insulated, . Thus, and . Since the gas is ideal, depends only on . Thus, .
- Since only applies to reversible processes, we cannot use it directly. Thus, we imagine a reversible process with the same initial and final states: an isothermal reversible expansion. Since T is constant, .
- Since it is isothermal, . Thus,
- Since . This can also be obtained by equation *** by setting .


