Browse physics topics

Interactive physics simulator

Second Law of Thermodynamics

Understand the fundamental limits of energy conversion, entropy, and heat flow. Explore heat engines, spontaneous cooling, and work-driven refrigeration through real-world virtual demonstrations.

Heat Engine Demonstration

Observe how heat energy flowing from the hot reservoir is split into mechanical work (flywheel rotation) and rejected cold reservoir waste.

Simulating...
Violation of Clausius Statement! Heat cannot spontaneously flow from cold room to hot coffee.

Live Telemetry

Hot Res. Temp (TH)
600 K
Cold Res. Temp (TC)
300 K
Heat Extracted (QH)
0 J
Useful Work (W)
0 J
Waste Rejected (QC)
0 J
Actual Efficiency (η)
0.0%
Carnot Efficiency Limit (ηmax)
50.0%
Net Entropy (ΔSuniv)
+0.00 J/K
Coffee Temp (Tcoffee)
80.0 °C
Room Temp (Troom)
20.0 °C
Total Heat Lost (Q)
0 J
Coffee Entropy Change (ΔSc)
-0.00 J/K
Room Entropy Change (ΔSr)
+0.00 J/K
Net Universe Entropy Change (ΔSuniv)
+0.00 J/K (Increasing)
Elapsed Time (s)
0s
Fridge Space (TC)
4.0 °C
Kitchen Room (TH)
24.0 °C
Heat Removed (QC)
0 J
Compressor Work (Win)
0 J
Room Heat Rejected (QH)
0 J
Actual Refrigerator COP
3.50
Carnot Refrigerator COP Limit
13.88
Net Entropy (ΔSuniv)
+0.00 J/K

What is the Second Law of Thermodynamics?

While the First Law of Thermodynamics establishes that energy is always conserved, it does not explain why certain processes occur spontaneously while others never do. The Second Law of Thermodynamics addresses this by introducing the concept of entropy and defining the natural direction of energy transformations.

In simple terms, the Second Law dictates that energy has both quantity and quality. Whenever energy is converted from one form to another, the quality of that energy is degraded, spreading out into less organized, less useful forms (typically thermal molecular vibrations, or waste heat).

Spontaneous processes in nature are strictly irreversible. They only proceed in the direction that increases the net disorder of the universe.

Kelvin-Planck Statement

"It is impossible to construct a heat engine operating in a cycle that converts all absorbed heat energy entirely into useful work."

Every engine requires a hot reservoir to draw heat from, and a cold reservoir to expel waste heat to. The expansion work extracted as gas heats up is only net-positive because the gas is compressed back at a lower temperature and pressure, expelling waste energy. Hence, 100% thermal efficiency is physically impossible.

Clausius Statement

"Heat cannot spontaneously flow from a colder body to a warmer body without external work input."

Thermal energy naturally moves down temperature gradients (from hot to cold) through random molecular collisions. To pump heat "uphill" from a cold refrigerator space to a warmer kitchen, mechanical work must be done on the gas refrigerant by a compressor, as simulated in the refrigerator lab tab.

Entropy (Disorder)

Entropy (S) is a mathematical measure of molecular chaos and randomness. The Second Law states that the net entropy of an isolated system always increases: ΔSuniverse = ΔSsystem + ΔSsurroundings ≥ 0.

Local entropy can decrease (for instance, water molecules freezing into highly ordered ice crystals), but this process expels heat, causing a larger increase in the entropy of the surrounding air molecules.

Carnot Limit Formula

The absolute maximum theoretical efficiency limit (ηmax) for any engine operating between Hot reservoir (TH) and Cold reservoir (TC) is given by the Carnot efficiency:

ηmax = 1 − TC / TH

Where TH and TC must be measured in absolute Kelvin (K). To achieve 100% efficiency, TC would need to be 0 K (absolute zero), which is impossible to reach.

Solved Examples

A Carnot heat engine absorbs 1000 J of heat energy from a hot reservoir at 600 K, performs mechanical work, and rejects some waste heat to a cold reservoir at 300 K. Find the maximum thermal efficiency of the engine, the work output, and the waste heat rejected.
  1. Identify the given values in Kelvin: Hot reservoir temperature (TH) = 600 K, Cold reservoir temperature (TC) = 300 K, Heat input (QH) = 1000 J.
  2. Apply the Carnot efficiency formula: ηmax = 1 − TC / TH.
  3. Substitute values: ηmax = 1 − 300 / 600 = 1 − 0.50 = 0.50 (or 50% efficiency).
  4. Calculate the maximum work output: W = η · QH = 0.50 · 1000 J = 500 J.
  5. Calculate the waste heat rejected using conservation of energy (QH = W + QC): QC = QH − W = 1000 J − 500 J = 500 J.
  6. Thus, even in a theoretically perfect Carnot engine, only 500 J of the absorbed heat can be converted to work, while 500 J must be dumped as waste.

