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.

https://images.openai.com/static-rsc-4/frlkoNYe4fkda56Bl-H89ENfv86m7GujDlIVIRc08Ssb1oBBnVD6UoctA2KGDrS3arah457Ugw-_N0jq251PWoSNi33ZlVZ0m0LPjvFv0tlAmsKZSPepw7lD2pP0dJ1q61rcTqCbL6Gy4oy8tw0lUq2Ku4udKEnK8UBslzM-4noosHzo43Yy0RHX7mbf3rF7?purpose=fullsize
 
https://images.openai.com/static-rsc-4/_J_Y-TyzfMVostFhCsdXT3vmKTOX1c0xz6oHOWU9hDeNDh84pMiljVDiMEOlnQaxi11JWTJl_hClKVBxvdXeescx73kIGzT6RlRUZOJcYJA94PSsYyIrYM65EArGGlzacLXxEQA-Epckb1qX13eygyhnBIkub1wNq2f3-1mOOtab5n6q3a1fAkBOEW6zyhzD?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Bb_j8VaeSSP7p2_GErviVgsNT7nb50y8mVdRi9qiz25oig4G9EQtY0B35-Pklp3p1V0jS7x1YnKDfH1RBOaQ_6ng4bC1jEJ1a10f1FuQgHnhBFwWw4OTKcrZEv-u57IOZSNLWXrsPiyNcmd-rjtcZ46xiPTpnBTv629aN7w4dtcoGaAxUJ6v14COM9QKWLDQ?purpose=fullsize
 
8

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

https://images.openai.com/static-rsc-4/g728afFcMts-B8d8sqtChuwPfMCYo1yrK8HfewekDKxRGzq8JyVBa6sFCye9T3XN_zIpMfzReI_ZUpPw9JvLzpH06gMAuBKNYxFCVgwXnf1RS7vzFC5nyxOEQo-Uvnw8K9ptwSR3lRy42aEUxHeiH1Y8W1qn1D9Qe_cEKuHhTdXe3yaaPS0Bf52AzSZZ3Etw?purpose=fullsize
 
https://images.openai.com/static-rsc-4/frlkoNYe4fkda56Bl-H89ENfv86m7GujDlIVIRc08Ssb1oBBnVD6UoctA2KGDrS3arah457Ugw-_N0jq251PWoSNi33ZlVZ0m0LPjvFv0tlAmsKZSPepw7lD2pP0dJ1q61rcTqCbL6Gy4oy8tw0lUq2Ku4udKEnK8UBslzM-4noosHzo43Yy0RHX7mbf3rF7?purpose=fullsize
 
https://images.openai.com/static-rsc-4/7maDDipAkkUm9P4VOva3fCT1XP_4esd8aOuxzECqeXl5trdIkMg4JzxpBT5nT658m5ONpd1pipDHeXZNSRC9vkTHrSebYJVhwp1JyE2hADV1fxW2W1rXgtnpCrfwuWtIqn9pPcZjNY4RZqiIzQxcgno9IpO6CBc3dKU1WqXM2p1QXushPvFJEefbMe-gtRlX?purpose=fullsize
 
7

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.

https://images.openai.com/static-rsc-4/qgSvDx38oY9K-SYPNe6BFC-5uGczKeRe8AxLy-ejdw8r8mzzj0mA107iE4gTKrI5v4--9I261Dz6Nzd9MFQjRNhFjwDuT6Qpnlu3n4erXNBFTZp3hKCaCdsCGrC2rsFXsW83oDtID8UM2sJnCGjyUShtc3H-GB9064oR3raxZOYFZ4mCjCmVsh90L4BR2n0J?purpose=fullsize
 
https://images.openai.com/static-rsc-4/iT48bKOfe5uBTgBFtxvbostvoEyQhv9RsPyjKXgrw_LeTXfpX0iU_aK4OwCUFUklyFpeFvYioZyuIjH6uuieAJOc6kUaAubuMcCcb5iNL7PBUB17X7FRRjbLyImNHFGMdUG-6yS7U9z5LbE7RtIm9jYc_fXE2aeNwOclVSYASomEyweMk6a-iB4uP0FZ-dLU?purpose=fullsize
 
