Entropy and the Second Law
2. The Second Law
Learning outcomes
- I can state the Second Law.
- I can explain why some processes are irreversible.
- I can distinguish reversible and irreversible processes.
- I can explain why heat flows naturally from hot to cold.
- I can apply the Second Law to everyday phenomena.
The Second Law of Thermodynamics
The Second Law of Thermodynamics describes the natural direction of energy transfers and transformations.
One useful statement of the Second Law is:
The total entropy of an isolated system cannot decrease.
Mathematically:
ΔS_total ≥ 0
For a spontaneous irreversible process:
ΔS_total > 0
For an ideal reversible process:
ΔS_total = 0
The Second Law explains why heat naturally flows from hot objects to cold objects, why many processes are irreversible, and why no heat engine can convert all thermal energy into useful work.
The First Law Is Not Enough
The First Law of Thermodynamics states that energy is conserved:
ΔU = Q − W
where:
- ΔU = change in internal energy
- Q = energy transferred to the system by heating
- W = work done by the system
The First Law tells us how much energy exists and where it goes.
However, it does not tell us:
which direction a process will naturally occur
For that, we need the Second Law.
Direction of Natural Processes
Consider a hot cup of coffee sitting in a cooler room.
What happens?
hot coffee → transfers heat → cooler surroundings
Eventually:
coffee temperature ≈ room temperature
We never normally observe a room spontaneously becoming colder while the coffee becomes hotter.
Both directions could be imagined without simply destroying energy.
But only one direction occurs naturally.
The Second Law explains why.
Entropy and the Second Law
Entropy is represented by:
S
A useful statistical interpretation is:
S = k_B ln Ω
where:
- k_B = Boltzmann constant
- Ω = number of accessible microstates
Systems naturally tend toward macroscopic states corresponding to overwhelmingly larger numbers of microscopic arrangements.
Therefore:
spontaneous processes tend toward greater total entropy
Isolated Systems
An isolated system exchanges neither matter nor energy with its surroundings.
For an isolated system:
ΔS_total ≥ 0
This means the total entropy can:
- increase
- remain constant in an ideal reversible process
but it cannot spontaneously decrease overall.
System and Surroundings
Most real systems are not isolated.
Suppose a system loses entropy.
That does not automatically violate the Second Law.
We must consider:
system + surroundings
The relevant relationship is:
ΔS_total = ΔS_system + ΔS_surroundings
The Second Law requires:
ΔS_total ≥ 0
Local Entropy Can Decrease
A common misunderstanding is:
entropy must always increase everywhere
This is incorrect.
Consider water freezing.
The water becomes more ordered:
liquid → solid
so the entropy of the water decreases.
However, freezing releases thermal energy to the surroundings.
The entropy of the surroundings increases.
The total change can therefore satisfy:
ΔS_total > 0
The Second Law applies to the complete system.
Heat Flows Naturally from Hot to Cold
Suppose a hot object and a cold object are placed in thermal contact.
Thermal energy naturally transfers:
hot → cold
Eventually they reach:
thermal equilibrium
where their temperatures are equal.
This direction of heat transfer increases total entropy.
Entropy Change During Heat Transfer
For reversible heat transfer at absolute temperature T:
ΔS = Q_rev/T
Suppose heat Q moves from a hot reservoir at T_h to a cold reservoir at T_c.
The hot reservoir loses entropy:
ΔS_hot = −Q/T_h
The cold reservoir gains entropy:
ΔS_cold = +Q/T_c
Therefore:
ΔS_total = Q/T_c − Q/T_h
Since:
T_h > T_c
we know:
1/T_c > 1/T_h
Therefore:
ΔS_total > 0
So heat transfer from hot to cold increases total entropy.
Worked Example: Heat Transfer
Suppose:
600 J
of heat moves from an object at:
400 K
to an object at:
300 K
For the hot object:
ΔS_hot = −600/400
ΔS_hot = −1.50 J/K
For the cold object:
ΔS_cold = +600/300
ΔS_cold = +2.00 J/K
Therefore:
ΔS_total = −1.50 + 2.00
ΔS_total = +0.50 J/K
The total entropy increases.
Therefore, the process is consistent with the Second Law.
Why Heat Does Not Naturally Flow from Cold to Hot
Imagine reversing the previous process.
Suppose 600 J moves spontaneously from:
300 K → 400 K
Then:
ΔS_cold = −600/300
ΔS_cold = −2.00 J/K
and:
ΔS_hot = +600/400
ΔS_hot = +1.50 J/K
Therefore:
ΔS_total = −0.50 J/K
Total entropy would decrease.
This is why the process does not occur spontaneously.
Can Heat Move from Cold to Hot?
Yes—but external work is required.
Examples include:
- refrigerators
- freezers
- air conditioners
- heat pumps
These devices force thermal energy to move:
cold → hot
by using energy from an external source.
The complete process still increases total entropy.
Refrigerators and the Second Law
Inside a refrigerator, thermal energy is removed from the cold compartment.
It is then transferred to the warmer surroundings.
This requires:
work input
usually supplied by electrical energy.
A simplified energy relationship is:
Q_hot = Q_cold + W
where:
- Q_cold = thermal energy removed from the refrigerator
- W = work supplied
- Q_hot = thermal energy released to the room
Therefore, the refrigerator releases more energy to the room than it removes from its interior.
Reversible Processes
A reversible process is an idealized process that can be reversed through an infinitesimally small change while leaving no net change in the system and surroundings.
For an ideal reversible process:
ΔS_total = 0
A truly reversible process must occur extremely slowly and remain very close to equilibrium throughout.
Perfectly reversible processes are:
idealizations
Real processes always involve some irreversibility.
Example of Nearly Reversible Heat Transfer
Suppose two objects differ in temperature by only an extremely tiny amount.
Heat transfers very slowly between them.
If the temperature difference approaches zero, the process approaches a:
reversible heat transfer
In contrast, transferring heat across a large temperature difference is strongly:
irreversible
Irreversible Processes
An irreversible process cannot be completely reversed without producing changes elsewhere in the system or surroundings.
For an irreversible process:
ΔS_total > 0
Most real-world processes are irreversible.
Examples include:
- friction
- diffusion
- mixing
- free expansion
- combustion
- heat transfer across a temperature difference
- inelastic collisions
- breaking objects
Why Processes Become Irreversible
Irreversible processes usually involve energy becoming more widely distributed among microscopic degrees of freedom.
For example:
organized mechanical energy
may become:
random molecular motion
The energy is still present.
But it becomes much harder to collect all of that dispersed energy and convert it completely back into the original organized form.
This increase in energy dispersal is associated with:
entropy production
Friction
Consider a sliding box.
Initially, the box has organized kinetic energy.
Friction causes the box to slow.
Its kinetic energy is transformed largely into internal energy of:
- the box
- the surface
- surrounding air
The energy becomes distributed among enormous numbers of microscopic particle motions.
Therefore:
friction is irreversible
and:
total entropy increases
Why Friction Does Not Reverse Itself
Imagine a stationary box and floor spontaneously becoming slightly cooler while the box begins sliding.
Energy conservation alone does not necessarily reveal the problem.
The Second Law does.
Such a process would require dispersed microscopic thermal energy to spontaneously organize itself into coordinated macroscopic motion.
That would represent an enormous spontaneous entropy decrease.
Therefore, it is overwhelmingly improbable.
Diffusion
Suppose perfume is released into one corner of a room.
The molecules spread throughout the air.
The reverse process would require the perfume molecules to spontaneously:
gather back into one small region
This is not impossible merely because molecules cannot move that way.
Instead, it is overwhelmingly improbable because there are vastly more microscopic arrangements corresponding to:
spread-out molecules
than:
concentrated molecules
Therefore diffusion is irreversible at macroscopic scales.
Gas Expansion
Suppose gas occupies one side of a container.
A partition is removed.
The gas expands into the available space.
Before:
smaller available volume
After:
larger available volume
The expanded state has vastly more possible particle arrangements.
Therefore:
entropy increases
This is an irreversible process.
Why the Gas Does Not Return
Individual gas molecules move randomly.
It is technically conceivable that molecules could momentarily become unevenly distributed.
But for a macroscopic sample containing roughly:
10²³ particles
the probability that all particles spontaneously return to one half of the container is extraordinarily small.
Therefore:
gas expansion appears irreversible
Mixing
Suppose two different gases are separated.
Remove the partition.
They mix.
The mixed state has far more possible microscopic arrangements than the separated state.
Therefore:
mixing → entropy increase
The gases do not spontaneously separate again.
This is another consequence of the Second Law.
Combustion
Burning fuel is highly irreversible.
Chemical energy becomes distributed as:
- thermal energy
- radiation
- moving gas molecules
- chemical products
The reverse process—exhaust gases and dispersed thermal energy spontaneously reassembling into fuel and oxygen—is not observed.
Combustion therefore illustrates both:
energy conservation
and:
entropy increase
Breaking an Object
Imagine a glass falling and shattering.
Before:
one organized object
After:
- many fragments
- sound
- vibrations
- thermal energy
The total energy is conserved.
However, it becomes distributed among vastly more microscopic arrangements.
The reverse process would require all these effects to coordinate perfectly.
Therefore, the process is:
irreversible
Reversible vs Irreversible Processes
| Reversible Process | Irreversible Process |
|---|---|
| Idealized | Real processes generally are |
| Can be reversed without net changes elsewhere | Cannot be completely reversed without changes elsewhere |
| Extremely close to equilibrium | Often occurs away from equilibrium |
| Infinitesimally small driving differences | Finite temperature, pressure or concentration differences |
| No net entropy production | Produces entropy |
| ΔS_total = 0 | ΔS_total > 0 |
Thermal Equilibrium
If two objects at different temperatures are placed together:
heat flows hot → cold
until:
T₁ = T₂
At this point:
thermal equilibrium
has been reached.
For an isolated system under fixed constraints, equilibrium corresponds to the overwhelmingly most probable macrostate and maximum entropy.
There is then no net spontaneous heat transfer.
The Second Law and Probability
The Second Law has a statistical foundation.
A system containing enormous numbers of particles has an enormous number of possible:
microstates
High-entropy macrostates correspond to far more microstates than low-entropy macrostates.
Therefore:
high-entropy states are overwhelmingly more probable
This is why systems naturally evolve toward them.
Irreversibility Is Statistical
At the microscopic level, many particle interactions can approximately obey time-reversible physical laws.
But when enormous numbers of particles are involved, returning every particle and every energy transfer to its previous configuration becomes extraordinarily improbable.
Therefore macroscopic processes have a clear preferred direction:
toward greater total entropy
This gives rise to thermodynamic irreversibility.
The Arrow of Time
The Second Law helps define the:
thermodynamic arrow of time
Consider:
ice melting
perfume spreading
glass breaking
coffee cooling
If a video showed these processes backward, we would immediately recognize something unusual.
Why?
Because the reversed processes would involve large spontaneous decreases in entropy.
Thus increasing entropy distinguishes:
future direction from past direction
in ordinary macroscopic processes.
Heat Engines
A heat engine converts some thermal energy into useful mechanical work.
Examples include:
- steam turbines
- gasoline engines
- diesel engines
- gas turbines
A heat engine operates between:
hot reservoir
and:
cold reservoir
Energy enters from the hot reservoir.
Some becomes useful work.
The remainder must be transferred to the cold reservoir.
Why Heat Engines Cannot Be 100% Efficient
Suppose an engine converted every joule of thermal energy into work.
Then:
Q_cold = 0
But the Second Law requires some energy dispersal into the colder reservoir for a cyclic heat engine operating between reservoirs.
Therefore:
not all thermal energy can be converted into work
For a heat engine:
Q_hot = W + Q_cold
So:
W < Q_hot
and therefore:
efficiency < 100%
for any real engine—and even an ideal engine operating between finite hot and cold temperatures cannot reach 100%.
Heat Engine Efficiency
Efficiency is:
η = useful work output / thermal energy input
or:
η = W/Q_hot
For an ideal reversible engine operating between temperatures T_h and T_c, the maximum possible efficiency is the:
Carnot efficiency
η_max = 1 − T_c/T_h
Temperatures must be measured in:
kelvin
Worked Example: Maximum Engine Efficiency
Suppose an ideal engine operates between:
T_h = 600 K
and:
T_c = 300 K
Use:
η_max = 1 − T_c/T_h
η_max = 1 − 300/600
η_max = 1 − 0.50
η_max = 0.50
Therefore:
maximum efficiency = 50%
Even an ideal reversible engine could not convert more than half of the input thermal energy into work under these conditions.
Why 100% Efficiency Is Impossible
For:
η_max = 1
we would require:
T_c = 0 K
Absolute zero cannot be used as an ordinary cold reservoir in this way.
Therefore, no heat engine operating between realistic finite temperatures can achieve:
100% efficiency
The Second Law places a fundamental limit on engine performance.
Cars and the Second Law
A car engine converts chemical energy into:
- useful mechanical work
- thermal energy
- sound
- exhaust energy
- frictional heating
Not all the fuel energy becomes motion.
Some energy inevitably becomes dispersed into the environment.
Therefore:
car engines cannot be perfectly efficient
This is not merely a problem of poor engineering.
The Second Law imposes fundamental limitations.
Power Stations
Thermal power stations often use:
heat → steam → turbine → generator
Some thermal energy becomes electrical energy.
However, substantial energy must also be transferred to:
- cooling water
- cooling towers
- surrounding environment
This is one reason power stations often require major cooling systems.
The Second Law limits how efficiently thermal energy can be converted into useful work.
Air Conditioners
An air conditioner removes thermal energy from a cooler indoor environment and transfers it outside.
Because this moves energy against its natural hot-to-cold direction under typical conditions, it requires:
work
Electrical energy powers the compressor.
Therefore, air conditioning is another everyday demonstration of the Second Law.
Heat Pumps
A heat pump uses work to transfer thermal energy from a colder region to a warmer region.
For example:
outside air → warm building
Even cold outdoor air contains internal energy.
A heat pump can extract some of that energy and transfer it indoors.
Again, this requires external work.
Melting Ice
Place an ice cube in a warm room.
Thermal energy naturally transfers:
room → ice
The ice melts.
The reverse process—liquid water spontaneously freezing while making the warm room even warmer—does not occur under the same conditions.
The natural process increases total entropy.
Cooling Coffee
Hot coffee cools because thermal energy transfers:
coffee → surroundings
The coffee loses entropy, but the cooler surroundings receive energy at a lower temperature and gain a greater amount of entropy.
Therefore:
ΔS_total > 0
This is a simple everyday example of the Second Law.
Food Cooling in a Refrigerator
Food can become colder inside a refrigerator.
Its entropy may decrease.
However, the refrigerator:
- consumes electrical energy
- transfers heat from inside to outside
- releases additional thermal energy to the room
The total entropy still increases.
Therefore, local cooling does not violate the Second Law.
Living Organisms
Living organisms create highly organized structures.
Does this violate the Second Law?
No.
Organisms are:
open systems
They receive energy and matter and release:
- thermal energy
- carbon dioxide
- waste products
- other materials
Local organization can increase while total entropy of the organism plus environment increases.
Earth's Entropy
Earth itself is not an isolated system.
Earth receives relatively concentrated energy from the Sun and radiates energy back into space.
This energy flow allows:
- weather systems
- ecosystems
- life
- technological activity
to create temporary local organization while remaining consistent with the Second Law.
First Law vs Second Law
| First Law | Second Law |
|---|---|
| Energy is conserved | Entropy of an isolated system does not decrease |
| Describes quantity of energy | Describes direction of processes |
| Rules out creating energy | Rules out certain spontaneous energy transformations |
| ΔU = Q − W | ΔS_total ≥ 0 |
| Does not determine direction | Explains natural direction |
Both laws are needed to understand thermodynamic processes.
Kelvin-Planck Statement
Another way of expressing the Second Law is the:
Kelvin-Planck statement
It is impossible for a cyclic heat engine to take energy from a single thermal reservoir and convert all of it into work.
In simpler terms:
no cyclic heat engine can be 100% efficient
Some energy must be transferred elsewhere as thermal energy.
Clausius Statement
Another equivalent form is the:
Clausius statement
Heat cannot spontaneously flow from a colder body to a hotter body without other changes occurring.
In simpler terms:
cold → hot requires external input
This explains why:
- refrigerators need electricity
- air conditioners need power
- heat pumps require work
Equivalent Statements
The following ideas are different expressions of the same underlying Second Law:
entropy of an isolated system cannot decrease
heat naturally flows hot → cold
heat cannot spontaneously flow cold → hot
no heat engine can be 100% efficient
These are not separate unrelated rules.
They describe different consequences of the same thermodynamic principle.
Perpetual Motion Machines
A hypothetical machine that continuously converts thermal energy entirely into useful work without other changes would violate the Second Law.
Such a device is sometimes called a:
perpetual motion machine of the second kind
No such machine can operate as proposed.
The Second Law therefore places fundamental limits on energy technology.
Energy Is Conserved but Becomes Less Available
Suppose mechanical energy is transformed by friction into thermal energy.
The energy has not been destroyed.
The First Law is satisfied.
But the energy is now spread among countless microscopic motions.
Recovering all of it as organized mechanical energy is effectively impossible.
Thus:
energy quantity is conserved
but:
energy quality decreases
This is one of the most useful practical interpretations of the Second Law.
Common Mistakes
Mistake: Saying the Second Law means energy is lost.
Energy is conserved. The Second Law concerns entropy and the direction of energy transformations.
Mistake: Saying entropy must increase in every object.
The entropy of one system can decrease while the surroundings increase by a greater amount.
Mistake: Saying heat can never move from cold to hot.
It can, but external work or another compensating change is required.
Mistake: Saying refrigerators violate the Second Law.
They use external work and increase total entropy overall.
Mistake: Saying reversible processes are common everyday processes.
Perfectly reversible processes are idealizations.
Mistake: Saying an irreversible process cannot possibly be reversed in any way.
It can sometimes be reversed using external work, but the complete system and surroundings cannot simply return to their original states without entropy production.
Mistake: Saying friction destroys energy.
Friction transforms organized mechanical energy mainly into dispersed internal energy.
Mistake: Saying a 100% efficient engine is possible with better engineering.
The Second Law places a fundamental thermodynamic limit on heat-engine efficiency.
Mistake: Using Celsius in Carnot efficiency calculations.
Use absolute temperatures in kelvin.
Mistake: Saying the Second Law applies only to engines.
It applies to heat transfer, diffusion, mixing, chemical reactions, biological processes and countless other phenomena.
Key Terms
Second Law of Thermodynamics — principle stating that the total entropy of an isolated system cannot decrease.
Entropy (S) — thermodynamic quantity related to accessible microscopic arrangements and energy dispersal.
Spontaneous process — process that can proceed naturally under the given conditions without continuous external intervention.
Reversible process — idealized process that can be reversed without leaving a net change in the system and surroundings.
Irreversible process — process that produces entropy and cannot be completely reversed without additional changes.
Entropy production — increase in total entropy caused by irreversible processes.
Thermal equilibrium — state in which objects have equal temperatures and no net heat transfer occurs.
Heat reservoir — system large enough to absorb or supply thermal energy without a significant temperature change.
Heat engine — device that converts part of thermal energy into useful work.
Carnot efficiency — theoretical maximum efficiency of an ideal reversible heat engine operating between two temperatures.
Hot reservoir — high-temperature source supplying energy to a heat engine.
Cold reservoir — lower-temperature destination receiving rejected thermal energy.
Heat pump — device using work to transfer thermal energy from a colder region to a warmer region.
Arrow of time — preferred direction of macroscopic processes associated with increasing entropy.
Perpetual motion machine of the second kind — hypothetical device that would violate the Second Law by completely converting thermal energy into work in a cyclic process without other effects.
Key Takeaways
- The Second Law describes the natural direction of thermodynamic processes.
- A fundamental statement is ΔS_total ≥ 0 for an isolated system.
- Spontaneous irreversible processes produce entropy.
- For an irreversible process, ΔS_total > 0.
- For an ideal reversible process, ΔS_total = 0.
- Entropy can decrease locally as long as total entropy does not decrease.
- Heat naturally flows from hotter objects to colder objects.
- Hot-to-cold heat transfer increases total entropy.
- Moving heat from cold to hot requires external work or another compensating change.
- Refrigerators, air conditioners and heat pumps demonstrate this principle.
- Reversible processes are idealizations that occur arbitrarily close to equilibrium.
- Most real processes are irreversible.
- Friction is irreversible because organized mechanical energy becomes dispersed microscopic energy.
- Diffusion and mixing are irreversible because mixed states correspond to vastly more microstates.
- Free gas expansion increases entropy.
- Combustion is strongly irreversible.
- The Second Law has a statistical foundation: high-entropy states are overwhelmingly more probable.
- Entropy increase gives macroscopic processes a preferred direction called the thermodynamic arrow of time.
- The First Law describes energy conservation; the Second Law describes which energy transformations can occur spontaneously.
- Heat engines cannot convert all absorbed thermal energy into useful work.
- Carnot efficiency gives the maximum theoretical efficiency: η_max = 1 − T_c/T_h.
- Temperatures in thermodynamic efficiency equations must be measured in kelvin.
- No heat engine operating between finite-temperature reservoirs can be 100% efficient.
- The Second Law places fundamental limits on engines, power stations and other energy technologies.
- Energy is conserved, but irreversible processes disperse it and generally reduce how much can be converted into useful work.
- Everyday phenomena such as cooling coffee, melting ice, diffusion, friction, refrigeration and combustion can all be understood using the Second Law.
Check Your Understanding
- State the Second Law of Thermodynamics in terms of entropy.
- What does ΔS_total > 0 indicate about a process?
- What is an ideal reversible process?
- What is an irreversible process?
- Explain why heat naturally flows from a hotter object to a colder object.
- Why does heat not spontaneously flow from cold to hot?
- Can the entropy of one part of a system decrease? Explain.
- Why does freezing water not violate the Second Law?
- Explain why friction is an irreversible process.
- Why does gas expansion into an empty container increase entropy?
- Explain why diffusion is effectively irreversible for macroscopic systems.
- How does probability help explain the Second Law?
- Explain how the Second Law produces a thermodynamic arrow of time.
- Why does a refrigerator require electrical energy?
- Explain why a refrigerator does not violate the Second Law.
- Why can no heat engine be 100% efficient?
- An ideal engine operates between 800 K and 400 K. Calculate its maximum theoretical efficiency.
- Compare the First and Second Laws of Thermodynamics.
- Give three everyday examples of irreversible processes and explain why each is irreversible.
- Explain why the statement "friction wastes energy" is useful in everyday language but scientifically incomplete.