Answer: Max Efficiency = 50%, Work = 500 J, Waste Heat = 500 J

An inventor claims to have developed a heat engine that absorbs 800 J of heat from a source at 500 K, performs 480 J of mechanical work, and rejects 320 J of heat to a sink at 300 K. Evaluate whether this claim is valid according to the laws of thermodynamics.
  1. Check the First Law of Thermodynamics (Energy Conservation): Heat input (QH) must equal Work output (W) + Heat rejected (QC). 800 J = 480 J + 320 J. The claim satisfies the First Law.
  2. Check the Second Law of Thermodynamics (Carnot Limit): Calculate the actual efficiency of this engine: ηact = W / QH = 480 J / 800 J = 0.60 (60%).
  3. Calculate the maximum possible theoretical efficiency (Carnot efficiency) operating between 500 K and 300 K: ηmax = 1 − TC / TH = 1 − 300 / 500 = 1 − 0.60 = 0.40 (40%).
  4. Compare actual and maximum efficiency: ηact (60%) > ηmax (40%).
  5. Since the engine's claimed efficiency exceeds the theoretical Carnot limit, it violates the Second Law of Thermodynamics. The inventor's claim is false and physically impossible.

Answer: Invalid claim (Violates the Second Law of Thermodynamics; actual efficiency (60%) exceeds Carnot limit (40%))

A domestic refrigerator extracts heat from its cold compartment at a rate of 150 W while consuming 50 W of electrical power. Determine the Coefficient of Performance (COP) of the refrigerator and find the rate at which heat is rejected into the kitchen room.
  1. Identify the given values: Rate of heat extracted from cold space (QC) = 150 W, Electrical work input (Win) = 50 W.
  2. Apply the COP formula for a refrigerator: COP = QC / Win.
  3. Substitute values: COP = 150 W / 50 W = 3.0. (This means for every 1 Joule of electricity, 3 Joules of heat are removed).
  4. Calculate the heat rejection rate into the room (QH) using energy conservation (QH = QC + Win): QH = 150 W + 50 W = 200 W.
  5. Thus, the refrigerator expels 200 Watts of heat energy from its back condenser coils into the kitchen.

Answer: COP = 3.0, Heat Rejection Rate = 200 W

Common Mistakes

  • Using Celsius instead of Kelvin: In efficiency calculations like η = 1 − TC/TH, you MUST convert Celsius temperatures to absolute Kelvin by adding 273.15. Using Celsius yields completely incorrect efficiency ratios.
  • Thinking Refrigerator COP has a 100% limit: Unlike heat engines whose efficiency is bounded by 100% (η < 1.0), Refrigerator and Heat Pump Coefficients of Performance (COP) routinely exceed 1.0 (typical household appliances run at COPs of 2.5 to 4.0).
  • Thinking local order violates the Second Law: Students often think cell growth, crystallization, or freezing violates the Second Law. These processes are not isolated; they expel heat, creating greater molecular chaos in the environment, so total universe entropy still rises.

Practice Questions

1. Explain why a heat engine cannot operate by absorbing heat from a single reservoir and converting it entirely into work, even if there is no friction.

According to the Kelvin-Planck statement of the Second Law, any cyclic process must reject a portion of its absorbed heat energy to a cold reservoir. During the cycle, work is done as gas expands, but returning the gas to its initial state to repeat the cycle requires compressing it, which requires work. Recompressing at a lower temperature (and pressure) ensures that less work is put in than was extracted during expansion. Without a cold reservoir, the compression work would equal the expansion work, yielding zero net work output.

2. A hot brick at 80°C is dropped into a bucket of cold water at 20°C. Heat flows from the brick to the water until they reach 25°C. Why doesn't heat spontaneously flow from the warm water back into the brick to make it hot again?

While heat flowing back from water to brick would conserve energy (satisfying the First Law), it violates the Second Law of Thermodynamics (Clausius statement). Heat transfer is driven by molecular collisions. Statistically, fast-moving hot molecules transfer kinetic energy to slower cold molecules, increasing disorder (entropy). The reverse process (slow molecules spontaneously organizing to transfer energy to fast molecules) is statistically impossible in an isolated system, meaning spontaneous heat flow is strictly one-way.

