Skip to content
Marlbridge

AP® Physics 2: Algebra-Based · Unit 9 · Topic 9.6

Entropy and the Second Law of Thermodynamics: Study Guide (Physics 2 9.6)

Learn what entropy means, why the total entropy of an isolated system never decreases, why systems move toward equilibrium and how a closed system's entropy can fall.

Which way do things happen?

Drop a ball on the floor. It bounces lower each time and then stops. Its kinetic energy has not disappeared. It has become random motion of the atoms in the ball, the floor and the air, so they are very slightly warmer. Energy is conserved.

Now imagine the film run backwards. The floor and air cool slightly, and the ball jumps up off the floor by itself. Energy would still be conserved, so the first law does not forbid it. But you never see it happen.

You met the same pattern in Topic 9.3. Net energy flows by itself from a hotter object to a colder one, never the other way. The first law says how much energy moves. It does not say which way things go. The second law of thermodynamics answers that question, using a quantity called entropy, symbol S.

Entropy: how spread out the energy is

In this course you describe entropy in words, not with a formula. Two descriptions go together.

  1. Entropy measures how spread out energy is. Energy that is concentrated in one place (a hot spot, a moving ball, a squeezed gas) tends to spread out among more particles and more space. When it spreads, entropy rises.
  2. Entropy helps describe limits on available work. Entropy has units of J/K; it is not itself an amount of unavailable energy. Available work depends on the surroundings and the allowed processes. A temperature difference can drive an engine. After a constrained isolated system reaches mutual equilibrium, that internal temperature difference can no longer power an engine; a newly supplied external temperature difference would change the situation.

Some examples of energy spreading by itself:

  • A drop of hot water in a cold bath. The extra energy spreads through the whole bath.
  • One end of a metal rod is heated. The energy spreads along the rod until it is at one temperature.
  • A gas in one half of a box, with the other half empty. Remove the divider and the gas fills the whole box.

Background model: counting arrangements

This model goes beyond what the course asks, but it shows why spreading wins. Put 4 gas particles in a box with a left half and a right half. Each particle can be on either side, so there are 2⁴ = 16 equally likely arrangements.

Particles on the left 4 3 2 1 0
Number of arrangements 1 4 6 4 1

All 4 on the left happens in only 1 arrangement out of 16 (6.25% of the time). An even 2–2 split happens in 6 out of 16 (37.5%). With 10 particles, all on the left has a chance of about 0.1% (1 in 1024). With 100 particles, it is about 8 × 10⁻³¹. A litre of air at room conditions holds about 2.5 × 10²² particles, making an all-left fluctuation overwhelmingly improbable on practical timescales. This finite-particle model does not make such a fluctuation mathematically impossible. For four particles, the 2–2 count is the most probable single count but occurs only 6/16 of the time; fluctuations remain conspicuous. For macroscopic samples the relative imbalance is ordinarily tiny. Higher entropy corresponds to more accessible microscopic arrangements under the stated constraints.

Entropy is a state function

Entropy belongs to the state of a system, like internal energy U does. If you know the state (for a fixed amount of gas: its pressure, volume and temperature), the entropy is fixed. It does not matter how the system got there.

Two consequences follow:

  • ΔS depends only on the start and end states. Two different paths between the same states give the same ΔS for the system. (Compare Q and W, which depend on the path.)
  • Around a complete cycle, ΔS_system = 0. The system returns to its starting state, so its entropy returns to its starting value. This is just like ΔU_cycle = 0 in Topic 9.4.

Careful: the system’s ΔS is path-independent, but the surroundings can be affected differently by different paths. Worked example 2 shows this.

The second law

An isolated system exchanges no energy and no matter with anything outside it. For such a system:

The total entropy of an isolated system never decreases. It stays constant only if every process inside it is reversible.

  • A reversible process is an idealised limit. It happens so slowly, with no friction and no heating across a finite temperature difference, that it could be run backwards with only a tiny change. Total entropy stays constant.
  • Every real process is irreversible: friction, fast expansion, mixing, or heating from hot to cold. Total entropy increases.

So for an isolated system, ΔS_total ≥ 0, with the equals sign only in the ideal reversible limit. A process that would lower the total entropy of an isolated system does not happen. That is why the film of the bouncing ball looks wrong when it is run backwards.

Thermodynamic equilibrium is maximum entropy

An initially non-equilibrium isolated system can relax spontaneously toward thermodynamic equilibrium, where entropy is maximal subject to its conserved quantities and constraints. For the simple connected systems here, with negligible external fields and no separating barriers, equilibrium has a uniform temperature and pressure and no net macroscopic flows. Pressure can vary with height at equilibrium in a gravitational field, and partitions can impose further constraints. Particles keep moving; equilibrium describes steady macroscopic properties, with microscopic fluctuations.