https://images.openai.com/static-rsc-4/0gbHlq83gtn5sYwkmMh1zLxK1STfrzpWoMknmB9E0izXKy-GwM6sYr6GQqP2Qcf4rNFCKmGHozbgbBP9j7H3YjezFJE7IY8u3KvPyP6vZaFkINN21zbCmFSs3I-fQINmkA6akjRTEp1pcTvK--5bsFGDB3CfhTLyMZrxo_dDlohqmvmMsX_6sAjDUzygEAsc?purpose=fullsize
 
8

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.

https://images.openai.com/static-rsc-4/RKKqp8RqsezcAoVHOBwWJra8ECHr6jVHRVI8vVaDMMaXU5G7HrJlErWwWfGApHe2kwXqjmU029Y1yJ6rGKGoIRYPiBAznEr7Jy7nqNDrClMOutwZ23qzUqk9MDAHYsXGie2a7EYbjJWr5K6qbxq7jnCKo2gmzOuh_-wDyQwP10ZA3RCglPd2bdQKsp6gMFQg?purpose=fullsize
 
https://images.openai.com/static-rsc-4/FZS_JmURGAH_0nljoUTCjTVBYNlyXCvn9axuBLMGT2gsOLV0LNb5bTusVAlV80InTfADFIciJqkqeH-Qwcqq2H_32JKEtteiHWZKqF2YYA30mrTr87hBrUU9vyPKJE4Fc04OaNwoN_OIrW9QMTLO0u-93TpxRWtz5mvR48wFMAMsoMCZFGxQt2MrTWOAJScu?purpose=fullsize
 
https://images.openai.com/static-rsc-4/qFBzgCEOXVlE8AS6ipBAzEepITDr3Vt3UQL8lt5F2Ih19ddtJLKNY6oXsrzr8TTtBEax4NM2-4HfCsr_b4lh5e-2J--HTMNwgV1Tuuxnnou3CbT-DRpF2RVtzmFCeLSZRpnQ8sShwdL-lBXa_Xjf3-eV4gZ31nPPjABvYH_dq3nPqsgsjetsrIg6vsQkWdAf?purpose=fullsize
 
9

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.

https://images.openai.com/static-rsc-4/IL4M--z4jN1gufbaanQVQcU7PZH7JqhiEktpQtDdPy0l7-zYq54Jof9WalQFJ-MNN8SkpSAzMIYevXzUOWVaj8JE6B7v_jCt_2W46ilvreU3MiKQBKuh497JzHuNhFEsNH_8gEUnwcuCudjQQJYTqygGARVrdRC9yBgd3RQKpTuNwgEcUIrUeQr9gzmgr_aq?purpose=fullsize
 
https://images.openai.com/static-rsc-4/EMT6mnqn8_nWxCCF21QlNCy-yFTKJL1xVO-GNZE1rbWCS5WIiSHiA9PvRCm64gKyIXt8YKTpwJ3mZPu0Z5VucU3yIEUK3OFpPe2JE8SRlVhn2kRht3JbsvCs9bmJEwtfZUN2PJwxrPcat0gVGOd6M4XtJbp10dr_AmMw2Sv-5iOw-Lt1gPO7i5Wfu9wdAVkF?purpose=fullsize
 
https://images.openai.com/static-rsc-4/MpoLwXg69wJjU7kiRDxDELQzDqEcjUYLF598WpBK8Sdm1LL1XVJoeaeYgpakUmqXZS6sDb517BZqUPiM7PdPgQc1Rm13v3ipZube6S3ji1EQPC2teIVJtnyHWjRniu92qIudqN75JgJMkXBw4IOT9U1fCUn9sgwEa4xKP8aaSYBxVeAWswhMYgh0Pz1fR_xH?purpose=fullsize
 
7

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
https://images.openai.com/static-rsc-4/M89yXFIz3jW0ZdEbxpSLiFRVZdIc0IvT9JZsRaXzv-z_pwhPuFQQVMQ0WRSnW1kw9l-rHEm03ylrKk68Cukpxo-9atdX5oXjTizQjZE_YdPhNZJvP8kfYQO4Y1sOAgrwkiHB4bjjTvN3mYquKH45XRggSVRM1ihOKLwez7a0EtMSE0DziyUwnrYEHJx8EIpu?purpose=fullsize
 
