Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ii/paper-4/35a/b/iii/solution

Direct contact permits no work extraction, so conservation of internal energy gives
The total entropy change is
The arithmetic-geometric mean inequality makes the last expression positive when , with equality only when the bodies were already at the same temperature. This is the entropy production of irreversible heat flow.

New to topics? Read the docs here!