Total entropy of an isolated system against time Time on the horizontal axis, total entropy of an isolated system on the vertical axis, no numerical scale. A solid curve labelled real, irreversible process starts at a low value, rises steeply at first and then levels off at a maximum, marked by a dotted horizontal line labelled maximum entropy, equilibrium. A dashed horizontal line starting at the same point stays at the starting value and is labelled reversible limit, total entropy constant. No curve goes below the starting value. Time Total entropy S of the isolated system maximum entropy: equilibrium real, irreversible process (solid) reversible limit: total entropy constant (dashed) no allowed path goes below the starting value
Figure 1. Total entropy of an isolated system over time. A real (irreversible) process raises S until equilibrium, where S is at its maximum and stops changing (solid curve). In the ideal reversible limit S stays constant (dashed line). A falling total entropy would break the second law.

Isolated systems and closed systems

The second law is about the total entropy of an isolated system. A smaller system inside it can behave differently.

A closed system exchanges energy with its surroundings but no matter. The change in its entropy depends on how it interacts with its surroundings:

  • In the simple heating and cooling examples here, with no simultaneous driving process, ordinary heating raises the object’s entropy and cooling can lower it.
  • In a general closed system, the sign of net thermal energy transfer alone is insufficient. Entropy transferred at the boundary and entropy produced internally must both be included; work-driven friction, for example, can generate entropy while thermal energy is removed.

So the entropy of a closed system can go down. This does not break the second law, because the surroundings gain at least as much entropy as the system loses. Draw the boundary around the system and its surroundings, and that larger isolated system has ΔS_total ≥ 0.

System boundaries for water freezing in a freezer A large dashed rectangle is labelled isolated system: water, freezer, room and power supply. Inside it, a solid rectangle labelled freezer contains a smaller thick rectangle labelled water turning to ice, closed system, entropy decreases. An arrow labelled energy out by cooling goes from the water to the freezer. A second arrow, labelled more energy to the room, goes from the freezer to the room air, which is labelled entropy increases by more. A third arrow labelled work goes from a box labelled power supply into the freezer. A note at the bottom says total entropy of the isolated system increases. Isolated system: water + freezer + room + power supply Freezer Water → ice (closed system) S decreases energy out by cooling more energy to room Room air S increases by more Power supply work Total entropy of the isolated system increases.
Figure 2. Choosing the system. The water (thick outline) is a closed system: energy leaves it, and its entropy falls as it freezes. The freezer passes this energy, plus the work from the power supply, to the room, whose entropy rises by more. The dashed boundary encloses an isolated system, and its total entropy increases.

Other examples in which a closed system’s entropy falls are a cup cooling without other driving, steam condensing on a cold window, and ideal-gas isothermal compression. For an isolated system-plus-surroundings total, the surroundings gain at least as much entropy as the subsystem loses: more for an irreversible process, equal in the reversible ideal limit. Slow motion alone does not guarantee reversibility.

Background: why no engine turns all its heating into work

The 9.4 cycles showed an engine taking in energy by heating and doing work. The second law adds a limit. In a cycle the engine’s working gas returns to its start, so ΔS_gas = 0. Taking energy from the hot source lowers the hot source’s entropy. Work done on something (such as lifting a weight) does not spread energy out, so it cannot make up for that loss. The only way to keep the total entropy from falling is to give some energy to a colder place, where it raises the entropy. So no engine can turn all of the energy it takes in into work. You will not be asked to calculate this, but you may be asked to explain it.

Worked example 1: two blocks reach equilibrium

Question. Block A (0.50 kg, specific heat 900 J/(kg·K), 80 °C) and block B (1.5 kg, specific heat 400 J/(kg·K), 20 °C) are placed in contact inside an insulated box. Treat the box and the blocks as an isolated system. (a) Find the final temperature and the energy transferred. (b) Describe the entropy change of A, of B and of the whole system. (c) Explain why the reverse process is never observed.

  1. (a) Heat capacities: m_A c_A = 0.50 × 900 = 450 J/K; m_B c_B = 1.5 × 400 = 600 J/K.
  2. Isolated system, so energy lost by A = energy gained by B: 450(80 − T_f) = 600(T_f − 20).
  3. Solve: T_f = (450 × 80 + 600 × 20) ÷ (450 + 600) = 48 000 ÷ 1050 = 45.7 °C.
  4. Energy transferred from A to B: 450 J/K × (80 − 45.71) K = 1.54 × 10⁴ J. Check: 600 J/K × (45.71 − 20) K = 1.54 × 10⁴ J.
  5. (b) A is cooled, so its entropy decreases. B is heated, so its entropy increases. The process is spontaneous and irreversible (heating across a temperature difference) in an isolated system, so the total entropy increases. That tells you B’s increase is larger than A’s decrease.
  6. (c) Running it backwards (A heating back up to 80 °C, B cooling to 20 °C) conserves energy. But it would lower the total entropy of an isolated system, so the second law rules it out.