https://images.openai.com/static-rsc-4/hvuK89pDnD6Nt4orPraG5f-qG4YY1B7TM4YDIfwzQOcAvcSfSpEz_PNAYpvOOylo7f35giRtL9HAc9NsC45QBkhCDk8_ACYI_sqxDSFCbUM60YNk50xKBMLG0-tSSyGn1Lw80GKD_jxWK2R7rcXYxcBUsGB0x2Z0Qb2h2ckZwqOwBcXDDr7pOj87cF4tmVTC?purpose=fullsize
 
https://images.openai.com/static-rsc-4/6q6op7AMl7e6R1pxjUQphpjQbke80CzIPyEcjkjk2oSJP0IjeV1E9B0Bs5G3gm8hvxhMMCkC8pePjIBsc7EjWI3vmgBJeOif8TVfCO-puGUZ5CMyS9k0efqj77qiTpfiwuojryhy1eGZDYUgm-hjPKhdcpRTmEOf-HoZm8RGci1-I8lxNfYELrnzbEFq-eSv?purpose=fullsize
 
6

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

https://images.openai.com/static-rsc-4/uujLAUnh6e-xaMI3ucji5PH8gSHvV3pbseTYjyRvpBA9yt_cHTzD2n0OEMLlTdwodhTSOUk9LRLSXFWHkZW3Qxyi_M13WJbBwudGeDC_WskgAQ-jlQ91oZb0fJLKAEwe0QzLHLzxKD5gNJexJIfgTg3qMp-F2wIGh3qfz7BEP3PX4CrE6WmdqUIKRiVF1mUx?purpose=fullsize
 
https://images.openai.com/static-rsc-4/WOVdUnr82dPsG6bwZRpyIbGLB3uHA_7gw_GZnIX7xt0zPeI9sdDBJBMV1FMZy6SyxVLogUVQpDANBP_qXEV3Vrjgqt8Zp20pY_XhY0n0L7cWmuqv9D-htO2imEF_SyvEhy76Pb-OUG6lzpyfdqdf6GTstZCluE6mchRcStDflyqULNCiWqHIX27ZhSY9BQBp?purpose=fullsize
 
https://images.openai.com/static-rsc-4/BNpZF11t0yJ-KrUMrWu6TQJ1QGhTnMH-3WuQq4aD-Z6e1O2166IAiOTRLiZU6pLoB-mU_jgirjIg27xE3ZKtY_p0c_jcmWw5vOyC_bM6mP5Y4EPj3i5bUAKkjpGmk_h2oxiNTrPHHcRmKZy3eUm6XdNgdHSejORi8K6k6ymbq6MJME_V-CYiy2Tp67M46JdR?purpose=fullsize
 
8

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

  1. State the Second Law of Thermodynamics in terms of entropy.
  2. What does ΔS_total > 0 indicate about a process?
  3. What is an ideal reversible process?
  4. What is an irreversible process?
  5. Explain why heat naturally flows from a hotter object to a colder object.
  6. Why does heat not spontaneously flow from cold to hot?
  7. Can the entropy of one part of a system decrease? Explain.
  8. Why does freezing water not violate the Second Law?
  9. Explain why friction is an irreversible process.
  10. Why does gas expansion into an empty container increase entropy?
  11. Explain why diffusion is effectively irreversible for macroscopic systems.
  12. How does probability help explain the Second Law?
  13. Explain how the Second Law produces a thermodynamic arrow of time.
  14. Why does a refrigerator require electrical energy?
  15. Explain why a refrigerator does not violate the Second Law.
  16. Why can no heat engine be 100% efficient?
  17. An ideal engine operates between 800 K and 400 K. Calculate its maximum theoretical efficiency.
  18. Compare the First and Second Laws of Thermodynamics.
  19. Give three everyday examples of irreversible processes and explain why each is irreversible.
  20. Explain why the statement "friction wastes energy" is useful in everyday language but scientifically incomplete.