3. A heat engine operates between TH = 800 K and TC = 400 K. If it absorbs 2000 J of heat from the hot reservoir, what is the minimum waste heat it must reject to the cold reservoir?

The minimum waste heat corresponds to the maximum possible efficiency, which is the Carnot efficiency. First, find Carnot efficiency: ηmax = 1 − TC / TH = 1 − 400/800 = 0.50 (50%). The maximum work done is W = ηmax · QH = 0.50 · 2000 J = 1000 J. The corresponding minimum waste heat rejected is QC = QH − W = 2000 J − 1000 J = 1000 Joules. Any real engine would reject more than 1000 J of heat due to inefficiencies.

4. Why does the Coefficient of Performance (COP) of a refrigerator decrease when the target compartment temperature is set much colder (e.g. from 5°C to −15°C)?

The maximum theoretical Coefficient of Performance is limited by Carnot refrigerator COP: COPmax = TC / (TH − TC). As the cold compartment temperature TC decreases, the temperature difference (TH − TC) in the denominator increases, and the numerator decreases. Physically, pumping heat uphill against a steeper temperature gradient requires significantly more compressor work input for the same amount of heat extracted, reducing the COP.

Frequently Asked Questions

What is the Second Law of Thermodynamics?

The Second Law of Thermodynamics states that physical processes in the universe have a natural direction and are irreversible. Specifically, the total entropy (molecular disorder) of an isolated system always increases over time in a spontaneous process, heat cannot spontaneously flow from cold to hot, and no heat engine can convert heat entirely into work.

What is the Clausius statement of the Second Law?

The Clausius statement states that heat cannot spontaneously flow from a cooler body to a warmer body without external work being done. In other words, thermal energy naturally moves only down temperature gradients.

What is the Kelvin-Planck statement of the Second Law?

The Kelvin-Planck statement states that it is impossible to construct a cyclic heat engine that operates by absorbing heat from a single thermal reservoir and converting it entirely into mechanical work. A portion of the input heat must always be rejected to a cold reservoir.

What is entropy in simple terms?

Entropy is a measure of molecular disorder, randomness, or chaotic arrangement in a system. When a system undergoes a change, molecules tend to disperse and spread out their thermal energy, which increases the system's entropy.

What is a Carnot engine?

A Carnot engine is a theoretical, idealized thermodynamic engine that operates on the Carnot cycle (consisting of two isothermal and two adiabatic processes). It achieves the maximum possible thermal efficiency allowed by the laws of physics when operating between two temperatures.

What is the Carnot efficiency formula?

The maximum thermal efficiency limit is given by the formula: ηmax = 1 − TC / TH, where TC is the cold reservoir temperature and TH is the hot reservoir temperature, both measured in absolute Kelvin (K).

Can you achieve 100% engine efficiency?

No. To achieve 100% efficiency (η = 1), the cold reservoir temperature TC would need to be absolute zero (0 K). Since absolute zero cannot be reached, every engine must expel waste heat, keeping efficiency strictly below 100%.

How does a refrigerator bypass the Second Law?

A refrigerator does not violate the Second Law. It pumps heat from a cold interior to a warm room, which is a non-spontaneous heat transfer. This is only possible because the electric motor/compressor performs mechanical work on the refrigerant gas to drive the transfer.

What is the Coefficient of Performance (COP)?

The Coefficient of Performance is the ratio of desired heat transfer (heat extracted for a refrigerator, or heat delivered for a heat pump) to the required work input: COP = Q / W. COP is commonly greater than 1.0 (typically 2.0 to 4.0).

Why does spilling milk increase entropy?

Spilling milk represents an irreversible process. The liquid milk spreads out randomly over the floor. The molecules are in a highly ordered state inside the glass, but highly dispersed and disordered on the floor, resulting in an increase in total entropy.

What is the difference between the First and Second Laws?

The First Law governs the quantity of energy, stating it is conserved (Q = ΔU + W). The Second Law governs the quality and direction of energy, stating that energy naturally degrades from highly useful forms (like mechanical work) to less useful forms (like waste heat).

Does the human body violate the Second Law by organizing cells?

No. Although living organisms create highly ordered structures (decreasing local entropy), they do so by consuming food (chemical energy) and releasing heat and waste products to the surroundings. The increase in the entropy of the surroundings is much larger than the local decrease, so the net entropy of the universe increases.