Answer. T_f = 45.7 °C (46 °C to 2 significant figures); 1.5 × 10⁴ J moves from A to B. S_A falls, S_B rises by more, S_total rises.

Interpretation. Before contact, the temperature difference could drive a small engine. After mutual equilibrium, the total energy is unchanged, but that internal temperature difference no longer supplies work. Entropy is maximal for the isolated two-block model and its constraints. An externally provided colder reservoir or changed constraint would define a different work-availability problem.

Worked example 2: same end states, different paths

Question. 0.040 mol of an ideal gas at 300 K has volume 1.0 × 10⁻³ m³. It ends at 300 K with volume 2.0 × 10⁻³ m³. Compare two paths. Path 1: a slow isothermal expansion against a piston, in contact with a large reservoir at 300 K; the gas does 69 J of work on the piston (the area under the isotherm). Path 2: a free expansion; a divider is removed in an insulated container and the gas rushes into an empty second chamber.

  1. Start and end states. Initial pressure: P = nRT/V = (0.040)(8.31)(300) ÷ (1.0 × 10⁻³) = 9.97 × 10⁴ Pa. Final pressure: 4.99 × 10⁴ Pa. Both paths join the same two states.
  2. Path 1, first law: T is constant, so ΔU = 0. W = −69 J (the gas expands), so Q = −W = +69 J. Energy enters the gas from the reservoir.
  3. Path 2, first law: insulated, so Q = 0. Nothing pushes back, so W = 0. Then ΔU = 0 and T stays 300 K.
  4. Entropy of the gas: it ends spread over twice the volume, so S_gas increases. Entropy is a state function, so ΔS_gas is the same for both paths.
  5. Surroundings, path 1: the reservoir loses 69 J by heating, so its entropy decreases. In the ideal slow limit the process is reversible: the reservoir’s decrease equals the gas’s increase, and ΔS_total = 0.
  6. Surroundings, path 2: nothing outside the container changes. So ΔS_total = ΔS_gas > 0. The free expansion is irreversible.

Answer. ΔU = 0 and the same ΔS_gas > 0 for both paths. Q and W differ (+69 J and −69 J for path 1; zero for path 2). Total entropy is constant for path 1 (ideal limit) and increases for path 2.

Check. The gas never gathers back into one chamber by itself. That would lower the entropy of an isolated system. You can push it back with a piston, but to keep it at 300 K, energy must leave the gas by heating while it is compressed: its entropy falls and the surroundings’ entropy rises by at least as much.

Common misconceptions

  • “Entropy always increases.” Only the total entropy of an isolated system never decreases. A closed system’s entropy can fall when energy leaves it (freezing water, a cooling cup).
  • “The second law is about how much energy there is.” Energy is conserved in every process. The second law is about the direction of change and about how usable the energy is.
  • “Entropy just means messiness.” “Disorder” is a loose picture that often misleads. Think of how spread out the energy and particles are, and how many ways there are to arrange them.
  • “ΔS depends on the path, like Q and W.” Entropy is a state function. The system’s ΔS depends only on the start and end states. What changes between paths is the effect on the surroundings.
  • “Reversible means it can be undone.” Almost anything can be undone with outside help. Reversible means total entropy stays constant. It is an ideal limit that real processes only approach.
  • “Energy can never move from cold to hot.” It can, if work is done, as in a freezer. It never happens spontaneously.
  • “At equilibrium, nothing moves.” The particles keep moving. There is no net large-scale change because the entropy is already at its maximum.
  • “A free expansion has no entropy change because Q = 0.” No energy enters by heating, but the gas spreads into more space, so its entropy increases.

Where this leads

This is the last topic of Unit 9. The first law (Topic 9.4) tells you how much energy moves; the second law tells you which way things go and how much of the energy stays usable. Test yourself with the practice questions, then use the revision notes and the topic checklist to consolidate. The previous topic, specific heat and thermal conductivity, gives you Q = mcΔT for the energy steps here. Next, Unit 10 moves on to electric force, field and potential: see the course roadmap.

Quick questions

Do I need to calculate entropy in this course?

No. The course treats the second law only qualitatively. You must say whether entropy increases, decreases or stays the same, and justify it. Calculations in this topic are energy calculations from earlier topics.

Does a refrigerator break the second law?

No. The food or water inside is a closed system, and its entropy can fall because energy leaves it. The refrigerator gives even more energy to the room, so the entropy of the room rises by more. The total entropy still increases.

AP® and Advanced Placement® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website. Marlbridge is an independent tuition provider. It is not an authorized AP course provider, an AP school or an exam centre, and these resources are not official College Board materials. Reading them or doing simulations does not meet the laboratory requirement of an AP science course.